﻿# EVENT BACKGROUNDS LIST:
# alley_night 				[event:/SFX/Events/Backgrounds/city_alley_night]
# alley_day 				[event:/SFX/Events/Backgrounds/city_alley_day_western]
# armory 					[event:/SFX/Events/Backgrounds/armory]
# battlefield 				[event:/SFX/Events/Backgrounds/battlefield_gloomy]
# temple
# temple_scope
# temple_church 			[event:/SFX/Events/Backgrounds/temple_christian]
# temple_mosque 			[event:/SFX/Events/Backgrounds/temple_muslim]
# temple_generic 			[event:/SFX/Events/Backgrounds/temple_generic]
# corridor_night 			[event:/SFX/Events/Backgrounds/castle_corridor_night]
# corridor_day 				[event:/SFX/Events/Backgrounds/castle_corridor_day]
# council_chamber			[event:/SFX/Events/Backgrounds/meetingchamber_western]
# courtyard					[event:/SFX/Events/Backgrounds/castle_courtyard_western]
# dungeon					[event:/SFX/Events/Backgrounds/dungeon]
# wilderness
# wilderness_scope
# wilderness_desert 		[event:/SFX/Events/Backgrounds/desert_day]
# wilderness_forest 		[event:/SFX/Events/Backgrounds/deciduous_forest_day]
# wilderness_forest_pine 	[event:/SFX/Events/Backgrounds/coniferous_forest_day]
# wilderness_mountains 		[event:/SFX/Events/Backgrounds/mountains_day]
# wilderness_steppe 		[event:/SFX/Events/Backgrounds/steppe_day]
# wilderness_wetlands
# wilderness_jungle
# plains
# hills
# drylands
# ocean
# terrain
# terrain_scope
# terrain_activity
# docks 					[event:/SFX/Events/Backgrounds/docks_day]
# farmland 					[event:/SFX/Events/Backgrounds/fields_farms_day]
# feast 					[event:/SFX/Events/Backgrounds/feasthall]
# gallows 					[event:/SFX/Events/Backgrounds/gallows_execution_platform]
# garden 					[event:/SFX/Events/Backgrounds/desert_day]
# market
# market_east 				[event:/SFX/Events/Backgrounds/town_market_middleeastern_day]
# market_tribal 			[event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan]
# market_west 				[event:/SFX/Events/Backgrounds/townmarket_western_day]
# burning_building 			[event:/SFX/Events/Backgrounds/burning_building]
# sitting_room 				[event:/SFX/Events/Backgrounds/sittingroom_fireplace]
# study 					[event:/SFX/Events/Backgrounds/office_workplace]
# physicians_study 			[event:/SFX/Events/Backgrounds/physicians_office_western]
# tavern 					[event:/SFX/Events/Backgrounds/corner_of_tavern]
# throne_room
# throne_room_scope
# throne_room_east 			[event:/SFX/Events/Backgrounds/throneroom_middleeastern_african]
# throne_room_india			[event:/SFX/Events/Backgrounds/throneroom_middleeastern_african]
# throne_room_mediterranean	[event:/SFX/Events/Backgrounds/throneroom_mediterranean]
# throne_room_tribal		[event:/SFX/Events/Backgrounds/throneroom_tribal_pagan]
# throne_room_west			[event:/SFX/Events/Backgrounds/throneroom_western]
# army_camp					[event:/SFX/Events/Backgrounds/camp_generic_day]

### FP1 ###

# FP1 Beached longships 	[event:/DLC/FP1/SFX/Events/event_beached_longships]
# FP1 Ocean longships 		[event:/DLC/FP1/SFX/Events/event_ocean_longship]
# FP1 Prison 				[event:/DLC/FP1/SFX/Events/event_prison]
# FP1 Runestone				[event:/DLC/FP1/SFX/Events/event_runestone]
# FP1 Steward Study	 		[event:/DLC/FP1/SFX/Events/event_steward_study]
# FP1 Viking Temple 		[event:/DLC/FP1/SFX/Events/event_temple]
# FP1 Throneroom Nontribal 	[event:/DLC/FP1/SFX/Events/event_throneroom_nontribal]
# FP1 Throneroom			[event:/DLC/FP1/SFX/Events/event_throneroom]
# FP1 Ting Stone Circle 	[event:/DLC/FP1/SFX/Events/event_ting_stone_circle]
# FP1 Tribal Corridor 		[event:/DLC/FP1/SFX/Events/event_tribal_corridor]
# FP1 Viking Feast 			[event:/DLC/FP1/SFX/Events/event_viking_feast]

### FP2 ##

# FP2 corridor_day			[event:/DLC/FP2/SFX/Events/corridor_day]
# FP2 corridor_night		[event:/DLC/FP2/SFX/Events/corridor_night]
# FP2 courtyard				[event:/DLC/FP2/SFX/Events/courtyard]
# FP2 garden				[event:/DLC/FP2/SFX/Events/garden]
# FP2 prison				[event:/DLC/FP2/SFX/Events/prison]
# FP2 relaxing_room			[event:/DLC/FP2/SFX/Events/relaxing_room]
# FP2 temple				[event:/DLC/FP2/SFX/Events/temple]
# FP2 throneroom			[event:/DLC/FP2/SFX/Events/throneroom]

### Iberian Struggle ###

# fp2_fullscreen_intro
# fp2_fullscreen_hostility
# fp2_fullscreen_compromise
# fp2_fullscreen_conciliation

### FP3 ###
# FP3 courtyard_night		[event:/SFX/Events/Backgrounds/castle_corridor_night]
# FP3 docks					[event:/SFX/Events/Backgrounds/docks_day]
# FP3 temple				[event:/SFX/Events/Backgrounds/temple_generic]
# FP3 throneroom			[event:/SFX/Events/Backgrounds/throneroom_middleeastern_african]
# FP3 bathhouse				[event:/SFX/Events/Backgrounds/dungeon]
# FP3 cave					[event:/SFX/Events/Backgrounds/dungeon]

### BP1 ###

# bp1_indian_corridor_night
# bp1_relaxing_room_western
# bp1_indian_corridor_day
# bp1_relaxing_room_mena
# bp1_courtyard_indian
# bp1_courtyard_mena
# bp1_kitchen_western
# bp1_bonfire
# bp1_wine_cellar
# bp1_crossroads_inn
# bp1_docks_tribal

### EP2 ###

# tour_arrival_turned_away
# tour_arrival
# tournament_contest 		[event:/SFX/Events/Backgrounds/camp_generic_day]
# tournament_pas_darmes		[event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan]
# holy_site_generic
# holy_site_unique
# ep2_holy_site_mena
# ep2_holy_site_indian
# ep2_travel_settlement_farm
# ep2_travel_settlement_desert
# ep2_travel_nomad_settlement_desert
# ep2_travel_settlement_desert
# ep2_travel_settlement_hills
# ep2_travel_settlement_mountains
# ep2_travel_settlement_steppe
# ep2_travel_bridge
# ep2_hunt_forest_hut
# ep2_hunt_forest_cave
# ep2_hunt_falconry_mews
# ep2_hunt_foggy_forest
# ep2_wedding_ceremony

### BP2 ###

# bp2_courtyard
# bp2_indian_garden_main
# bp2_nursery
# bp2_tavern_mena
# bp2_university


### CE1 ###
# ce1_catacombs
# ce1_condemned_village
# ce1_funeral_pyre
# ce1_legendary_oasis
# ce1_legendary_spring
# ce1_legendary_battlefield
# ce1_physician_tribal
# ce1_study_physician_indian
# ce1_study_physician_mena

# FULLSCREEN CE1
# ce1_fullscreen_legitimizing_legend
# ce1_fullscreen_heroic_legend
# ce1_fullscreen_black_death

### EP3 ###
# ep3_holy_site_orthodox
# ep3_constantinople
# ep3_constantinople_riot
# ep3_hippodrome
# ep3_triumph
# ep3_hippodrome_track
# ep3_hagia_sophia
# ep3_byzantine_feast
# ep3_city_gate
# ep3_mediterranean_estate
# ep3_relaxing_room
# ep3_relaxing_tent
# ep3_medi_market
# ep3_medi_study
# ep3_byzantium_throneroom
# ep3_siege_warfare
# pivotal_chariots_win_blue
# pivotal_chariots_win_green
# pivotal_chariots_win_red
# pivotal_chariots_win_white
# pivotal_chariots_fail_blue
# pivotal_chariots_fail_green
# pivotal_chariots_fail_red
# pivotal_chariots_fail_white

### MPO ###
# mpo_city_steppe
# mpo_camp_steppe
# mpo_tent_interior_mongol
# mpo_campfire_steppe
# mpo_steppe_evening
# mpo_rural_village_asian
# mpo_raid_burning_asian
# mpo_hunt_steppe
# mpo_temple_steppe
# mpo_nomadic_throneroom

### TGP ###
# tgp_examination_room
# tgp_chinese_city
# tgp_chinese_corridor_night
# tgp_crossroad_inn_asia
# tgp_holysite_asia
# tgp_overflowing_river
# tgp_physician_asia
# tgp_relaxing_room_asia
# tgp_ruined_holding
# tgp_study_asia
# tgp_study_japan
# tgp_tavern_asia
# tgp_temple_asia
# tgp_wedding_bedroom_asia
# tgp_wedding_ceremony_asia
# tgp_feast_asia
# tgp_garden_asia
# tgp_hunt_generic_asia
# tgp_kitchen_asia
# tgp_market_asia
# tgp_alley_day_asia
# tgp_alley_night_asia
# tgp_camp_asia
# tgp_chinese_corridor_day
# tgp_courtyard_asia
# tgp_docks_asia
# tgp_farm_asia
# tgp_japanese_shogunate

### ALLEY ###
alley_night = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
				
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_alley_night_asia.dds"
		environment = "environment_tgp_alley_night_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_alley_night_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/alley.dds"
		environment = "environment_event_alley"
		ambience = "event:/SFX/Events/Backgrounds/city_alley_night"
	}
}

alley_day = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = { #Eastern
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							geographical_region = graphical_mena
							geographical_region = graphical_india
							culture ?= { has_building_gfx = iranian_building_gfx }
							culture ?= { has_building_gfx = indian_building_gfx }
							culture ?= { has_building_gfx = tibetan_building_gfx }
							culture ?= { has_building_gfx = mena_building_gfx }
							#AGOT Disabled
							#AND = {
					 		#	geographical_region = world_europe_west_iberia
					 		#	faith ?= { religion = religion:islam_religion }
					 		#}
					 		#Steppe mena fallback
					 		steppe_building_gfx_use_mena_trigger = yes
					 		steppe_building_gfx_use_indian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						geographical_region = graphical_mena
						geographical_region = graphical_india
						culture ?= { has_building_gfx = iranian_building_gfx }
						culture ?= { has_building_gfx = indian_building_gfx }
						culture ?= { has_building_gfx = tibetan_building_gfx }
						culture ?= { has_building_gfx = mena_building_gfx }
						#AGOT Disabled
						#AND = {
				 		#	geographical_region = world_europe_west_iberia
				 		#	faith ?= { religion = religion:islam_religion }
				 		#}
				 		#Steppe mena fallback
					 	steppe_building_gfx_use_mena_trigger = yes
					 	steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_alley_day_asia.dds"
		environment = "environment_tgp_alley_day_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_alley_day_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/alley_day.dds"
		environment = "environment_event_alley_day"
		ambience = "event:/SFX/Events/Backgrounds/city_alley_day_western"
	}
}

### ARMORY ###
armory = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "mpo_tent_interior_mongol" 
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_military_tent.dds"
		environment = "environment_ep3_military_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/armory.dds"
		environment = "environment_event_armory"
		ambience = "event:/SFX/Events/Backgrounds/armory"
	}
}

### BATTLEFIELD ###
battlefield = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/battlefield.dds"
		environment = "environment_event_battlefield"
		ambience = "event:/SFX/Events/Backgrounds/battlefield_gloomy"
	}
}

