﻿papal = {
	trigger = {
		has_graphical_papal_culture_group_trigger = yes
	}
}

hre = {
	trigger = {
		has_graphical_hre_culture_group_trigger = yes
	}
}

cfp_byzantine = {
	trigger = {
		NAND = {
			has_ep3_dlc_trigger = yes
			has_graphical_byzantine_culture_group_trigger = yes
		}
		has_graphical_cfp_byzantine_culture_group_trigger = yes
		religion = religion:christianity_religion
		NOT = { faith = faith:iconoclast }
	}
}

byzantine = {
	trigger = {
		has_ep3_dlc_trigger = yes
		has_graphical_byzantine_culture_group_trigger = yes
		religion = religion:christianity_religion
		NOT = { faith = faith:iconoclast }
	}
}

cfp_byzantine_mena = {
	trigger = {
		OR = {
			has_graphical_byzantine_culture_group_trigger = yes
			has_graphical_cfp_byzantine_culture_group_trigger = yes
		}
		religion = religion:islam_religion
	}
}

cfp_byzantine_pagan = {
	trigger = {
		OR = {
			has_graphical_byzantine_culture_group_trigger = yes
			has_graphical_cfp_byzantine_culture_group_trigger = yes
		}
		OR = { 
			NOR = {
				AND = {
					religion = religion:christianity_religion
					NOT = { faith = faith:iconoclast }
				}
				religion = religion:islam_religion
			}
			AND = {
				religion = religion:christianity_religion
				faith = faith:iconoclast
			}
		}
	}
}

norse = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			OR = {
				has_graphical_norse_culture_group_trigger = yes
				has_graphical_saxon_culture_group_trigger = yes
				has_graphical_tundra_culture_group_trigger = yes
			}
		}
		NOT = { government_has_flag = government_is_nomadic }
	}
}

norman = {
	trigger = {
		has_graphical_norman_culture_group_trigger = yes
	}
}

goidelic = {
	trigger = {
		has_graphical_goidelic_culture_group_trigger = yes
	}
}

iberian = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			has_graphical_iberian_culture_group_trigger  = yes
			OR = {
				prev.religion = religion:christianity_religion
				prev.religion = religion:basque_religion
			}
		}
	}
}

andalusian = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			has_graphical_iberian_culture_group_trigger  = yes
			prev.religion = religion:islam_religion
		}
	}
}

west_african = {
	trigger = {
		OR = {
				has_graphical_west_african_culture_group_trigger = yes
				has_graphical_somali_culture_group_trigger = yes
		}
	}
}

east_african = {
	trigger = {
		has_graphical_east_african_culture_group_trigger = yes
	}
}

turkish = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			has_graphical_turkish_culture_group_trigger = yes
		}
	}
}

mediterranean = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			OR = {
				has_graphical_byzantine_culture_group_trigger = yes
				has_graphical_caucasian_culture_group_trigger = yes
				has_graphical_croatian_culture_group_trigger = yes
				has_graphical_mediterranean_culture_group_trigger = yes
				has_graphical_sicilian_culture_group_trigger = yes
				has_graphical_southslavic_culture_group_trigger = yes
				AND = {
					has_graphical_iberian_culture_group_trigger  = yes
					NOR = {
						prev.religion = religion:christianity_religion
						prev.religion = religion:islam_religion
						prev.religion = religion:basque_religion
					}
				}
			}
		}
		trigger_if = {
			limit = {
				has_ep3_dlc_trigger = yes
			}
			NOT = { has_graphical_byzantine_culture_group_trigger = yes }
		}
		trigger_if = {
			limit = {}
			NOR = {
				has_graphical_papal_culture_group_trigger = yes
				has_graphical_cfp_byzantine_culture_group_trigger = yes
			}
		}
	}
}

mena = {
	trigger = {
		trigger_if = {
			limit = {
				has_mpo_dlc_trigger = no			
			}
			exists = capital_county
			capital_county.culture = {
				has_graphical_steppe_culture_group_trigger = yes
			}
		}
		trigger_else = {
			NOT = { government_has_flag = government_is_nomadic }
			exists = capital_county
			OR = {
				capital_county = {
					has_graphical_steppe_culture_group_trigger = yes
					title_province ?= {
						has_holding = yes
						NOT = {
							has_holding_type = tribal_holding
						}
					}
				}
				AND = {
					capital_county.culture ?= {
						has_graphical_steppe_culture_group_trigger = yes
					}
					capital_county = {
						title_province ?= {
							has_holding = yes
							NOT = {
								has_holding_type = tribal_holding
							}
						}
					}
				}
				capital_county.culture ?= {
					OR = {
						has_graphical_african_culture_group_trigger = yes
						has_graphical_berber_culture_group_trigger = yes
						has_graphical_ethiopian_culture_group_trigger = yes
						has_graphical_iranian_culture_group_trigger = yes
						has_graphical_mena_culture_group_trigger = yes
						has_graphical_sahelian_culture_group_trigger = yes
					}
				}
			}
			NOR = {
				has_graphical_west_african_culture_group_trigger = yes
				has_graphical_east_african_culture_group_trigger = yes
			}
		}
	}
}

indian = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			OR = {
				has_graphical_burman_culture_group_trigger = yes
				has_graphical_india_culture_group_trigger = yes
			}
		}
	}
}

western = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			OR = {
				has_graphical_british_culture_group_trigger = yes
				has_graphical_german_culture_group_trigger = yes
				has_graphical_goidelic_culture_group_trigger = yes
				has_graphical_magyar_culture_group_trigger = yes
				has_graphical_scandinavian_culture_group_trigger = yes
				has_graphical_slavic_culture_group_trigger = yes
				has_graphical_vlach_culture_group_trigger = yes
				has_graphical_western_culture_group_trigger = yes
			}
		}
		NOR = {
			has_graphical_hre_culture_group_trigger = yes
			has_graphical_norman_culture_group_trigger = yes
			has_graphical_goidelic_culture_group_trigger = yes
			AND = {
				OR = {
					government_has_flag = government_is_tribal
					government_has_flag = government_is_nomadic
				}
				exists = capital_county
				capital_county.culture = {
					OR = {
						has_graphical_norse_culture_group_trigger = yes
						has_graphical_tundra_culture_group_trigger = yes
					}
				}
			}
		}
	}
}

chinese = {
	trigger = {
		exists = capital_county
		capital_county.culture = {
			OR = {
				has_graphical_chinese_culture_group_trigger = yes
				has_graphical_tibetan_culture_group_trigger = yes
			}
		}
	}
}