### TEMPLE ###
temple = {
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					is_landless_adventurer = yes
					NOR = {
						#AGOT Modified
						#religion = religion:tengrism_religion
						#religion = religion:magyar_religion
						#religion = religion:siberian_religion
						#religion = religion:kamuyism_religion
						religion = religion:the_flocks_religion
						religion = religion:the_counsels_religion
					}
				}
			}
			trigger_else = {
				is_landless_adventurer = yes
				NOR = {
						#AGOT Modified
						#religion = religion:tengrism_religion
						#religion = religion:magyar_religion
						#religion = religion:siberian_religion
						#religion = religion:kamuyism_religion
						religion = religion:the_flocks_religion
						religion = religion:the_counsels_religion
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { # MPO - Tengri
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						#AGOT Modified
						#religion = religion:tengrism_religion
						#religion = religion:magyar_religion
						#religion = religion:siberian_religion
						#religion = religion:kamuyism_religion
						religion = religion:the_flocks_religion
						religion = religion:the_counsels_religion
						#AGOT Disabled
						#AND = {
						#	religion = religion:buddhism_religion
						#	location ?= {
						#		OR = {
						#			geographical_region = world_steppe_east
						#			geographical_region = world_steppe_central
						#			geographical_region = world_steppe_west
						#			geographical_region = world_asia_north_east
						#		}
						#	}
						#}
						#AND = {
						#	religion = religion:buddhism_religion
						#	location ?= {
						#		OR = {
						#			geographical_region = world_tibet
						#			geographical_region = world_steppe_tarim
						#		}
						#	}
						#	OR = {
						#		government_has_flag = government_is_tribal
						#		government_has_flag = government_is_nomadic
						#	}
						#}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					#AGOT Modified
					#religion = religion:tengrism_religion
					#religion = religion:magyar_religion
					#religion = religion:siberian_religion
					#religion = religion:kamuyism_religion
					religion = religion:the_flocks_religion
					religion = religion:the_counsels_religion
					#AGOT Disabled
					#AND = {
					#	religion = religion:buddhism_religion
					#	location ?= {
					#		OR = {
					#			geographical_region = world_steppe_east
					#			geographical_region = world_steppe_central
					#			geographical_region = world_steppe_west
					#		}
					#	}
					#}
					#AND = {
					#	religion = religion:buddhism_religion
					#	location ?= {
					#		OR = {
					#			geographical_region = world_tibet
					#			geographical_region = world_steppe_tarim
					#		}
					#	}
					#	OR = {
					#		government_has_flag = government_is_tribal
					#		government_has_flag = government_is_nomadic
					#	}
					#}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe" 
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}
	#AGOT Disabled
	#background = { # EP3 - Hagia Sophia for Byzantium
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				primary_title = title:e_byzantium
	#				capital_county ?= title:c_byzantion
	#			}
	#		}
	#		trigger_else = {
	#			primary_title = title:e_byzantium
	#			capital_county ?= title:c_byzantion
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
	#	environment = "environment_ep3_hagia_sophia"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_hagia_sophia" 
	#}
	background = {	# FP3
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				#AGOT Modified
				# scope:bg_override_char = { religion = religion:zoroastrianism_religion }
				scope:bg_override_char = { religion = religion:the_rhllor_religion }
			}
			#AGOT Modified
			# trigger_else = { religion = religion:zoroastrianism_religion }
			trigger_else = { religion = religion:the_rhllor_religion }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
	background = {	# Iberia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}
	background = { #General Christian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					#AGOT Modified
					#faith = { religion = religion:christianity_religion }
					faith = { religion = religion:the_seven_religion }
				}
			}
			trigger_else = {
				#AGOT Modified
				#faith = { religion = religion:christianity_religion }
				faith = { religion = religion:the_seven_religion }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/church.dds"
		environment = "environment_event_church"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
	#AGOT Disabled
	# background = { #Islamic
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				faith = { religion = religion:islam_religion }
	# 			}
	# 		}
	# 		trigger_else = {
	# 			faith = { religion = religion:islam_religion }
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/mosque.dds"
	# 	environment = "environment_event_mosque"
	# 	ambience = "event:/SFX/Events/Backgrounds/temple_muslim"
	# }
	background = { # Norse
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				#AGOT Modified
				#scope:bg_override_char = { religion = religion:germanic_religion }
				scope:bg_override_char = { culture = { has_cultural_pillar = heritage_first_man } }
			}
			#AGOT Modified
			#trigger_else = { religion = religion:germanic_religion }
			trigger_else = { culture = { has_cultural_pillar = heritage_first_man } }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = { #East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location = {
					faith.religion ?= {
						OR = {
							#AGOT Modified
							# is_in_family = rf_eastern
							# is_in_family = rf_sinitic
							# this = religion:shintoism_religion
							this = religion:the_courts_religion
						}
					}
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location = {
					faith.religion ?= {
						OR = {
							#AGOT Modified
							# is_in_family = rf_eastern
							# is_in_family = rf_sinitic
							# this = religion:shintoism_religion
							this = religion:the_courts_religion
						}
					}
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_temple_asia.dds"
		environment = "environment_tgp_temple_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_temple_asia"
	}
	background = { #Dharmic (Outdoors)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location = {
					OR = {
						#AGOT Disabled
						# faith.religion ?= { is_in_family = rf_eastern }
						# faith.religion ?= { is_in_family = rf_sinitic }
						AND = {
							NOT = { faith ?= { has_doctrine_parameter = unreformed } }
							OR = {
								culture ?= { has_graphical_india_culture_group_trigger = yes }
								steppe_building_gfx_use_indian_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				location = {
					OR = {
						#AGOT Disabled
						# faith.religion ?= { is_in_family = rf_eastern }
						# faith.religion ?= { is_in_family = rf_sinitic }
						AND = {
							NOT = { faith ?= { has_doctrine_parameter = unreformed } }
							OR = {
								culture ?= { has_graphical_india_culture_group_trigger = yes }
								steppe_building_gfx_use_indian_trigger = yes
							}
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
	background = { # generic tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					#AGOT Disabled
					# religion = { is_in_family = rf_pagan }
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
					#AGOT Added
					NOT = { location ?= { geographical_region = world_westeros_beyond_the_wall } }
				}
			}
			trigger_else = {
				#AGOT Disabled
				# religion = { is_in_family = rf_pagan }
				OR = {
					government_has_flag = government_is_tribal
					government_has_flag = government_is_nomadic
				}
				#AGOT Added
				NOT = { location ?= { geographical_region = world_westeros_beyond_the_wall } }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/temple.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
}

temple_scope = {
	background = { # MPO - Tengri
		trigger = {
			scope:background_temple_scope = {
				OR = {
					barony.holder ?= { government_has_flag = government_is_nomadic }
					#AGOT Modified
					# religion = religion:tengrism_religion
					# religion = religion:magyar_religion
					# religion = religion:siberian_religion
					# religion = religion:kamuyism_religion
					religion = religion:the_flocks_religion
					religion = religion:the_counsels_religion
					#AGOT Disabled
					# AND = {
					# 	religion = religion:buddhism_religion
					# 	location ?= {
					# 		OR = {
					# 			geographical_region = world_steppe_east
					# 			geographical_region = world_steppe_central
					# 			geographical_region = world_steppe_west
					# 			geographical_region = world_asia_north_east
					# 		}
					# 	}
					# }
					# AND = {
					# 	religion = religion:buddhism_religion
					# 	location ?= {
					# 		OR = {
					# 			geographical_region = world_tibet
					# 			geographical_region = world_steppe_tarim
					# 		}
					# 	}
					# 	OR = {
					# 		government_has_flag = government_is_tribal
					# 		government_has_flag = government_is_nomadic
					# 	}
					# }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}
	#AGOT Disabled
	#background = { # EP3 - Hagia Sophia for the Patriarch(s)
	#	trigger = {
	#		scope:background_temple_scope = {
	#			default_location.county = title:c_byzantion
	#			OR = {
	#				primary_title = title:k_orthodox
	#				has_council_position = councillor_court_chaplain
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
	#	environment = "environment_ep3_hagia_sophia"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_hagia_sophia" 
	#}
	background = {	# FP3
		#AGOT Modified
		# trigger = { scope:background_temple_scope.religion = religion:zoroastrianism_religion }
		trigger = { scope:background_temple_scope.religion = religion:the_rhllor_religion }
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}
	background = { #Generic Christian
		trigger = {
			scope:background_temple_scope = {
				#AGOT Modified
				#religion = religion:christianity_religion
				#NOT = {
				#	faith = faith:nestorian
				#}
				religion = religion:the_seven_religion
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/church.dds"
		environment = "environment_event_church"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		scope:background_temple_scope = { religion = religion:islam_religion }
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/mosque.dds"
	#	environment = "environment_event_mosque"
	#	ambience = "event:/SFX/Events/Backgrounds/temple_muslim"
	#}
	background = { # Norse
		trigger = {
			#AGOT Modified
			#scope:background_temple_scope = { religion = religion:germanic_religion }
			scope:background_temple_scope = { culture = { has_cultural_pillar = heritage_first_man } }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = { #East Asian - Dharmic and Sinitic
		trigger = {
			scope:background_temple_scope = {
				faith.religion = {
					OR = {
						#AGOT Modified
						# is_in_family = rf_eastern
						# is_in_family = rf_sinitic
						# this = religion:shintoism_religion
						this = religion:the_courts_religion
					}
				}
				OR = {
					culture ?= {
						has_graphical_east_asia_culture_group_trigger = yes
					}
					location ?= {
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_temple_asia.dds"
		environment = "environment_tgp_temple_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_temple_asia"
	}
	background = { #Dharmic (Outdoors)
		trigger = {
			scope:background_temple_scope = {
				OR = {
					#AGOT Disabled
					# faith.religion ?= { is_in_family = rf_eastern }
					# faith.religion ?= { is_in_family = rf_sinitic }
					AND = {
						NOT = { faith ?= { has_doctrine_parameter = unreformed } }
						OR = {
							culture ?= { has_graphical_india_culture_group_trigger = yes }
							location ?= {steppe_building_gfx_use_indian_trigger = yes }
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
	background = { # Generic tribal pagan
		trigger = {
			scope:background_temple_scope = {
				#AGOT Modified
				#religion = { is_in_family = rf_pagan }
				OR = {
					government_has_flag = government_is_tribal
					government_has_flag = government_is_nomadic
				}
				NOT = { default_location ?= { geographical_region = world_westeros_beyond_the_wall } }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/temple.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
}

temple_church = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/church.dds"
		environment = "environment_event_church"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
}

temple_mosque = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mosque.dds"
		environment = "environment_event_mosque"
		ambience = "event:/SFX/Events/Backgrounds/temple_muslim"
	}
}

temple_generic = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/church.dds"
		environment = "environment_event_church"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
}

### CORRIDOR ###
corridor_night = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_adventurer_background.dds"
		environment = "environment_ep3_army_camp"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_campfire"
	}
	background = {	#FP3
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_building_gfx = iranian_building_gfx }
							steppe_building_gfx_use_iranian_trigger = yes
						}
					}
					NOT = {
						government_has_flag = government_is_tribal
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_building_gfx = iranian_building_gfx }
						steppe_building_gfx_use_iranian_trigger = yes
					}
				}
				NOT = {
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_courtyard_night.dds"
		environment = "environment_event_fp3_courtyard_night"
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_night"
	}
	background = {	#FP2
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
						location.culture ?= { has_building_gfx = mena_building_gfx }
						location ?= {
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
					NOT = {
						government_has_flag = government_is_tribal
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
					location.culture ?= { has_building_gfx = mena_building_gfx }
					location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
				NOT = {
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_corridor_night.dds"
		environment = "environment_event_fp2_corridor_night"
		ambience = "event:/DLC/FP2/SFX/Events/corridor_night"
	}
	background = {	#Indian Corridor
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
					NOT = {
						government_has_flag = government_is_tribal
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
				NOT = {
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_corridor_indian_night.dds"
		environment = "environment_event_bp1_corridor_indian_night"
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_night"
	}
	background = {	#FP1
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						government_has_flag = government_is_tribal
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					government_has_flag = government_is_tribal
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_corridor.dds"
		environment = "environment_event_fp1_tribal_corridor"
		ambience = "event:/DLC/FP1/SFX/Events/event_tribal_corridor"
	}
	background = {	#East Asian Corridor
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						location ?= {
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					location ?= {
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_chinese_corridor_night.dds"
		environment = "environment_tgp_chinese_corridor_night"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_corridor_night"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/corridor.dds"
		environment = "environment_event_corridor"
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_night"
	}
}

corridor_day = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_camp_arid_terrain.dds"
		environment = "environment_ep3_arid_camp"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
	background = {	#MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
						location.culture ?= { has_building_gfx = mena_building_gfx }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location ?= {
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
					NOT = {
						government_has_flag = government_is_tribal
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
					location.culture ?= { has_building_gfx = mena_building_gfx }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
				NOT = {
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_corridor_day.dds"
		environment = "environment_event_fp2_corridor_day"
		ambience = "event:/DLC/FP2/SFX/Events/corridor_day"
	}
	background = {	#Indian Corridor
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= {has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
					NOT = {
						government_has_flag = government_is_tribal
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= {has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
				NOT = {
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_corridor_indian_day.dds"
		environment = "environment_event_bp1_corridor_indian_day" 
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_day"
	}
	background = {	#Norse
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						government_has_flag = government_is_tribal
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					government_has_flag = government_is_tribal
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_corridor.dds"
		environment = "environment_event_fp1_tribal_corridor"
		ambience = "event:/DLC/FP1/SFX/Events/event_tribal_corridor"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= {has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_chinese_corridor_day.dds"
		environment = "environment_tgp_chinese_corridor_day" 
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_corridor_day"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/corridor_day.dds"
		environment = "environment_event_corridor_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_day"
	}
}

### COUNCIL CHAMBER ###
council_chamber = {
	#Very common picture, uses study and relaxing room as fallback for non European parts of the world for now
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { #FP1 Tribal Throneroom
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					government_has_flag = government_is_tribal
				}
			}
			trigger_else = {
				location.culture ?= { has_building_gfx = norse_building_gfx }
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_tribal.dds"
		environment = "environment_event_fp1_throneroom_tribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom"
	}

	background = { #Tribal Throneroom
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_tribal.dds"
		environment = "environment_frontend_tribal_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_tribal_pagan"
	}
	background = { # Byzantium/Greek
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= {
							OR = {
								#AGOT Disabled
								#has_cultural_pillar = heritage_byzantine
								#has_cultural_pillar = heritage_caucasian
								#has_cultural_pillar = heritage_latin
								has_graphical_mediterranean_culture_group_trigger = yes 
							}
						}
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= {
						OR = {
							#AGOT Disabled
							#has_cultural_pillar = heritage_byzantine
							#has_cultural_pillar = heritage_caucasian
							#has_cultural_pillar = heritage_latin
							has_graphical_mediterranean_culture_group_trigger = yes 
						}
					}
					location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = { #MENA, Africa
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = berber_group_building_gfx }
						location ?= {
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_graphical_african_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = berber_group_building_gfx }
					location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = {	#Indian Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_study_indian.dds"
		environment = "environment_bp2_study_indian"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Japan Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_clothing_gfx = japanese_clothing_gfx }
						#AGOT Disabled
						# location ?= { geographical_region = world_asia_japan }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_clothing_gfx = japanese_clothing_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_asia_japan }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_japan.dds"
		environment = "environment_tgp_study_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { #East Asia Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
		environment = "environment_tgp_study_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
		environment = "environment_tgp_study_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/councilchamber.dds"
		environment = "environment_event_councilchamber"
		ambience = "event:/SFX/Events/Backgrounds/meetingchamber_western"
	}
}

### COURTYARD ###
courtyard = {
	background = { #Nomadic MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						#AGOT Disabled
						#AND = {
						#	government_has_flag = government_is_tribal
						#	location.culture ?= {
						#		OR = {
						#			has_cultural_tradition = tradition_saharan_nomads
						#			has_cultural_tradition = tradition_desert_nomads
						#		}
						#	}
						#}
						government_has_flag = government_is_nomadic
					}
					location.culture ?= { has_building_gfx = mena_building_gfx }
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = drylands
							#terrain = desert
							#terrain = oasis
							#terrain = desert_mountains
							#terrain = floodplains
							#terrain = hills
							#terrain = steppe
							agot_is_drylands_terrain = yes
							agot_is_desert_terrain = yes
							agot_is_oasis_terrain = yes
							agot_is_desert_mountains_terrain = yes
							agot_is_floodplains_terrain = yes
							agot_is_hills_terrain = yes
							agot_is_steppe_terrain = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					#AGOT Disabled
					#AND = {
					#	government_has_flag = government_is_tribal
					#	location.culture ?= {
					#		OR = {
					#			has_cultural_tradition = tradition_saharan_nomads
					#			has_cultural_tradition = tradition_desert_nomads
					#		}
					#	}
					#}
					government_has_flag = government_is_nomadic
				}
				location.culture ?= { has_building_gfx = mena_building_gfx }
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = drylands
						#terrain = desert
						#terrain = oasis
						#terrain = desert_mountains
						#terrain = floodplains
						#terrain = hills
						#terrain = steppe
						agot_is_drylands_terrain = yes
						agot_is_desert_terrain = yes
						agot_is_oasis_terrain = yes
						agot_is_desert_mountains_terrain = yes
						agot_is_floodplains_terrain = yes
						agot_is_hills_terrain = yes
						agot_is_steppe_terrain = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Nomads and steppe tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = { #Western/Northern tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					OR = {
						location.culture ?= { has_building_gfx = western_building_gfx }
						location.culture ?= { has_building_gfx = mediterranean_building_gfx }
						location.culture ?= { has_building_gfx = byzantine_building_gfx }
						location.culture ?= { has_building_gfx = caucasian_building_gfx }
						location.culture ?= { has_building_gfx = norse_building_gfx }
						location.culture ?= { has_building_gfx = iberian_building_gfx }
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				OR = {
					location.culture ?= { has_building_gfx = western_building_gfx }
					location.culture ?= { has_building_gfx = mediterranean_building_gfx }
					location.culture ?= { has_building_gfx = byzantine_building_gfx }
					location.culture ?= { has_building_gfx = caucasian_building_gfx }
					location.culture ?= { has_building_gfx = norse_building_gfx }
					location.culture ?= { has_building_gfx = iberian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt" 
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest" 
	}
	#AGOT Disabled
	#background = { #tribal tibetans
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				government_has_flag = government_is_tribal
	#				location.culture ?= {
	#					OR = {
	#						has_cultural_pillar = heritage_tibetan
	#						has_cultural_pillar = heritage_qiangic
	#						has_cultural_pillar = heritage_chinese
	#					}
	#				}
	#			}
	#		}
	#		trigger_else = {
	#			government_has_flag = government_is_tribal
	#			location.culture ?= {
	#				OR = {
	#					has_cultural_pillar = heritage_tibetan
	#					has_cultural_pillar = heritage_qiangic
	#					has_cultural_pillar = heritage_chinese
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
	#	environment = "environment_mpo_rural_village_asian"
	#	ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	#}
	background = { #Non-Nomadic tribal MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					OR = {
						location.culture ?= { has_building_gfx = mena_building_gfx }
						#AGOT Disabled
						#location.faith.religion ?= religion:islam_religion
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				OR = {
					location.culture ?= { has_building_gfx = mena_building_gfx }
					#AGOT Disabled
					#location.faith.religion ?= religion:islam_religion
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #tribal fallback
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple" 
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					has_government = landless_adventurer_government
				}
			}
			trigger_else = {
				has_government = landless_adventurer_government
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_camp_arid_terrain.dds"
		environment = "environment_ep3_arid_camp"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				location.county = title:c_byzantion
	#			}
	#		}
	#		trigger_else = {
	#			location.county = title:c_byzantion
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
	#	environment = "environment_ep3_constantinople"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople" 
	#}
	background = {	#FP2
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_courtyard.dds"
		environment = "environment_event_fp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = { # Happy Mediterranean courtyard
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_south_east }
						#location ?= { geographical_region = world_europe_south_italy }
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_south_east }
					#location ?= { geographical_region = world_europe_south_italy }
					location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
		environment = "environment_bp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = {	#Indian Courtyard
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
		environment = "environment_event_bp1_courtyard_indian"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = {	#MENA Courtyard
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
		environment = "environment_event_bp1_courtyard_mena"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/courtyard.dds"
		environment = "environment_event_courtyard"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
}

courtyard_location = {
	background = { #Nomadic MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						#AGOT Disabled
						#AND = {
						#	location.county ?= {
						#		title_province = {
						#			has_holding_type = tribal_holding
						#		}
						#	}
						#	location.culture ?= {
						#		OR = {
						#			has_cultural_tradition = tradition_saharan_nomads
						#			has_cultural_tradition = tradition_desert_nomads
						#		}
						#	}
						#}
						location.county ?= {
							title_province = {
								OR = {
									has_holding_type = herder_holding
									has_holding_type = nomad_holding
								}
							}
						}
					}
					location.culture ?= { has_building_gfx = mena_building_gfx }
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = drylands
							#terrain = desert
							#terrain = oasis
							#terrain = desert_mountains
							#terrain = floodplains
							#terrain = hills
							#terrain = steppe
							agot_is_drylands_terrain = yes
							agot_is_desert_terrain = yes
							agot_is_oasis_terrain = yes
							agot_is_desert_mountains_terrain = yes
							agot_is_floodplains_terrain = yes
							agot_is_hills_terrain = yes
							agot_is_steppe_terrain = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					#AGOT Disabled
					#AND = {
					#	location.county ?= {
					#		title_province = {
					#			has_holding_type = tribal_holding
					#		}
					#	}
					#	location.culture ?= {
					#		OR = {
					#			has_cultural_tradition = tradition_saharan_nomads
					#			has_cultural_tradition = tradition_desert_nomads
					#		}
					#	}
					#}
					location.county ?= {
						title_province = {
							OR = {
								has_holding_type = herder_holding
								has_holding_type = nomad_holding
							}
						}
					}
				}
				location.culture ?= { has_building_gfx = mena_building_gfx }
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = drylands
						#terrain = desert
						#terrain = oasis
						#terrain = desert_mountains
						#terrain = floodplains
						#terrain = hills
						#terrain = steppe
						agot_is_drylands_terrain = yes
						agot_is_desert_terrain = yes
						agot_is_oasis_terrain = yes
						agot_is_desert_mountains_terrain = yes
						agot_is_floodplains_terrain = yes
						agot_is_hills_terrain = yes
						agot_is_steppe_terrain = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Nomads and steppe tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.county ?= {
							title_province = {
								OR = {
									has_holding_type = herder_holding
									has_holding_type = nomad_holding
								}
							}
						}
						AND = {
							location.county ?= {
								title_province = {
									has_holding_type = tribal_holding
								}
							}
							location.culture ?= { has_building_gfx = steppe_building_gfx }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.county ?= {
						title_province = {
							OR = {
								has_holding_type = herder_holding
								has_holding_type = nomad_holding
							}
						}
					}
					AND = {
						location.county ?= {
							title_province = {
								has_holding_type = tribal_holding
							}
						}
						location.culture ?= { has_building_gfx = steppe_building_gfx }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = { #Western/Northern tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county ?= {
						title_province = {
							has_holding_type = tribal_holding
						}
					}
					OR = {
						location.culture ?= { has_building_gfx = western_building_gfx }
						location.culture ?= { has_building_gfx = mediterranean_building_gfx }
						location.culture ?= { has_building_gfx = byzantine_building_gfx }
						location.culture ?= { has_building_gfx = caucasian_building_gfx }
						location.culture ?= { has_building_gfx = norse_building_gfx }
						location.culture ?= { has_building_gfx = iberian_building_gfx }
					}
				}
			}
			trigger_else = {
				location.county ?= {
					title_province = {
						has_holding_type = tribal_holding
					}
				}
				OR = {
					location.culture ?= { has_building_gfx = western_building_gfx }
					location.culture ?= { has_building_gfx = mediterranean_building_gfx }
					location.culture ?= { has_building_gfx = byzantine_building_gfx }
					location.culture ?= { has_building_gfx = caucasian_building_gfx }
					location.culture ?= { has_building_gfx = norse_building_gfx }
					location.culture ?= { has_building_gfx = iberian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt" 
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest" 
	}
	#AGOT Disabled
	#background = { #tribal tibetans
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				location.county ?= {
	#					title_province = {
	#						has_holding_type = tribal_holding
	#					}
	#				}
	#				location.culture ?= {
	#					OR = {
	#						has_cultural_pillar = heritage_tibetan
	#						has_cultural_pillar = heritage_qiangic
	#						has_cultural_pillar = heritage_chinese
	#					}
	#				}
	#			}
	#		}
	#		trigger_else = {
	#			location.county ?= {
	#				title_province = {
	#					has_holding_type = tribal_holding
	#				}
	#			}
	#			location.culture ?= {
	#				OR = {
	#					has_cultural_pillar = heritage_tibetan
	#					has_cultural_pillar = heritage_qiangic
	#					has_cultural_pillar = heritage_chinese
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
	#	environment = "environment_mpo_rural_village_asian"
	#	ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	#}
	background = { #Non-Nomadic tribal MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county ?= {
						title_province = {
							has_holding_type = tribal_holding
						}
					}
					OR = {
						location.culture ?= { has_building_gfx = mena_building_gfx }
						#AGOT Disabled
						#location.faith.religion ?= religion:islam_religion
					}
				}
			}
			trigger_else = {
				location.county ?= {
					title_province = {
						has_holding_type = tribal_holding
					}
				}
				OR = {
					location.culture ?= { has_building_gfx = mena_building_gfx }
					#AGOT Disabled
					#location.faith.religion ?= religion:islam_religion
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #tribal fallback
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county ?= {
						title_province = {
							has_holding_type = tribal_holding
						}
					}
				}
			}
			trigger_else = {
				location.county ?= {
					title_province = {
						has_holding_type = tribal_holding
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple" 
	}
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				location.county = title:c_byzantion
	#			}
	#		}
	#		trigger_else = {
	#			location.county = title:c_byzantion
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
	#	environment = "environment_ep3_constantinople" 
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople" 
	#}
	background = {	#FP2
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_courtyard.dds"
		environment = "environment_event_fp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = { # Happy Mediterranean courtyard
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_south_east }
						#location ?= { geographical_region = world_europe_south_italy }
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_south_east }
					#location ?= { geographical_region = world_europe_south_italy }	
					location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
		environment = "environment_bp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = {	#Indian Courtyard
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
		environment = "environment_event_bp1_courtyard_indian"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = {	#MENA Courtyard
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
		environment = "environment_event_bp1_courtyard_mena"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = { # East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/courtyard.dds"
		environment = "environment_event_courtyard"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
}

courtyard_scope = {
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		scope:background_courtyard_scope.location.county ?= title:c_byzantion
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
	#	environment = "environment_ep3_constantinople"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople" 
	#}
	background = {	#FP2
		trigger = {
			OR = {
				scope:background_courtyard_scope.location.culture ?= { has_building_gfx = iberian_building_gfx }
				#AGOT Disabled
				#scope:background_courtyard_scope.location ?= { geographical_region = world_europe_west_iberia }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_courtyard.dds"
		environment = "environment_event_fp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = { # Happy Mediterranean courtyard
		trigger = {
			OR = {
				scope:background_courtyard_scope.location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
				#AGOT Disabled
				#scope:background_courtyard_scope.location ?= { geographical_region = world_europe_south_east }
				#scope:background_courtyard_scope.location ?= { geographical_region = world_europe_south_italy }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
		environment = "environment_bp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = {	#Indian Courtyard
		trigger = {
			scope:background_courtyard_scope.location.culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
		environment = "environment_event_bp1_courtyard_indian"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = {	#MENA Courtyard
		trigger = {
			OR = {
				scope:background_courtyard_scope.location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				scope:background_courtyard_scope.location.culture ?= { has_building_gfx = iranian_building_gfx }
				scope:background_courtyard_scope.location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
		environment = "environment_event_bp1_courtyard_mena"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = { #East Asian
		trigger = {
			scope:background_courtyard_scope.location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/courtyard.dds"
		environment = "environment_event_courtyard"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
}

### DUNGEON ###
dungeon = {
	background = {	#Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { government_has_flag = government_is_nomadic }
			}
			trigger_else = { government_has_flag = government_is_nomadic }

		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_prison.dds"
		environment = "environment_event_fp1_tribal_prison"
		ambience = "event:/DLC/FP1/SFX/Events/event_prison"
	}
	background = {	#LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_prison.dds"
		environment = "environment_event_fp1_tribal_prison"
		ambience = "event:/DLC/FP1/SFX/Events/event_prison"
	}
	background = {	#Tribal Prison
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						government_has_flag = government_is_tribal
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					government_has_flag = government_is_tribal
				}
			}

		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_prison.dds"
		environment = "environment_event_fp1_tribal_prison"
		ambience = "event:/DLC/FP1/SFX/Events/event_prison"
	}
	background = {	#FP2
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}

		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_prison.dds"
		environment = "environment_event_fp2_prison"
		ambience = "event:/DLC/FP2/SFX/Events/prison"
	}
	background = {	#Fallback
		reference = "gfx/interface/illustrations/event_scenes/dungeon.dds"
		environment = "environment_event_dungeon"
		ambience = "event:/SFX/Events/Backgrounds/dungeon"
	}
}

dungeon_scope = {
	background = {	#Tribal Prison
		trigger = {
			scope:background_dungeon_scope = {
				OR = {
					capital_province.culture = { has_building_gfx = norse_building_gfx }
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_prison.dds"
		environment = "environment_event_fp1_tribal_prison"
		ambience = "event:/DLC/FP1/SFX/Events/event_prison"
	}
	background = {	#FP2
		trigger = {
			scope:background_dungeon_scope = {
				OR = {
					capital_province.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#capital_province ?= { geographical_region = world_europe_west_iberia }
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_prison.dds"
		environment = "environment_event_fp2_prison"
		ambience = "event:/DLC/FP2/SFX/Events/prison"
	}

	background = {	#Fallback
		reference = "gfx/interface/illustrations/event_scenes/dungeon.dds"
		environment = "environment_event_dungeon"
		ambience = "event:/SFX/Events/Backgrounds/dungeon"
	}
}

### WILDERNESS ###
wilderness = {
	# Winter Locations
	background = { #forest snowy
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							has_province_modifier = winter_north_modifier
							has_province_modifier = winter_normal_modifier_1
							has_province_modifier = winter_harsh_modifier
							has_province_modifier = winter_cold_modifier
							has_province_modifier = winter_light_modifier
							has_province_modifier = winter_southern_modifier
							root = { has_zud_season_in_county_trigger = { COUNTY = root.location.county } }
						}
						OR = {
							graphical_wilderness_forest_trigger = yes
							graphical_wilderness_forest_pine_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						has_province_modifier = winter_north_modifier
						has_province_modifier = winter_normal_modifier_1
						has_province_modifier = winter_harsh_modifier
						has_province_modifier = winter_cold_modifier
						has_province_modifier = winter_light_modifier
						has_province_modifier = winter_southern_modifier
						root = { has_zud_season_in_county_trigger = { COUNTY = root.location.county } }
					}
					OR = {
						graphical_wilderness_forest_trigger = yes
						graphical_wilderness_forest_pine_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Mountains, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Steppe, Winter
		trigger = {
			location ?= { 
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #Wetlands, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Plains, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				OR = {
					graphical_plains_trigger = yes
					#AGOT Modified
					#terrain = farmlands
					agot_is_farmlands_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Hills, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	# Non-Winter Locations
	background = { # Riverside
		trigger = {
			location ?= {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					#AGOT Modified
					#terrain = plains
					#terrain = mountains
					#terrain = hills
					#terrain = steppe
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Desert
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #forest_pine
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_forest_pine_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_forest_pine_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { #forest
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_forest_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
						graphical_wilderness_forest_trigger = yes
					}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #mountains
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_mountains_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_mountains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #steppe
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_steppe_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_steppe_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_drylands_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_drylands_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #wetlands
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_wetlands_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_wetlands_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_jungle_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_jungle_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #plains
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_plains_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_plains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #hills
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_hills_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_hills_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	#No ocean check since your capital can never be at sea

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

wilderness_scope = {
	# Winter Locations
	background = { #forest snowy
		trigger = {
			scope:background_wilderness_scope ?= { hunt_snowy_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Mountains Winter
		trigger = {
			scope:background_wilderness_scope = {
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Steppe, Winter
		trigger = {
			scope:background_wilderness_scope = {
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #Wetlands, Winter
		trigger = {
			scope:background_wilderness_scope = {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Plains, Winter
		trigger = {
			scope:background_wilderness_scope = {
				has_winter_trigger = yes
				OR = {
					graphical_plains_trigger = yes
					#AGOT Modified
					#terrain = plains
					agot_is_plains_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Hills, Winter
		trigger = {
			scope:background_wilderness_scope = {
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	# Non-Winter Locations
	background = { # Riverside
		trigger = {
			scope:background_wilderness_scope = {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					#AGOT Modified
					#terrain = plains
					#terrain = mountains
					#terrain = hills
					#terrain = steppe
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Desert
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_desert_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #forest_pine
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_forest_pine_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { #forest
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_forest_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #mountains
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #steppe
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			scope:background_wilderness_scope = {
				graphical_drylands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #wetlands
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_jungle_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #plains
		trigger = {
			scope:background_wilderness_scope = {
				graphical_plains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #hills
		trigger = {
			scope:background_wilderness_scope = {
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #ocean
		trigger = {
			scope:background_wilderness_scope = {
				graphical_wilderness_ocean_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

wilderness_activity = {
	# Winter Locations
	background = { #forest snowy
		trigger = {
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				OR = {
					graphical_wilderness_forest_trigger = yes
					graphical_wilderness_forest_pine_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Mountains Winter
		trigger = {
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Steppe, Winter
		trigger = {
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #Wetlands, Winter
		trigger = {
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Plains, Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { 
				has_winter_trigger = yes
				OR = {
					graphical_plains_trigger = yes
					#AGOT Modified
					#terrain = farmlands
					agot_is_farmlands_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Hills, Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { 
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	# Non-Winter Location
	background = { # Riverside
		trigger = {
			scope:activity.activity_location ?= {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					#AGOT Modified
					#terrain = plains
					#terrain = mountains
					#terrain = hills
					#terrain = steppe
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Desert
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_desert_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #mountains
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_mountains_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #steppe
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_steppe_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			scope:activity.activity_location ?= { graphical_drylands_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #wetlands
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_wetlands_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_jungle_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #managed_forest
		trigger = {
			scope:activity ?= {
				has_activity_type = activity_hunt
				activity_location ?= {
					OR = {
						graphical_wilderness_forest_pine_trigger = yes
						graphical_wilderness_forest_trigger = yes
						graphical_plains_trigger = yes
						graphical_hills_trigger = yes
					}
					OR = {
						has_building_or_higher = royal_forest_01
						has_building_or_higher = hunting_grounds_01
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_forest_managed.dds"
		environment = "environment_ep2_forest_managed"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #forest_pine
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_forest_pine_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { #forest
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #plains
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_plains_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #hills
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_hills_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #ocean
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_ocean_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

wilderness_desert = {
	background = { #Desert
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}
}

wilderness_forest = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

wilderness_wetlands = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
}

wilderness_jungle = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
}

wilderness_forest_pine = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
}

wilderness_mountains = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
}

wilderness_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
}

drylands = { #Formerly Desert
	background = {
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
}

ocean = {
	background = { #ocean
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}
}

plains = {
	background = { #plains
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
}

hills = {
	background = { #hills
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
}

### TERRAIN ###
terrain = {
	#AGOT Added
	background = { # beyond the wall
		trigger = {
			location ?= { agot_graphical_wilderness_btw_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day" 
	}

	background = { # Riverside
		trigger = {
			location ?= {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					#AGOT Modified
					# terrain = plains
					# terrain = mountains
					# terrain = hills
					# terrain = steppe
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Farmlands/Plains, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				OR = {
					graphical_plains_trigger = yes
					#AGOT Modified
					#terrain = farmlands
					agot_is_farmlands_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Rice Fields - If we have Paddy fields AND/or terraced hills
	#This goes before other terrain since it can override in many different terrains if built
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							terrain = terraced_hills
							has_building_or_higher = paddy_fields_01
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						terrain = terraced_hills
						has_building_or_higher = paddy_fields_01
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}

	background = { #Farmlands - East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						terrain = farmlands
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				location ?= {
					terrain = farmlands
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}

	background = { #Farmlands - City
		trigger = { 
			location ?= {
				#AGOT Modified
				#terrain = farmlands
				agot_is_farmlands_terrain = yes
				OR = {
					has_holding_type = city_holding
					is_county_capital = yes
				}
			}
		}

		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #Farmlands
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						#AGOT Modified
						#terrain = farmlands
						agot_is_farmlands_terrain = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					#AGOT Modified
					#terrain = farmlands
					agot_is_farmlands_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/farms.dds"
		environment = "environment_event_farms"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #plains
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_plains_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_plains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Oasis
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						#AGOT Modified
						#terrain = oasis
						agot_is_oasis_terrain = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					#AGOT Modified
					#terrain = oasis
					agot_is_oasis_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}

	background = { #Desert - Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
						has_holding_type = tribal_holding
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
					has_holding_type = tribal_holding
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}

	background = { #Desert - City
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
						OR = {
							has_holding_type = city_holding
							AND = {
								NOT = { has_holding_type = tribal_holding }
								is_county_capital = yes
							}
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
					OR = {
						has_holding_type = city_holding
						AND = {
							NOT = { has_holding_type = tribal_holding }
							is_county_capital = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}

	background = { #Desert
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #forest snowy
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= { hunt_snowy_forest_trigger = yes }
				}
			}
			trigger_else = {
				location ?= { hunt_snowy_forest_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #forest_pine
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_forest_pine_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_forest_pine_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { #forest
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_forest_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_forest_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #Mountains, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Mountains, city
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_mountains_trigger = yes
						OR = {
							has_holding_type = city_holding
							is_county_capital = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_mountains_trigger = yes
					OR = {
						has_holding_type = city_holding
						is_county_capital = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #mountains
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_mountains_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_mountains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Steppe, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #steppe, holding
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_steppe_trigger = yes
						OR = {
							has_holding = yes
							is_county_capital = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_steppe_trigger = yes
					OR = {
						has_holding = yes
						is_county_capital = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #steppe
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_steppe_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_steppe_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_drylands_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_drylands_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Wetlands, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #wetlands
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_wetlands_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_wetlands_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_jungle_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_jungle_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Hills, Winter
		trigger = {
			location ?= {
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #hills, city
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_hills_trigger = yes
						OR = {
							has_holding_type = city_holding
							is_county_capital = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_hills_trigger = yes
					OR = {
						has_holding_type = city_holding
						is_county_capital = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #hills
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_hills_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_hills_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	#AGOT Added
	background = { # frozen_flats
		trigger = {
			location ?= {
				agot_is_frozen_flats_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_flats.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { # glacier
		trigger = {
			location ?= {
				agot_is_glacier_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/glacier.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # canyon
		trigger = {
			location ?= {
				agot_is_canyon_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/canyon.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # cloudforest
		trigger = {
			location ?= {
				agot_is_cloudforest_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/cloudforest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = { # highlands
		trigger = {
			location ?= {
				agot_is_highlands_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/highlands.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # taiga_bog
		trigger = {
			location ?= {
				agot_is_taiga_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/taiga_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # the_bog
		trigger = {
			location ?= {
				agot_is_the_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/the_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # urban
		trigger = {
			location ?= {
				agot_is_urban_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/alley_day.dds"
		environment = "environment_event_alley_day"
		ambience = "event:/SFX/Events/Backgrounds/city_alley_day_western"
	}

	background = { #sea
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						is_sea_province = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					is_sea_province = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

terrain_scope = {
	#AGOT Added
	background = { # beyond the wall
		trigger = {
			scope:background_terrain_scope = {
				agot_graphical_wilderness_btw_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day" 
	}

	background = { # Riverside
		trigger = {
			scope:background_terrain_scope = {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					#AGOT Modified
					# terrain = plains
					# terrain = mountains
					# terrain = hills
					# terrain = steppe
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Rice Fields - If we have Paddy fields AND/or terraced hills
	#This goes before other terrain since it can override in many different terrains if built
		trigger = {
			scope:background_terrain_scope = {
				OR = {
					terrain = terraced_hills
					has_building_or_higher = paddy_fields_01
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}

	background = { #Farmlands/Plains, Winter
		trigger = {
			scope:background_terrain_scope = {
				has_winter_trigger = yes
				OR = {
					#AGOT Modified
					#terrain = farmlands
					agot_is_farmlands_terrain = yes
					graphical_plains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Farmlands - East Asia
		trigger = {
			scope:background_terrain_scope = {
				terrain = farmlands
				culture = { has_graphical_east_asia_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}

	background = { #Farmlands - City
		trigger = {
			scope:background_terrain_scope = {
				#AGOT Modified
				#terrain = farmlands
				agot_is_farmlands_terrain = yes
				OR = {
					has_holding_type = city_holding
					is_county_capital = yes
				}
			}
		}

		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #Farmlands
		trigger = {
			scope:background_terrain_scope = {
				#AGOT Modified
				#terrain = farmlands
				agot_is_farmlands_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/farms.dds"
		environment = "environment_event_farms"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #plains
		trigger = {
			scope:background_terrain_scope = {
				graphical_plains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Oasis
		trigger = {
			scope:background_terrain_scope = {
				#AGOT Modified
				#terrain = oasis
				agot_is_oasis_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}

	background = { #Desert - Tribal
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_desert_trigger = yes
				has_holding_type = tribal_holding
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}

	background = { #Desert - City
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_desert_trigger = yes
				OR = {
					has_holding_type = city_holding
					AND = {
						NOT = { has_holding_type = tribal_holding }
						is_county_capital = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}

	background = { #Desert
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_desert_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #forest snowy
		trigger = {
			scope:background_terrain_scope = { hunt_snowy_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #forest_pine
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_forest_pine_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { #forest
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_forest_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #Mountains, Winter
		trigger = {
			scope:background_terrain_scope = {
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Mountains, city
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_mountains_trigger = yes
				OR = {
					has_holding_type = city_holding
					is_county_capital = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #mountains
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Steppe, Winter
		trigger = {
			scope:background_terrain_scope = {
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #steppe, city
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_steppe_trigger = yes
				OR = {
					has_holding_type = city_holding
					is_county_capital = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
		environment = "environment_mpo_city_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_city_steppe"
	}

	background = { #steppe
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			scope:background_terrain_scope = {
				graphical_drylands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Wetlands, Winter
		trigger = {
			scope:background_terrain_scope = {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #wetlands
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_jungle_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Hills, Winter
		trigger = {
			scope:background_terrain_scope = {
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #hills, city
		trigger = {
			scope:background_terrain_scope = {
				graphical_hills_trigger = yes
				OR = {
					has_holding_type = city_holding
					is_county_capital = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #hills
		trigger = {
			scope:background_terrain_scope = {
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	#AGOT Added
	background = { # frozen_flats
		trigger = {
			scope:background_terrain_scope = { 
				agot_is_frozen_flats_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_flats.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { # glacier
		trigger = {
			scope:background_terrain_scope = {
				agot_is_glacier_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/glacier.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # canyon
		trigger = {
			scope:background_terrain_scope = {
				agot_is_canyon_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/canyon.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # cloudforest
		trigger = {
			scope:background_terrain_scope = {
				agot_is_cloudforest_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/cloudforest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = { # highlands
		trigger = {
			scope:background_terrain_scope = {
				agot_is_highlands_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/highlands.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # taiga_bog
		trigger = {
			scope:background_terrain_scope = {
				agot_is_taiga_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/taiga_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # the_bog
		trigger = {
			scope:background_terrain_scope = {
				agot_is_the_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/the_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # urban
		trigger = {
			scope:background_terrain_scope = {
				agot_is_urban_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/alley_day.dds"
		environment = "environment_event_alley_day"
		ambience = "event:/SFX/Events/Backgrounds/city_alley_day_western"
	}

	background = { #ocean
		trigger = {
			scope:background_terrain_scope = {
				graphical_wilderness_ocean_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

terrain_activity = {
	#AGOT Added
	background = { # beyond the wall
		trigger = {
			scope:activity.activity_location ?= { agot_graphical_wilderness_btw_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day" 
	}

	background = { # Riverside
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				is_riverside_province = yes
				has_winter_trigger = no
				OR = {
					#AGOT Modified
					# terrain = plains
					# terrain = mountains
					# terrain = hills
					# terrain = steppe
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Rice Fields - If we have Paddy fields AND/or terraced hills
	#This goes before other terrain since it can override in many different terrains if built
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				OR = {
						terrain = terraced_hills
						has_building_or_higher = paddy_fields_01
					}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}

	background = { # Farmlands/Plains Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				OR = {
					terrain = farmlands
					graphical_plains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Farmlands - East Asia
		trigger = {

			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				terrain = farmlands
				culture = { has_graphical_east_asia_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}

	background = { # Farmlands
		trigger = {
			exists = scope:activity.activity_location
			#AGOT Modified
			#scope:activity.activity_location ?= { terrain = farmlands }
			scope:activity.activity_location ?= { agot_is_farmlands_terrain = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/farms.dds"
		environment = "environment_event_farms"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}

	background = { #plains
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				graphical_plains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { # Oasis
		trigger = {
			exists = scope:activity.activity_location
			#AGOT Modified
			#scope:activity.activity_location ?= { terrain = oasis }
			scope:activity.activity_location ?= { agot_is_oasis_terrain = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}

	background = { #Desert
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_desert_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #forest snowy
		trigger = {
			scope:activity.activity_location ?= { hunt_snowy_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #forest_pine
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_forest_pine_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}

	background = { #forest
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #Mountains, Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { 
				has_winter_trigger = yes
				graphical_wilderness_mountains_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #mountains
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_mountains_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #Steppe, Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { 
				has_winter_trigger = yes
				graphical_wilderness_steppe_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #steppe
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= { graphical_wilderness_steppe_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				graphical_drylands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Wetlands, Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #wetlands
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				graphical_wilderness_jungle_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Hills, Winter
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				has_winter_trigger = yes
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #hills
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				graphical_hills_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	#AGOT Added
	background = { # frozen_flats
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_frozen_flats_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_flats.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { # glacier
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_glacier_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/glacier.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # canyon
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_canyon_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/canyon.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # cloudforest
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_cloudforest_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/cloudforest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = { # highlands
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_highlands_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/highlands.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # taiga_bog
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_taiga_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/taiga_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # the_bog
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_the_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/the_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # urban
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				agot_is_urban_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/alley_day.dds"
		environment = "environment_event_alley_day"
		ambience = "event:/SFX/Events/Backgrounds/city_alley_day_western"
	}

	background = { #ocean
		trigger = {
			exists = scope:activity.activity_location
			scope:activity.activity_location ?= {
				graphical_wilderness_ocean_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

# An expanded version for travel, more focus on locality than specific terrains
terrain_travel = {
	#AGOT Added
	background = { # beyond the wall, settled
		trigger = {
			location ?= {
				agot_graphical_wilderness_btw_trigger = yes
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/beyond_the_wall.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day" 
	}
	background = { # beyond the wall, unsettled
		trigger = {
			location ?= {
				agot_graphical_wilderness_btw_trigger = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day" 
	}

	background = { # Bridge
		trigger = {
			location ?= {
				is_riverside_province = yes
				#AGOT Modified
				# geographical_region = world_europe
				geographical_region = world_westeros_seven_kingdoms
				OR = {
					#AGOT Modified
					# terrain = farmlands
					# terrain = plains
					# terrain = mountains
					# terrain = hills
					agot_is_farmlands_terrain = yes
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
				}
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_bridge.dds"
		environment = "environment_travel_bridge"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { # Riverside
		trigger = {
			location ?= {
				has_winter_trigger = no
				is_riverside_province = yes
				OR = {
					#AGOT Modified
					# terrain = farmlands
					# terrain = plains
					# terrain = mountains
					# terrain = hills
					agot_is_farmlands_terrain = yes
					agot_is_plains_terrain = yes
					agot_is_mountains_terrain = yes
					agot_is_hills_terrain = yes
					agot_is_highlands_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #Rice Fields - If we have Paddy fields AND/or terraced hills
	#This goes before other terrain since it can override in many different terrains if built
		trigger = {
			location ?= {
				OR = {
					terrain = terraced_hills
					has_building_or_higher = paddy_fields_01
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}

	background = { # Farmland/Plains, winter
		trigger = {
			location ?= {
				OR = {
					#AGOT Modified
					# terrain = farmlands
					# terrain = plains
					agot_is_farmlands_terrain = yes
					agot_is_plains_terrain = yes
				}
				has_winter_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Farmlands - East Asia
		trigger = {
			location ?= {
				terrain = farmlands
				exists = province_owner
				culture = { has_graphical_east_asia_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}

	background = { # Farmland, settled
		trigger = {
			location ?= {
				#AGOT Modified
				#terrain = farmlands
				agot_is_farmlands_terrain = yes
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { # Farmland, unsettled
		trigger = {
			location ?= {
				#AGOT Modified
				#terrain = farmlands
				agot_is_farmlands_terrain = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/farms.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #plains, settled
		trigger = {
			location ?= {
				graphical_plains_trigger = yes
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #plains, unsettled
		trigger = {
			location ?= {
				graphical_plains_trigger = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_plains.dds"
		environment = "environment_event_bp1_plains"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #Desert, settled, Tribal Nomads
		trigger = {
			location ?= {
				graphical_wilderness_desert_trigger = yes
				province_owner ?= { government_has_flag = government_is_tribal }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Desert, settled, not Tribal
		trigger = {
			location ?= {
				graphical_wilderness_desert_trigger = yes
				exists = province_owner
				NOT = { province_owner = { government_has_flag = government_is_tribal } }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_settlement.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Oasis, unsettled
		trigger = {
			location ?= {
				#AGOT Modified
				#terrain = oasis
				agot_is_oasis_terrain = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
	background = { #Desert, unsettled
		trigger = {
			location ?= {
				graphical_wilderness_desert_trigger = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert.dds"

		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"

		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { #forest snowy
		trigger = {
			location ?= { hunt_snowy_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #forest_pine
		trigger = {
			location ?= {
				graphical_wilderness_forest_pine_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { #forest
		trigger = {
			location ?= {
				graphical_wilderness_forest_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}

	background = { #mountains, winter
		trigger = {
			location ?= {
				graphical_wilderness_mountains_trigger = yes
				has_winter_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #mountains, settled
		trigger = {
			location ?= {
				graphical_wilderness_mountains_trigger = yes
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #mountains, unsettled
		trigger = {
			location ?= {
				graphical_wilderness_mountains_trigger = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { #steppe, winter
		trigger = {
			location ?= {
				graphical_wilderness_steppe_trigger = yes
				has_winter_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { #steppe, settled
		trigger = {
			location ?= {
				graphical_wilderness_steppe_trigger = yes
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { #steppe, unsettled
		trigger = {
			location ?= {
				graphical_wilderness_steppe_trigger = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #drylands (formerly desert)
		trigger = {
			location ?= {
				graphical_drylands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { #wetlands, winter
		trigger = {
			location ?= {
				graphical_wilderness_wetlands_trigger = yes
				has_winter_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
	background = { #wetlands
		trigger = {
			location ?= {
				graphical_wilderness_wetlands_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_wetlands.dds"
		environment = "environment_event_bp1_wetlands"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}

	background = { #jungle
		trigger = {
			location ?= {
				graphical_wilderness_jungle_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #hills, winter
		trigger = {
			location ?= {
				graphical_hills_trigger = yes
				has_winter_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
	background = { #hills, settled
		trigger = {
			location ?= {
				graphical_hills_trigger = yes
				exists = province_owner
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #hills, unsettled
		trigger = {
			location ?= {
				graphical_hills_trigger = yes
				NOT = { exists = province_owner }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_event_bp1_hills"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	#AGOT Added
	background = { # frozen_flats
		trigger = {
			location ?= {
				agot_is_frozen_flats_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/frozen_flats.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { # glacier
		trigger = {
			location ?= {
				agot_is_glacier_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/glacier.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # canyon
		trigger = {
			location ?= {
				agot_is_canyon_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/canyon.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # cloudforest
		trigger = {
			location ?= {
				agot_is_cloudforest_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/cloudforest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = { # highlands
		trigger = {
			location ?= {
				agot_is_highlands_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/highlands.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { # taiga_bog
		trigger = {
			location ?= {
				agot_is_taiga_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/taiga_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # the_bog
		trigger = {
			location ?= {
				agot_is_the_bog_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/the_bog.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { # urban
		trigger = {
			location ?= {
				agot_is_urban_terrain = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/alley_day.dds"
		environment = "environment_event_alley_day"
		ambience = "event:/SFX/Events/Backgrounds/city_alley_day_western"
	}

	background = { #sea
		trigger = {
			location ?= {
				is_sea_province = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}

	background = { #Fallback
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

### DOCKS ###
docks = {
	background = { #South-East Asian - Seaside Village
		trigger = {
			location = {
				is_coastal = yes
				OR = {
					steppe_building_gfx_use_southeast_asian_trigger = yes
					culture ?= {
						has_building_gfx = southeast_asian_building_gfx
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
		environment = "environment_tgp_village_sea"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location ?= { fp3_should_use_iranian_graphics_trigger = yes }
						location ?= { geographical_region = graphical_mena }
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						AND = {
							NOR = {
								government_has_flag = government_is_tribal
								government_has_flag = government_is_nomadic
							}
							location ?= { steppe_building_gfx_use_mena_trigger = yes }
						}
						AND = {
							NOR = {
								government_has_flag = government_is_tribal
								government_has_flag = government_is_nomadic
							}
							location ?= { steppe_building_gfx_use_indian_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location ?= { fp3_should_use_iranian_graphics_trigger = yes }
					location ?= { geographical_region = graphical_mena }
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					AND = {
						NOR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
					AND = {
						NOR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
						}
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_docks.dds"
		environment = "environment_event_fp3_docks"
		ambience = "event:/SFX/Events/Backgrounds/docks_day"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location ?= { fp1_should_use_norse_graphics_trigger = yes }
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
					}
				}
			}
			trigger_else = {
				OR = {
					location ?= { fp1_should_use_norse_graphics_trigger = yes }
					government_has_flag = government_is_tribal
					government_has_flag = government_is_nomadic
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_docks_tribal.dds"
		environment = "environment_event_bp1_docks_tribal"
		ambience = "event:/SFX/Events/Backgrounds/docks_day"
	}
	background = {
		trigger = {
			location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_docks_asia.dds"
		environment = "environment_tgp_docks_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/docks.dds"
		environment = "environment_event_docks"
		ambience = "event:/SFX/Events/Backgrounds/docks_day"
	}
}

### FARMLAND ###
farmland = {
	background = {
		trigger = { #First we check for Rice
			location ?= {
				OR = {
					terrain = terraced_hills
					has_building_or_higher = paddy_fields_01
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}
	background = { #Asian farmland
		trigger = {
			location ?= {
				OR = {
					#AGOT Modified
					# geographical_region = world_india
					# geographical_region = world_tibet
					# geographical_region = world_asia
					# geographical_region = world_burma
					# geographical_region = world_steppe_east
					# geographical_region = world_steppe_tarim
					# geographical_region = world_steppe_central
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}
	background = { #Rest of the World
		reference = "gfx/interface/illustrations/event_scenes/farms.dds"
		environment = "environment_event_farms"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

### FEAST ###
feast = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				scope:activity.activity_host ?= {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							scope:activity.activity_location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				has_government = landless_adventurer_government
			}
			trigger_else = {
				scope:activity.activity_host ?= { has_government = landless_adventurer_government }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_campfire.dds"
		environment = "environment_ep3_camp_fire"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_campfire"
	}
	background = { # EP3 - Byzantium
		trigger = {
			trigger_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				location.culture ?= {
					OR = {
						has_building_gfx = byzantine_building_gfx
						has_building_gfx = caucasian_building_gfx
					}
				}
			}
			trigger_else = {
				scope:activity.activity_location.culture ?= {
					OR = {
						has_building_gfx = byzantine_building_gfx
						has_building_gfx = caucasian_building_gfx
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
	background = {	# FP1
		trigger = {
			OR = {
				scope:activity.activity_location.culture ?= { has_building_gfx = norse_building_gfx }
				should_use_tribal_realm_palace_graphics_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
	background = { # Indian
		trigger = {
			trigger_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
			trigger_else = {
				OR = {
					scope:activity.activity_location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					scope:activity.activity_location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}	
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_india"
	}
	background = { #African
		trigger = {
			trigger_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				location.culture ?= { has_building_gfx = african_building_gfx }
			}
			trigger_else = {
				scope:activity.activity_location.culture ?= { has_building_gfx = african_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #Mena
		trigger = {
			trigger_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				OR = {
					location.culture ?= {
						OR = {
							has_graphical_mena_culture_group_trigger = yes
							has_building_gfx = iberian_building_gfx
							has_building_gfx = iranian_building_gfx
						}
					}
					location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
			trigger_else = {
				OR = {
					scope:activity.activity_location.culture ?= {
						OR = {
							has_graphical_mena_culture_group_trigger = yes
							has_building_gfx = iberian_building_gfx
							has_building_gfx = iranian_building_gfx
						}
					}
					scope:activity.activity_location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
		environment = "environment_mena_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				scope:activity.activity_location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/feast.dds"
		environment = "environment_activity_western_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
}

feast_event = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture ?= { has_building_gfx = steppe_building_gfx }
					location.county.title_province = {
						OR = {
							has_holding_type = nomad_holding 
							has_holding_type = herder_holding
							has_holding_type = tribal_holding
						}
					}
				}
			}
			trigger_else = {
				location.culture ?= { has_building_gfx = steppe_building_gfx }
				location.county.title_province = {
					OR = {
						has_holding_type = nomad_holding 
						has_holding_type = herder_holding
						has_holding_type = tribal_holding
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { # EP3 - Byzantium
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture = {
						OR = {
							has_building_gfx = byzantine_building_gfx
							has_building_gfx = caucasian_building_gfx
						}
					}
				}
			}
			trigger_else = {
				location.culture = { has_building_gfx = byzantine_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
	background = {	# FP1
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture = { has_building_gfx = norse_building_gfx }
						should_use_tribal_realm_palace_graphics_trigger = yes
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture = { has_building_gfx = norse_building_gfx }
					should_use_tribal_realm_palace_graphics_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
	background = { #Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture = { has_building_gfx = indian_building_gfx }
						location.culture = { has_building_gfx = tibetan_building_gfx }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture = { has_building_gfx = indian_building_gfx }
					location.culture = { has_building_gfx = tibetan_building_gfx }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_india"
	}
	background = { #African
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture = { has_building_gfx = african_building_gfx }
				}
			}
			trigger_else = {
				location.culture = { has_building_gfx = african_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture = { has_graphical_mena_culture_group_trigger = yes }
						location.culture = { has_building_gfx = iberian_building_gfx }
						location.culture = { has_building_gfx = iranian_building_gfx }
						location ?= {
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture = { has_graphical_mena_culture_group_trigger = yes }
					location.culture = { has_building_gfx = iberian_building_gfx }
					location.culture = { has_building_gfx = iranian_building_gfx }
					location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
		environment = "environment_mena_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= {
								has_graphical_east_asia_culture_group_trigger = yes
							}
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/feast.dds"
		environment = "environment_activity_western_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
}

### GALLOWS ###
gallows = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_building_gfx = steppe_building_gfx }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_building_gfx = steppe_building_gfx }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/gallows.dds"
		environment = "environment_event_gallows"
		ambience = "event:/SFX/Events/Backgrounds/gallows_execution_platform"
	}
}

### GARDEN ###
garden = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_camp_arid_terrain.dds"
		environment = "environment_ep3_arid_camp"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
	background = { # Norse
		trigger = {
			location.culture ?= { has_building_gfx = norse_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_runestone.dds"
		environment = "environment_event_fp1_runestone"
		ambience = "event:/DLC/FP1/SFX/Events/event_runestone"
	}
	background = { #Desert tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = drylands
							#terrain = desert
							#terrain = oasis
							#terrain = desert_mountains
							#terrain = floodplains
							agot_is_drylands_terrain = yes
							agot_is_desert_terrain = yes
							agot_is_oasis_terrain = yes
							agot_is_desert_mountains_terrain = yes
							agot_is_floodplains_terrain = yes

						}
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = drylands
						#terrain = desert
						#terrain = oasis
						#terrain = desert_mountains
						#terrain = floodplains
						agot_is_drylands_terrain = yes
						agot_is_desert_terrain = yes
						agot_is_oasis_terrain = yes
						agot_is_desert_mountains_terrain = yes
						agot_is_floodplains_terrain = yes

					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
	background = { #lovely vista tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = forest
							#terrain = taiga
							#terrain = mountains
							#terrain = jungle
							agot_is_forest_terrain = yes
							agot_is_taiga_terrain = yes
							agot_is_mountains_terrain = yes
							agot_is_jungle_terrain = yes
						}
						#AGOT Disabled
						# NOR = {
						# 	geographical_region = world_asia_southeast
						# 	geographical_region = world_burma
						# 	geographical_region = world_india
						# }
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = forest
						#terrain = taiga
						#terrain = mountains
						#terrain = jungle
						agot_is_forest_terrain = yes
						agot_is_taiga_terrain = yes
						agot_is_mountains_terrain = yes
						agot_is_jungle_terrain = yes
					}
					#AGOT Disabled
					# NOR = {
					# 	geographical_region = world_asia_southeast
					# 	geographical_region = world_burma
					# 	geographical_region = world_india
					# }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_spring.dds"
		environment = "environment_legendary_spring" 
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
	background = { #plainer (but still green) land tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = hills
							#terrain = farmlands
							#terrain = plains
							#terrain = wetlands
							agot_is_hills_terrain = yes
							agot_is_farmlands_terrain = yes
							agot_is_plains_terrain = yes
							agot_is_wetlands_terrain = yes
						}
						#AGOT Disabled
						# NOR = {
						# 	geographical_region = world_asia_southeast
						# 	geographical_region = world_burma
						# 	geographical_region = world_india
						# }
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = hills
						#terrain = farmlands
						#terrain = plains
						#terrain = wetlands
						agot_is_hills_terrain = yes
						agot_is_farmlands_terrain = yes
						agot_is_plains_terrain = yes
						agot_is_wetlands_terrain = yes
					}
					#AGOT Disabled
					# NOR = {
					# 	geographical_region = world_asia_southeast
					# 	geographical_region = world_burma
					# 	geographical_region = world_india
					# }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
	background = { #steppe (not steppe culture) tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					location ?= {
						#AGOT Modified
						#terrain = steppe
						agot_is_steppe_terrain = yes
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				location ?= {
					#AGOT Modified
					#terrain = steppe
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	#AGOT Disabled
	# background = { #SE Asia and India tribals
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				government_has_flag = government_is_tribal
	# 				location ?= {
	# 					OR = {
	# 						geographical_region = world_asia_southeast
	# 						geographical_region = world_burma
	# 						geographical_region = world_india
	# 					}
	# 				}
	# 			}
	# 		}
	# 		trigger_else = {
	# 			government_has_flag = government_is_tribal
	# 			location ?= {
	# 				OR = {
	# 					geographical_region = world_asia_southeast
	# 					geographical_region = world_burma
	# 					geographical_region = world_india
	# 				}
	# 			}
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
	# 	environment = "environment_tgp_hunt_generic_asia" 
	# 	ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia" 
	# }
	background = { #Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
		environment = "environment_bp2_garden_india_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
	background = {	#Iberia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
						location.culture ?= {
							has_graphical_mena_culture_group_trigger = yes
						}
						location ?= {
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
					location.culture ?= {
						has_graphical_mena_culture_group_trigger = yes
					}
					location ?= {
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_garden.dds"
		environment = "environment_event_fp2_garden"
		ambience = "event:/DLC/FP2/SFX/Events/garden"
	}

	background = { #Asia Garden
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_garden_asia.dds"
		environment = "environment_tgp_garden_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_garden_asia"
	}

	background = {
		reference = "gfx/interface/illustrations/event_scenes/garden.dds"
		environment = "environment_event_garden"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
}

garden_location = {
	background = { #Nomads
		trigger = {
			location.culture ?= { has_building_gfx = steppe_building_gfx }
			location.county.title_province = {
				OR = {
					has_holding_type = nomad_holding 
					has_holding_type = herder_holding
					has_holding_type = tribal_holding
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	background = {	# Norse
	trigger = {
		location.culture ?= { has_building_gfx = norse_building_gfx }
	}
	reference = "gfx/interface/illustrations/event_scenes/fp1_runestone.dds"
	environment = "environment_event_fp1_runestone"
	ambience = "event:/DLC/FP1/SFX/Events/event_runestone"
	}
	background = { #Desert tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county.title_province = {
						OR = {
							has_holding_type = nomad_holding 
							has_holding_type = herder_holding
							has_holding_type = tribal_holding
						}
					}
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = drylands
							#terrain = desert
							#terrain = oasis
							#terrain = desert_mountains
							#terrain = floodplains
							agot_is_drylands_terrain = yes
							agot_is_desert_terrain = yes
							agot_is_oasis_terrain = yes
							agot_is_desert_mountains_terrain = yes
							agot_is_floodplains_terrain = yes
						}
					}
				}
			}
			trigger_else = {
				location.county.title_province = {
					OR = {
						has_holding_type = nomad_holding 
						has_holding_type = herder_holding
						has_holding_type = tribal_holding
					}
				}
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = drylands
						#terrain = desert
						#terrain = oasis
						#terrain = desert_mountains
						#terrain = floodplains
						agot_is_drylands_terrain = yes
						agot_is_desert_terrain = yes
						agot_is_oasis_terrain = yes
						agot_is_desert_mountains_terrain = yes
						agot_is_floodplains_terrain = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
	background = { #lovely vista tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county.title_province = {
						OR = {
							has_holding_type = nomad_holding 
							has_holding_type = herder_holding
							has_holding_type = tribal_holding
						}
					}
					location ?= {
						OR = {
							terrain = forest
							terrain = taiga
							terrain = mountains
							terrain = jungle
						}
						#AGOT Disabled
						# NOR = {
						# 	geographical_region = world_asia_southeast
						# 	geographical_region = world_burma
						# 	geographical_region = world_india
						# }
					}
				}
			}
			trigger_else = {
				location.county.title_province = {
					OR = {
						has_holding_type = nomad_holding 
						has_holding_type = herder_holding
						has_holding_type = tribal_holding
					}
				}
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = forest
						#terrain = taiga
						#terrain = mountains
						#terrain = jungle
						agot_is_forest_terrain = yes
						agot_is_taiga_terrain = yes
						agot_is_mountains_terrain = yes
						agot_is_jungle_terrain = yes
					}
					#AGOT Disabled
					# NOR = {
					# 	geographical_region = world_asia_southeast
					# 	geographical_region = world_burma
					# 	geographical_region = world_india
					# }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_spring.dds"
		environment = "environment_legendary_spring" 
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
	background = { #plainer (but still green) land tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county.title_province = {
						OR = {
							has_holding_type = nomad_holding 
							has_holding_type = herder_holding
							has_holding_type = tribal_holding
						}
					}
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = forest
							#terrain = taiga
							#terrain = mountains
							#terrain = jungle
							agot_is_forest_terrain = yes
							agot_is_taiga_terrain = yes
							agot_is_mountains_terrain = yes
							agot_is_jungle_terrain = yes
						}
					}
				}
			}
			trigger_else = {
				location.county.title_province = {
					OR = {
						has_holding_type = nomad_holding 
						has_holding_type = herder_holding
						has_holding_type = tribal_holding
					}
					}
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = hills
						#terrain = farmlands
						#terrain = plains
						#terrain = wetlands
						agot_is_hills_terrain = yes
						agot_is_farmlands_terrain = yes
						agot_is_plains_terrain = yes
						agot_is_wetlands_terrain = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
	background = { #steppe (not steppe culture) tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county.title_province = {
						OR = {
							has_holding_type = nomad_holding 
							has_holding_type = herder_holding
							has_holding_type = tribal_holding
						}
					}
					location ?= {
						#AGOT Modified
						#terrain = steppe
						agot_is_steppe_terrain = yes
					}
				}
			}
			trigger_else = {
				location.county.title_province = {
					OR = {
						has_holding_type = nomad_holding 
						has_holding_type = herder_holding
						has_holding_type = tribal_holding
					}
				}
				location ?= {
					#AGOT Modified
					#terrain = steppe
					agot_is_steppe_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	#AGOT Disabled
	# background = { #SE Asia and India tribals
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				government_has_flag = government_is_tribal
	# 				location ?= {
	# 					OR = {
	# 						geographical_region = world_asia_southeast
	# 						geographical_region = world_burma
	# 						geographical_region = world_india
	# 					}
	# 				}
	# 			}
	# 		}
	# 		trigger_else = {
	# 			government_has_flag = government_is_tribal
	# 			location ?= {
	# 				OR = {
	# 					geographical_region = world_asia_southeast
	# 					geographical_region = world_burma
	# 					geographical_region = world_india
	# 				}
	# 			}
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
	# 	environment = "environment_tgp_hunt_generic_asia" 
	# 	ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia" 
	# }
	background = {
		trigger = {
			OR = {
				location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_indian_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
		environment = "environment_bp2_garden_india_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
	background = {	#Iberia
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = iberian_building_gfx }
				#AGOT Disabled
				#location ?= { geographical_region = world_europe_west_iberia }
				location.culture ?= {
					OR = {
						has_graphical_mena_culture_group_trigger = yes
						has_building_gfx = iranian_building_gfx
					}
				}
				location ?= {
					steppe_building_gfx_use_mena_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_garden.dds"
		environment = "environment_event_fp2_garden"
		ambience = "event:/DLC/FP2/SFX/Events/garden"
	}
	background = { #East Asia Garden
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_garden_asia.dds"
		environment = "environment_tgp_garden_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_garden_asia"
	}

	background = {
		reference = "gfx/interface/illustrations/event_scenes/garden.dds"
		environment = "environment_event_garden"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
}

### MARKET ###
market = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.county.holder ?= {
						OR = {
							government_has_flag = government_is_nomadic
							government_has_flag = government_is_herder
						}
					}
				}
			}
			trigger_else = {
				location.county.holder ?= {
					OR = {
						government_has_flag = government_is_nomadic
						government_has_flag = government_is_herder
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	background = { # Japan
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= {
							has_graphical_japanese_culture_group_trigger = yes
						}
						#AGOT Disabled
						# location ?= {
						# 	geographical_region = world_asia_japan
						# }
						# location ?= {
						# 	geographical_region = world_asia_sakhalin_hokkaido
						# }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= {
						has_graphical_japanese_culture_group_trigger = yes
					}
					#AGOT Disabled
					# location ?= {
					# 	geographical_region = world_asia_japan
					# }
					# location ?= {
					# 	geographical_region = world_asia_sakhalin_hokkaido
					# }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_japanese_city.dds"
		environment = "environment_tgp_japanese_city"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_city"
	}
	background = { # Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= {
								has_graphical_east_asia_culture_group_trigger = yes
							}
							steppe_building_gfx_use_east_asian_trigger = yes
							steppe_building_gfx_use_southeast_asian_trigger = yes
							culture ?= {
								has_building_gfx = southeast_asian_building_gfx
							}
						}
					}
					location.county ?= {
						NOR = {
							title_province ?= {
								OR = {
									has_holding_type = tribal_holding
									has_holding_type = nomad_holding
									has_holding_type = herder_holding
								}
							}
							development_level < 5
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
						steppe_building_gfx_use_southeast_asian_trigger = yes
						culture ?= {
							has_building_gfx = southeast_asian_building_gfx
						}
					}
				}
				location.county ?= {
					NOR = {
						title_province ?= {
							OR = {
								has_holding_type = tribal_holding
								has_holding_type = nomad_holding
								has_holding_type = herder_holding
							}
						}
						development_level < 5
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_market_asia.dds"
		environment = "environment_tgp_market_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_market_asia"
	}
	background = { # Tribal Island village
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							steppe_building_gfx_use_southeast_asian_trigger = yes
							culture ?= {
								has_building_gfx = southeast_asian_building_gfx
							}
						}
						is_coastal = yes
					}
					location.county ?= {
						OR = {
							title_province ?= {
								OR = {
									has_holding_type = tribal_holding
									has_holding_type = nomad_holding
									has_holding_type = herder_holding
								}
							}
							development_level < 5
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						steppe_building_gfx_use_southeast_asian_trigger = yes
						culture ?= {
							has_building_gfx = southeast_asian_building_gfx
						}
					}
					is_coastal = yes
				}
				location.county ?= {
					OR = {
						title_province ?= {
							OR = {
								has_holding_type = tribal_holding
								has_holding_type = nomad_holding
								has_holding_type = herder_holding
							}
						}
						development_level < 5
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
		environment = "environment_tgp_village_sea"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
	background = { # Rural Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= {
								has_graphical_east_asia_culture_group_trigger = yes
							}
							steppe_building_gfx_use_east_asian_trigger = yes
							steppe_building_gfx_use_southeast_asian_trigger = yes
							culture ?= {
								has_building_gfx = southeast_asian_building_gfx
							}
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
						steppe_building_gfx_use_southeast_asian_trigger = yes
						culture ?= {
							has_building_gfx = southeast_asian_building_gfx
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
		environment = "environment_mpo_rural_village_asian"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	}
	background = { # Byzantine/Greek
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							#AGOT Disabled
							#geographical_region = mediteranean_coast
							#geographical_region = world_asia_minor
							culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
							steppe_building_gfx_use_mediterranean_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						#AGOT Disabled
						#geographical_region = mediteranean_coast
						#geographical_region = world_asia_minor
						culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						steppe_building_gfx_use_mediterranean_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_market.dds"
		environment = "environment_ep3_medi_market"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_medi_market"
	}
	background = { #Eastern
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							geographical_region = graphical_mena
							geographical_region = graphical_india
							culture ?= { has_building_gfx = iranian_building_gfx }
							culture ?= { has_building_gfx = indian_building_gfx }
							culture ?= { has_building_gfx = tibetan_building_gfx }
							#AGOT Disabled
							#AND = {
					 		#	geographical_region = world_europe_west_iberia
					 		#	faith ?= { religion = religion:islam_religion }
					 		#}
					 		steppe_building_gfx_use_indian_trigger = yes
							#AGOT Disabled
					 		#AND = {
					 		#	steppe_building_gfx_use_mena_trigger = yes
							#	NOT = {
							#		scope:bg_override_char = { government_has_flag = government_is_tribal }
							#		geographical_region = world_steppe
							#	}
							#}
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						geographical_region = graphical_mena
						geographical_region = graphical_india
						culture ?= { has_building_gfx = iranian_building_gfx }
						culture ?= { has_building_gfx = indian_building_gfx }
							culture ?= { has_building_gfx = tibetan_building_gfx }
						#AGOT Disabled
						#AND = {
				 		#	geographical_region = world_europe_west_iberia
				 		#	faith ?= { religion = religion:islam_religion }
				 		#}
				 		steppe_building_gfx_use_indian_trigger = yes
						#AGOT Disabled
				 		#AND = {
					 	#	steppe_building_gfx_use_mena_trigger = yes
						#	NOT = {
						#		root = { government_has_flag = government_is_tribal }
						#		geographical_region = world_steppe
						#	}
						#}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						county.holder ?= {
							OR = {
								government_has_flag = government_is_clan
								government_has_flag = government_is_tribal
							}
						}
						NOT = {
							geographical_region = graphical_mena
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					county.holder ?= {
						OR = {
							government_has_flag = government_is_clan
							government_has_flag = government_is_tribal
						}
					}
					NOT = {
						geographical_region = graphical_mena
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
		environment = "environment_event_market_tribal"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan"
	}
	background = { #Western (standard/fallback)
		reference = "gfx/interface/illustrations/event_scenes/market_west.dds"
		environment = "environment_event_market_west"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_western_day"
	}
}

market_scope = {
	background = { #Nomads
		trigger = {
			scope:background_market_scope = {
				county.holder ?= {
					OR = {
						government_has_flag = government_is_nomadic
						government_has_flag = government_is_herder
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	background = { # Japan
		trigger = {
			scope:background_market_scope = {
				OR = {
					culture ?= {
						has_graphical_japanese_culture_group_trigger = yes
					}
					#AGOT Disabled
					# geographical_region = world_asia_japan
					# geographical_region = world_asia_sakhalin_hokkaido
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_japanese_city.dds"
		environment = "environment_tgp_chinese_city"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_city"
	}
	background = { # Asia
		trigger = {
			scope:background_market_scope = {
				OR = {
					culture ?= {
						has_graphical_east_asia_culture_group_trigger = yes
					}
					steppe_building_gfx_use_east_asian_trigger = yes
					steppe_building_gfx_use_southeast_asian_trigger = yes
					culture ?= {
						has_building_gfx = southeast_asian_building_gfx
					}
				}
				county ?= {
					NOR = {
						title_province ?= {
							OR = {
								has_holding_type = tribal_holding
								has_holding_type = nomad_holding
								has_holding_type = herder_holding
							}
						}
						development_level < 5
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_market_asia.dds"
		environment = "environment_tgp_market_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_market_asia"
	}
	background = { # Tribal Island village
		trigger = {
			scope:background_market_scope = {
				OR = {
					steppe_building_gfx_use_southeast_asian_trigger = yes
					culture ?= {
						has_building_gfx = southeast_asian_building_gfx
					}
				}
				is_coastal = yes
				county ?= {
					OR = {
						title_province ?= {
							OR = {
								has_holding_type = tribal_holding
								has_holding_type = nomad_holding
								has_holding_type = herder_holding
							}
						}
						development_level < 5
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
		environment = "environment_tgp_village_sea"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
	background = { # Rural Asia
		trigger = {
			scope:background_market_scope = {
				OR = {
					culture ?= {
						has_graphical_east_asia_culture_group_trigger = yes
					}
					steppe_building_gfx_use_east_asian_trigger = yes
					steppe_building_gfx_use_southeast_asian_trigger = yes
					culture ?= {
						has_building_gfx = southeast_asian_building_gfx
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
		environment = "environment_mpo_rural_village_asian"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	}
	background = { # Byzantine/Greek
		trigger = {
			scope:background_market_scope = {
				OR = {
					#AGOT Disabled
					#geographical_region = mediteranean_coast
					#geographical_region = world_asia_minor
					culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					steppe_building_gfx_use_mediterranean_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_market.dds"
		environment = "environment_ep3_medi_market"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_medi_market"
	}
	background = { #Eastern
		trigger = {
			scope:background_market_scope = {
				OR = {
					geographical_region = graphical_mena
					geographical_region = graphical_india
					culture ?= { has_building_gfx = iranian_building_gfx }
					culture ?= { has_building_gfx = indian_building_gfx }
							culture ?= { has_building_gfx = tibetan_building_gfx }
					#AGOT Disabled
					# AND = {
				 	# 	geographical_region = world_europe_west_iberia
				 	# 	faith ?= { religion = religion:islam_religion }
				 	# }
				 	steppe_building_gfx_use_indian_trigger = yes
				 	AND = {
				 		steppe_building_gfx_use_mena_trigger = yes
						#AGOT Disabled
						# NOT = {
						# 	root = { government_has_flag = government_is_tribal }
						# 	geographical_region = world_steppe
						# }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #Tribal
		trigger = {
			
			scope:background_market_scope = {
				holder = {
					OR = {
						government_has_flag = government_is_clan
						government_has_flag = government_is_tribal
					}
				}
				NOT = {
					geographical_region = graphical_mena
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
		environment = "environment_event_market_tribal"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan"
	}

	background = { #Western (standard/fallback)
		reference = "gfx/interface/illustrations/event_scenes/market_west.dds"
		environment = "environment_event_market_west"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_western_day"
	}
}

market_east = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
}

market_india = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
}

market_tribal = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
		environment = "environment_event_market_tribal"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan"
	}
}

market_west = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/market_west.dds"
		environment = "environment_event_market_west"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_western_day"
	}
}


village = {
	background = { #Nomad Override
		trigger = {
			location.county.holder ?= {
				OR = {
					government_has_flag = government_is_nomadic
					government_has_flag = government_is_herder
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	background = { #South-East Asian - Seaside Village
		trigger = {
			location = {
				is_coastal = yes
				OR = {
				 	steppe_building_gfx_use_indian_trigger = yes
				 	culture ?= {
						has_graphical_india_culture_group_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
		environment = "environment_tgp_village_sea"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
	background = { #SE Asia and India tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					location = {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							culture ?= {
								has_graphical_india_culture_group_trigger = yes
							}
							#AGOT Disabled
							# geographical_region = world_asia
							geographical_region = graphical_india
						 	steppe_building_gfx_use_indian_trigger = yes
						 	steppe_building_gfx_use_east_asian_trigger = yes
						 	steppe_building_gfx_use_southeast_asian_trigger = yes
					 	}
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				location = {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						culture ?= {
							has_graphical_india_culture_group_trigger = yes
						}
						#AGOT Disabled
						# geographical_region = world_asia
						geographical_region = graphical_india
					 	steppe_building_gfx_use_indian_trigger = yes
					 	steppe_building_gfx_use_east_asian_trigger = yes
						steppe_building_gfx_use_southeast_asian_trigger = yes
				 	}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
		environment = "environment_tgp_hunt_generic_asia" 
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia" 
	}
	background = { #East Asian Village
		trigger = {
			location = {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					culture ?= {
						has_graphical_india_culture_group_trigger = yes
					}
					#AGOT Disabled
					# geographical_region = world_asia_southeast
					# geographical_region = world_asia_north_east
					# geographical_region = world_asia_sakhalin_hokkaido
					geographical_region = graphical_india
				 	steppe_building_gfx_use_indian_trigger = yes
				 	steppe_building_gfx_use_east_asian_trigger = yes
			 	}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
		environment = "environment_mpo_rural_village_asian"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	}
	
	background = { #Eastern
		trigger = {
			location ?= {
				OR = {
					geographical_region = graphical_mena
					culture ?= { has_building_gfx = iranian_building_gfx }
					#AGOT Disabled
					# AND = {
			 		# 	geographical_region = world_europe_west_iberia
			 		# 	faith ?= { religion = religion:islam_religion }
			 		# }
			 		AND = {
				 		steppe_building_gfx_use_mena_trigger = yes
						#AGOT Disabled
						# NOT = {
						# 	root = { government_has_flag = government_is_tribal }
						# 	geographical_region = world_steppe
						# }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #Tribal Fallback - Tribe but not Asian or MENA
		trigger = {
			location ?= {
				county.holder ?= {
					government_has_flag = government_is_tribal
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
		environment = "environment_event_market_tribal"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan"
	}
	#Market Fallbacks (can likely be moved up in order of priority if we get bespoke village illustrations at some point for these areas)
	background = { # Byzantine/Greek
		#Uses Market
		trigger = {
			location ?= {
				OR = {
					#AGOT Disabled
					# geographical_region = mediteranean_coast
					# geographical_region = world_asia_minor
					culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					steppe_building_gfx_use_mediterranean_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_market.dds"
		environment = "environment_ep3_medi_market"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_medi_market"
	}
	background = { #Western (standard/fallback)
		reference = "gfx/interface/illustrations/event_scenes/market_west.dds"
		environment = "environment_event_market_west"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_western_day"
	}
}

### BURNING BUILDING ###
burning_building = {
	background = { # East-Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						culture ?= {
							has_graphical_india_culture_group_trigger = yes
						}
				 		steppe_building_gfx_use_indian_trigger = yes
				 		steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						culture ?= {
							has_graphical_india_culture_group_trigger = yes
						}
					 	steppe_building_gfx_use_indian_trigger = yes
					 	steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_raid_burning_asian.dds"
		environment = "environment_mpo_raid_burning_asian"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_raid_burning_asian"
	}
	#AGOT Disabled
	# background = { # Byzantine/Greek
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				location.county ?= title:c_byzantion
	# 			}
	# 		}
	# 		trigger_else = {
	# 			location.county ?= title:c_byzantion
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople_riot.dds"
	# 	environment = "environment_ep3_constantinople_on_fire"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_rioting_constantinople"
	# }
	background = {
		reference = "gfx/interface/illustrations/event_scenes/raid_burning.dds"
		environment = "environment_ep3_constantinople_on_fire"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_rioting_constantinople"
	}
}

burning_building_west = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/raid_burning.dds"
		environment = "environment_ep3_constantinople_on_fire"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_rioting_constantinople"
	}
}

### SITTING ROOM ###
sitting_room = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					has_government = landless_adventurer_government
				}
			}
			trigger_else = {
				has_government = landless_adventurer_government
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { # Byzantium/Greek Kings/Emperors
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					highest_held_title_tier >= tier_kingdom
					OR = {
						location.culture ?= {
							has_graphical_mediterranean_culture_group_trigger = yes 
						}
						location ?= {
							steppe_building_gfx_use_mediterranean_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				highest_held_title_tier >= tier_kingdom
				OR = {
					location.culture ?= {
						has_graphical_mediterranean_culture_group_trigger = yes 
					}
					location ?= {
						steppe_building_gfx_use_mediterranean_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = { # Byzantium/Greek Everyone else
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= {
							OR = {
								#AGOT Disabled
								#has_cultural_pillar = heritage_byzantine
								#has_cultural_pillar = heritage_caucasian
								#has_cultural_pillar = heritage_latin
								has_graphical_mediterranean_culture_group_trigger = yes 
							}
						}
						location ?= {
							steppe_building_gfx_use_mediterranean_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= {
						OR = {
							#AGOT Disabled
							#has_cultural_pillar = heritage_byzantine
							#has_cultural_pillar = heritage_caucasian
							#has_cultural_pillar = heritage_latin
							has_graphical_mediterranean_culture_group_trigger = yes 
						}
					}
					location ?= {
						steppe_building_gfx_use_mediterranean_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
		environment = "environment_ep3_byzantine_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = {	#MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { 
							OR = {
								has_building_gfx = iberian_building_gfx
								has_building_gfx = iranian_building_gfx
								has_building_gfx = mena_building_gfx
							}
						}
						location ?= {
							OR = {
								#AGOT Disabled
								#geographical_region = world_europe_west_iberia
								steppe_building_gfx_use_mena_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { 
						OR = {
							has_building_gfx = iberian_building_gfx
							has_building_gfx = iranian_building_gfx
							has_building_gfx = mena_building_gfx
						}
					}
					location ?= {
						OR = {
							#AGOT Disabled
							#geographical_region = world_europe_west_iberia
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_relaxing_room.dds"
		environment = "environment_event_fp2_relaxing_room"
		ambience = "event:/DLC/FP2/SFX/Events/relaxing_room"
	}
	background = { #Indians use their Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_study_indian.dds"
		environment = "environment_bp2_study_indian"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Japan Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = japanese_building_gfx }
						location ?= {
							steppe_building_gfx_use_japanese_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = japanese_building_gfx }
					location ?= {
						steppe_building_gfx_use_japanese_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_japan.dds"
		environment = "environment_tgp_study_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { #East Asia Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						location ?= {
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					OR = {
						location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						location ?= {
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
		environment = "environment_tgp_study_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = {	#Tribal Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						should_use_tribal_realm_palace_graphics_trigger = yes
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					should_use_tribal_realm_palace_graphics_trigger = yes
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/sittingroom.dds"
		environment = "environment_event_sittingroom"
		ambience = "event:/SFX/Events/Backgrounds/sittingroom_fireplace"
	}
}

### BEDCHAMBER ###
bedchamber = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					has_government = landless_adventurer_government
				}
			}
			trigger_else = {
				has_government = landless_adventurer_government
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { #MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						location.culture ?= { has_building_gfx = mena_building_gfx }
						location.culture ?= { has_building_gfx = berber_group_building_gfx }
						location.culture ?= { has_building_gfx = african_building_gfx }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					location.culture ?= { has_building_gfx = mena_building_gfx }
					location.culture ?= { has_building_gfx = berber_group_building_gfx }
					location.culture ?= { has_building_gfx = african_building_gfx }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_bedroom_mena.dds"
		environment = "environment_event_mena_bedchamber"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_bedroom"
	}
	background = { #india
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_bedroom_indian.dds"
		environment = "environment_event_indian_bedchamber"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_bedroom"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}	
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_bedroom_asia.dds"
		environment = "environment_tgp_wedding_bedroom_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_bedroom_asia"
	}
	background = {	#Tribal Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						should_use_tribal_realm_palace_graphics_trigger = yes
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					should_use_tribal_realm_palace_graphics_trigger = yes
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bedchamber.dds"
		environment = "environment_event_bedchamber"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_bedroom"
	}
}

### STUDY ###
# Referenced in code, do not change the name
study = {
	background = { #Nomads
        trigger = {
            trigger_if = {
                limit = { exists = scope:bg_override_char }
                scope:bg_override_char = { 
                    OR = {
                        government_has_flag = government_is_nomadic
                        AND = {
                            government_has_flag = government_is_tribal
                            location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
                        }
                        AND = {
                            is_landless_adventurer = yes
                            culture ?= { has_graphical_steppe_culture_group_trigger = yes }
                        }
                    }
                }
            }
            trigger_else = {
                OR = {
                    government_has_flag = government_is_nomadic
                    AND = {
                        government_has_flag = government_is_tribal
                        location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
                    }
                    AND = {
                        is_landless_adventurer = yes
                        culture ?= { has_graphical_steppe_culture_group_trigger = yes }
                    }
                }
            }
        }
        reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
        environment = "environment_mpo_tent_interior_mongol"
        ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
    }
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = {	#Tribal Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						should_use_tribal_realm_palace_graphics_trigger = yes
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					should_use_tribal_realm_palace_graphics_trigger = yes
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { # Byzantium/Greek Everyone else
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture ?= {
						OR = {
							#AGOT Disabled
							# has_cultural_pillar = heritage_byzantine
							# has_cultural_pillar = heritage_caucasian
							# has_cultural_pillar = heritage_latin
							has_graphical_mediterranean_culture_group_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location.culture ?= {
					OR = {
						#AGOT Disabled
						# has_cultural_pillar = heritage_byzantine
						# has_cultural_pillar = heritage_caucasian
						# has_cultural_pillar = heritage_latin
						has_graphical_mediterranean_culture_group_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #MENA uses relaxing room as fallback
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
						location.culture ?= { has_building_gfx = berber_group_building_gfx }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location.culture ?= { has_graphical_african_culture_group_trigger = yes }
					location ?= { exists = culture steppe_building_gfx_use_mena_trigger = yes }
					location.culture ?= { has_building_gfx = berber_group_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = {	#Indian Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_study_indian.dds"
		environment = "environment_bp2_study_indian"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Japan Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = japanese_building_gfx }
						location ?= { steppe_building_gfx_use_japanese_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = japanese_building_gfx }
					location ?= { steppe_building_gfx_use_japanese_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_japan.dds"
		environment = "environment_tgp_study_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia_japan"
	}
	background = { #Asia Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
		environment = "environment_tgp_study_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = {	#Fallback
		reference = "gfx/interface/illustrations/event_scenes/study.dds"
		environment = "environment_event_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

#When a LAAMP is visiting someone else's study
location_study = {
	background = { #Nomads
		trigger = {
			location.county.title_province ?= {
				OR = {
					has_holding_type = tribal_holding
					has_holding_type = nomad_holding
					has_holding_type = herder_holding
				}
			}
			location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = {	#Tribal Study
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = norse_building_gfx }
				AND = {
					location.county.title_province ?= {
						OR = {
							has_holding_type = tribal_holding
							has_holding_type = nomad_holding
							has_holding_type = herder_holding
						}
					}
					location.culture ?= {
						has_graphical_india_culture_group_trigger = no
						has_graphical_mena_culture_group_trigger = no
						has_graphical_steppe_culture_group_trigger = no
						has_graphical_african_culture_group_trigger = no
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { # Byzantium/Greek Everyone else
		trigger = {
			OR = {
				location.culture ?= {
					OR = {
						#AGOT Disabled
						# has_cultural_pillar = heritage_byzantine
						# has_cultural_pillar = heritage_caucasian
						# has_cultural_pillar = heritage_latin
						has_graphical_mediterranean_culture_group_trigger = yes 
					}
				}
				location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = { #MENA uses relaxing room as fallback
		trigger = {
			OR = {
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location.culture ?= { has_building_gfx = iranian_building_gfx }
				location.culture ?= { has_graphical_african_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_mena_trigger = yes }
				location.culture ?= { has_building_gfx = berber_group_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = {	#Indian Study
		trigger = {
			OR = {
				location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_indian_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_study_indian.dds"
		environment = "environment_bp2_study_indian"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Japan Study
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = japanese_building_gfx }
				location ?= { steppe_building_gfx_use_japanese_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_japan.dds"
		environment = "environment_tgp_study_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia_japan"
	}
	background = { #Asia Study
		trigger = {
			location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
		environment = "environment_tgp_study_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = {	#Fallback
		reference = "gfx/interface/illustrations/event_scenes/study.dds"
		environment = "environment_event_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

### RELAXING ROOM ###
relaxing_room = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { # Byzantium/Greek Kings/Emperors
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					highest_held_title_tier >= tier_kingdom
					OR = {
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
						location.culture ?= {
							OR = {
								#AGOT Disabled
								#has_cultural_pillar = heritage_byzantine
								#has_cultural_pillar = heritage_caucasian
								#has_cultural_pillar = heritage_latin
								has_graphical_mediterranean_culture_group_trigger = yes 
							}
						}
					}
				}
			}
			trigger_else = {
				highest_held_title_tier >= tier_kingdom
				OR = {
					location ?= { exists = culture steppe_building_gfx_use_mediterranean_trigger = yes }
					location.culture ?= {
						OR = {
							#AGOT Disabled
							#has_cultural_pillar = heritage_byzantine
							#has_cultural_pillar = heritage_caucasian
							#has_cultural_pillar = heritage_latin
							has_graphical_mediterranean_culture_group_trigger = yes 
						}
					}
				}
				location.culture ?= {
					OR = {
						#AGOT Disabled
						#has_cultural_pillar = heritage_byzantine
						#has_cultural_pillar = heritage_caucasian
						#has_cultural_pillar = heritage_latin
						has_graphical_mediterranean_culture_group_trigger = yes 
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = { # Byzantium/Greek Everyone else
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
						location.culture ?= {
							OR = {
								#AGOT Disabled
								#has_cultural_pillar = heritage_byzantine
								#has_cultural_pillar = heritage_caucasian
								#has_cultural_pillar = heritage_latin
								has_graphical_mediterranean_culture_group_trigger = yes 
							}
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location ?= { exists = culture steppe_building_gfx_use_mediterranean_trigger = yes }
					location.culture ?= {
						OR = {
							#AGOT Disabled
							#has_cultural_pillar = heritage_byzantine
							#has_cultural_pillar = heritage_caucasian
							#has_cultural_pillar = heritage_latin
							has_graphical_mediterranean_culture_group_trigger = yes 
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
		environment = "environment_ep3_byzantine_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Indian/Southeast Asian Relaxing Room (Uses Physician Study)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = { #MENA Relaxing Room
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location ?= { exists = culture steppe_building_gfx_use_mena_trigger = yes }
						location ?= { exists = culture steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_graphical_african_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location ?= { exists = culture steppe_building_gfx_use_mena_trigger = yes }
					location ?= { exists = culture steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
		environment = "environment_tgp_relaxing_room_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = {	#Tribal Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						should_use_tribal_realm_palace_graphics_trigger = yes
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					should_use_tribal_realm_palace_graphics_trigger = yes
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}

	background = {	#Western Relaxing Room - Also Fallback
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_western.dds"
		environment = "environment_event_bp1_relaxing_room_western"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

relaxing_room_scope = {
	background = { # Byzantium/Greek Kings/Emperors
		trigger = {
			scope:background_relaxing_room_scope = {
				highest_held_title_tier >= tier_kingdom
				location.culture ?= {
					OR = {
						#AGOT Disabled
						#has_cultural_pillar = heritage_byzantine
						#has_cultural_pillar = heritage_caucasian
						#has_cultural_pillar = heritage_latin
						has_graphical_mediterranean_culture_group_trigger = yes 
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = { # Byzantium/Greek Everyone else
		trigger = {
			scope:background_relaxing_room_scope = {
				location.culture ?= {
					OR = {
						#AGOT Modified
						#has_cultural_pillar = heritage_byzantine
						#has_cultural_pillar = heritage_caucasian
						#has_cultural_pillar = heritage_latin
						has_graphical_mediterranean_culture_group_trigger = yes 
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
		environment = "environment_ep3_byzantine_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Indian/Southeast Asian Relaxing Room (Uses Physician Study)
		trigger = {
			scope:background_relaxing_room_scope = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = { #MENA Relaxing Room
		trigger = {
			scope:background_relaxing_room_scope = {
				OR = {
					capital_province.culture = { has_graphical_india_culture_group_trigger = yes }
					capital_province.culture = { has_graphical_mena_culture_group_trigger = yes }
					capital_province.culture = { has_graphical_african_culture_group_trigger = yes }
					capital_province.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					capital_province.culture ?= { has_building_gfx = iranian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #East Asia
		trigger = {
			scope:background_relaxing_room_scope = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
		environment = "environment_tgp_relaxing_room_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = {	#Western Relaxing Room - Also Fallback
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_western.dds"
		environment = "environment_event_bp1_relaxing_room_western"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

### PHYSICIAN'S STUDY ###
physicians_study = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = {	#Tribal Physician Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = norse_building_gfx }
						should_use_tribal_realm_palace_graphics_trigger = yes
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					should_use_tribal_realm_palace_graphics_trigger = yes
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_physician_tribal.dds"
		environment = "environment_ce1_physician_tribal"
		ambience = "event:/SFX/Events/Backgrounds/physicians_office_western"
	}
	background = { #Indian Physician Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = { #East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_east_asian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_east_asian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_physician_asia.dds"
		environment = "environment_tgp_physician_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_physician_asia"
	}
	background = { #MENA Physician Study
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_graphical_african_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_mena.dds"
		environment = "environment_ce1_study_physician_mena"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = { #Western Physician Study
		reference = "gfx/interface/illustrations/event_scenes/study_physician.dds"
		environment = "environment_event_study_physician"
		ambience = "event:/SFX/Events/Backgrounds/physicians_office_western"
	}
}

### TAVERN ###
tavern = {
	background = { #Nomad
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location.county.holder ?= {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_building_gfx = steppe_building_gfx }
						}
					}
				}
			}
			trigger_else = {
				location.county.holder ?= {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_building_gfx = steppe_building_gfx }
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #Indian/Southeast Asian Tavern (Uses Physician Study)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = { #MENA Tavern
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location.culture ?= { has_graphical_african_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_tavern_mena.dds"
		environment = "environment_bp2_tavern_mena"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = { #East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							culture ?= {
								has_graphical_east_asia_culture_group_trigger = yes
							}
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_tavern_asia.dds"
		environment = "environment_tgp_tavern_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = { # Western Tavern
		reference = "gfx/interface/illustrations/event_scenes/tavern.dds"
		environment = "environment_event_tavern"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
}

western_tavern = {
	background = { # Western Tavern
		reference = "gfx/interface/illustrations/event_scenes/tavern.dds"
		environment = "environment_event_tavern"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
}

### THRONE ROOM ###
throne_room = {
	#AGOT Disabled
	# background = { # TGP - Japanese Emperor
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				tgp_has_ceremonial_liege_title_trigger = no
	# 				primary_title = title:e_japan
	# 			}
	# 		}
	# 		trigger_else = {
	# 			tgp_has_ceremonial_liege_title_trigger = no
	# 			primary_title = title:e_japan
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/tgp_japan_throne_room.dds"
	# 	environment = "environment_tgp_frontend_japan_main"
	# 	ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	# }
	background = { # TGP - East Asia Ruler
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					is_governor_or_admin_count = no
				}
				OR = {
					#AGOT Disabled
					# scope:bg_override_char = {
					# 	high_tier_throne_room_trigger = { REGION = east_asia }
					# }
					government_has_flag = government_is_japan_administrative
					scope:bg_override_char = {
						OR = {
							culture = { has_graphical_east_asia_culture_group_trigger = yes }
							location = {
								steppe_building_gfx_use_east_asian_trigger = yes
							}
						}
						highest_held_title_tier >= tier_empire
						government_has_flag = government_has_merit
					}
				}
			}
			trigger_else = {
				is_governor_or_admin_count = no
				OR = {
					#AGOT Disabled
					# high_tier_throne_room_trigger = { REGION = east_asia }
					government_has_flag = government_is_japan_administrative
					AND = {
						OR = {
							culture = { has_graphical_east_asia_culture_group_trigger = yes }
							location = {
								steppe_building_gfx_use_east_asian_trigger = yes
							}
						}
						highest_held_title_tier >= tier_empire
						government_has_flag = government_has_merit
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
		environment = "environment_tgp_frontend_celestial_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { # MPO - High Dominance
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_nomadic
					OR = {
						has_realm_law = nomadic_authority_3
						has_realm_law = nomadic_authority_4
						has_realm_law = nomadic_authority_5
						has_trait = greatest_of_khans
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_nomadic
				OR = {
					has_realm_law = nomadic_authority_3
					has_realm_law = nomadic_authority_4
					has_realm_law = nomadic_authority_5
					has_trait = greatest_of_khans
				}
			}
		}
		reference = "gfx/interface/illustrations/main_menu/mpo_frontend_nomad.dds"
		environment = "environment_mpo_frontend_nomad_main"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_nomadic_throneroom"
	}
	background = { # MPO - Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							government_has_flag = government_is_nomadic
							NOR = {
								has_realm_law = nomadic_authority_4
								has_realm_law = nomadic_authority_5
								has_trait = greatest_of_khans
							}
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						government_has_flag = government_is_nomadic
						NOR = {
							has_realm_law = nomadic_authority_4
							has_realm_law = nomadic_authority_5
							has_trait = greatest_of_khans
						}
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_military_tent.dds"
		environment = "environment_ep3_military_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { #FP1 Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					government_has_flag = government_is_tribal
				}
			}
			trigger_else = {
				location.culture ?= { has_building_gfx = norse_building_gfx }
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_tribal.dds"
		environment = "environment_event_fp1_throneroom_tribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom"
	}
	background = { #African tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture ?= { has_building_gfx = african_building_gfx }
					government_has_flag = government_is_tribal
				}
			}
			trigger_else = {
				location.culture ?= { has_building_gfx = african_building_gfx }
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_tribal.dds"
		environment = "environment_frontend_tribal_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_tribal_pagan"
	}
	#AGOT Disabled
	# background = { # Byzantium
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				OR = {
	# 					location ?= province:b_constantinople
	# 					AND = {
	# 						primary_title = title:e_byzantium
	# 						title:c_byzantion = {
	# 							any_de_jure_top_liege = { this = root }
	# 						}
	# 					}
	# 				}
	# 			}
	# 		}
	# 		trigger_else = {
	# 			OR = {
	# 				location ?= province:b_constantinople
	# 				AND = {
	# 					primary_title = title:e_byzantium
	# 					title:c_byzantion = {
	# 						any_de_jure_top_liege = { this = root }
	# 					}
	# 				}
	# 			}
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_byzantine_throne_room.dds"
	# 	environment = "environment_ep3_byzantine_throne_room"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_throne_room"
	# }
	background = { # Mediterranean Governor
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					is_governor_or_admin_count = yes
					OR = {
						location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
					}
				}
			}
			trigger_else = {
				is_governor_or_admin_count = yes
				OR = {
					location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = {	#Iran
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_persian_empire }
						location ?= { steppe_building_gfx_use_iranian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_persian_empire }
					location ?= { steppe_building_gfx_use_iranian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_throneroom.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
	background = {	#Iberia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						#location ?= { geographical_region = world_europe_west_iberia }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_building_gfx = iberian_building_gfx }
					#AGOT Disabled
					#location ?= { geographical_region = world_europe_west_iberia }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_throneroom.dds"
		environment = "environment_event_fp2_throneroom"
		ambience = "event:/DLC/FP2/SFX/Events/throneroom"
	}
	background = {	#Norse Non-Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					NOT = { government_has_flag = government_is_tribal }
				}
			}
			trigger_else = {
				location.culture ?= { has_building_gfx = norse_building_gfx }
				NOT = { government_has_flag = government_is_tribal }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_nontribal.dds"
		environment = "environment_event_fp1_throneroom_nontribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom_nontribal"
	}
	background = {	# MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_east.dds"
		environment = "environment_frontend_east_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
	background = {	# Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_india.dds"
		environment = "environment_frontend_india_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
	background = {	# Mediterranean
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_mediterranean.dds"
		environment = "environment_frontend_mediterranean_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_mediterranean"
	}
	background = { # East Asia Governor
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				is_governor_or_admin_count = yes
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				is_governor_or_admin_count = yes
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
		environment = "environment_tgp_relaxing_room_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = { # Japan Ruler
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				is_governor_or_admin_count = no
				is_independent_ruler = no
				tgp_is_ceremonial_liege_trigger = no
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				is_governor_or_admin_count = no
				is_independent_ruler = no
				tgp_is_ceremonial_liege_trigger = no
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_japan.dds"
		environment = "environment_tgp_study_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { # East Asia Ruler
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					is_governor_or_admin_count = no
				}
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				is_governor_or_admin_count = no
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
		environment = "environment_tgp_frontend_celestial_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = {	# Western/fallback
		reference = "gfx/interface/illustrations/event_scenes/throneroom_west.dds"
		environment = "environment_frontend_west_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_western"
	}
}

throne_room_scope = {
	background = { # MPO - High Dominance
		trigger = {
			scope:background_throne_room_scope = {
				government_has_flag = government_is_nomadic
				OR = {
					has_realm_law = nomadic_authority_3
					has_realm_law = nomadic_authority_4
					has_realm_law = nomadic_authority_5
					has_trait = greatest_of_khans
				}
			}
		}
		reference = "gfx/interface/illustrations/main_menu/mpo_frontend_nomad.dds"
		environment = "environment_mpo_frontend_nomad_main"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_nomadic_throneroom"
	}
	background = { # MPO - Nomads
		trigger = {
			scope:background_throne_room_scope = {
				OR = {
					AND = {
						government_has_flag = government_is_nomadic
						NOR = {
							has_realm_law = nomadic_authority_4
							has_realm_law = nomadic_authority_5
							has_trait = greatest_of_khans
						}
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #LAAMPs
		trigger = {
			scope:background_throne_room_scope = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_military_tent.dds"
		environment = "environment_ep3_military_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
	background = { #FP1 Tribal
		trigger = {
			scope:background_throne_room_scope = {
				capital_province.culture = { has_building_gfx = norse_building_gfx }
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_tribal.dds"
		environment = "environment_event_fp1_throneroom_tribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom"
	}

	background = { #Tribal
		trigger = {
			scope:background_throne_room_scope = {
				government_has_flag = government_is_tribal
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_east.dds"
		environment = "environment_frontend_east_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_tribal_pagan"
	}
	#AGOT Disabled
	#background = { # Byzantium
	#	trigger = {
	#		scope:background_throne_room_scope = {
	#			OR = {
	#				capital_province ?= province:b_constantinople
	#				AND = {
	#					primary_title = title:e_byzantium
	#					title:c_byzantion = {
	#						any_de_jure_top_liege = { this = root } 
	#					}
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_byzantine_throne_room.dds"
	#	environment = "environment_ep3_byzantine_throne_room"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_throne_room" 
	#}
	background = { # Mediterrenean Governor
		trigger = {
			scope:background_throne_room_scope = {
				is_governor_or_admin_count = yes
				OR = {
					location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mediterranean_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = {	#Iran
		trigger = {
			scope:background_throne_room_scope.capital_province ?= {
				culture = { has_building_gfx = iranian_building_gfx }
				#AGOT Disabled
				#geographical_region = world_persian_empire
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_throneroom.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}

	background = {	#Iberia
		trigger = {
			scope:background_throne_room_scope.capital_province ?= {
				culture = { has_building_gfx = iberian_building_gfx }
				#AGOT Disabled
				#geographical_region = world_europe_west_iberia
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_throneroom.dds"
		environment = "environment_event_fp2_throneroom"
		ambience = "event:/DLC/FP2/SFX/Events/throneroom"
	}

	background = {	#FP1 Non-Tribal
		trigger = {
			scope:background_throne_room_scope = {
				capital_province.culture = { has_building_gfx = norse_building_gfx }
				NOT = { government_has_flag = government_is_tribal }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_nontribal.dds"
		environment = "environment_event_fp1_throneroom_nontribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom_nontribal"
	}

	background = { # MENA
		trigger = {
			scope:background_throne_room_scope.capital_province.culture = {
				has_graphical_mena_culture_group_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_east.dds"
		environment = "environment_frontend_east_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}

	background = { # Indian
		trigger = {
			scope:background_throne_room_scope.capital_province.culture = {
				OR = {
					has_building_gfx = indian_building_gfx
					has_building_gfx = tibetan_building_gfx
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_india.dds"
		environment = "environment_frontend_india_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}

	background = { # Mandala
		trigger = {
			scope:background_throne_room_scope.capital_province.culture = { has_building_gfx = southeast_asian_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
		environment = "environment_tgp_frontend_celestial_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}

	background = { # Mediterranean
		trigger = {
			scope:background_throne_room_scope.capital_province.culture = {
				has_graphical_mediterranean_culture_group_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_mediterranean.dds"
		environment = "environment_frontend_mediterranean_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_mediterranean"
	}
	background = { # TGP Japan
		trigger = {
			scope:background_throne_room_scope = {
				OR = {
					government_has_flag = government_is_japan_feudal
					#AGOT Disabled
					# primary_title = title:e_japan
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_japan_throne_room.dds"
		environment = "environment_tgp_frontend_japan_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { # TGP Asia Governor
		trigger = {
			scope:background_throne_room_scope = {
				is_governor_or_admin_count = yes
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
		environment = "environment_tgp_relaxing_room_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = { # East Asia Ruler
		trigger = {
			scope:background_throne_room_scope = {
				is_governor_or_admin_count = no
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
		environment = "environment_tgp_frontend_celestial_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}

	background = { # Western/fallback
		reference = "gfx/interface/illustrations/event_scenes/throneroom_west.dds"
		environment = "environment_frontend_west_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_western"
	}
}

throne_room_east = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/throneroom_east.dds"
		environment = "environment_frontend_east_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
}

throne_room_india = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/throneroom_india.dds"
		environment = "environment_frontend_india_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
}

throne_room_mediterranean = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/throneroom_mediterranean.dds"
		environment = "environment_frontend_mediterranean_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_mediterranean"
	}
}

throne_room_tribal = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/throneroom_tribal.dds"
		environment = "environment_frontend_tribal_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_tribal_pagan"
	}
}

throne_room_west = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/throneroom_west.dds"
		environment = "environment_frontend_west_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_western"
	}
}

### ESTATE ###
estate = {
	background = { # Japan Estate (Domicile)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char.domicile }
				scope:bg_override_char.domicile ?= { is_domicile_type = japanese_manor }
			}
			trigger_else = {
				domicile ?= { is_domicile_type = japanese_manor }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_moon_festival_japan.dds"
		environment = "environment_tgp_tanabata_festival_night_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_festival_generic_japan"
	}
	background = { # Steppe Admin Estate (Domicile)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char.domicile }
				scope:bg_override_char.domicile ?= { is_domicile_type = east_asian_estate }
				scope:bg_override_char = { has_graphical_steppe_culture_group_trigger = yes }
			}
			trigger_else = {
				domicile ?= { is_domicile_type = east_asian_estate }
				has_graphical_steppe_culture_group_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
		environment = "environment_mpo_city_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_city_steppe"
	}
	background = { # East Asia Estate (domicile)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char.domicile }
				scope:bg_override_char.domicile ?= { is_domicile_type = east_asian_estate }
			}
			trigger_else = {
				domicile ?= { is_domicile_type = east_asian_estate }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_estate.dds"
		environment = "environment_tgp_asia_estate"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
	background = { # East Asia Estate
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_estate.dds"
		environment = "environment_tgp_asia_estate"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
	background = { # India Estate
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= { has_graphical_india_culture_group_trigger = yes }
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= { has_graphical_india_culture_group_trigger = yes }
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
		environment = "environment_bp2_garden_india_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
	background = { # Mena Estate
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= {
							OR = {
								has_graphical_mena_culture_group_trigger = yes
								has_graphical_african_culture_group_trigger = yes
							}
						}
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						culture ?= {
							OR = {
								has_graphical_mena_culture_group_trigger = yes
								has_graphical_african_culture_group_trigger = yes
							}
						}
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_garden.dds"
		environment = "environment_event_fp2_garden"
		ambience = "event:/DLC/FP2/SFX/Events/garden"
	}
	background = { # Byz fallback
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
		environment = "environment_ep3_family_estate"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_family_estate"
	}
}

### ARMY CAMP ###
army_camp = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						government_has_flag = government_is_tribal
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					government_has_flag = government_is_nomadic
					government_has_flag = government_is_tribal
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						location = {
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					#AGOT Disabled AUH TODO
					# AND = {
					# 	has_government = landless_adventurer_government
					# 	location = { geographical_region = world_asia }
					# }
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
					location = {
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_camp_asia.dds"
		environment = "environment_tgp_camp_asia"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/genericcamp.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

#### BATHHOUSE ###
bath_house = {
	background = {	# Bathhouse
		reference = "gfx/interface/illustrations/event_scenes/fp3_bathhouse.dds"
		environment = "environment_event_fp3_bathhouse"
		ambience = "event:/SFX/Events/Backgrounds/dungeon"
	}
}

### FP1 ###
fp1_ocean = {
	background = {	# Ocean
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}
}

fp1_ocean_norse = {
	background = {	# Ocean
		reference = "gfx/interface/illustrations/event_scenes/fp1_ocean_norse.dds"
		environment = "environment_event_fp1_ocean"
		ambience = "event:/DLC/FP1/SFX/Events/event_ocean_longship"
	}
}

fp1_runestone = {
	background = {	# Runestone Raising
		reference = "gfx/interface/illustrations/event_scenes/fp1_runestone.dds"
		environment = "environment_event_fp1_runestone"
		ambience = "event:/DLC/FP1/SFX/Events/event_runestone"
	}
}

fp1_runestone_circle = {
	background = {	# Thingstone Circle
		reference = "gfx/interface/illustrations/event_scenes/fp1_runestone_circle.dds"
		environment = "environment_event_fp1_runestone_circle"
		ambience = "event:/DLC/FP1/SFX/Events/event_ting_stone_circle"
	}
}

fp1_beached_longships = {
	background = {	# beached Longships
		reference = "gfx/interface/illustrations/event_scenes/fp1_beached_longship.dds"
		environment = "environment_event_fp1_beached_longship"
		ambience = "event:/DLC/FP1/SFX/Events/event_beached_longships"
	}
}

fp1_steward_study = {
	background = {	# Viking Steward Study
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/DLC/FP1/SFX/Events/event_steward_study"
	}
}

fp1_tribal_temple = {
	background = {	# Viking temple
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
}

fp1_throneroom_nontribal = {
	background = {	# Throneroom NonTribal
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_nontribal.dds"
		environment = "environment_event_fp1_throneroom_nontribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom_nontribal"
	}
}

fp1_throneroom_tribal = {
	background = {	# Tribal Throneroom
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_tribal.dds"
		environment = "environment_event_fp1_throneroom_tribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom"
	}
}

fp1_tribal_corridor = {
	background = {	# Tribal Corridor
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_corridor.dds"
		environment = "environment_event_fp1_tribal_corridor"
		ambience = "event:/DLC/FP1/SFX/Events/event_tribal_corridor"
	}
}

fp1_viking_feast = {
	background = {	# viking Feast
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
}

fp1_tribal_prison = {
	background = {	# Prison
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_prison.dds"
		environment = "environment_event_fp1_tribal_prison"
		ambience = "event:/DLC/FP1/SFX/Events/event_prison"
	}
}

fp2_test = {
	background = {	# Prison
		reference = "gfx/interface/illustrations/event_scenes/fp2_throneroom.dds"
		environment = "environment_event_fp2_throneroom"
		ambience = "event:/DLC/FP2/SFX/Events/prison"
	}
}

#### FP2 Fullscreen Backgrounds ####
fp2_fullscreen_intro = {
	background = {	# Intro
		reference = "gfx/interface/illustrations/event_story/fp2_struggle_start.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_start_loop"
	}
}

fp2_fullscreen_hostility = {
	background = {	# Intro
		reference = "gfx/interface/illustrations/event_story/fp2_hostility.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_hostility"
	}
}

fp2_fullscreen_compromise = {
	background = {	# Intro
		reference = "gfx/interface/illustrations/event_story/fp2_compromise.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_compromise"
	}
}

fp2_fullscreen_conciliation = {
	background = {	# Intro
		reference = "gfx/interface/illustrations/event_story/fp2_conciliation.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_conciliation"
	}
}

#### FP3 Fullscreen Backgrounds ####
fp3_fullscreen_intro = {
	background = {	# Intro
		reference = "gfx/interface/illustrations/event_story/fp3_struggle_start.dds"
		environment = "environment_event_steppe"
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_start_loop"
	}
}

fp3_fullscreen_concession = {
	background = {	# Concession Ending
		reference = "gfx/interface/illustrations/event_story/fp3_concession.dds"
		environment = "environment_event_steppe"
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_conciliation"
	}
}

fp3_fullscreen_rekindle = {
	background = {	# Rekindle Ending
		reference = "gfx/interface/illustrations/event_story/fp3_rekindle.dds"
		environment = "environment_event_steppe"
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_conciliation"
	}
}


fp3_fullscreen_strength = {
	background = {	# Strenghten the Caliphate Ending
		reference = "gfx/interface/illustrations/event_story/fp3_strength.dds"
		environment = "environment_event_steppe"
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_hostility"
	}
}

fp3_fullscreen_temper = {
	background = {	# Temper the Caliphate Ending
		reference = "gfx/interface/illustrations/event_story/fp3_temper.dds"
		environment = "environment_event_steppe"
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_hostility"
	}
}

fp3_fullscreen_sunder = {
	background = {	# Sunder the Caliphate Major Decision
		reference = "gfx/interface/illustrations/event_story/fp3_sunder.dds"
		environment = "environment_event_steppe"
		ambience = "event:/DLC/FP2/SFX/UI/fp2_struggle_end_loop_hostility"
	}
}

#### BP1 ####
bp1_indian_corridor_night = {
	background = {	#Indian Corridor
		reference = "gfx/interface/illustrations/event_scenes/bp1_corridor_indian_night.dds"
		environment = "environment_event_bp1_corridor_indian_night"
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_night"
	}
}

bp1_indian_corridor_day = {
	background = {	#Indian Corridor
		reference = "gfx/interface/illustrations/event_scenes/bp1_corridor_indian_day.dds"
		environment = "environment_event_bp1_corridor_indian_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_corridor_day"
	}
}

bp1_relaxing_room_western = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_western.dds"
		environment = "environment_event_bp1_relaxing_room_western"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

bp1_relaxing_room_mena = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

bp1_kitchen_western = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				OR = {
					government_has_flag = government_is_nomadic
					AND = {
						government_has_flag = government_is_tribal
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					AND = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				scope:activity.activity_host ?= {
					OR = {
						government_has_flag = government_is_nomadic
						AND = {
							government_has_flag = government_is_tribal
							location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
						AND = {
							is_landless_adventurer = yes
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #LAAMPs - East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					has_government = landless_adventurer_government
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						location = {
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						has_government = landless_adventurer_government
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}
					AND = {
						has_government = landless_adventurer_government
						#AGOT Modified
						#location = { geographical_region = world_asia }
						location = { geographical_region = world_essos_yi_ti }
					}
					AND = {
						has_government = landless_adventurer_government
						location = {
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_camp_asia.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = { #LAAMPs
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { has_government = landless_adventurer_government }
			}
			trigger_else = { has_government = landless_adventurer_government }
		}
		reference = "gfx/interface/illustrations/event_scenes/genericcamp.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				scope:activity.activity_location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_kitchen_asia.dds"
		environment = "environment_tgp_kitchen_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_kitchen_asia"
	}
	background = { #Indian/Southeast Asian Relaxing Room (Uses Physician Study)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_kitchen_western.dds"
		environment = "environment_event_bp1_kitchen_western"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
}

bp1_bonfire = {
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { government_has_flag = government_is_nomadic }
			}
			trigger_else = { government_has_flag = government_is_nomadic }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_bonfire.dds"
		environment = "environment_event_bp1_bonfire"
		ambience = "event:/SFX/Events/Backgrounds/burning_building"
	}
}

bp1_courtyard_indian = {
	background = {	#Indian Courtyard
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
		environment = "environment_event_bp1_courtyard_indian"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
}

bp1_courtyard_mena = {
	background = {	#MENA Courtyard
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
		environment = "environment_event_bp1_courtyard_mena"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
}

bp1_wine_cellar = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { government_has_flag = government_is_nomadic }
			}
			trigger_else_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				government_has_flag = government_is_nomadic
			}
			trigger_else = {
				scope:activity.activity_host ?= { government_has_flag = government_is_nomadic }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char.location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else_if = {
				limit = {
					NOT = { exists = scope:activity }
				}
				location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
			trigger_else = {
				scope:activity.activity_location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_tavern_asia.dds"
		environment = "environment_tgp_tavern_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = { #Indian/Southeast Asian Relaxing Room (Uses Physician Study)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = {	#wine cellar
		reference = "gfx/interface/illustrations/event_scenes/bp1_wine_cellar.dds"
		environment = "environment_event_bp1_wine_cellar"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
}

bp1_crossroads_inn = {
	background = { #Desert, settled, Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							graphical_wilderness_desert_trigger = yes
							#AGOT Modified
							#terrain = drylands
							agot_is_drylands_terrain = yes
						}
						county.holder ?= {
							OR = {
								government_has_flag = government_is_tribal
								government_has_flag = government_is_nomadic
								government_has_flag = government_is_herder
							}
						}
						NOT = { culture ?= { has_building_gfx = western_building_gfx } }
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						graphical_wilderness_desert_trigger = yes
						#AGOT Modified
						#terrain = drylands
						agot_is_drylands_terrain = yes
					}
					county.holder ?= {
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
							government_has_flag = government_is_herder
						}
					}
					NOT = { culture ?= { has_building_gfx = western_building_gfx } }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Nomad Override
		trigger = {
			location.county.holder ?= {
				OR = {
					government_has_flag = government_is_nomadic
					government_has_flag = government_is_herder
					AND = {
						government_has_flag = government_is_tribal
						culture = { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
	
	background = { #Desert, settled, not Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							graphical_wilderness_desert_trigger = yes
							#AGOT Modified
							#terrain = drylands
							agot_is_drylands_terrain = yes
						}
						NOT = {
							culture ?= { has_building_gfx = western_building_gfx }
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						graphical_wilderness_desert_trigger = yes
						#AGOT Modified
						#terrain = drylands
						agot_is_drylands_terrain = yes
					}
					NOT = { culture ?= { has_building_gfx = western_building_gfx } }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_settlement.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #South-East Asian - Seaside Village
		trigger = {
			location = {
				is_coastal = yes
				OR = {
				 	steppe_building_gfx_use_indian_trigger = yes
				 	culture ?= {
						has_graphical_india_culture_group_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
		environment = "environment_tgp_village_sea"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
	background = { #Western/Northern tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					government_has_flag = government_is_tribal
					OR = {
						location.culture ?= { has_building_gfx = western_building_gfx }
						location.culture ?= { has_building_gfx = mediterranean_building_gfx }
						location.culture ?= { has_building_gfx = byzantine_building_gfx }
						location.culture ?= { has_building_gfx = caucasian_building_gfx }
						location.culture ?= { has_building_gfx = norse_building_gfx }
						location.culture ?= { has_building_gfx = iberian_building_gfx }
					}
				}
			}
			trigger_else = {
				government_has_flag = government_is_tribal
				OR = {
					location.culture ?= { has_building_gfx = western_building_gfx }
					location.culture ?= { has_building_gfx = mediterranean_building_gfx }
					location.culture ?= { has_building_gfx = byzantine_building_gfx }
					location.culture ?= { has_building_gfx = caucasian_building_gfx }
					location.culture ?= { has_building_gfx = norse_building_gfx }
					location.culture ?= { has_building_gfx = iberian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt" 
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest" 
	}
	background = { #SE Asia and India tribals
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							#AGOT Modified
							# geographical_region = world_asia_southeast
							# geographical_region = world_burma
							# geographical_region = world_india
							# geographical_region = world_tibet
							# geographical_region = world_steppe
							geographical_region = world_essos_yi_ti
						}
						county.holder ?= {
							OR = {
								government_has_flag = government_is_tribal
								government_has_flag = government_is_nomadic
								government_has_flag = government_is_herder
							}
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						#AGOT Modified
						# geographical_region = world_asia_southeast
						# geographical_region = world_burma
						# geographical_region = world_india
						# geographical_region = world_tibet
						# geographical_region = world_steppe
						geographical_region = world_essos_yi_ti
					}
					county.holder ?= {
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
							government_has_flag = government_is_herder
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
		environment = "environment_tgp_hunt_generic_asia" 
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia" 
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_east_asian_trigger = yes }
						#AGOT Modified
						# location ?= { geographical_region = world_asia }
						# location ?= { geographical_region = world_burma }
						# location ?= { geographical_region = world_tibet }
						location ?= { geographical_region = world_essos_yi_ti }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_east_asian_trigger = yes }
					#AGOT Modified
					# location ?= { geographical_region = world_asia }
					# location ?= { geographical_region = world_burma }
					# location ?= { geographical_region = world_tibet }
					location ?= { geographical_region = world_essos_yi_ti }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_crossroad_inn_asia.dds"
		environment = "environment_tgp_crossroad_inn_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_crossroad_inn_asia"
	}

	background = {	#crossroads inn
		reference = "gfx/interface/illustrations/event_scenes/bp1_crossroads_inn.dds"
		environment = "environment_event_bp1_crossroads_inn"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

bp1_docks_tribal = {
	background = {  #tribal docks
		reference = "gfx/interface/illustrations/event_scenes/bp1_docks_tribal.dds"
		environment = "environment_event_bp1_docks_tribal"
		ambience = "event:/SFX/Events/Backgrounds/docks_day"
	}
}

### FP3 ###
fp3_courtyard_night = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp3_courtyard_night.dds"
		environment = "environment_event_fp3_courtyard_night"
		ambience = "event:/DLC/FP2/SFX/Events/corridor_night"
	}
}

fp3_cave = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp3_cave.dds"
		environment = "environment_event_sittingroom"
		ambience = "event:/SFX/Events/Backgrounds/dungeon"
	}
}

fp3_zoroastrian_temple = {
	background = {	# FP3
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
}

fp3_iranian_docks = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp3_docks.dds"
		environment = "environment_event_fp3_docks"
		ambience = "event:/SFX/Events/Backgrounds/docks_day"
	}
}

fp3_iranian_throne_room = {
	background = {	#FP3
		reference = "gfx/interface/illustrations/event_scenes/fp3_throneroom.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
}


# EP2

tour_arrival_turned_away = {
	background = {	#Norse
		trigger = {
			scope:activity ?= {
				activity_location.culture = {
					has_graphical_norse_culture_group_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_norse_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_norse_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {	#Tribal Steppe
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = { #Local Host
					OR = {
						should_use_tribal_realm_palace_graphics_trigger = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_tribal_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_tribal_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {	#MENA
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture ?= { has_building_gfx = iranian_building_gfx }
						culture ?= { has_graphical_mena_culture_group_trigger = yes }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_mena_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_mena_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {	#Iberia
		trigger = {
			scope:activity ?= {
				activity_location.culture = {
					has_graphical_iberian_culture_group_trigger = yes
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_iberian_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_iberian_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {	#India
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_india_culture_group_trigger = yes
						}
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_indian_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_indian_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {	#East Asia
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_asia_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			always = yes
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_western_suspicious.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_western_suspicious"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

tour_arrival = {
	# Nordic
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
				activity_location.culture = {
					has_graphical_norse_culture_group_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_norse_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_norse_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.culture = {
					has_graphical_norse_culture_group_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_norse_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_norse_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Tribal
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
				activity_location.county.holder = { #Local Host
					OR = {
						should_use_tribal_realm_palace_graphics_trigger = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_tribal_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_tribal_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = { #Local Host
					OR = {
						should_use_tribal_realm_palace_graphics_trigger = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_tribal_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_tribal_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# MENA
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
				activity_location ?= {
					OR = {
						culture ?= { has_building_gfx = iranian_building_gfx }
						culture ?= { has_graphical_mena_culture_group_trigger = yes }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_mena_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_mena_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture ?= { has_building_gfx = iranian_building_gfx }
						culture ?= { has_graphical_mena_culture_group_trigger = yes }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_mena_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_mena_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Iberian
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
				activity_location.culture = {
					has_graphical_iberian_culture_group_trigger = yes
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_iberian_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_iberian_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.culture = {
					has_graphical_iberian_culture_group_trigger = yes
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_iberian_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_iberian_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Indian
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_india_culture_group_trigger = yes
						}
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_indian_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_indian_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_india_culture_group_trigger = yes
						}
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_indian_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_indian_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# East Asian
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Western
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = {
					OR = {
						has_relation_friend = scope:host
						opinion = {
							target = scope:host
							value >= low_positive_opinion
						}
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_western_welcome.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_western_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}

	background = {
		trigger = {
			always = yes
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_western_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_ep2_tour_arrival_western_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

ep2_tournament = {
	background = { #Tribal
		trigger = {
			location ?= {
				county.title_province ?= {
					OR = {
						has_holding_type = tribal_holding
						has_holding_type = herder_holding
						has_holding_type = nomad_holding
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_tribal.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	background = { #Indian
		trigger = {
			location ?= {
				OR = {
					culture ?= { has_graphical_india_culture_group_trigger = yes }
					steppe_building_gfx_use_indian_trigger = yes
					geographical_region = graphical_india
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_india.dds"
		environment = "environment_mecca"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = { #East Asia
		trigger = {
			location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}

	background = { #MENA
		trigger = {
			location ?= {
				OR = {
					geographical_region = graphical_mena
					#AGOT Disabled
					#AND = {
			 		#	geographical_region = world_europe_west_iberia
			 		#	root = { faith = { religion = religion:islam_religion } }
			 		#}
			 		culture ?= { has_building_gfx = iranian_building_gfx }
			 		culture ?= { has_building_gfx = mena_building_gfx }
			 		steppe_building_gfx_use_mena_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_mena.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
}

tournament_contest = {
	background = {
		trigger = {
			scope:activity ?= {
				activity_host = {
					OR = {
						government_has_flag = government_is_feudal
						government_has_flag = government_is_clan
					}
				}
				trigger_if = {
					limit = { exists = scope:contest_complete }
					OR = {
						scope:contest_complete = flag:joust
						scope:contest_complete = flag:horse_race
					}
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_joust
						has_current_phase = tournament_phase_horse_race
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_horseracing.dds"
		environment = "environment_ep2_horse_racing"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_host = {
					OR = {
						government_has_flag = government_is_feudal
						government_has_flag = government_is_clan
					}
				}
				trigger_if = {
					limit = { exists = scope:contest_complete }
					OR = {
						scope:contest_complete = flag:melee
						scope:contest_complete = flag:duel
						scope:contest_complete = flag:wrestling
					}
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_melee
						has_current_phase = tournament_phase_duel
						has_current_phase = tournament_phase_wrestling
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_melee.dds"
		environment = "environment_ep2_melee"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:archery
				}
				trigger_else = { has_current_phase = tournament_phase_archery }
			}
		}
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_archery.dds"
		environment = "environment_ep2_archery"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:board_game
				}
				trigger_else = { has_current_phase = tournament_phase_board_game }
			}
		}
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_boardgames.dds"
		environment = "environment_ep2_boardgames"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = { #Tribal
		trigger = {
			scope:activity = {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:recital
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_recital
						has_current_phase = tournament_phase_ceremony
					}
				}
				activity_host = {
					OR = {
						government_has_flag = government_is_nomadic
						government_has_flag = government_is_herder
						government_has_flag = government_is_tribal
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_tribal.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	background = { # Byzantine
		trigger = {
			scope:activity = {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:recital
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_recital
						has_current_phase = tournament_phase_ceremony
					}
				}
				activity_location ?= {
					OR = {
						culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						steppe_building_gfx_use_mediterranean_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = { #Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					##
				}
			}
			trigger_else = {
				##
			}
			scope:activity = {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:recital
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_recital
						has_current_phase = tournament_phase_ceremony
					}
				}
				activity_location ?= {
					OR = {
						geographical_region = graphical_india
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_india.dds"
		environment = "environment_mecca"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					##
				}
			}
			trigger_else = {
				##
			}
			scope:activity = {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:recital
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_recital
						has_current_phase = tournament_phase_ceremony
					}
				}
				activity_location ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
	background = { #MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					##
				}
			}
			trigger_else = {
				##
			}
			scope:activity = {
				trigger_if = {
					limit = { exists = scope:contest_complete }
					scope:contest_complete = flag:recital
				}
				trigger_else = {
					OR = {
						has_current_phase = tournament_phase_recital
						has_current_phase = tournament_phase_ceremony
					}
				}
				activity_location ?= {
					OR = {
						geographical_region = graphical_mena
						#AGOT Disabled
						#AND = {
				 		#	geographical_region = world_europe_west_iberia
				 		#	scope:activity.activity_host.religion = religion:islam_religion
				 		#}
				 		culture ?= {
				 			has_building_gfx = iranian_building_gfx
				 		} 
				 		steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_tournament_mena.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
}

holy_site_generic = {
	background = { #Zoroastrian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							#AGOT Modified
							#scope:activity.activity_location.religion = religion:zoroastrianism_religion
							scope:activity.activity_location.religion = religion:the_rhllor_religion
						}
						#AGOT Modified
						#location.religion ?= religion:zoroastrianism_religion
						location.religion ?= religion:the_rhllor_religion
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						#AGOT Modified
						#scope:activity.activity_location.religion = religion:zoroastrianism_religion
						scope:activity.activity_location.religion = religion:the_rhllor_religion
					}
					#AGOT Modified
					#location.religion ?= religion:zoroastrianism_religion
					location.religion ?= religion:the_rhllor_religion
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}

	background = { # MPO - Tengri
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							religion = {
								OR = {
									#AGOT Modified
									#this = religion:tengrism_religion
									#this = religion:magyar_religion
									#this = religion:siberian_religion
									this = religion:the_flocks_religion
									this = religion:the_counsels_religion
								}
							}
							#AGOT Disabled
							#AND = {
							#	religion = religion:buddhism_religion
							#	OR = {
							#		geographical_region = world_steppe_east
							#		geographical_region = world_steppe_central
							#		geographical_region = world_steppe_west
							#		geographical_region = world_asia_north_east
							#	}
							#}
							#AND = {
							#	religion = religion:buddhism_religion
							#	OR = {
							#		geographical_region = world_tibet
							#		geographical_region = world_steppe_tarim
							#	}
							#	county.title_province ?= {
							#		OR = {
							#			has_holding_type = tribal_holding
							#			has_holding_type = nomad_holding
							#			has_holding_type = herder_holding
							#		}
							#	}
							#}
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						religion = {
							OR = {
								#AGOT Modified
								#this = religion:tengrism_religion
								#this = religion:magyar_religion
								#this = religion:siberian_religion
								this = religion:the_flocks_religion
								this = religion:the_counsels_religion
							}
						}
						#AGOT Disabled
						#AND = {
						#	religion = religion:buddhism_religion
						#	OR = {
						#		geographical_region = world_steppe_east
						#		geographical_region = world_steppe_central
						#		geographical_region = world_steppe_west
						#		geographical_region = world_asia_north_east
						#	}
						#}
						#AND = {
						#	religion = religion:buddhism_religion
						#	OR = {
						#		geographical_region = world_tibet
						#		geographical_region = world_steppe_tarim
						#	}
						#	county.title_province ?= {
						#		OR = {
						#			has_holding_type = tribal_holding
						#			has_holding_type = nomad_holding
						#			has_holding_type = herder_holding
						#		}
						#	}
						#}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}

	#AGOT Disabled
	#background = { # Orthodox generic holy site
	#	trigger = {
	#		 #Orthodox + Fallback for Oriental Christians
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				location ?= {
	#					religion = religion:christianity_religion
	#					OR = {
	#						AND = {
	#							culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	#							faith = faith:orthodox
	#						}
	#						geographical_region = graphical_mena
	#						geographical_region = graphical_india
	#						geographical_region = world_europe_south_east
	#						geographical_region = world_asia_minor
	#					}
	#				}
	#			}
	#		}
	#		trigger_else = {
	#			location ?= {
	#				religion = religion:christianity_religion
	#				OR = {
	#					AND = {
	#						culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	#						faith = faith:orthodox
	#					}
	#					geographical_region = graphical_mena
	#					geographical_region = graphical_india
	#					geographical_region = world_europe_south_east
	#					geographical_region = world_asia_minor
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	#	environment = "environment_ep3_holysite_orthodox"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	#}

	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location ?= {
								OR = {
									culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
									steppe_building_gfx_use_east_asian_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
								steppe_building_gfx_use_east_asian_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location ?= {
							OR = {
								culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
								steppe_building_gfx_use_east_asian_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}

	background = { #Indian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location = {
								OR = {
									culture ?= { has_graphical_india_culture_group_trigger = yes }
									steppe_building_gfx_use_indian_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_india_culture_group_trigger = yes }
								steppe_building_gfx_use_indian_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location = {
							OR = {
								culture ?= { has_graphical_india_culture_group_trigger = yes }
								steppe_building_gfx_use_indian_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_india_culture_group_trigger = yes }
							steppe_building_gfx_use_indian_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Western generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location = {
								OR = {
									culture ?= { has_graphical_western_culture_group_trigger = yes }
									steppe_building_gfx_use_western_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_western_culture_group_trigger = yes }
								steppe_building_gfx_use_western_trigger = yes
							}
						}
					}
					#AGOT Disabled
					#NOT = {
					#	location.religion ?= { is_in_family = rf_pagan }
					#}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location = {
							OR = {
								culture ?= { has_graphical_western_culture_group_trigger = yes }
								steppe_building_gfx_use_western_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_western_culture_group_trigger = yes }
							steppe_building_gfx_use_western_trigger = yes
						}
					}
				}
				#AGOT Disabled
				#NOT = {
				#	location.religion ?= { is_in_family = rf_pagan }
				#}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}

	background = { #Norse generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
						}
						root.location.culture = { has_graphical_norse_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
					}
					root.location.culture = { has_graphical_norse_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	#AGOT Disabled
	#background = { #Pagan generic holy site
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				OR = {
	#					AND = {
	#						exists = scope:activity
	#						scope:activity.activity_location.province_owner ?= { 
	#							OR = {
	#								government_has_flag = government_is_tribal
	#								government_has_flag = government_is_clan
	#							}
	#							religion = { is_in_family = rf_pagan }
	#						}
	#					}
	#					religion = { is_in_family = rf_pagan }
	#				}
	#			}
	#		}
	#		trigger_else = {
	#			OR = {
	#				AND = {
	#					exists = scope:activity
	#					scope:activity.activity_location.province_owner ?= { 
	#						OR = {
	#							government_has_flag = government_is_tribal
	#							government_has_flag = government_is_clan
	#						}
	#						religion = { is_in_family = rf_pagan }
	#					}
	#				}
	#				religion = { is_in_family = rf_pagan }
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
	#	environment = "environment_event_garden"
	#	ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	#}

	background = { #MENA generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location = {
								OR = {
									culture ?= { has_graphical_mena_culture_group_trigger = yes }
									steppe_building_gfx_use_mena_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_mena_culture_group_trigger = yes }
								steppe_building_gfx_use_mena_trigger = yes
							}
						}
						location.culture ?= { has_building_gfx = iranian_building_gfx }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location = {
							OR = {
								culture ?= { has_graphical_mena_culture_group_trigger = yes }
								steppe_building_gfx_use_mena_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_mena_culture_group_trigger = yes }
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
					location.culture ?= { has_building_gfx = iranian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}

	background = { #Iberian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
						}
						location.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
					}
					location.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}

	background = { #Western generic holy site fallback
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
}

holy_site_generic_scope = {
	background = { #Zoroastrian generic holy site
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					#AGOT Modified
					#scope:activity.activity_location.religion = religion:zoroastrianism_religion
					scope:activity.activity_location.religion = religion:the_rhllor_religion
				}
				#AGOT Modified
				#scope:holy_site_scope.religion ?= religion:zoroastrianism_religion
				scope:holy_site_scope.religion ?= religion:the_rhllor_religion
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = { # MPO - Tengri
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location = {
						OR = {
							religion = {
								OR = {
									#AGOT Modified
									#this = religion:tengrism_religion
									#this = religion:magyar_religion
									#this = religion:siberian_religion
									this = religion:the_flocks_religion
									this = religion:the_counsels_religion
								}
							}
							#AGOT Disabled
							#AND = {
							#	religion = religion:buddhism_religion
							#	OR = {
							#		geographical_region = world_steppe_east
							#		geographical_region = world_steppe_central
							#		geographical_region = world_steppe_west
							#		geographical_region = world_asia_north_east
							#	}
							#}
							#AND = {
							#	religion = religion:buddhism_religion
							#	OR = {
							#		geographical_region = world_tibet
							#		geographical_region = world_steppe_tarim
							#	}
							#	county.title_province ?= {
							#		OR = {
							#			has_holding_type = tribal_holding
							#			has_holding_type = nomad_holding
							#			has_holding_type = herder_holding
							#		}
							#	}
							#}
						}
					}
				}
				scope:holy_site_scope = {
					OR = {
						religion = {
							OR = {
								#AGOT Modified
								#this = religion:tengrism_religion
								#this = religion:magyar_religion
								#this = religion:siberian_religion
								this = religion:the_flocks_religion
								this = religion:the_counsels_religion
							}
						}
						#AGOT Disabled
						#AND = {
						#	religion = religion:buddhism_religion
						#	OR = {
						#		geographical_region = world_steppe_east
						#		geographical_region = world_steppe_central
						#		geographical_region = world_steppe_west
						#		geographical_region = world_asia_north_east
						#	}
						#}
						#AND = {
						#	religion = religion:buddhism_religion
						#	OR = {
						#		geographical_region = world_tibet
						#		geographical_region = world_steppe_tarim
						#	}
						#	county.title_province ?= {
						#		OR = {
						#			has_holding_type = tribal_holding
						#			has_holding_type = nomad_holding
						#			has_holding_type = herder_holding
						#		}
						#	}
						#}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}

	#AGOT Disabled
	#background = { # Orthodox generic holy site
	#	trigger = {
	#		OR = {
	#			AND = {
	#				exists = scope:activity
	#				scope:activity.activity_location ?= {
	#					religion = religion:christianity_religion
	#					OR = {
	#						AND = {
	#							culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	#							faith = faith:orthodox
	#						}
	#						geographical_region = graphical_mena
	#						geographical_region = graphical_india
	#						geographical_region = world_europe_south_east
	#						geographical_region = world_asia_minor
	#					}
	#				}
	#			}
	#			scope:holy_site_scope ?= {
	#				religion = religion:christianity_religion
	#				OR = {
	#					AND = {
	#						culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	#						faith = faith:orthodox
	#					}
	#					geographical_region = graphical_mena
	#					geographical_region = graphical_india
	#					geographical_region = world_europe_south_east
	#					geographical_region = world_asia_minor
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	#	environment = "environment_ep3_holysite_orthodox"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	#}

	background = { #East Asian
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
				scope:holy_site_scope ?= {
					OR = {
						culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}

	background = { #Indian generic holy site
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location = {
						OR = {
							culture = { has_graphical_india_culture_group_trigger = yes }
							steppe_building_gfx_use_indian_trigger = yes
						}
					}
				}
				scope:holy_site_scope = {
					OR = {
						culture = { has_graphical_india_culture_group_trigger = yes }
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Western generic holy site
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location = {
						OR = {
							culture ?= { has_graphical_western_culture_group_trigger = yes }
							steppe_building_gfx_use_western_trigger = yes
						}
						#AGOT Disabled
						#NOT = {
						#	religion ?= { is_in_family = rf_pagan }
						#}
					}
				}
				scope:holy_site_scope ?= {
					OR = {
						culture ?= { has_graphical_western_culture_group_trigger = yes }
						steppe_building_gfx_use_western_trigger = yes
					}
					#AGOT Disabled
					#NOT = {
					#	religion ?= { is_in_family = rf_pagan }
					#}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}

	background = { #Norse generic holy site
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location.culture ?= { has_graphical_norse_culture_group_trigger = yes }
				}
				scope:holy_site_scope.culture ?= { has_graphical_norse_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	#AGOT Disabled
	#background = { #Pagan generic holy site
	#	trigger = {
	#		OR = {
	#			AND = {
	#				exists = scope:activity
	#				scope:activity.activity_location.county.holder ?= { 
	#					OR = {
	#						government_has_flag = government_is_tribal
	#						government_has_flag = government_is_nomadic
	#						government_has_flag = government_is_herder
	#					}
	#					religion = { is_in_family = rf_pagan } 
	#				}
	#			}
	#			scope:holy_site_scope.religion = { is_in_family = rf_pagan }
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
	#	environment = "environment_event_garden"
	#	ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	#}

	background = { #MENA generic holy site
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location = {
						OR = {
							culture ?= { has_graphical_mena_culture_group_trigger = yes }
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
				}
				scope:holy_site_scope = {
					OR = {
						culture ?= { has_graphical_mena_culture_group_trigger = yes }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
				scope:holy_site_scope.culture ?= { has_building_gfx = iranian_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}

	background = { #Iberian generic holy site
		trigger = {
			OR = {
				AND = {
					exists = scope:activity
					scope:activity.activity_location.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
				}
				scope:holy_site_scope.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}

	background = { #Western generic holy site fallback
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
}

#Improved to also include generic holy sites, as fallbacks
#Our backgrounds should all have fallbacks or they're risky!
holy_site_unique = {
	#AGOT Disabled
	# background = { #Jerusalem
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = {
	# 				exists = scope:activity
	# 			}
	# 			scope:activity.activity_location.county = title:c_jerusalem
	# 		}
	# 		trigger_else = {
	# 			location.county = title:c_jerusalem
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_jerusalem.dds"
	# 	environment = "environment_jerusalem"
	# 	ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jerusalem"
	# }

	#AGOT Disabled
	# background = { #Mecca
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = {
	# 				exists = scope:activity
	# 			}
	# 			scope:activity.activity_location.county = title:c_mecca
	# 		}
	# 		trigger_else = {
	# 			location.county = title:c_mecca
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mecca.dds"
	# 	environment = "environment_mecca"
	# 	ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	# }
	#AGOT Disabled
	# background = { # Hagia Sophia
	# 	trigger = {
	# 		trigger_if = {
	# 			limit = {
	# 				exists = scope:activity
	# 			}
	# 			scope:activity.activity_location.county = title:c_byzantion
	# 		}
	# 		trigger_else = {
	# 			location.county = title:c_byzantion
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
	# 	environment = "environment_ep3_hagia_sophia"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_hagia_sophia"
	# }
	background = { #Zoroastrian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							#AGOT Modified
							# scope:activity.activity_location.religion = religion:zoroastrianism_religion
							scope:activity.activity_location.religion = religion:the_rhllor_religion
						}
						#AGOT Modified
						# location.religion ?= religion:zoroastrianism_religion
						location.religion ?= religion:the_rhllor_religion
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						#AGOT Modified
						# scope:activity.activity_location.religion = religion:zoroastrianism_religion
						scope:activity.activity_location.religion = religion:the_rhllor_religion
					}
					#AGOT Modified
					# location.religion ?= religion:zoroastrianism_religion
					location.religion ?= religion:the_rhllor_religion
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}

	background = { # MPO - Tengri
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							religion = {
								OR = {
									#AGOT Modified
									#this = religion:tengrism_religion
									#this = religion:magyar_religion
									#this = religion:siberian_religion
									this = religion:the_flocks_religion
									this = religion:the_counsels_religion
								}
							}
							#AGOT Disabled
							# AND = {
							# 	religion = religion:buddhism_religion
							# 	OR = {
							# 		geographical_region = world_steppe_east
							# 		geographical_region = world_steppe_central
							# 		geographical_region = world_steppe_west
							# 		geographical_region = world_asia_north_east
							# 	}
							# }
							#AGOT Disabled
							# AND = {
							# 	religion = religion:buddhism_religion
							# 	OR = {
							# 		geographical_region = world_tibet
							# 		geographical_region = world_steppe_tarim
							# 	}
							# 	county.title_province ?= {
							# 		OR = {
							# 			has_holding_type = tribal_holding
							# 			has_holding_type = nomad_holding
							# 			has_holding_type = herder_holding
							# 		}
							# 	}
							# }
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						religion = {
							OR = {
								#AGOT Modified
								#this = religion:tengrism_religion
								#this = religion:magyar_religion
								#this = religion:siberian_religion
								this = religion:the_flocks_religion
								this = religion:the_counsels_religion
							}
						}
						#AGOT Disabled
						# AND = {
						# 	religion = religion:buddhism_religion
						# 	OR = {
						# 		geographical_region = world_steppe_east
						# 		geographical_region = world_steppe_central
						# 		geographical_region = world_steppe_west
						# 		geographical_region = world_asia_north_east
						# 	}
						# }
						#AGOT Disabled
						# AND = {
						# 	religion = religion:buddhism_religion
						# 	OR = {
						# 		geographical_region = world_tibet
						# 		geographical_region = world_steppe_tarim
						# 	}
						# 	county.title_province ?= {
						# 		OR = {
						# 			has_holding_type = tribal_holding
						# 			has_holding_type = nomad_holding
						# 			has_holding_type = herder_holding
						# 		}
						# 	}
						# }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}

	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location.culture = { has_graphical_east_asia_culture_group_trigger = yes }
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
								steppe_building_gfx_use_east_asian_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location.culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}

	#AGOT Disabled
	# background = { # Orthodox generic holy site
	# 	trigger = {
	# 		 #Orthodox + Fallback for Oriental Christians
	# 		trigger_if = {
	# 			limit = { exists = scope:bg_override_char }
	# 			scope:bg_override_char = {
	# 				location ?= {
	# 					religion = religion:christianity_religion
	# 					OR = {
	# 						AND = {
	# 							culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	# 							faith = faith:orthodox
	# 						}
	# 						geographical_region = graphical_mena
	# 						geographical_region = graphical_india
	# 						geographical_region = world_europe_south_east
	# 						geographical_region = world_asia_minor
	# 					}
	# 				}
	# 			}
	# 		}
	# 		trigger_else = {
	# 			location ?= {
	# 				religion = religion:christianity_religion
	# 				OR = {
	# 					AND = {
	# 						culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	# 						faith = faith:orthodox
	# 					}
	# 					geographical_region = graphical_mena
	# 					geographical_region = graphical_india
	# 					geographical_region = world_europe_south_east
	# 					geographical_region = world_asia_minor
	# 				}
	# 			}
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	# 	environment = "environment_ep3_holysite_orthodox"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	# }

	background = { #Indian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location = {
								OR = {
									culture ?= { has_graphical_india_culture_group_trigger = yes }
									steppe_building_gfx_use_indian_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_india_culture_group_trigger = yes }
								steppe_building_gfx_use_indian_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location = {
							OR = {
								culture ?= { has_graphical_india_culture_group_trigger = yes }
								steppe_building_gfx_use_indian_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_india_culture_group_trigger = yes }
							steppe_building_gfx_use_indian_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Western generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location = {
								OR = {
									culture ?= { has_graphical_western_culture_group_trigger = yes }
									steppe_building_gfx_use_western_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_western_culture_group_trigger = yes }
								steppe_building_gfx_use_western_trigger = yes
							}
						}
					}
					#AGOT Disabled
					# NOT = {
					# 	location.religion ?= { is_in_family = rf_pagan }
					# }
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location = {
							OR = {
								culture ?= { has_graphical_western_culture_group_trigger = yes }
								steppe_building_gfx_use_western_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_western_culture_group_trigger = yes }
							steppe_building_gfx_use_western_trigger = yes
						}
					}
				}
				#AGOT Disabled
				# NOT = {
				# 	location.religion ?= { is_in_family = rf_pagan }
				# }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}

	background = { #Norse generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
						}
						root.location.culture = { has_graphical_norse_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
					}
					root.location.culture = { has_graphical_norse_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = { #Pagan generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location.county.holder ?= { 
								OR = {
									government_has_flag = government_is_tribal
									government_has_flag = government_is_clan
								}
								#AGOT Disabled
								# religion = { is_in_family = rf_pagan }
							}
							#AGOT Added
							scope:activity.activity_location = {
								NOT = { this ?= { geographical_region = world_westeros_beyond_the_wall } }
							}
						}
						#AGOT Disabled
						# religion = { is_in_family = rf_pagan }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location.county.holder ?= { 
							OR = {
								government_has_flag = government_is_tribal
								government_has_flag = government_is_clan
							}
							#AGOT Disabled
							# religion = { is_in_family = rf_pagan }
						}
						#AGOT Added
						scope:activity.activity_location = {
							NOT = { this ?= { geographical_region = world_westeros_beyond_the_wall } }
						}
					}
					#AGOT Disabled
					# religion = { is_in_family = rf_pagan }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}

	background = { #MENA generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location = {
								OR = {
									culture ?= { has_graphical_mena_culture_group_trigger = yes }
									steppe_building_gfx_use_mena_trigger = yes
								}
							}
						}
						location ?= {
							OR = {
								culture ?= { has_graphical_mena_culture_group_trigger = yes }
								steppe_building_gfx_use_mena_trigger = yes
							}
						}
						location.culture ?= { has_building_gfx = iranian_building_gfx }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location = {
							OR = {
								culture ?= { has_graphical_mena_culture_group_trigger = yes }
								steppe_building_gfx_use_mena_trigger = yes
							}
						}
					}
					location ?= {
						OR = {
							culture ?= { has_graphical_mena_culture_group_trigger = yes }
							steppe_building_gfx_use_mena_trigger = yes
						}
					}
					location.culture ?= { has_building_gfx = iranian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena" 				
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}

	background = { #Iberian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						AND = {
							exists = scope:activity
							scope:activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
						}
						location.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					AND = {
						exists = scope:activity
						scope:activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
					}
					location.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple" 
	}

	background = { #Western generic holy site fallback
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
}

holy_site_scope = {
	#AGOT Disabled
	#background = { #Jerusalem
	#	trigger = {
	#		scope:background_terrain_scope.county = title:c_jerusalem
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_jerusalem.dds"
	#	environment = "environment_jerusalem"
	#	ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jerusalem"
	#}

	#AGOT Disabled
	#background = { #Mecca
	#	trigger = {
	#		scope:background_terrain_scope.county = title:c_mecca
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mecca.dds"
	#	environment = "environment_mecca"
	#	ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	#}
	#AGOT Disabled
	#background = { # Hagia Sophia
	#	trigger = {
	#		scope:background_terrain_scope.county = title:c_byzantion
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
	#	# TODO_CD_EP3: update ambience and environment
	#	environment = "environment_mecca"
	#	ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	#}
	background = { #Zoroastrian generic holy site
		trigger = {
			#AGOT Modified
			#scope:background_terrain_scope.religion ?= religion:zoroastrianism_religion
			scope:background_terrain_scope.religion ?= religion:the_rhllor_religion
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}

	background = { # MPO - Tengri
		trigger = {
			scope:background_terrain_scope = {
				OR = {
					religion = {
						OR = {
							#AGOT Modified
							#this = religion:tengrism_religion
							#this = religion:magyar_religion
							#this = religion:siberian_religion
							this = religion:the_flocks_religion
							this = religion:the_counsels_religion
						}
					}
					#AGOT Disabled
					#AND = {
					#	religion = religion:buddhism_religion
					#	OR = {
					#		geographical_region = world_steppe_east
					#		geographical_region = world_steppe_central
					#		geographical_region = world_steppe_west
					#	}
					#}
					#AND = {
					#	religion = religion:buddhism_religion
					#	OR = {
					#		geographical_region = world_tibet
					#		geographical_region = world_steppe_tarim
					#	}
					#	county.title_province ?= {
					#		OR = {
					#			has_holding_type = tribal_holding
					#			has_holding_type = nomad_holding
					#			has_holding_type = herder_holding
					#		}
					#	}
					#}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}

	#AGOT Disabled
	#background = { # Orthodox generic holy site
	#	trigger = {
	#		scope:background_terrain_scope ?= {
	#			religion = religion:christianity_religion
	#			OR = {
	#				AND = {
	#					culture = { has_graphical_mediterranean_culture_group_trigger = yes }
	#					faith = faith:orthodox
	#				}
	#				geographical_region = graphical_mena
	#				geographical_region = graphical_india
	#				geographical_region = world_europe_south_east
	#				geographical_region = world_asia_minor
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	#	# TODO_CD_EP3: update environment lighting
	#	environment = "environment_western_holy_site"
	#	# TODO_CD_EP3: update ambience
	#	ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	#}

	background = { #East Asian
		trigger = {
			scope:background_terrain_scope ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}

	background = { #Indian generic holy site
		trigger = {
			scope:background_terrain_scope ?= {
				OR = {
					culture ?= { has_graphical_india_culture_group_trigger = yes }
					steppe_building_gfx_use_indian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}

	background = { #Western generic holy site
		trigger = {
			scope:background_terrain_scope ?= {
				OR = {
					culture ?= { has_graphical_western_culture_group_trigger = yes }
					steppe_building_gfx_use_western_trigger = yes
				}
				#AGOT Disabled
				#NOT = {
				#	religion ?= { is_in_family = rf_pagan }
				#}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
	background = { #Norse generic holy site
		trigger = {
			scope:background_terrain_scope.culture = { has_graphical_norse_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	#AGOT Disabled
	#background = { #Pagan generic holy site
	#	trigger = {
	#		scope:background_terrain_scope.religion = { is_in_family = rf_pagan }
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
	#	environment = "environment_event_garden"
	#	ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	#}

	background = { #MENA generic holy site
		trigger = {
			OR = {
				scope:background_terrain_scope ?= {
					OR = {
						culture ?= { has_graphical_mena_culture_group_trigger = yes }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
				scope:background_terrain_scope.culture ?= { has_building_gfx = iranian_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}

	background = { #Iberian generic holy site
		trigger = {
			scope:background_terrain_scope.culture ?= { has_graphical_iberian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}

	background = { #Western generic holy site fallback
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
}

holy_site_mecca = {
	background = { #Mecca
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mecca.dds"
		environment = "environment_mecca"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}
}

ep2_travel_settlement_farm = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

ep2_travel_settlement_ruin_desert = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_desert.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
}

ep2_travel_nomad_settlement_desert = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
}

ep2_travel_settlement_desert = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/desert_settlement.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
}

ep2_travel_settlement_hills = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

ep2_travel_settlement_mountains = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
}

ep2_travel_settlement_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
}

ep2_travel_bridge = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_bridge.dds"
		environment = "environment_travel_bridge"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
}

ep2_hunt_forest_hut = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
}

ep2_hunt_forest_cave = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_cave_entrance.dds"
		environment = "environment_hunt_forest_cave"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
}

ep2_hunt_falconry_mews = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_falconry_mews.dds"
		environment = "environment_hunt_falconry_mews"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_falconry/ep2_event_grand_hunt_falconry_room"
	}
}

ep2_hunt_foggy_forest = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_foggy_forest.dds"
		environment = "environment_hunt_foggy_forest"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
}

ep2_forest_managed = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_forest_managed.dds"
		environment = "environment_ep2_forest_managed"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
}

ep2_dog_kennels = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_dog_kennels.dds"
		environment = "environment_dog_kennels"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
}

ep2_video_test = {
	background = {
		video = yes
		reference = "gfx/interface/video/events/test.bk2"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
}

ep2_hunt_snowy_forest = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
}

ep2_hunt_poachers_camp = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_poachers_camp.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
}

ep2_hunt_activity_camp = {
	background = { # Snowy
		trigger = {
			scope:activity.activity_location ?= { hunt_snowy_forest_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { # Mountains
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_mountains_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mountains.dds"
		environment = "environment_event_mountains"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}

	background = { # Jungle
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_jungle_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_jungle.dds"
		environment = "environment_event_bp1_jungle"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	
	background = {
		trigger = {
			scope:activity.activity_host = { government_has_flag = government_is_nomadic }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}

	background = { # Steppe
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_steppe_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/steppe.dds"
		environment = "environment_event_steppe"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}

	background = { #Desert
		trigger = {
			scope:activity.activity_location ?= { graphical_wilderness_desert_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/desert.dds"
		environment = "environment_event_bp1_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_desert"
	}

	background = { # Drylands
		trigger = {
			scope:activity.activity_location ?= { graphical_drylands_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/drylands.dds"
		environment = "environment_event_desert"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}

	background = { # Camp
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_poachers_camp.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
}

ep2_wedding_ceremony = {
	background = {	 #Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:activity }
				scope:activity ?= { has_activity_type = activity_wedding }
			}
			OR = {
				location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_indian_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_indian.dds"
		environment = "environment_indian_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	 #East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:activity }
				scope:activity ?= { has_activity_type = activity_wedding }
			}
			location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_ceremony_asia.dds"
		environment = "environment_tgp_wedding_ceremony_asia"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	 #MENA (also steppes and African )
		trigger = {
			trigger_if = {
				limit = { exists = scope:activity }
				scope:activity ?= { has_activity_type = activity_wedding }
			}
			OR = {
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				location.culture ?= { has_graphical_african_culture_group_trigger = yes }
				location.culture ?= { has_building_gfx = iranian_building_gfx }
				location ?= { steppe_building_gfx_use_mena_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_mena.dds"
		environment = "environment_mena_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	 # Western - Fallback
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_western.dds"
		environment = "environment_western_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
}

ep2_involved_activity = {
	### TOURNAMENT
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tournament }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tournament }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	### TOUR
	background = {	#Japanese
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tour }
					location ?= {
						OR = {
							culture = { has_graphical_japanese_culture_group_trigger = yes }
							steppe_building_gfx_use_japanese_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tour }
				location ?= {
					OR = {
						culture = { has_graphical_japanese_culture_group_trigger = yes }
						steppe_building_gfx_use_japanese_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_tanabata_festival_night_japan.dds"
		environment = "environment_tgp_tanabata_festival_night_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_festival_generic_japan"
	}
	background = {	#East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tour }
					location ?= {
						OR = {
							culture = { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tour }
				location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_ceremony_asia.dds"
		environment = "environment_tgp_wedding_ceremony_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
	background = { #Steppe
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tour }
					involved_activity.activity_location.culture = { has_building_gfx = steppe_building_gfx }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tour }
				involved_activity.activity_location.culture = { has_building_gfx = steppe_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = {	#MENA and African
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tour }
					OR = {
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tour }
				OR = {
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= {  has_graphical_african_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = {	#Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tour }
					OR = {
						steppe_building_gfx_use_indian_trigger = yes
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tour }
				OR = {
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_india"
	}
	background = { #fallback
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_tour }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_tour }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	### WEDDING
	background = {	#FP2 (uses MENA)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_wedding }
					capital_province.culture = { has_building_gfx = iberian_building_gfx }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_wedding }
				capital_province.culture = { has_building_gfx = iberian_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_mena.dds"
		environment = "environment_mena_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = { #FP1 (uses western)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_wedding }
					location.culture = { has_building_gfx = norse_building_gfx }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_wedding }
				location.culture = { has_building_gfx = norse_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_western.dds"
		environment = "environment_western_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	#MENA (also for steppe and African)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_wedding }
					OR = {
						location.culture ?= { has_building_gfx = iranian_building_gfx }
						location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
						location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
						location.culture ?= { has_graphical_african_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_mena_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_wedding }
				OR = {
					location.culture ?= { has_building_gfx = iranian_building_gfx }
					location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
					location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					location.culture ?= { has_graphical_african_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_mena.dds"
		environment = "environment_mena_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	#Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_wedding }
					OR = {
						steppe_building_gfx_use_indian_trigger = yes
						location.culture ?= { has_graphical_india_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_wedding }
				OR = {
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
					location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_indian.dds"
		environment = "environment_indian_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	#East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_wedding }
					location ?= {
						OR = {
							culture = { has_graphical_east_asia_culture_group_trigger = yes }
							steppe_building_gfx_use_east_asian_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_wedding }
				location ?= {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_ceremony_asia.dds"
		environment = "environment_tgp_wedding_ceremony_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
	background = {	#Fallback Western (and Medi)
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_wedding }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_wedding }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_western.dds"
		environment = "environment_western_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = { #forest snowy
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity = {
						has_activity_type = activity_hunt
						activity_location ?= {
							OR = {
								has_province_modifier = winter_north_modifier
								has_province_modifier = winter_normal_modifier_1
								has_province_modifier = winter_harsh_modifier
								has_province_modifier = winter_cold_modifier
								has_province_modifier = winter_light_modifier
								has_province_modifier = winter_southern_modifier
							}
							OR = {
								graphical_wilderness_forest_trigger = yes
								graphical_wilderness_forest_pine_trigger = yes
							}
						}
					}
				}
			}
			trigger_else = {
				involved_activity = {
					has_activity_type = activity_hunt
					activity_location ?= {
						OR = {
							has_province_modifier = winter_north_modifier
							has_province_modifier = winter_normal_modifier_1
							has_province_modifier = winter_harsh_modifier
							has_province_modifier = winter_cold_modifier
							has_province_modifier = winter_light_modifier
							has_province_modifier = winter_southern_modifier
						}
						OR = {
							graphical_wilderness_forest_trigger = yes
							graphical_wilderness_forest_pine_trigger = yes
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #managed_forest
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity = {
						has_activity_type = activity_hunt
						activity_location ?= {
							OR = {
								has_building_or_higher = royal_forest_01
								has_building_or_higher = hunting_grounds_01
							}
						}
					}
				}
			}
			trigger_else = {
				involved_activity = {
					has_activity_type = activity_hunt
					activity_location ?= {
						OR = {
							has_building_or_higher = royal_forest_01
							has_building_or_higher = hunting_grounds_01
						}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_forest_managed.dds"
		environment = "environment_ep2_forest_managed"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
	background = { #forest_pine
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity = {
						has_activity_type = activity_hunt
						activity_location ?= { graphical_wilderness_forest_pine_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity = {
					has_activity_type = activity_hunt
					activity_location ?= { graphical_wilderness_forest_pine_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { #forest
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity = {
						has_activity_type = activity_hunt
						activity_location ?= { graphical_wilderness_forest_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity = {
					has_activity_type = activity_hunt
					activity_location ?= { graphical_wilderness_forest_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = { #Generic Hunt - East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= {
						has_activity_type = activity_hunt
						activity_location.culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity ?= {
					has_activity_type = activity_hunt
					activity_location.culture = { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
	background = { #Generic Hunt
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_hunt }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_hunt }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
	### PILGRIMAGE 
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				involved_activity ?= { has_activity_type = activity_pilgrimage }
	#				involved_activity.activity_location ?= { has_building_or_higher = hagia_sophia_01 }
	#			}
	#		}
	#		trigger_else = {
	#			involved_activity ?= { has_activity_type = activity_pilgrimage }
	#			involved_activity.activity_location ?= { has_building_or_higher = hagia_sophia_01 }
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
	#	environment = "environment_ep3_hagia_sophia"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_hagia_sophia"
	#}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					#AGOT Modified
					#religion = religion:zoroastrianism_religion
					religion = religion:the_rhllor_religion
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				#AGOT Modified
				#religion = religion:zoroastrianism_religion
				religion = religion:the_rhllor_religion
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = { # MPO - Tengri
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					OR = {
						religion = {
							OR = {
								#AGOT Modified
								#this = religion:tengrism_religion
								#this = religion:magyar_religion
								#this = religion:siberian_religion
								this = religion:the_flocks_religion
								this = religion:the_counsels_religion
							}
						}
						#AGOT Disabled
						#AND = {
						#	religion = religion:buddhism_religion
						#	involved_activity.activity_location ?= {
						#		OR = {
						#			geographical_region = world_steppe_east
						#			geographical_region = world_steppe_central
						#			geographical_region = world_steppe_west
						#			geographical_region = world_asia_north_east
						#		}
						#	}
						#}
						#AND = {
						#	religion = religion:buddhism_religion
						#	involved_activity.activity_location ?= {
						#		OR = {
						#			geographical_region = world_tibet
						#			geographical_region = world_steppe_tarim
						#		}
						#	}
						#	involved_activity.activity_location.county.title_province ?= {
						#		OR = {
						#			has_holding_type = tribal_holding
						#			has_holding_type = nomad_holding
						#			has_holding_type = herder_holding
						#		}
						#	}
						#}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				OR = {
					religion = {
						OR = {
							#AGOT Modified
							#this = religion:tengrism_religion
							#this = religion:magyar_religion
							#this = religion:siberian_religion
							this = religion:the_flocks_religion
							this = religion:the_counsels_religion
						}
					}
					#AGOT Disabled
					#AND = {
					#	religion = religion:buddhism_religion
					#	involved_activity.activity_location ?= {
					#		OR = {
					#			geographical_region = world_steppe_east
					#			geographical_region = world_steppe_central
					#			geographical_region = world_steppe_west
					#			geographical_region = world_asia_north_east
					#		}
					#	}
					#}
					#AND = {
					#	religion = religion:buddhism_religion
					#	involved_activity.activity_location ?= {
					#		OR = {
					#			geographical_region = world_tibet
					#			geographical_region = world_steppe_tarim
					#		}
					#	}
					#	involved_activity.activity_location.county.title_province ?= {
					#		OR = {
					#			has_holding_type = tribal_holding
					#			has_holding_type = nomad_holding
					#			has_holding_type = herder_holding
					#		}
					#	}
					#}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		#Orthodox and Oriental Christians
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				involved_activity ?= { has_activity_type = activity_pilgrimage }
	#				religion = religion:christianity_religion
	#				involved_activity.activity_location ?= {
	#					OR = {
	#						faith = faith:orthodox
	#						geographical_region = graphical_mena
	#						geographical_region = graphical_india
	#						geographical_region = world_europe_south_east
	#						geographical_region = world_asia_minor
	#					}
	#				}
	#			}
	#		}
	#		trigger_else = {
	#			involved_activity ?= { has_activity_type = activity_pilgrimage }
	#			religion = religion:christianity_religion
	#			involved_activity.activity_location ?= {
	#				OR = {
	#					faith = faith:orthodox
	#					geographical_region = graphical_mena
	#					geographical_region = graphical_india
	#					geographical_region = world_europe_south_east
	#					geographical_region = world_asia_minor
	#				}
	#			}
	#		}
			
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	#	environment = "environment_ep3_holysite_orthodox"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	#}
	background = { #East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location = {
						OR = {
							steppe_building_gfx_use_east_asian_trigger = yes
							culture = { has_graphical_east_asia_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location = { 
					OR = {
						steppe_building_gfx_use_east_asian_trigger = yes
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}
	background = { #MENA generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location = {
						OR = {
							steppe_building_gfx_use_mena_trigger = yes
							culture = { has_graphical_mena_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location = { 
					OR = {
						steppe_building_gfx_use_mena_trigger = yes
						culture = { has_graphical_mena_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}
	background = { #Indian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location = {
						OR = {
							steppe_building_gfx_use_indian_trigger = yes
							culture = { has_graphical_india_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location = {
					OR = {
						steppe_building_gfx_use_indian_trigger = yes
						culture = { has_graphical_india_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location = {
						OR = {
							steppe_building_gfx_use_western_trigger = yes
							culture = { has_graphical_western_culture_group_trigger = yes }
						}
					}
					#AGOT Disabled
					#NOT = {
					#	religion ?= { is_in_family = rf_pagan }
					#}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location = {
					OR = {
						steppe_building_gfx_use_western_trigger = yes
						culture = { has_graphical_western_culture_group_trigger = yes }
					}
				}
				#AGOT Disabled
				#NOT = {
				#	religion ?= { is_in_family = rf_pagan }
				#}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					OR = {
						involved_activity.activity_location.county.holder ?= {
							OR = {
								government_has_flag = government_is_tribal
								government_has_flag = government_is_nomadic
								government_has_flag = government_is_herder
							}
						}
						involved_activity.activity_location.culture = { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				OR = {
					involved_activity.activity_location.county.holder ?= {
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
							government_has_flag = government_is_herder
						}
					}
					involved_activity.activity_location.culture = { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
					involved_activity.activity_location.county.holder ?= { 
						OR = {
							government_has_flag = government_is_tribal
							government_has_flag = government_is_nomadic
							government_has_flag = government_is_herder
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
				involved_activity.activity_location.county.holder ?= { 
					OR = {
						government_has_flag = government_is_tribal
						government_has_flag = government_is_nomadic
						government_has_flag = government_is_herder
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_pilgrimage }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_pilgrimage }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/temple.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
	### FEASTS
	background = {	# EP3
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					involved_activity.activity_location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				involved_activity.activity_location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = {	# FP1
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					involved_activity.activity_location.culture = { has_building_gfx = norse_building_gfx }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				involved_activity.activity_location.culture = { has_building_gfx = norse_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
	background = { #Indian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					involved_activity.activity_location.culture = {
						OR = {
							has_building_gfx = indian_building_gfx
							has_building_gfx = tibetan_building_gfx
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				involved_activity.activity_location.culture = {
					OR = {
						has_building_gfx = indian_building_gfx
						has_building_gfx = tibetan_building_gfx
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_india"
	}
	background = { #MENA
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					OR = {
						involved_activity.activity_location.culture = { has_building_gfx = arabic_group_building_gfx }
						involved_activity.activity_location.culture = { has_building_gfx = berber_group_building_gfx }
						involved_activity.activity_location.culture = { has_building_gfx = iberian_building_gfx }
						involved_activity.activity_location.culture ?= { has_building_gfx = iranian_building_gfx }
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				OR = {
					involved_activity.activity_location.culture = { has_building_gfx = arabic_group_building_gfx }
					involved_activity.activity_location.culture = { has_building_gfx = berber_group_building_gfx }
					involved_activity.activity_location.culture = { has_building_gfx = iberian_building_gfx }
					involved_activity.activity_location.culture ?= { has_building_gfx = iranian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
		environment = "environment_mena_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}
	background = { #Steppe
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					involved_activity.activity_location.culture = { has_building_gfx = steppe_building_gfx }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				involved_activity.activity_location.culture = { has_building_gfx = steppe_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					culture = { has_building_gfx = african_building_gfx }
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				culture = { has_building_gfx = african_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #East Asian
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					involved_activity ?= { has_activity_type = activity_feast }
					involved_activity.activity_location = { 
						OR = {
							steppe_building_gfx_use_east_asian_trigger = yes
							culture = { has_graphical_east_asia_culture_group_trigger = yes }
						}
					}
				}
			}
			trigger_else = {
				involved_activity ?= { has_activity_type = activity_feast }
				involved_activity.activity_location = { 
					OR = {
						steppe_building_gfx_use_east_asian_trigger = yes
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/feast.dds"
		environment = "environment_event_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
}

ep2_activity = {
	### EXAMINATIONS
	background = {
		trigger = {
			scope:activity ?= {
				OR = {
					has_activity_type = activity_imperial_examination
					has_activity_type = activity_local_examination
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_examination_room.dds"
		environment = "environment_tgp_examination_room"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_examination_room"
	}
	### DEBATE
	#AGOT Disabled
	# background = {
	# 	trigger = {
	# 		scope:activity ?= {
	# 			has_activity_type = activity_debate
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
	# 	environment = "environment_tgp_study_asia"
	# 	ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	# }
	### TOURNAMENT
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_tournament }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	### TOUR
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_tour }
			location = { 
				OR = {
					steppe_building_gfx_use_east_asian_trigger = yes
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_tour }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
	### WEDDING
	background = {	#FP2 (uses MENA)
		trigger = {
			scope:activity ?= { has_activity_type = activity_wedding }
			location.culture ?= { has_building_gfx = iberian_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_mena.dds"
		environment = "environment_mena_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = { #FP1 (uses western)
		trigger = {
			scope:activity ?= { has_activity_type = activity_wedding }
			location.culture ?= { has_building_gfx = norse_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_western.dds"
		environment = "environment_western_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	#MENA (also for steppe and African)
		trigger = {
			scope:activity ?= { has_activity_type = activity_wedding }
			OR = {
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				location.culture ?= { has_graphical_african_culture_group_trigger = yes }
				location.culture ?= { has_building_gfx = iranian_building_gfx }
				location ?= { steppe_building_gfx_use_mena_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_mena.dds"
		environment = "environment_mena_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	#Indian
		trigger = {
			scope:activity ?= { has_activity_type = activity_wedding }
			OR = {
				location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_indian_trigger = yes } 
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_indian.dds"
		environment = "environment_indian_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = {	#East Asian
		trigger = {
			scope:activity ?= { has_activity_type = activity_wedding }
			location = { 
				OR = {
					steppe_building_gfx_use_east_asian_trigger = yes
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_ceremony_asia.dds"
		environment = "environment_tgp_wedding_ceremony_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
	background = {	#Fallback Western (and Medi)
		trigger = {
			scope:activity ?= { has_activity_type = activity_wedding }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_western.dds"
		environment = "environment_western_wedding"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Weddings/ep2_event_grand_wedding"
	}
	background = { #forest snowy
		trigger = {
			scope:activity = {
				has_activity_type = activity_hunt
				activity_location ?= {
					OR = {
							has_province_modifier = winter_north_modifier
							has_province_modifier = winter_normal_modifier_1
							has_province_modifier = winter_harsh_modifier
							has_province_modifier = winter_cold_modifier
							has_province_modifier = winter_light_modifier
							has_province_modifier = winter_southern_modifier
					}
					OR = {
						graphical_wilderness_forest_trigger = yes
						graphical_wilderness_forest_pine_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_snowy_forest.dds"
		environment = "environment_hunt_snowy_forest"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #managed_forest
		trigger = {
			scope:activity = {
				has_activity_type = activity_hunt
				activity_location ?= {
					OR = {
						has_building_or_higher = royal_forest_01
						has_building_or_higher = hunting_grounds_01
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_forest_managed.dds"
		environment = "environment_ep2_forest_managed"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
	background = { #forest_pine
		trigger = {
			scope:activity = {
				has_activity_type = activity_hunt
				activity_location ?= { graphical_wilderness_forest_pine_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest_pine.dds"
		environment = "environment_event_forest_pine"
		ambience = "event:/SFX/Events/Backgrounds/coniferous_forest_day"
	}
	background = { #forest
		trigger = {
			scope:activity = {
				has_activity_type = activity_hunt
				activity_location ?= { graphical_wilderness_forest_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/forest.dds"
		environment = "environment_event_forest"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = { #Generic Hunt
		trigger = {
			scope:activity ?= { has_activity_type = activity_hunt }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest"
	}
	### PILGRIMAGE 
	background = { # MPO - Tengri
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					##
				}
			}
			trigger_else = {
				##
			}

			scope:activity ?= { has_activity_type = activity_pilgrimage }
			OR = {
				religion = {
					OR = {
						#AGOT Modified
						#this = religion:tengrism_religion
						#this = religion:magyar_religion
						#this = religion:siberian_religion
						this = religion:the_flocks_religion
						this = religion:the_counsels_religion
					}
				}
				#AGOT Disabled
				#AND = {
				#	religion = religion:buddhism_religion
				#	scope:activity.activity_location ?= {
				#		OR = {
				#			geographical_region = world_steppe_east
				#			geographical_region = world_steppe_central
				#			geographical_region = world_steppe_west
				#			geographical_region = world_asia_north_east
				#		}
				#	}
				#}
				#AND = {
				#	religion = religion:buddhism_religion
				#	scope:activity.activity_location ?= {
				#		OR = {
				#			geographical_region = world_tibet
				#			geographical_region = world_steppe_tarim
				#		}
				#	}
				#	scope:activity.activity_location.county.title_province ?= {
				#		OR = {
				#			has_holding_type = tribal_holding
				#			has_holding_type = nomad_holding
				#			has_holding_type = herder_holding
				#		}
				#	}
				#}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}
	background = { #MENA generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					##
				}
			}
			trigger_else = {
				##
			}
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			OR = {
				scope:activity.activity_location.culture = { has_graphical_mena_culture_group_trigger = yes }
				scope:activity.activity_location.culture = { has_building_gfx = iranian_building_gfx }
				scope:activity.activity_location = {
					AND = {
						steppe_building_gfx_use_mena_trigger = yes
						geographical_region = graphical_mena
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}
	background = { #Indian generic holy site
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					##
				}
			}
			trigger_else = {
				##
			}
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			OR = {
				scope:activity.activity_location.culture = { has_graphical_india_culture_group_trigger = yes }
				scope:activity.activity_location = { steppe_building_gfx_use_indian_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
	#AGOT Disabled
	#background = { #Orthodox generic holy site + Oriental Christian Holy Site fallback
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				##
	#			}
	#		}
	#		trigger_else = {
	#			##
	#		}
	#		scope:activity ?= { has_activity_type = activity_pilgrimage }
	#		religion = religion:christianity_religion
	#		involved_activity.activity_location ?= {
	#			OR = {
	#				faith = faith:orthodox
	#				geographical_region = graphical_mena
	#				geographical_region = graphical_india
	#				geographical_region = world_europe_south_east
	#				geographical_region = world_asia_minor
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	#	environment = "environment_ep3_holysite_orthodox"
	#	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	#}
	background = { #East Asia
		trigger = {
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			scope:activity.activity_location ?= {
				OR = {
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			scope:activity.activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			OR = {
				scope:activity.activity_location = { steppe_building_gfx_use_western_trigger = yes }
				scope:activity.activity_location.culture = { has_graphical_western_culture_group_trigger = yes }
			}
			#AGOT Disabled
			#scope:activity.activity_location ?= {
			#	NOT = {
			#		religion ?= { is_in_family = rf_pagan }
			#	}
			#}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			scope:activity.activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_pilgrimage }
			OR = {
				scope:activity.activity_location.county.holder ?= { 
					OR = {
						government_has_flag = government_is_nomadic
						government_has_flag = government_is_herder
						government_has_flag = government_is_tribal
					} 
				}	
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = {
			scope:activity ?= { has_activity_type = activity_pilgrimage }
		}
		reference = "gfx/interface/illustrations/event_scenes/temple.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}
	### FEASTS
	background = {	# EP3
		trigger = {
			involved_activity ?= { has_activity_type = activity_feast }
			involved_activity.activity_location.culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = {	# FP1
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
			scope:activity.activity_location.culture = { has_building_gfx = norse_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
	background = { #Indian
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
			scope:activity.activity_location.culture = {
				OR = {
					has_building_gfx = indian_building_gfx
					has_building_gfx = tibetan_building_gfx
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_india"
	}
	background = { #MENA
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
			OR = {
				scope:activity.activity_location.culture = { has_building_gfx = arabic_group_building_gfx }
				scope:activity.activity_location.culture = { has_building_gfx = berber_group_building_gfx }
				scope:activity.activity_location.culture = { has_building_gfx = iberian_building_gfx }
				scope:activity.activity_location.culture = { has_building_gfx = iranian_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
		environment = "environment_mena_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}
	background = { #Steppe
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
			scope:activity.activity_location.culture = { has_building_gfx = steppe_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #African
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
			culture = { has_building_gfx = african_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { #East Asia
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
			scope:activity.location ?= {
				OR = {
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}
	background = { #Feast Fallback
		trigger = {
			scope:activity ?= { has_activity_type = activity_feast }
		}
		reference = "gfx/interface/illustrations/event_scenes/feast.dds"
		environment = "environment_event_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
	### CHARIOT RACE
	background = {	# EP3
		trigger = {
			involved_activity ?= { has_activity_type = activity_chariot_race }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_hippodrome_chariot_race.dds"
		environment = "environment_ep3_chariot_race"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
}

contest_bg_horseracing = {
	background = {
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_horseracing.dds"
		environment = "environment_ep2_horse_racing"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

contest_bg_melee = {
	background = {
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_melee.dds"
		environment = "environment_ep2_melee"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

contest_bg_boardgames = {
	background = {
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_boardgames.dds"
		environment = "environment_ep2_boardgames"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

contest_bg_archery = {
	background = {
		reference = "gfx/interface/illustrations/activity_backgrounds/contest_bg_archery.dds"
		environment = "environment_ep2_archery"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_archery_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/archery_win.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_archery_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/archery_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_archery_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/archery_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_boardgame_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/boardgame_success.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_boardgame_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/boardgame_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_boardgame_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/boardgame_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_wrestling_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/fistfighting_win.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_wrestling_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/fistfighting_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_wrestling_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/fistfighting_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_horse_racing_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/horse_racing_success.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_horse_racing_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/horse_racing_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_horse_racing_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/horse_racing_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_melee_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/melee_win.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_melee_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/melee_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_melee_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/melee_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_recital_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/recital_win.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_recital_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/recital_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_recital_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/recital_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_joust_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/jousting_win.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_joust_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/jousting_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_joust_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/jousting_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_duel_win = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/melee_win.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_duel_neutral = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/melee_neutral.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

pivotal_duel_fail = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/melee_fail.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

ep2_holy_site_mena = {
	background = { #MENA generic holy site
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_holysite_mena"
	}
}

ep2_holy_site_indian = {
	background = { #MENA generic holy site
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
}

ep2_travel_farms = {
	background = { # Farmland, settled
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

ep2_village_festival = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
}

### BP2 ###
bp2_nursery = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { government_has_flag = government_is_nomadic }
			}
			trigger_else = { government_has_flag = government_is_nomadic }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/SFX/Events/Backgrounds/BP2/bp2_nursery"
	}
	background = { # a nursery for young children
		reference = "gfx/interface/illustrations/event_scenes/bp2_nursery.dds"
		environment = "environment_bp2_nursery"
		ambience = "event:/SFX/Events/Backgrounds/BP2/bp2_nursery"
	}
}

bp2_courtyard = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = { government_has_flag = government_is_nomadic }
			}
			trigger_else = { government_has_flag = government_is_nomadic }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
		environment = "environment_bp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
}

bp2_tavern_mena = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp2_tavern_mena.dds"
		environment = "environment_bp2_tavern_mena"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
}

bp2_indian_garden = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
		environment = "environment_bp2_garden_india_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
}

bp2_university = {
	#AGOT Disabled
	#background = { # Byzantium/Greek Everyone else
	#	trigger = {
	#		trigger_if = {
	#			limit = { exists = scope:bg_override_char }
	#			scope:bg_override_char = {
	#				location.culture ?= {
	#					OR = {
	#						has_cultural_pillar = heritage_byzantine
	#						has_cultural_pillar = heritage_caucasian
	#					}
	#				}
	#			}
	#		}
	#		trigger_else = {
	#			location.culture ?= {
	#				OR = {
	#					has_cultural_pillar = heritage_byzantine
	#					has_cultural_pillar = heritage_caucasian
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
	#	environment = "environment_ep3_byzantine_study"
	#	ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	#}
	background = {	#Western-ish University
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture = {
							OR = {
								has_graphical_western_culture_group_trigger = yes
								has_graphical_norse_culture_group_trigger = yes
								has_graphical_iberian_culture_group_trigger = yes
								has_graphical_mediterranean_culture_group_trigger = yes
							}
						}
						location ?= {
							steppe_building_gfx_use_mena_trigger = no
							steppe_building_gfx_use_indian_trigger = no
							culture = { has_building_gfx = steppe_building_gfx }
						}
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture = {
						OR = {
							has_graphical_western_culture_group_trigger = yes
							has_graphical_norse_culture_group_trigger = yes
							has_graphical_iberian_culture_group_trigger = yes
							has_graphical_mediterranean_culture_group_trigger = yes
						}
					}
					location ?= {
						steppe_building_gfx_use_mena_trigger = no
						steppe_building_gfx_use_indian_trigger = no
						culture = { has_building_gfx = steppe_building_gfx }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_university.dds"
		environment = "environment_bp2_university"
		ambience = "event:/SFX/Events/Backgrounds/BP2/bp2_university"
	}
	background = {	#Indian garden
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					OR = {
						location.culture = { has_graphical_india_culture_group_trigger = yes }
						location ?= { steppe_building_gfx_use_indian_trigger = yes }
					}
				}
			}
			trigger_else = {
				OR = {
					location.culture = { has_graphical_india_culture_group_trigger = yes }
					location ?= { steppe_building_gfx_use_indian_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
		environment = "environment_bp2_garden_india_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
	background = {	#Fallback: Madrasa
		reference = "gfx/interface/illustrations/event_scenes/bp2_university_mena.dds"
		environment = "environment_bp2_university_mena"
		ambience = "event:/SFX/Events/Backgrounds/meetingchamber_western"
	}
}

bp2_university_scope = {
	#AGOT Disabled
	#background = { # Byzantium/Greek Everyone else
	#	trigger = {
	#		scope:background_university_scope.culture ?= {
	#			OR = {
	#				has_cultural_pillar = heritage_byzantine
	#				has_cultural_pillar = heritage_caucasian
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
	#	environment = "environment_ep3_byzantine_study"
	#	ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	#}
	background = {	#Western-ish University
		trigger = {
			OR = {
				scope:background_university_scope = {
					steppe_building_gfx_use_mena_trigger = no
					steppe_building_gfx_use_indian_trigger = no
					culture = { has_building_gfx = steppe_building_gfx }
				}
				scope:background_university_scope.culture = {
					OR = {
						has_graphical_western_culture_group_trigger = yes
						has_graphical_norse_culture_group_trigger = yes
						has_graphical_iberian_culture_group_trigger = yes
						has_graphical_mediterranean_culture_group_trigger = yes
					}
				}
			}
			
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_university.dds"
		environment = "environment_bp2_university"
		ambience = "event:/SFX/Events/Backgrounds/BP2/bp2_university"
	}
	background = {	#Indian garden
		trigger = {
			scope:background_university_scope.culture = {
				OR = {
					has_graphical_india_culture_group_trigger = yes
					steppe_building_gfx_use_indian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
		environment = "environment_bp2_garden_india_day"
		ambience = "event:/SFX/Events/Backgrounds/castle_garden_day"
	}
	background = {	#Fallback: Madrasa
		reference = "gfx/interface/illustrations/event_scenes/bp2_university_mena.dds"
		environment = "environment_bp2_university_mena"
		ambience = "event:/SFX/Events/Backgrounds/meetingchamber_western"
	}
}

bp2_study_indian = {
	background = { # an Indian study
		reference = "gfx/interface/illustrations/event_scenes/bp2_study_indian.dds"
		environment = "environment_bp2_study_indian"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

### CE1

ce1_catacombs = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp4_catacombs.dds"
		environment = "environment_ce1_catacombs"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_condemned_village"
	}
}

ce1_condemned_village = {
	#AGOT Disabled
	# background = {
	# 	trigger = {
	# 		culture_has_asian_heritage_pillar_trigger = yes
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/tgp_alley_night_asia.dds"
	# 	environment = "environment_tgp_alley_night_asia"
	# 	ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_alley_night_asia"
	# }
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp4_condemned_village.dds"
		environment = "environment_ce1_condemned_village"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_condemned_village"
	}
}

ce1_funeral_pyre = {
	#AGOT Disabled
	# background = {
	# 	trigger = {
	# 		culture_has_asian_heritage_pillar_trigger = yes
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/mpo_raid_burning_asian.dds"
	# 	environment = "environment_mpo_raid_burning_asian"
	# 	ambience = "event:/DLC/CE2/Events/Event_Images/mpo_raid_burning_asian"
	# }
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp4_funeral_pyre.dds"
		environment = "environment_ce1_funeral_pyre"
		ambience = "event:/SFX/Events/Backgrounds/burning_building"
	}
}

ce1_legendary_oasis = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
		environment = "environment_ce1_legendary_oasis"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
}

ce1_legendary_spring = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_spring.dds"
		environment = "environment_legendary_spring"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	}
}

ce1_legendary_battlefield = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_battlefield.dds"
		environment = "environment_legendary_battlefield"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_heroic_battlefield"
	}
}

# Fullscreen CE1
ce1_fullscreen_legitimizing_legend = {
	background = {
		reference = "gfx/interface/illustrations/event_story/fp4_legitimizing_legend.dds"
		environment = "environment_legendary_battlefield"
		ambience = "event:/DLC/FP4/SFX/Events/Story/holy_story"
	}
}

ce1_fullscreen_holy_legend = {
	background = {
		reference = "gfx/interface/illustrations/event_story/fp4_holy_legend.dds"
		environment = "environment_legendary_battlefield"
		ambience = "event:/DLC/FP4/SFX/Events/Story/holy_story"
	}
}

ce1_fullscreen_heroic_legend = {
	background = {
		reference = "gfx/interface/illustrations/event_story/fp4_heroic_legend.dds"
		environment = "environment_legendary_battlefield"
		ambience = "event:/DLC/FP4/SFX/Events/Story/heroic_story"
	}
}

ce1_fullscreen_black_death = {
	background = {
		reference = "gfx/interface/illustrations/event_story/fp4_black_death.dds"
		environment = "environment_event_study_physician"
		ambience = "event:/DLC/FP4/SFX/Events/Story/black_death_arrives"
	}
}

ce1_fullscreen_apocalyptic = {
	background = {	# MENA
		trigger = {
			OR = {
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location.culture ?= { has_building_gfx = iranian_building_gfx }
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location.culture ?= { has_graphical_african_culture_group_trigger = yes }
				location.culture ?= { has_building_gfx = berber_group_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_story/fp4_apocalyptic_western.dds"
		environment = "environment_event_study_physician"
		ambience = "event:/DLC/FP4/SFX/Events/Story/apocalyptic_epidemic_mena"
	}
	background = {
		reference = "gfx/interface/illustrations/event_story/fp4_apocalyptic_western.dds"
		environment = "environment_event_study_physician"
		ambience = "event:/DLC/FP4/SFX/Events/Story/apocalyptic_epidemic_western"
	}
}

### EP3

ep3_holy_site_orthodox = {
	background = { # Orthodox generic holy site
		reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
		environment = "environment_ep3_holysite_orthodox"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	}
}

ep3_constantinople = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
		environment = "environment_ep3_constantinople"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople"
	}
}

ep3_constantinople_riot = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople_riot.dds"
		environment = "environment_ep3_constantinople_on_fire"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_rioting_constantinople"
	}
}

ep3_hippodrome = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_hippodrome_chariot_race.dds"
		environment = "environment_ep3_chariot_race"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
}

ep3_triumph = {
	background = {
		reference = "gfx/interface/illustrations/event_story/ep3_story_constantinople.dds"
		environment = "environment_ep3_constantinople"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople"
	}
}

ep3_hippodrome_track = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_chariots_track.dds"
		environment = "environment_ep3_chariot_track"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
}

ep3_hagia_sophia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
		environment = "environment_ep3_hagia_sophia"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_hagia_sophia"
	}
}

ep3_byzantine_feast = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
}

ep3_city_gate = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_city_gate.dds"
		environment = "environment_ep3_castle_gates"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
}

ep3_mediterranean_estate = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
		environment = "environment_ep3_family_estate"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_family_estate"
	}
}

ep3_relaxing_room = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
}

ep3_relaxing_tent = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				culture ?= { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_tent.dds"
		environment = "environment_ep3_living_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
}

ep3_medi_market = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_market.dds"
		environment = "environment_ep3_medi_market"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_medi_market"
	}
}

# Journey Activity
journey_activity_background = {
	# Most fitting based on special building type
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = holy_site_great_mosque_of_mecca_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mecca.dds"
	#	environment = "environment_mecca"
	#	ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	#}
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = dome_of_the_rock_01
	#					has_building_or_higher = temple_in_jerusalem_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_jerusalem.dds"
	#	environment = "environment_jerusalem"
	#	ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	#}
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = hagia_sophia_01
	#					has_building_or_higher = hagia_sophia_02
	#					has_building_or_higher = holy_wisdom_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_hagia_sophia.dds"
	#	# TODO_CD_EP3: update environment and ambience
	#	environment = "environment_mecca"
	#	ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	#}
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = church_of_the_theotokos
	#					has_building_or_higher = parthenon
	#					has_building_or_higher = hagios_demetrios
	#					has_building_or_higher = saint_lazarus
	#					has_building_or_higher = sumela_monastery_01
	#					has_building_or_higher = sumela_monastery_02
	#					has_building_or_higher = meteora_01
	#					has_building_or_higher = meteora_02
	#					has_building_or_higher = mount_athos_01
	#					has_building_or_higher = mount_athos_02
	#					has_building_or_higher = mount_athos_03
	#					has_building_or_higher = apollinare_nuovo
	#					has_building_or_higher = saint_catherine
	#					has_building_or_higher = jvari_monastery
	#					has_building_or_higher = etchmiadzin_cathedral
	#					has_building_or_higher = cattolica_stilo
	#					has_building_or_higher = hosios_loukas
	#					has_building_or_higher = sofia_ohrid
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	#	# TODO_CD_EP3: Update environment and ambience
	#	environment = "environment_event_fp3_temple"
	#	ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	#}
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = holy_site_imam_ali_mosque_01
	#					has_building_or_higher = holy_site_great_mosque_of_mecca_01
	#					has_building_or_higher = holy_site_great_mosque_of_cordoba_01
	#					has_building_or_higher = holy_site_great_mosque_of_djenne_01
	#					has_building_or_higher = holy_site_great_mosque_of_samarra_01
	#					has_building_or_higher = holy_site_prophetic_mosque_01
	#					has_building_or_higher = the_friday_mosque_01
	#					has_building_or_higher = imam_reza_shrine_01
	#					has_building_or_higher = minarets_and_remains_of_jam_01
	#					has_building_or_higher = tomb_of_cyrus_01
	#					has_building_or_higher = shah_i_zinda_01
	#					has_building_or_higher = shah_i_zinda_02
	#					has_building_or_higher = damascus_mosque_01
	#					has_building_or_higher = qutb_minar_03
	#					has_building_or_higher = yazd_mosque_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
	#	environment = "environment_generic_holy_site_mena"
	#	ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	#}
	# #East Asia Temple     
	# background = {
	# 	trigger = {
	# 		scope:activity ?= {
	# 			activity_location ?= {
	# 				OR = {
	# 					has_building_or_higher = three_pagodas_dali_01
	# 					has_building_or_higher = dengfeng_observatory_01
	# 					has_building_or_higher = stone_pagoda_01
	# 					has_building_or_higher = yuelu_academy_01
	# 					has_building_or_higher = confucius_temple_01
	# 					has_building_or_higher = izumo_taisha_01
	# 					has_building_or_higher = giant_wild_goose_pagoda_01
	# 					has_building_or_higher = liuhe_pagoda_01
	# 					has_building_or_higher = pagoda_of_fogong_temple_01
	# 					has_building_or_higher = qianling_mausoleum_01
	# 				}
	# 			}
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
	# 	environment = "environment_tgp_holysite_asia"
	# 	ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	# }
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = holy_site_mahabodhi_temple_01
	#					has_building_or_higher = buddhas_of_bamian_01
	#					has_building_or_higher = brihadeeswarar_temple_01
	#					has_building_or_higher = shwedagon_pagoda_01
	#					has_building_or_higher = ananda_temple_01
	#					has_building_or_higher = khajuraho_01
	#					has_building_or_higher = vatapi_caves_01
	#					has_building_or_higher = konark_temple_01
	#					has_building_or_higher = somapura_university_01
	# 					has_building_or_higher = muara_takus_01
	# 					has_building_or_higher = wilwatikta_palace_01
	# 					has_building_or_higher = my_son_sanctuary_01
	# 					has_building_or_higher = angkor_wat_01
	# 					has_building_or_higher = temples_angkor_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
	#	environment = "environment_indian_holy_site"
	#	ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	#}
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = holy_site_cologne_cathedral_01
	#					has_building_or_higher = holy_site_canterbury_cathedral_01
	#					has_building_or_higher = holy_site_canterbury_cathedral_02
	#					has_building_or_higher = holy_site_canterbury_cathedral_03
	#					has_building_or_higher = notre_dame_01
	#					has_building_or_higher = temple_of_uppsala_02
	#					has_building_or_higher = lund_cathedral_01
	#					has_building_or_higher = holy_site_basilica_santiago_01
	#					has_building_or_higher = cluny_abbey_01
	#					has_building_or_higher = wawel_cathedral_01
	#					has_building_or_higher = duomo_florence_01
	#					has_building_or_higher = holy_site_st_peters_basilica_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
	#	environment = "environment_western_holy_site"
	#	ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	#}
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = heddal_stave_church_01
	#					has_building_or_higher = temple_of_uppsala_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
	#	environment = "environment_event_garden"
	#	ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	#}

	# Mining Settlements use Markets
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					has_building_with_flag = travel_point_of_interest_economic
					OR = {
						#AGOT Disabled
						#geographical_region = mediteranean_coast
						#geographical_region = world_asia_minor
						culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						steppe_building_gfx_use_mediterranean_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_market.dds"
		environment = "environment_ep3_medi_market"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_medi_market"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					has_building_with_flag = travel_point_of_interest_economic
					OR = {
						geographical_region = graphical_mena
						geographical_region = graphical_india
						steppe_building_gfx_use_mena_trigger = yes
						steppe_building_gfx_use_indian_trigger = yes
						culture ?= { has_building_gfx = iranian_building_gfx }
						#AGOT Disabled
						#AND = {
						#	geographical_region = world_europe_west_iberia
						#	faith ?= { religion = religion:islam_religion }
						#}
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					has_building_with_flag = travel_point_of_interest_economic
					province_owner ?= {
						OR = {
							government_has_flag = government_is_clan
							government_has_flag = government_is_tribal
						}
					}
					NOT = {
						geographical_region = graphical_mena
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
		environment = "environment_event_market_tribal"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan"
	}
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					has_building_with_flag = travel_point_of_interest_economic
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_west.dds"
		environment = "environment_event_market_west"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_western_day"
	}

	# Mountain-based natural wonder
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = rock_of_gibraltar_01
	#					has_building_or_higher = rainbow_mountains_01
	#					has_building_or_higher = mount_damavand_01
	#					has_building_or_higher = chocolate_hills_01
	#					has_building_or_higher = gunung_api_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
	#	environment = "environment_travel_mountain_settlement"
	#	ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	#}

	# Desert Lake-based natural wonder
	#AGOT Disabled
	#background = {
	#	trigger = {
	#		scope:activity ?= {
	#			activity_location ?= {
	#				OR = {
	#					has_building_or_higher = maharloo_lake_01
	#					has_building_or_higher = kyz_kala_01
	#					has_building_or_higher = kairouan_basins_01
	#				}
	#			}
	#		}
	#	}
	#	reference = "gfx/interface/illustrations/event_scenes/fp4_legendary_oasis.dds"
	#	environment = "environment_ce1_legendary_oasis"
	#	ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_magic_spring"
	#}

	# Beach natural wonder
	#AGOT Disabled
	# background = {
	# 	trigger = {
	# 		scope:activity ?= {
	# 			activity_location ?= {
	# 				has_building_or_higher = ha_long_bay_01
	# 			}
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/bp3_coast.dds"
	# 	environment = "environment_bp3_coast"
	# 	ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	# }

	# Nordic
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.culture = {
					has_graphical_norse_culture_group_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_norse_neutral.dds"
		environment = "environment_ep2_tour_arrival_norse_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Tribal
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.county.holder = { #Local Host
					OR = {
						should_use_tribal_realm_palace_graphics_trigger = yes
						AND = {
							culture ?= { has_graphical_steppe_culture_group_trigger = yes }
							NOR = {
								government_has_flag = government_is_tribal 
								government_has_flag = government_is_nomadic
								government_has_flag = government_is_herder
							}
						}
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_tribal_neutral.dds"
		environment = "environment_ep2_tour_arrival_tribal_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# MENA
	background = {
		trigger = {
			scope:activity ?= {
				activity_location = {
					OR = {
						steppe_building_gfx_use_mena_trigger = yes
						culture ?= { has_graphical_mena_culture_group_trigger = yes }
						culture ?= { has_building_gfx = iranian_building_gfx }
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_mena_neutral.dds"
		environment = "environment_ep2_tour_arrival_mena_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# East Asian
	background = {
		trigger = {
			scope:activity ?= {
				activity_location ?= {
					OR = {
						culture = {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_asia_neutral.dds"
		video_mask = "gfx/interface/video/tour_arrival.bk2"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Iberian
	background = {
		trigger = {
			scope:activity ?= {
				activity_location.culture = {
					has_graphical_iberian_culture_group_trigger = yes
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_iberian_neutral.dds"
		environment = "environment_ep2_tour_arrival_iberian_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Indian
	background = {
		trigger = {
			scope:activity ?= {
				activity_location = {
					OR = {
						culture ?= { has_graphical_india_culture_group_trigger = yes }
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
			}
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_indian_neutral.dds"
		environment = "environment_ep2_tour_arrival_indian_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
	# Western
	background = {
		trigger = {
			always = yes
		}

		reference = "gfx/interface/illustrations/activity_splash_screens/tour_arrival_western_neutral.dds"
		environment = "environment_ep2_tour_arrival_western_neutral"
		ambience = "event:/SFX/Events/Backgrounds/camp_generic_day"
	}
}

survey_activity_background = {
	#AGOT Disabled
	# background = {
	# 	trigger = {
	# 		location.county = title:c_byzantion
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
	# 	environment = "environment_ep3_constantinople"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople" 
	# }
	background = {	#FP2
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = iberian_building_gfx }
				#AGOT Disabled
				#location ?= { geographical_region = world_europe_west_iberia }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_courtyard.dds"
		environment = "environment_event_fp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
	background = {	#Indian Courtyard
		trigger = {
			location.culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
		environment = "environment_event_bp1_courtyard_indian"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = {	#MENA Courtyard
		trigger = {
			OR = {
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location.culture ?= { has_building_gfx = iranian_building_gfx }
				location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
		environment = "environment_event_bp1_courtyard_mena"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = {
		trigger = {
			location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
	background = { # Fallback
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
		environment = "environment_bp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard"
	}
}

ep3_medi_study = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
		environment = "environment_ep3_byzantine_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

ep3_byzantium_throneroom = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_byzantine_throne_room.dds"
		environment = "environment_ep3_byzantine_throne_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_throne_room"
	}
}

pivotal_chariots_win_blue = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_win_blue.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment"
	}
}

pivotal_chariots_win_green = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_win_green.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment"
	}
}

pivotal_chariots_win_red = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_win_red.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment"
	}
}

pivotal_chariots_win_white = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_win_white.dds"
		environment = "environment_event_genericcamp"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment"
	}
}

pivotal_chariots_fail_blue = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_fail_blue.dds"
		environment = "environment_event_genericcamp" 
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment" 
	}
}

pivotal_chariots_fail_green = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_fail_green.dds"
		environment = "environment_event_genericcamp" 
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment" 
	}
}

pivotal_chariots_fail_red = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_fail_red.dds"
		environment = "environment_event_genericcamp" 
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment" 
	}
}

pivotal_chariots_fail_white = {
	background = {
		reference = "gfx/interface/illustrations/tournament_contest_illustrations/chariots_fail_white.dds"
		environment = "environment_event_genericcamp" 
		ambience = "event:/DLC/EP3/SFX/Events/Event_Moments/ep3_evn_eventmoment_chariot_race_pivotal_moment" 
	}
}

terrain_settlement = {
	background = { # Farmland, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						#AGOT Modified
						#terrain = farmlands
						agot_is_farmlands_terrain = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					#AGOT Modified
					#terrain = farmlands
					agot_is_farmlands_terrain = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #Desert, settled, unowned
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
						NOT = { exists = province_owner }
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
					NOT = { exists = province_owner }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_desert.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Desert, settled, Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
						province_owner ?= { government_has_flag = government_is_tribal }
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
					province_owner ?= { government_has_flag = government_is_tribal }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Desert, settled, not Tribal
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_desert_trigger = yes
						exists = province_owner
						NOT = { province_owner = { government_has_flag = government_is_tribal } }
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_desert_trigger = yes
					exists = province_owner
					NOT = { province_owner = { government_has_flag = government_is_tribal } }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_settlement.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #mountains, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_mountains_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_mountains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #steppe, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_wilderness_steppe_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_wilderness_steppe_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { #plains, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_plains_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_plains_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #hills, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						graphical_hills_trigger = yes
					}
				}
			}
			trigger_else = {
				location ?= {
					graphical_hills_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #forest, settled - East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							terrain = forest
							terrain = taiga
						}
						culture = {
							has_graphical_east_asia_culture_group_trigger = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						terrain = forest
						terrain = taiga
					}
					culture = {
						has_graphical_east_asia_culture_group_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
		environment = "environment_tgp_hunt_generic_asia" 
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia" 
	}
	background = { #forest, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = forest
							#terrain = taiga
							agot_is_forest_terrain = yes
							agot_is_taiga_terrain = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = forest
						#terrain = taiga
						agot_is_forest_terrain = yes
						agot_is_taiga_terrain = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt" 
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest" 
	}
	background = { #Fallback, settled
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

terrain_settlement_no_owner = {
	background = { # Farmland, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					#AGOT Modified
					#location ?= { terrain = farmlands }
					location ?= { agot_is_farmlands_terrain = yes }
				}
			}
			trigger_else = {
				#AGOT Modified
				#location ?= { terrain = farmlands }
				location ?= { agot_is_farmlands_terrain = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
		environment = "environment_travel_farmlands"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #Desert, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= { 
						OR = {
							graphical_wilderness_desert_trigger = yes
							graphical_drylands_trigger = yes #For now, until we get a settled Drylands version
						}
					}
				}
			}
			trigger_else = {
				location ?= { 
					OR = {
						graphical_wilderness_desert_trigger = yes
						graphical_drylands_trigger = yes #For now, until we get a settled Drylands version
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_desert.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #mountains, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= { graphical_wilderness_mountains_trigger = yes }
				}
			}
			trigger_else = {
				location ?= { graphical_wilderness_mountains_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
		environment = "environment_travel_mountain_settlement"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
	background = { #steppe, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= { graphical_wilderness_steppe_trigger = yes }
				}
			}
			trigger_else = {
				location ?= { graphical_wilderness_steppe_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
	background = { #plains, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= { graphical_plains_trigger = yes }
				}
			}
			trigger_else = {
				location ?= { graphical_plains_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #hills, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= { graphical_hills_trigger = yes }
				}
			}
			trigger_else = {
				location ?= { graphical_hills_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
	background = { #forest, settled - East Asia
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							terrain = forest
							terrain = taiga
						}
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
					}

				}
			}
			trigger_else = {
				location ?= {
					OR = {
						terrain = forest
						terrain = taiga
					}
					culture = { has_graphical_east_asia_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
		environment = "environment_tgp_hunt_generic_asia" 
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia" 
	}
	background = { #forest, settled
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					location ?= {
						OR = {
							#AGOT Modified
							#terrain = forest
							#terrain = taiga
							agot_is_forest_terrain = yes
							agot_is_taiga_terrain = yes
						}
					}
				}
			}
			trigger_else = {
				location ?= {
					OR = {
						#AGOT Modified
						#terrain = forest
						#terrain = taiga
						agot_is_forest_terrain = yes
						agot_is_taiga_terrain = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_hunt_generic.dds"
		environment = "environment_generic_hunt" 
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_dark_forest" 
	}
	background = { #Fallback, settled
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
		environment = "environment_travel_hills_settlement"
		ambience = "event:/SFX/Events/Backgrounds/fields_farms_day"
	}
}

ep3_campfire = {
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					culture = { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				culture = { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_campfire.dds"
		environment = "environment_ep3_camp_fire"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_campfire"
	}
}

#When a LAAMP is visiting someone else's study
relaxing_room_location = {
	background = { #Nomads
		trigger = {
			location.county.title_province ?= {
				OR = {
					has_holding_type = herder_holding
					has_holding_type = nomad_holding
					AND = {
						has_holding_type = tribal_holding
						culture ?= { has_building_gfx = steppe_building_gfx }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = {
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = arabic_group_building_gfx }
				location.culture ?= { has_building_gfx = berber_group_building_gfx }
				location.culture ?= { has_building_gfx = iberian_building_gfx }
				location.culture ?= { has_building_gfx = iranian_building_gfx }
				location.culture ?= { has_graphical_mena_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_mena_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_mena.dds"
		environment = "environment_event_bp1_relaxing_room_mena"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = { #Indian/Southeast Asian Relaxing Room (Uses Physician Study)
		trigger = {
			OR = {
				location.culture ?= { has_graphical_india_culture_group_trigger = yes }
				location ?= { steppe_building_gfx_use_indian_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp4_study_physician_indian.dds"
		environment = "environment_ce1_study_physician_indian"
		ambience = "event:/SFX/Events/Backgrounds/FP4/fp4_mena_physician"
	}
	background = { #East Asia
		trigger = {
			location ?= {
				OR = {
					culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
		environment = "environment_tgp_relaxing_room_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
	background = {
		trigger = {
			location.culture = {
				OR = {
					has_building_gfx = byzantine_building_gfx
					has_building_gfx = caucasian_building_gfx
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_relaxing_room.dds"
		environment = "environment_ep3_relaxing_room"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_relaxing_room"
	}
	background = {	#Tribal Study
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = norse_building_gfx }
				should_use_tribal_realm_palace_graphics_trigger = yes
				AND = {
					government_has_flag = government_is_tribal
					location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_steward_study.dds"
		environment = "environment_event_fp1_steward_study"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp1_relaxing_room_western.dds"
		environment = "environment_event_bp1_relaxing_room_western"
		ambience = "event:/SFX/Events/Backgrounds/office_workplace"
	}
}

ep3_camp = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				culture ?= { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_camp_arid_terrain.dds"
		environment = "environment_ep3_arid_camp"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
}

ep3_camp_night = {
	background = {
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				culture ?= { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_adventurer_background.dds"
		environment = "environment_ep3_army_camp"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_campfire"
	}
}

ep3_military_tent = {
	background = { #Nomads
		trigger = {
			trigger_if = {
				limit = { exists = scope:bg_override_char }
				scope:bg_override_char = {
					culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
			trigger_else = {
				culture ?= { has_graphical_steppe_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_military_tent.dds"
		environment = "environment_ep3_military_tent_interior"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_living_tent_interior"
	}
}

#### EP3 Fullscreen Backgrounds ####
ep3_fullscreen_adventurer_positive = {
	background = { # LAAMP landing event
		reference = "gfx/interface/illustrations/event_story/laamp_neutral_mountain.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_arrival_neutral"
	}
}

ep3_fullscreen_adventurer_negative = {
	background = { # LAAMP landing event
		reference = "gfx/interface/illustrations/event_story/laamp_negative_crown.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Tours/ep2_event_grand_tour_arrival_suspicious"
	}
}

ep3_fullscreen_restore_rome = {
	background = {
		reference = "gfx/interface/illustrations/event_story/ep3_roman_restoration.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/EP3/SFX/Stingers/Byzantine_Flavor/ep3_mx_sting_byzantineflavor_become_emperor"
	}
}

ep3_fullscreen_harrying_of_the_north = {
	background = {
		reference = "gfx/interface/illustrations/event_story/ep3_harrying_of_the_north.dds"
		environment = "environment_event_battlefield"
		ambience = "event:/SFX/Events/Backgrounds/battlefield_gloomy"
	}
}

village_festival = {

	background = { # Steppes
		trigger = {
			location.culture ?= { has_building_gfx = steppe_building_gfx }
			location.county.holder = {
				OR = {
					government_has_flag = government_is_tribal
					government_has_flag = government_is_nomadic
					government_has_flag = government_is_herder
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = { # Byzantium
		trigger = {
			location.culture ?= {
				OR = {
					has_building_gfx = byzantine_building_gfx
					has_building_gfx = caucasian_building_gfx
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}

	background = { #Indian
		trigger = {
			location ?= {
				OR = {
					culture ?= {
						has_graphical_india_culture_group_trigger = yes
					}
					steppe_building_gfx_use_indian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_india"
	}
	background = { #East Asia
		trigger = {
			location ?= {
				OR = {
					culture ?= {
						has_graphical_east_asia_culture_group_trigger = yes
					}
					steppe_building_gfx_use_east_asian_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}

	background = { # African
		trigger = {
			location.culture ?= { has_building_gfx = african_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}

	background = { # Arabic/Iranian
		trigger = {
			location ?= {
				OR = {
					steppe_building_gfx_use_mena_trigger = yes
					culture ?= { has_graphical_mena_culture_group_trigger = yes }
					culture ?= { has_building_gfx = iberian_building_gfx }
					culture ?= { has_building_gfx = iranian_building_gfx }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
		environment = "environment_mena_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_feast_mena"
	}

	background = { #Tribal
		trigger = {
			OR = {
				location.culture ?= { has_building_gfx = norse_building_gfx }
				should_use_tribal_realm_palace_graphics_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
	background = { # Fallback / Western
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
		environment = "environment_village_festival"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_festival_western"
	}
}



### BP3 ###
bp3_mountain_winter = {
	background = { #Mountains, Winter
		reference = "gfx/interface/illustrations/event_scenes/bp3_mountain_winter.dds"
		environment = "environment_bp3_mountain_winter"
		ambience = "event:/SFX/Events/Backgrounds/mountains_day"
	}
}

bp3_steppe_winter = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp3_steppe_winter.dds"
		environment = "environment_bp3_steppe_winter"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
}

bp3_wetlands_winter = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp3_wetlands_winter.dds"
		environment = "environment_bp3_wetlands_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
}

bp3_plains_winter = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp3_plains_winter.dds"
		environment = "environment_bp3_plains_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
}

bp3_hills_winter = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp3_hills_winter.dds"
		environment = "environment_bp3_hills_winter"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_praire"
	}
}

bp3_riverside = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp3_riverside.dds"
		environment = "environment_bp3_riverside"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
}

bp3_coast = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp3_coast.dds"
		environment = "environment_bp3_coast"
		ambience = "event:/DLC/EP2/SFX/Events/Grand_Activities/Hunts/ep2_event_grand_hunt_waterbank"
	}
}

### MPO ###
mpo_camp_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
}

mpo_city_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
		environment = "environment_mpo_city_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_city_steppe"
	}
}

mpo_campfire_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_campfire_steppe.dds"
		environment = "environment_mpo_campfire_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_campfire_steppe"
	}
}

mpo_tent_interior_mongol = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
}

mpo_steppe_evening = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_steppe_evening.dds"
		environment = "environment_mpo_steppe_evening"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_steppe_evening"
	}
}

mpo_rural_village_asian = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
		environment = "environment_mpo_rural_village_asian"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	}
}

mpo_raid_burning_asian = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_raid_burning_asian.dds"
		environment = "environment_mpo_raid_burning_asian"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_raid_burning_asian"
	}
}

mpo_hunt_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_hunt_steppe.dds"
		environment = "environment_mpo_hunt_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_hunt_steppe"
	}
}

mpo_temple_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}
}

mpo_travel_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
		environment = "environment_travel_steppe_settlement"
		ambience = "event:/SFX/Events/Backgrounds/steppe_day"
	}
}

mpo_nomadic_throneroom = {
	background = {
		reference = "gfx/interface/illustrations/main_menu/mpo_frontend_nomad.dds"
		environment = "environment_mpo_frontend_nomad_main"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_nomadic_throneroom"
	}
}

#### MPO Fullscreen Backgrounds ####
mpo_fullscreen_the_great_steppe = {
	background = {
		reference = "gfx/interface/illustrations/event_story/mpo_steppe_region.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_steppe_region"
	}
}

mpo_fullscreen_greatest_of_khans = {
	background = {
		reference = "gfx/interface/illustrations/event_story/mpo_greatest_of_khans.dds"
		environment = "environment_event_study_physician" # added because it is expected in events
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_greatest_of_khans"
	}
}

### TGP ###
tgp_examination_room = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_examination_room.dds"
		environment = "environment_tgp_examination_room"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_examination_room"
	}
}

tgp_chinese_city = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_chinese_city.dds"
		environment = "environment_tgp_chinese_city"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_city"
	}
}

tgp_chinese_corridor_night = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_chinese_corridor_night.dds"
		environment = "environment_tgp_chinese_corridor_night"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_corridor_night"
	}
}

tgp_crossroad_inn_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_crossroad_inn_asia.dds"
		environment = "environment_tgp_crossroad_inn_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_crossroad_inn_asia"
	}
}

tgp_holysite_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
		environment = "environment_tgp_holysite_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_holysite_asia"
	}
}

tgp_overflowing_river = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_overflowing_river.dds"
		environment = "environment_tgp_overflowing_river"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_overflowing_river"
	}
}

tgp_physician_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_physician_asia.dds"
		environment = "environment_tgp_physician_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_physician_asia"
	}
}

tgp_relaxing_room_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_relaxing_room_asia.dds"
		environment = "environment_tgp_relaxing_room_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
}

tgp_ruined_holding = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_ruined_holding.dds"
		environment = "environment_tgp_ruined_holding"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_ruined_holding"
	}
}

ruined_holding = {
	background = { # East Asia/India
		trigger = {
			location.culture ?= {
				OR = {
					has_graphical_east_asia_culture_group_trigger = yes
					has_graphical_india_culture_group_trigger = yes
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_ruined_holding.dds"
		environment = "environment_tgp_ruined_holding"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_ruined_holding"
	}
	background = {
		reference = "gfx/interface/illustrations/event_scenes/raid_burning.dds"
		environment = "environment_ep3_constantinople_on_fire"
		ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_rioting_constantinople"
	}
}

tgp_study_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_asia.dds"
		environment = "environment_tgp_study_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
}

tgp_study_japan = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_study_japan.dds"
		environment = "environment_tgp_study_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia_japan"
	}
}

tgp_tavern_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_tavern_asia.dds"
		environment = "environment_tgp_tavern_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_relaxing_room_asia"
	}
}

tgp_temple_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_temple_asia.dds"
		environment = "environment_tgp_temple_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_temple_asia"
	}
}

tgp_wedding_bedroom_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_bedroom_asia.dds"
		environment = "environment_tgp_wedding_bedroom_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_bedroom_asia"
	}
}

tgp_wedding_ceremony_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_wedding_ceremony_asia.dds"
		environment = "environment_tgp_wedding_ceremony_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
}

tgp_feast_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}
}

tgp_garden_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_garden_asia.dds"
		environment = "environment_tgp_garden_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_garden_asia"
	}
}

tgp_kitchen_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_kitchen_asia.dds"
		environment = "environment_tgp_kitchen_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_kitchen_asia"
	}
}

festival_event_background = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_festival_ritual_japan.dds"
		environment = "environment_ep2_horse_racing"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_festival_generic_japan"
	}
}

tanabata_festival_japan = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_tanabata_festival_japan.dds"
		environment = "environment_tgp_tanabata_festival_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_festival_generic_japan"
	}
}

tanabata_festival_night_japan = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_tanabata_festival_night_japan.dds"
		environment = "environment_tgp_tanabata_festival_night_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_festival_generic_japan"
	}
}
moon_festival_night_japan = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_moon_festival_japan.dds"
		environment = "environment_tgp_tanabata_festival_night_japan"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_festival_generic_japan"
	}
}

tgp_market_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_market_asia.dds"
		environment = "environment_tgp_market_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_market_asia"
	}
}

tgp_alley_day_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_alley_day_asia.dds"
		environment = "environment_tgp_alley_day_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_alley_day_asia"
	}
}

tgp_alley_night_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_alley_night_asia.dds"
		environment = "environment_tgp_alley_night_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_alley_night_asia"
	}
}

tgp_camp_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_camp_asia.dds"
		environment = "environment_tgp_camp_asia"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
}

tgp_chinese_corridor_day = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_chinese_corridor_day.dds"
		environment = "environment_tgp_chinese_corridor_day" 
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_corridor_day"
	}
}

tgp_courtyard_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
}

tgp_docks_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_docks_asia.dds"
		environment = "environment_tgp_docks_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
}

tgp_farm_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_farm_asia.dds"
		environment = "environment_tgp_farm_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_farm_asia"
	}
}

tgp_hunt_generic_asia = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_hunt_generic_asia.dds"
		environment = "environment_tgp_hunt_generic_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_hunt_generic_asia"
	}
}

tgp_rice_fields = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_rice_fields.dds"
		environment = "environment_tgp_rice_fields"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_rice_fields"
	}
}

tgp_asia_throne_room = {
	background = { # East Asia Ruler
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
		environment = "environment_tgp_frontend_celestial_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
}

tgp_japan_throne_room = {
	background = { # Japan Ruler
		reference = "gfx/interface/illustrations/event_scenes/tgp_japan_throne_room.dds"
		environment = "environment_tgp_frontend_japan_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
}

tgp_fullscreen_dynastic_cycle_stability = {
	background = {
		reference = "gfx/interface/illustrations/event_story/tgp_dynastic_cycle_stability.dds"
		environment = "environment_jerusalem"
		ambience = "event:/DLC/EP4/SFX/Events/Story_Events/tgp_dynastic_cycle_stability"
	}
}
tgp_fullscreen_dynastic_cycle_instability = {
	background = {
		reference = "gfx/interface/illustrations/event_story/tgp_dynastic_cycle_corruption.dds"
		environment = "environment_jerusalem"
		ambience = "event:/DLC/EP4/SFX/Events/Story_Events/tgp_dynastic_cycle_corruption"
	}
}
tgp_fullscreen_dynastic_cycle_chaos = {
	background = {
		reference = "gfx/interface/illustrations/event_story/tgp_dynastic_cycle_consolidation.dds"
		environment = "environment_jerusalem"
		ambience = "event:/DLC/EP4/SFX/Events/Story_Events/tgp_dynastic_cycle_consolidation" 
	}
}

tgp_asia_estate = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_estate.dds"
		environment = "environment_tgp_asia_estate"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_wedding_ceremony_asia"
	}
}

tgp_japanese_city = {
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_japanese_city.dds"
		environment = "environment_tgp_japanese_city"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_chinese_city"
	}
}

tgp_village_sea = {
	background = { #South-East Asian - Seaside Village
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
		environment = "environment_tgp_village_sea"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_docks_asia"
	}
}



### TGP - Audio Events to be hooked - TIT-62039 awd
# event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia_japan

### ACH ###
# Coronation Backgrounds
coronation_activity_background = {
	# Arrival - Courtyard Pictures
	background = { #Nomadic MENA
		trigger = {
			involved_activity ?= {
				OR = {
					#AGOT Disabled
					# AND = {
					# 	activity_location.county.title_province ?= {
					# 		has_holding_type = tribal_holding
					# 	}
					# 	activity_location.culture ?= {
					# 		OR = {
					# 			has_cultural_tradition = tradition_saharan_nomads
					# 			has_cultural_tradition = tradition_desert_nomads
					# 		}
					# 	}
					# }
					activity_location.county.title_province ?= {
						has_holding_type = nomad_holding
					}
				}
				activity_location.culture ?= { has_building_gfx = mena_building_gfx }
				activity_location ?= {
					OR = {
						terrain = drylands
						terrain = desert
						terrain = oasis
						terrain = desert_mountains
						terrain = floodplains
						terrain = hills
						terrain = steppe
					}
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
		environment = "environment_travel_desert"
		ambience = "event:/SFX/Events/Backgrounds/desert_day"
	}
	background = { #Nomads and steppe tribals
		trigger = {
			involved_activity ?= {
				OR = {
					activity_location.county.title_province ?= {
						has_holding_type = nomad_holding
					}
					AND = {
						activity_location.county.title_province ?= {
							has_holding_type = tribal_holding
						}
						activity_location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
					activity_host = {
						is_landless_adventurer = yes
						culture ?= { has_graphical_steppe_culture_group_trigger = yes }
					}
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_camp_steppe.dds"
		environment = "environment_mpo_camp_steppe"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_camp_steppe"
	}
	background = { #Western/Northern tribals
		trigger = {
			involved_activity ?= {
				activity_location.county.title_province ?= {
					has_holding_type = tribal_holding
				}
				OR = {
					activity_location.culture ?= { has_building_gfx = western_building_gfx }
					activity_location.culture ?= { has_building_gfx = mediterranean_building_gfx }
					activity_location.culture ?= { has_building_gfx = byzantine_building_gfx }
					activity_location.culture ?= { has_building_gfx = caucasian_building_gfx }
					activity_location.culture ?= { has_building_gfx = norse_building_gfx }
					activity_location.culture ?= { has_building_gfx = iberian_building_gfx }
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_tribal.dds"
		environment = "environment_event_market_tribal"
		ambience = "event:/SFX/Events/Backgrounds/townmarket_day_tribal_pagan"
	}
	#AGOT Disabled
	# background = { #tribal tibetans
	# 	trigger = {
	# 		involved_activity ?= {
	# 			activity_location.county.title_province ?= {
	# 				has_holding_type = tribal_holding
	# 			}
	# 			activity_location.culture ?= {
	# 				OR = {
	# 					has_cultural_pillar = heritage_tibetan
	# 					has_cultural_pillar = heritage_qiangic
	# 					has_cultural_pillar = heritage_chinese
	# 				}
	# 			}
	# 			has_current_phase = coronation_phase_preparations
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
	# 	environment = "environment_mpo_rural_village_asian"
	# 	ambience = "event:/DLC/CE2/Events/Event_Images/mpo_rural_village_asian"
	# }
	background = { #Non-Nomadic tribal MENA
		trigger = {
			involved_activity ?= {
				activity_location.county.title_province ?= {
					has_holding_type = tribal_holding
				}
				OR = {
					activity_location.culture ?= { has_building_gfx = mena_building_gfx }
					#AGOT Disabled
					# activity_location.faith.religion ?= religion:islam_religion
				}
				has_current_phase = coronation_phase_preparations
			}
			
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east.dds"
		environment = "environment_event_market_east"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #tribal fallback
		trigger = {
			involved_activity.activity_location.county.title_province ?= {
				has_holding_type = tribal_holding
			}
			has_current_phase = coronation_phase_preparations
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple" 
	}
	#AGOT Disabled
	# background = {	#Constantinople
	# 	trigger = {
	# 		involved_activity ?= {
	# 			activity_location.county = title:c_byzantion
	# 			has_current_phase = coronation_phase_preparations
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
	# 	environment = "environment_ep3_constantinople"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_constantinople" 
	# }
	background = {	#FP2
		trigger = {
			involved_activity ?= {
				activity_location = {
					OR = {
						culture = { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						# geographical_region = world_europe_west_iberia
					}
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_courtyard.dds"
		environment = "environment_event_fp2_courtyard" 
		ambience = "event:/DLC/FP2/SFX/Events/courtyard" 
	}
	background = {	#Mandala shrine
		trigger = {
			involved_activity ?= {
				activity_location = {
					culture = { has_building_gfx = southeast_asian_building_gfx }
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_jungle"
	}
	background = {	#Indian Courtyard
		trigger = {
			involved_activity ?= {
				activity_location = {
					OR = {
						culture = { has_building_gfx = indian_building_gfx }
						culture = { has_building_gfx = tibetan_building_gfx }
						steppe_building_gfx_use_indian_trigger = yes
					}
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
		environment = "environment_event_bp1_courtyard_indian" 
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = {	#MENA Courtyard
		trigger = {
			involved_activity ?= {
				activity_location = {
					OR = {
						culture = { has_graphical_mena_culture_group_trigger = yes }
						culture = { has_building_gfx = iranian_building_gfx }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
		environment = "environment_event_bp1_courtyard_mena"
		ambience = "event:/SFX/Events/Backgrounds/castle_courtyard_western"
	}
	background = { #East Asian
		trigger = {
			involved_activity ?= {
				activity_location ?= {
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
				has_current_phase = coronation_phase_preparations
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_courtyard_asia.dds"
		environment = "environment_tgp_courtyard_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_courtyard_asia"
	}
	background = { # Fallback
		trigger = {
			involved_activity ?= { has_current_phase = coronation_phase_preparations }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
		environment = "environment_bp2_courtyard"
		ambience = "event:/DLC/FP2/SFX/Events/courtyard" 
	}

	# Ceremony - Throne Room Pictures
	background = { # MPO - High Dominance
		trigger = {
			involved_activity ?= {
				activity_location = { NOT = { has_holding_type = church_holding } }
				activity_host = {
					government_has_flag = government_is_nomadic
					OR = {
						has_realm_law = nomadic_authority_3
						has_realm_law = nomadic_authority_4
						has_realm_law = nomadic_authority_5
						has_trait = greatest_of_khans
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/main_menu/mpo_frontend_nomad.dds"
		environment = "environment_mpo_frontend_nomad_main"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_nomadic_throneroom"
	}
	background = { # MPO - Nomads
		trigger = {
			involved_activity ?= {
				activity_location = { NOT = { has_holding_type = church_holding } }
				activity_host = {
					government_has_flag = government_is_nomadic
					NOR = {
						has_realm_law = nomadic_authority_4
						has_realm_law = nomadic_authority_5
						has_trait = greatest_of_khans
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
		environment = "environment_mpo_tent_interior_mongol"
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_tent_interior_mongol"
	}
	background = { #FP1 Tribal
		trigger = {
			involved_activity ?= {
				activity_location = {
					NOT = { has_holding_type = church_holding }
					culture = { has_building_gfx = norse_building_gfx }
				}
				activity_location.county.title_province = {
					has_holding_type = tribal_holding
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_tribal.dds"
		environment = "environment_event_fp1_throneroom_tribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom"
	}
	background = { #Tribal
		trigger = {
			involved_activity ?= {
				activity_location = { NOT = { has_holding_type = church_holding } }
				activity_location.county.title_province = {
					has_holding_type = tribal_holding
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_tribal.dds"
		environment = "environment_frontend_tribal_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_tribal_pagan"
	}
	#AGOT Disabled
	# background = { # EP3
	# 	trigger = {
	# 		involved_activity ?= {
	# 			activity_location = { NOT = { has_holding_type = church_holding } }
	# 			activity_host = {
	# 				OR = {
	# 					location = province:b_constantinople
	# 					AND = {
	# 						primary_title = title:e_byzantium
	# 						title:c_byzantion = {
	# 							any_de_jure_top_liege = { this = root } 
	# 						}
	# 					}
	# 				}
	# 			}
	# 			has_current_phase = coronation_phase_coronation
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_byzantine_throne_room.dds"
	# 	environment = "environment_ep3_byzantine_throne_room"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_byzantine_throne_room" 
	# }
	background = { # TGP Japan
		trigger = {
			involved_activity ?= {
				activity_location = {
					NOT = { has_holding_type = church_holding }
					OR = {
						culture = { has_graphical_japanese_culture_group_trigger = yes }
						steppe_building_gfx_use_japanese_trigger = yes
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_japan_throne_room.dds"
		environment = "environment_tgp_frontend_japan_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = { # East Asia
		trigger = {
			involved_activity ?= {
				activity_location = {
					NOT = { has_holding_type = church_holding }
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
		environment = "environment_tgp_frontend_celestial_main"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_study_asia"
	}
	background = {	#Iran
		trigger = {
			involved_activity ?= {
				activity_location = {
					NOT = { has_holding_type = church_holding }
					OR = {
						culture ?= { has_building_gfx = iranian_building_gfx }
						#AGOT Disabled
						# geographical_region = world_persian_empire
						steppe_building_gfx_use_iranian_trigger = yes
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_throneroom.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african" 
	}
	background = {	#Iberia
		trigger = {
			involved_activity ?= {
				activity_location = {
					NOT = { has_holding_type = church_holding }
					OR = {
						culture ?= { has_building_gfx = iberian_building_gfx }
						#AGOT Disabled
						# geographical_region = world_europe_west_iberia
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_throneroom.dds"
		environment = "environment_event_fp2_throneroom"
		ambience = "event:/DLC/FP2/SFX/Events/throneroom" 
	}
	background = {	#Norse - Non-Tribal
		trigger = {
			involved_activity ?= {
				activity_location = { NOT = { has_holding_type = church_holding } }
				activity_host = {
					location.culture ?= { has_building_gfx = norse_building_gfx }
					NOT = { government_has_flag = government_is_tribal }
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_nontribal.dds"
		environment = "environment_event_fp1_throneroom_nontribal"
		ambience = "event:/DLC/FP1/SFX/Events/event_throneroom_nontribal"
	}
	background = { #MENA
		trigger = {
			involved_activity ?= {
				activity_location = { 
					NOT = { has_holding_type = church_holding }
					OR = {
						steppe_building_gfx_use_mena_trigger = yes
						culture = { has_graphical_mena_culture_group_trigger = yes }
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_east.dds"
		environment = "environment_frontend_east_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}
	background = { #India
		trigger = {
			involved_activity ?= {
				activity_location = {
					NOT = { has_holding_type = church_holding }
					OR = {
						steppe_building_gfx_use_indian_trigger = yes
						culture = { has_graphical_india_culture_group_trigger = yes }
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_india.dds"
		environment = "environment_frontend_india_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_middleeastern_african"
	}

	background = {
		trigger = {
			involved_activity ?= {
				activity_location ?= {
					NOT = { has_holding_type = church_holding }
					OR = {
						culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
						steppe_building_gfx_use_mediterranean_trigger = yes
					}
				}
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_mediterranean.dds"
		environment = "environment_frontend_mediterranean_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_mediterranean"
	}

	background = {
		trigger = {
			involved_activity ?= {
				activity_location = { NOT = { has_holding_type = church_holding } }
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_west.dds"
		environment = "environment_frontend_west_main"
		ambience = "event:/SFX/Events/Backgrounds/throneroom_western"
	}


	# Ceremony - Church Pictures
	
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
			}
			activity_host ?= {
				OR = {
					#AGOT Modified
					#religion = religion:tengrism_religion
					#religion = religion:magyar_religion
					#religion = religion:siberian_religion
					#religion = religion:kamuyism_religion
					religion = religion:the_flocks_religion
					religion = religion:the_counsels_religion
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
		environment = "environment_mpo_temple_steppe" 
		ambience = "event:/DLC/CE2/Events/Event_Images/mpo_temple_steppe"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
				activity_location.culture = { has_graphical_norse_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
		environment = "environment_event_fp1_tribal_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = { 
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
			}
			OR = {
				activity_host.faith ?= { has_doctrine = tenet_sanctity_of_nature }
				AND = {
					scope:activity.activity_location.county.title_province = {
						OR = {
							has_holding_type = tribal_holding
							has_holding_type = nomad_holding
						}
					}
					#AGOT Disabled
					# activity_host = { religion = { is_in_family = rf_pagan } }
					scope:activity.activity_location.culture = { has_graphical_western_culture_group_trigger = yes }
				}
			}
			
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_runestone_circle.dds"
		environment = "environment_event_fp1_runestone_circle"
		ambience = "event:/DLC/FP1/SFX/Events/event_ting_stone_circle"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				#AGOT Disabled
				# activity_host = { religion = { is_in_family = rf_pagan } }
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
				activity_location.county.title_province = {
					OR = {
						has_holding_type = tribal_holding
						has_holding_type = nomad_holding
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
		environment = "environment_event_garden"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	background = {
		trigger = { 
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
			}
			#AGOT Modified
			# activity_host.religion ?= religion:zoroastrianism_religion 
			activity_host.religion ?= religion:the_rhllor_religion 
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
		environment = "environment_event_fp3_temple"
		ambience = "event:/DLC/FP1/SFX/Events/event_temple"
	}
	#AGOT Disabled
	# background = {
	# 	trigger = { 
	# 		involved_activity ?= { 
	# 			activity_location = { has_holding_type = church_holding }
	# 			has_current_phase = coronation_phase_coronation 
	# 			activity_location.faith = faith:orthodox 
	# 		}
	# 	}
	# 	reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	# 	environment = "environment_ep3_holysite_orthodox"
	# 	ambience = "event:/DLC/EP3/SFX/Events/Event_Images/ep3_evn_eventimage_orthodox_holy_site"
	# }
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
				activity_location ?= {
					OR = {
						culture = { has_graphical_mena_culture_group_trigger = yes }
						steppe_building_gfx_use_mena_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_mena.dds"
		environment = "environment_generic_holy_site_mena"
		ambience = "event:/SFX/Events/Backgrounds/town_market_middleeastern_day"
	}
	background = { #East Asian
		trigger = {
			involved_activity = {
				activity_location = {
					faith.religion ?= {
						OR = {
							#AGOT Modified
							# is_in_family = rf_eastern
							# is_in_family = rf_sinitic
							# this = religion:shintoism_religion
							this = religion:the_courts_religion
						}
					}
					OR = {
						culture ?= {
							has_graphical_east_asia_culture_group_trigger = yes
						}
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_temple_asia.dds"
		environment = "environment_tgp_temple_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_temple_asia"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
				activity_location ?= {
					OR = {
						culture = { has_graphical_india_culture_group_trigger = yes }
						steppe_building_gfx_use_indian_trigger = yes
						#AGOT Modified
						#faith.religion ?= {	is_in_family = rf_eastern }
						faith.religion ?= religion:the_courts_religion
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
		environment = "environment_indian_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/deciduous_forest_day"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
				activity_location.culture = { has_graphical_iberian_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_temple.dds"
		environment = "environment_event_fp2_temple"
		ambience = "event:/DLC/FP2/SFX/Events/temple"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation 
				activity_location ?= {
					OR = {
						culture = { has_graphical_western_culture_group_trigger = yes }
						steppe_building_gfx_use_western_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_western.dds"
		environment = "environment_western_holy_site"
		ambience = "event:/SFX/Events/Backgrounds/temple_christian"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				activity_location = { has_holding_type = church_holding }
				has_current_phase = coronation_phase_coronation
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/temple.dds"
		environment = "environment_event_temple"
		ambience = "event:/SFX/Events/Backgrounds/temple_generic"
	}

	# Banquet/Feast - Feast Pictures
	background = { #Nomad
		trigger = {
			involved_activity ?= {
				has_current_phase = coronation_phase_feast
				OR = {
					activity_location.county.title_province = {
						has_holding_type = nomad_holding
					}
					activity_location.culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
		environment = "environment_steppe_feast"
		ambience = "event:/DLC/EP2/SFX/Events/Backgrounds/evn_background_steppe"
	}
	background = {	# EP3
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast 
				activity_location.culture = {
					OR = {
						has_building_gfx = byzantine_building_gfx
						has_building_gfx = caucasian_building_gfx
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
		environment = "environment_ep3_byzantine_feast"
		ambience = "event:/SFX/Events/Backgrounds/corner_of_tavern"
	}
	background = {	# FP1
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast 
				OR = {
					AND = {
						activity_location.culture ?= { has_building_gfx = western_building_gfx }
						activity_location.county.title_province = {
							has_holding_type = tribal_holding
						}
					}
					activity_location.culture = { has_building_gfx = norse_building_gfx }
				}
				
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
		environment = "environment_event_fp1_viking_feast"
		ambience = "event:/DLC/FP1/SFX/Events/event_viking_feast"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast
				activity_location = {
					OR = {
						steppe_building_gfx_use_indian_trigger = yes
						culture = { has_graphical_india_culture_group_trigger = yes }
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
		environment = "environment_indian_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast 
				activity_location.culture = { has_building_gfx = african_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
		environment = "environment_sub-saharan_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
	background = { #East Asian
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast 
				activity_location = {
					OR = {
						culture = { has_graphical_east_asia_culture_group_trigger = yes }
						steppe_building_gfx_use_east_asian_trigger = yes
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
		environment = "environment_tgp_feast_asia"
		ambience = "event:/DLC/EP4/SFX/Events/Event_Backgrounds/tgp_feast_asia"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast 
				OR = {
					activity_location.culture = { has_building_gfx = arabic_group_building_gfx }
					activity_location.culture = { has_building_gfx = berber_group_building_gfx }
					activity_location.culture = { has_building_gfx = iberian_building_gfx }
					activity_location.culture = { has_building_gfx = iranian_building_gfx } 
					activity_location = { steppe_building_gfx_use_mena_trigger = yes }
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
		environment = "environment_mena_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
	background = {
		trigger = {
			involved_activity ?= { 
				has_current_phase = coronation_phase_feast 
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/feast.dds"
		environment = "environment_event_feast"
		ambience = "event:/SFX/Events/Backgrounds/feasthall"
	}
}

#### TGP Japan Fullscreen Backgrounds ####
tgp_fullscreen_japanese_shogunate = {
	background = {	# Intro
		reference = "gfx/interface/illustrations/event_story/tgp_japanese_shogunate.dds"
		environment = "environment_tgp_frontend_japan_main"
		ambience = "event:/DLC/EP4/SFX/Events/Story_Events/tgp_dynastic_cycle_shogunate"
	}
}
