namespace = Plus

#reserved: Plus.1700 to Plus.1749

#######################################
# PROVINCE CULTURE EVENTS
#######################################

# Base event for converting culture buildings
province_event = {
	id = Plus.1700
	desc = EVTDESC_Plus_1700
	picture = GFX_evt_busy_trading_dock_republic
	
	is_triggered_only = yes
	
	option = {
		name = OK
		remove_province_modifier = recent_culture_change
		any_province_holding = {
			limit = { has_title_flag = culture_level_1 }
			clr_title_flag = culture_level_1
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = english
							culture = welsh
						}
					}
				}
				add_building = ca_culture_saxon_english_1
			}
			if = {
				limit = {
					ROOT = { culture = scottish }
				}
				add_building = ca_culture_scottish_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = baltic
							culture_group = finno_ugric
						}
					}
				}
				add_building = ca_culture_group_baltic_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = altaic
							culture_group = iranian
						}
					}
				}
				add_building = ca_culture_group_altaic_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = frankish
							culture = occitan
							culture = norman
							german_cultures_trigger = yes
							culture = breton
							culture = cornish
							culture_group = crusader_group
						}
					}
				}
				add_building = ca_culture_frank_norman_german_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = visigothic
							culture_group = iberian
						}
					}
				}
				add_building = ca_culture_group_iberian_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							is_italian_trigger = yes
						}
					}
				}
				add_building = ca_culture_italian_1
			}
			if = {
				limit = {
					ROOT = { culture_group = east_slavic }
				}
				add_building = ca_culture_russian_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = saxon
							culture = gallawa
							culture = frisian
							culture = english_norse
							culture_group = north_germanic
						}
						NOT = { culture = old_saxon }						
					}
				}
				add_building = ca_culture_group_north_germanic_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = hungarian
							culture_group = west_slavic
						}
					}
				}
				add_building = ca_culture_hungarian_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = bedouin_arabic
							culture = levantine_arabic
							culture = egyptian_arabic
							culture = sicilian_arabic
							culture = assyrian
							culture = beja
						}
					}
				}
				add_building = ca_culture_group_arabic_1
			}
			if = {
				limit = {
					ROOT = { culture_group = byzantine }
				}
				add_building = ca_culture_group_byzantine_1
			}
			if = {
				limit = {
					ROOT = { culture = irish }
				}
				add_building = ca_culture_irish_1
			}
			if = {
				limit = {
					ROOT = { culture = ethiopian }
				}
				add_building = ca_culture_ethiopian_1
			}
			if = {
				limit = {
					ROOT = { culture = somali }
				}
				add_building = ca_culture_somali_1
			}
			if = {
				limit = {
					ROOT = { culture_group = west_african }
				}
				add_building = ca_culture_west_african_1
			}
			if = {
				limit = {
					ROOT = { culture_group = south_slavic }
				}
				add_building = ca_culture_group_south_slavic_1
			}
			if = {
				limit = {
					ROOT = { culture = dutch }
				}
				add_building = ca_culture_dutch_1
			}
			if = {
				limit = {
					ROOT = { culture = nahuatl }
				}
				add_building = ca_culture_nahuatl_1
			}
			if = {
				limit = {
					ROOT = { culture_group = israelite }
				}
				add_building = ca_culture_jewish_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = indo_aryan_group
							culture_group = dravidian_group
						}
					}
				}
				add_building = ca_culture_indian_1
			}
			if = {
				limit = {
					ROOT = { culture = nubian }
				}
				add_building = ca_culture_nubian_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = longobard
							culture = old_frankish
						}
					}
				}
				add_building = ca_culture_germanic_1
			}
			if = {
				limit = {
					ROOT = { culture = pictish }
				}
				add_building = ca_culture_pictish_1
			}
			if = {
				limit = {
					ROOT = { culture = suebi }
				}
				add_building = ca_culture_suebi_1
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = andalusian_arabic
							culture = maghreb_arabic
						}
					}
				}
				add_building = ca_culture_moors_1
			}
			if = {
				limit = {
					ROOT = { culture = roman }
				}
				add_building = ca_culture_roman_1
			}
			if = {
				limit = {
					ROOT = { culture = coptic }
				}
				add_building = ca_culture_coptic_1
			}
		}
		any_province_holding = {
			limit = { has_title_flag = culture_level_2 }
			clr_title_flag = culture_level_2
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = english
							culture = welsh
						}
					}
				}
				add_building = ca_culture_saxon_english_2
			}
			if = {
				limit = {
					ROOT = { culture = scottish }
				}
				add_building = ca_culture_scottish_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = baltic
							culture_group = finno_ugric
						}
					}
				}
				add_building = ca_culture_group_baltic_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = altaic
							culture_group = iranian
						}
					}
				}
				add_building = ca_culture_group_altaic_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = frankish
							culture = occitan
							culture = norman
							german_cultures_trigger = yes
							culture = breton
							culture = cornish
							culture_group = crusader_group
						}
					}
				}
				add_building = ca_culture_frank_norman_german_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = visigothic
							culture_group = iberian
						}
					}
				}
				add_building = ca_culture_group_iberian_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							is_italian_trigger = yes
						}
					}
				}
				add_building = ca_culture_italian_2
			}
			if = {
				limit = {
					ROOT = { culture_group = east_slavic }
				}
				add_building = ca_culture_russian_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = saxon
							culture = gallawa
							culture = frisian
							culture = english_norse
							culture_group = north_germanic
						}
						NOT = { culture = old_saxon }
					}
				}
				add_building = ca_culture_group_north_germanic_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = hungarian
							culture_group = west_slavic
						}
					}
				}
				add_building = ca_culture_hungarian_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = bedouin_arabic
							culture = levantine_arabic
							culture = egyptian_arabic
							culture = sicilian_arabic
							culture = assyrian
							culture = beja
						}
					}
				}
				add_building = ca_culture_group_arabic_2
			}
			if = {
				limit = {
					ROOT = { culture_group = byzantine }
				}
				add_building = ca_culture_group_byzantine_2
			}
			if = {
				limit = {
					ROOT = { culture = irish }
				}
				add_building = ca_culture_irish_2
			}
			if = {
				limit = {
					ROOT = { culture = ethiopian }
				}
				add_building = ca_culture_ethiopian_2
			}
			if = {
				limit = {
					ROOT = { culture = somali }
				}
				add_building = ca_culture_somali_2
			}
			if = {
				limit = {
					ROOT = { culture_group = west_african }
				}
				add_building = ca_culture_west_african_2
			}
			if = {
				limit = {
					ROOT = { culture_group = south_slavic }
				}
				add_building = ca_culture_group_south_slavic_2
			}
			if = {
				limit = {
					ROOT = { culture = dutch }
				}
				add_building = ca_culture_dutch_2
			}
			if = {
				limit = {
					ROOT = { culture = nahuatl }
				}
				add_building = ca_culture_nahuatl_2
			}
			if = {
				limit = {
					ROOT = { culture_group = israelite }
				}
				add_building = ca_culture_jewish_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = indo_aryan_group
							culture_group = dravidian_group
						}
					}
				}
				add_building = ca_culture_indian_2
			}
			if = {
				limit = {
					ROOT = { culture = nubian }
				}
				add_building = ca_culture_nubian_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = longobard
							culture = old_frankish
						}
					}
				}
				add_building = ca_culture_germanic_2
			}
			if = {
				limit = {
					ROOT = { culture = pictish }
				}
				add_building = ca_culture_pictish_2
			}
			if = {
				limit = {
					ROOT = { culture = suebi }
				}
				add_building = ca_culture_suebi_2
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = andalusian_arabic
							culture = maghreb_arabic
						}
					}
				}
				add_building = ca_culture_moors_2
			}
			if = {
				limit = {
					ROOT = { culture = roman }
				}
				add_building = ca_culture_roman_2
			}
			if = {
				limit = {
					ROOT = { culture = coptic }
				}
				add_building = ca_culture_coptic_2
			}
		}
		any_province_holding = {
			limit = { has_title_flag = culture_level_3 }
			clr_title_flag = culture_level_3
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = english
							culture = welsh
						}
					}
				}
				add_building = ca_culture_saxon_english_3
			}
			if = {
				limit = {
					ROOT = { culture = scottish }
				}
				add_building = ca_culture_scottish_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = baltic
							culture_group = finno_ugric
						}
					}
				}
				add_building = ca_culture_group_baltic_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = altaic
							culture_group = iranian
						}
					}
				}
				add_building = ca_culture_group_altaic_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = frankish
							culture = occitan
							culture = norman
							german_cultures_trigger = yes
							culture = breton
							culture = cornish
							culture_group = crusader_group
						}
					}
				}
				add_building = ca_culture_frank_norman_german_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = visigothic
							culture_group = iberian
						}
					}
				}
				add_building = ca_culture_group_iberian_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							is_italian_trigger = yes
						}
					}
				}
				add_building = ca_culture_italian_3
			}
			if = {
				limit = {
					ROOT = { culture_group = east_slavic }
				}
				add_building = ca_culture_russian_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = saxon
							culture = gallawa
							culture = frisian
							culture = english_norse
							culture_group = north_germanic
						}
						NOT = { culture = old_saxon }
					}
				}
				add_building = ca_culture_group_north_germanic_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = hungarian
							culture_group = west_slavic
						}
					}
				}
				add_building = ca_culture_hungarian_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = bedouin_arabic
							culture = levantine_arabic
							culture = egyptian_arabic
							culture = sicilian_arabic
							culture = assyrian
							culture = beja
						}
					}
				}
				add_building = ca_culture_group_arabic_3
			}
			if = {
				limit = {
					ROOT = { culture_group = byzantine }
				}
				add_building = ca_culture_group_byzantine_3
			}
			if = {
				limit = {
					ROOT = { culture = irish }
				}
				add_building = ca_culture_irish_3
			}
			if = {
				limit = {
					ROOT = { culture = ethiopian }
				}
				add_building = ca_culture_ethiopian_3
			}
			if = {
				limit = {
					ROOT = { culture = somali }
				}
				add_building = ca_culture_somali_3
			}
			if = {
				limit = {
					ROOT = { culture_group = west_african }
				}
				add_building = ca_culture_west_african_3
			}
			if = {
				limit = {
					ROOT = { culture_group = south_slavic }
				}
				add_building = ca_culture_group_south_slavic_3
			}
			if = {
				limit = {
					ROOT = { culture = dutch }
				}
				add_building = ca_culture_dutch_3
			}
			if = {
				limit = {
					ROOT = { culture = nahuatl }
				}
				add_building = ca_culture_nahuatl_3
			}
			if = {
				limit = {
					ROOT = { culture_group = israelite }
				}
				add_building = ca_culture_jewish_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = indo_aryan_group
							culture_group = dravidian_group
						}
					}
				}
				add_building = ca_culture_indian_3
			}
			if = {
				limit = {
					ROOT = { culture = nubian }
				}
				add_building = ca_culture_nubian_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = longobard
							culture = old_frankish
						}
					}
				}
				add_building = ca_culture_germanic_3
			}
			if = {
				limit = {
					ROOT = { culture = pictish }
				}
				add_building = ca_culture_pictish_3
			}
			if = {
				limit = {
					ROOT = { culture = suebi }
				}
				add_building = ca_culture_suebi_3
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = andalusian_arabic
							culture = maghreb_arabic
						}
					}
				}
				add_building = ca_culture_moors_3
			}
			if = {
				limit = {
					ROOT = { culture = roman }
				}
				add_building = ca_culture_roman_3
			}
			if = {
				limit = {
					ROOT = { culture = coptic }
				}
				add_building = ca_culture_coptic_3
			}
		}
		any_province_holding = {
			limit = { has_title_flag = culture_level_4 }
			clr_title_flag = culture_level_4
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = english
							culture = welsh
						}
					}
				}
				add_building = ca_culture_saxon_english_4
			}
			if = {
				limit = {
					ROOT = { culture = scottish }
				}
				add_building = ca_culture_scottish_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = baltic
							culture_group = finno_ugric
						}
					}
				}
				add_building = ca_culture_group_baltic_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = altaic
							culture_group = iranian
						}
					}
				}
				add_building = ca_culture_group_altaic_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = frankish
							culture = occitan
							culture = norman
							german_cultures_trigger = yes
							culture = breton
							culture = cornish
							culture_group = crusader_group
						}
					}
				}
				add_building = ca_culture_frank_norman_german_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = visigothic
							culture_group = iberian
						}
					}
				}
				add_building = ca_culture_group_iberian_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							is_italian_trigger = yes
						}
					}
				}
				add_building = ca_culture_italian_4
			}
			if = {
				limit = {
					ROOT = { culture_group = east_slavic }
				}
				add_building = ca_culture_russian_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = saxon
							culture = gallawa
							culture = frisian
							culture = english_norse
							culture_group = north_germanic
						}
						NOT = { culture = old_saxon }
					}
				}
				add_building = ca_culture_group_north_germanic_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = hungarian
							culture_group = west_slavic
						}
					}
				}
				add_building = ca_culture_hungarian_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = bedouin_arabic
							culture = levantine_arabic
							culture = egyptian_arabic
							culture = sicilian_arabic
							culture = assyrian
							culture = beja
						}
					}
				}
				add_building = ca_culture_group_arabic_4
			}
			if = {
				limit = {
					ROOT = { culture_group = byzantine }
				}
				add_building = ca_culture_group_byzantine_4
			}
			if = {
				limit = {
					ROOT = { culture = irish }
				}
				add_building = ca_culture_irish_4
			}
			if = {
				limit = {
					ROOT = { culture = ethiopian }
				}
				add_building = ca_culture_ethiopian_4
			}
			if = {
				limit = {
					ROOT = { culture = somali }
				}
				add_building = ca_culture_somali_4
			}
			if = {
				limit = {
					ROOT = { culture_group = west_african }
				}
				add_building = ca_culture_west_african_4
			}
			if = {
				limit = {
					ROOT = { culture_group = south_slavic }
				}
				add_building = ca_culture_group_south_slavic_4
				
			if = {
				limit = {
					ROOT = { culture = dutch }
				}
				add_building = ca_culture_dutch_4
			}
			if = {
				limit = {
					ROOT = { culture = nahuatl }
				}
				add_building = ca_culture_nahuatl_4
			}
			if = {
				limit = {
					ROOT = { culture_group = israelite }
				}
				add_building = ca_culture_jewish_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture_group = indo_aryan_group
							culture_group = dravidian_group
						}
					}
				}
				add_building = ca_culture_indian_4
			}
			if = {
				limit = {
					ROOT = { culture = nubian }
				}
				add_building = ca_culture_nubian_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = longobard
							culture = old_frankish
						}
					}
				}
				add_building = ca_culture_germanic_4
			}
			if = {
				limit = {
					ROOT = { culture = pictish }
				}
				add_building = ca_culture_pictish_4
			}
			if = {
				limit = {
					ROOT = { culture = suebi }
				}
				add_building = ca_culture_suebi_4
			}
			if = {
				limit = {
					ROOT = { culture = roman }
				}
				add_building = ca_culture_roman_4
			}
			if = {
				limit = {
					ROOT = {
						OR = {
							culture = andalusian_arabic
							culture = maghreb_arabic
						}
					}
				}
				add_building = ca_culture_moors_4
			}
			if = {
				limit = {
					ROOT = { culture = coptic }
				}
				add_building = ca_culture_coptic_4
			}
		}
	}
	}
}

# Remove any illegitimate culture buildings
province_event = {
	id = Plus.1701
	
	hide_window = yes
	
	trigger = {
		has_province_modifier = recent_culture_change
		owner = { war = no }
		owner = { NOT = { any_liege = { war = yes } } }
		county = { is_occupied = no }
	}
	
	mean_time_to_happen = {
		months = 36
		modifier = {
			factor = 1.5
			any_province_holding = {
				OR = {
					has_building = ca_culture_saxon_english_2
					has_building = ca_culture_scottish_2
					has_building = ca_culture_group_baltic_2
					has_building = ca_culture_group_altaic_2
					has_building = ca_culture_frank_norman_german_2
					has_building = ca_culture_group_iberian_2
					has_building = ca_culture_italian_2
					has_building = ca_culture_russian_2
					has_building = ca_culture_group_north_germanic_2
					has_building = ca_culture_hungarian_2
					has_building = ca_culture_group_arabic_2
					has_building = ca_culture_group_byzantine_2
					has_building = ca_culture_irish_2
					has_building = ca_culture_ethiopian_2
					has_building = ca_culture_somali_2
					has_building = ca_culture_west_african_2
					has_building = ca_culture_group_south_slavic_2
					has_building = ca_culture_dutch_2
					has_building = ca_culture_nahuatl_2
					has_building = ca_culture_jewish_2
					has_building = ca_culture_indian_2
					has_building = ca_culture_nubian_2
					has_building = ca_culture_germanic_2
					has_building = ca_culture_pictish_2
					has_building = ca_culture_suebi_2
					has_building = ca_culture_moors_2
					has_building = ca_culture_roman_2
					has_building = ca_culture_coptic_2
				}
			}
		}
		modifier = {
			factor = 1.5
			any_province_holding = {
				OR = {
					has_building = ca_culture_saxon_english_3
					has_building = ca_culture_scottish_3
					has_building = ca_culture_group_baltic_3
					has_building = ca_culture_group_altaic_3
					has_building = ca_culture_frank_norman_german_3
					has_building = ca_culture_group_iberian_3
					has_building = ca_culture_italian_3
					has_building = ca_culture_russian_3
					has_building = ca_culture_group_north_germanic_3
					has_building = ca_culture_hungarian_3
					has_building = ca_culture_group_arabic_3
					has_building = ca_culture_group_byzantine_3
					has_building = ca_culture_irish_3
					has_building = ca_culture_ethiopian_3
					has_building = ca_culture_somali_3
					has_building = ca_culture_west_african_3
					has_building = ca_culture_group_south_slavic_3
					has_building = ca_culture_dutch_3
					has_building = ca_culture_nahuatl_3
					has_building = ca_culture_jewish_3
					has_building = ca_culture_indian_3
					has_building = ca_culture_nubian_3
					has_building = ca_culture_germanic_3
					has_building = ca_culture_pictish_3
					has_building = ca_culture_suebi_3
					has_building = ca_culture_moors_3
					has_building = ca_culture_roman_3
					has_building = ca_culture_coptic_3
				}
			}
		}
		modifier = {
			factor = 1.5
			any_province_holding = {
				OR = {
					has_building = ca_culture_saxon_english_4
					has_building = ca_culture_scottish_4
					has_building = ca_culture_group_baltic_4
					has_building = ca_culture_group_altaic_4
					has_building = ca_culture_frank_norman_german_4
					has_building = ca_culture_group_iberian_4
					has_building = ca_culture_italian_4
					has_building = ca_culture_russian_4
					has_building = ca_culture_group_north_germanic_4
					has_building = ca_culture_hungarian_4
					has_building = ca_culture_group_arabic_4
					has_building = ca_culture_group_byzantine_4
					has_building = ca_culture_irish_4
					has_building = ca_culture_ethiopian_4
					has_building = ca_culture_somali_4
					has_building = ca_culture_west_african_4
					has_building = ca_culture_group_south_slavic_4
					has_building = ca_culture_dutch_4
					has_building = ca_culture_nahuatl_4
					has_building = ca_culture_jewish_4
					has_building = ca_culture_indian_4
					has_building = ca_culture_nubian_4
					has_building = ca_culture_germanic_4
					has_building = ca_culture_pictish_4
					has_building = ca_culture_suebi_4
					has_building = ca_culture_moors_4
					has_building = ca_culture_roman_4
					has_building = ca_culture_coptic_4
				}
			}
		}		
	}
	
	immediate = {
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_saxon_english_1
						has_building = ca_culture_saxon_english_2
						has_building = ca_culture_saxon_english_3
						has_building = ca_culture_saxon_english_4
					}
				}
				NOR = {
					culture = english
					culture = welsh
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_saxon_english_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_saxon_english_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_saxon_english_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_saxon_english_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_saxon_english_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_saxon_english_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_saxon_english_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_saxon_english_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_scottish_1
						has_building = ca_culture_scottish_2
						has_building = ca_culture_scottish_3
						has_building = ca_culture_scottish_4
					}
				}
				NOT = { culture = scottish }
			}
			any_province_holding = {
				limit = { has_building = ca_culture_scottish_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_scottish_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_scottish_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_scottish_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_scottish_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_scottish_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_scottish_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_scottish_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_baltic_1
						has_building = ca_culture_group_baltic_2
						has_building = ca_culture_group_baltic_3
						has_building = ca_culture_group_baltic_4
					}
				}
				NOR = { 
					culture_group = baltic 
					culture_group = finno_ugric
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_baltic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_baltic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_baltic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_baltic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_baltic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_baltic_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_baltic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_baltic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_altaic_1
						has_building = ca_culture_group_altaic_2
						has_building = ca_culture_group_altaic_3
						has_building = ca_culture_group_altaic_4
					}
				}
				NOR = { 
					culture_group = altaic 
					culture_group = iranian
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_altaic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_altaic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_altaic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_altaic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_altaic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_altaic_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_altaic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_altaic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_frank_norman_german_1
						has_building = ca_culture_frank_norman_german_2
						has_building = ca_culture_frank_norman_german_3
						has_building = ca_culture_frank_norman_german_4
					}
				}
				NOR = { 
					culture = frankish 
					culture = occitan
					culture = norman
					german_cultures_trigger = yes
					culture = breton
					culture = cornish
					culture_group = crusader_group
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_frank_norman_german_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_frank_norman_german_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_frank_norman_german_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_frank_norman_german_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_frank_norman_german_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_frank_norman_german_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_frank_norman_german_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_frank_norman_german_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_iberian_1
						has_building = ca_culture_group_iberian_2
						has_building = ca_culture_group_iberian_3
						has_building = ca_culture_group_iberian_4
					}
				}
				NOR = { 
					culture = visigothic 
					culture_group = iberian
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_iberian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_iberian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_iberian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_iberian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_iberian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_iberian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_iberian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_iberian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_italian_1
						has_building = ca_culture_italian_2
						has_building = ca_culture_italian_3
						has_building = ca_culture_italian_4
					}
				}
				NOR = { 
					is_italian_trigger = yes
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_italian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_italian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_italian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_italian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_italian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_italian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_italian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_italian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_russian_1
						has_building = ca_culture_russian_2
						has_building = ca_culture_russian_3
						has_building = ca_culture_russian_4
					}
				}
				NOT = { 
					culture_group = east_slavic 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_russian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_russian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_russian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_russian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_russian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_russian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_russian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_russian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_north_germanic_1
						has_building = ca_culture_group_north_germanic_2
						has_building = ca_culture_group_north_germanic_3
						has_building = ca_culture_group_north_germanic_4
					}
				}
				NOR = { 
					culture = saxon
					culture = gallawa
					culture = frisian
					culture = english_norse
					culture_group = north_germanic
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_north_germanic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_north_germanic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_north_germanic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_north_germanic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_north_germanic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_north_germanic_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_north_germanic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_north_germanic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_hungarian_1
						has_building = ca_culture_hungarian_2
						has_building = ca_culture_hungarian_3
						has_building = ca_culture_hungarian_4
					}
				}
				NOR = { 
					culture = hungarian
					culture_group = west_slavic
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_hungarian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_hungarian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_hungarian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_hungarian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_hungarian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_hungarian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_hungarian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_hungarian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_arabic_1
						has_building = ca_culture_group_arabic_2
						has_building = ca_culture_group_arabic_3
						has_building = ca_culture_group_arabic_4
					}
				}
				NOR = { 
					culture = bedouin_arabic
					culture = levantine_arabic
					culture = egyptian_arabic
					culture = sicilian_arabic
					culture = assyrian
					culture = beja
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_arabic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_arabic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_arabic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_arabic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_arabic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_arabic_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_arabic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_arabic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_byzantine_1
						has_building = ca_culture_group_byzantine_2
						has_building = ca_culture_group_byzantine_3
						has_building = ca_culture_group_byzantine_4
					}
				}
				NOT = { 
					culture_group = byzantine 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_byzantine_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_byzantine_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_byzantine_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_byzantine_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_byzantine_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_byzantine_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_byzantine_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_byzantine_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_irish_1
						has_building = ca_culture_irish_2
						has_building = ca_culture_irish_3
						has_building = ca_culture_irish_4
					}
				}
				NOT = { 
					culture = irish 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_irish_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_irish_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_irish_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_irish_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_irish_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_irish_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_irish_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_irish_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_ethiopian_1
						has_building = ca_culture_ethiopian_2
						has_building = ca_culture_ethiopian_3
						has_building = ca_culture_ethiopian_4
					}
				}
				NOT = { 
					culture = ethiopian 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_ethiopian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_ethiopian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_ethiopian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_ethiopian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_ethiopian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_ethiopian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_ethiopian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_ethiopian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_somali_1
						has_building = ca_culture_somali_2
						has_building = ca_culture_somali_3
						has_building = ca_culture_somali_4
					}
				}
				NOT = { 
					culture = somali 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_somali_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_somali_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_somali_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_somali_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_somali_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_somali_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_somali_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_somali_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_west_african_1
						has_building = ca_culture_west_african_2
						has_building = ca_culture_west_african_3
						has_building = ca_culture_west_african_4
					}
				}
				NOT = { 
					culture_group = west_african 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_west_african_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_west_african_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_west_african_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_west_african_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_west_african_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_west_african_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_west_african_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_west_african_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_group_south_slavic_1
						has_building = ca_culture_group_south_slavic_2
						has_building = ca_culture_group_south_slavic_3
						has_building = ca_culture_group_south_slavic_4
					}
				}
				NOT = { 
					culture_group = south_slavic 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_south_slavic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_group_south_slavic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_south_slavic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_group_south_slavic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_south_slavic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_group_south_slavic_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_group_south_slavic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_group_south_slavic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_dutch_1
						has_building = ca_culture_dutch_2
						has_building = ca_culture_dutch_3
						has_building = ca_culture_dutch_4
					}
				}
				NOT = { 
					culture = dutch  
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_dutch_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_dutch_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_dutch_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_dutch_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_dutch_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_dutch_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_dutch_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_dutch_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_nahuatl_1
						has_building = ca_culture_nahuatl_2
						has_building = ca_culture_nahuatl_3
						has_building = ca_culture_nahuatl_4
					}
				}
				NOT = { 
					culture = nahuatl  
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nahuatl_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_nahuatl_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nahuatl_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_nahuatl_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nahuatl_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_nahuatl_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nahuatl_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_nahuatl_4
			}
			province_event = { id = Plus.1700 }
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_jewish_1
						has_building = ca_culture_jewish_2
						has_building = ca_culture_jewish_3
						has_building = ca_culture_jewish_4
					}
				}
				NOT = { 
					culture_group = israelite  
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_jewish_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_jewish_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_jewish_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_jewish_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_jewish_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_jewish_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_jewish_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_jewish_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_indian_1
						has_building = ca_culture_indian_2
						has_building = ca_culture_indian_3
						has_building = ca_culture_indian_4
					}
				}
				NOR = { 
					culture_group = indo_aryan_group
					culture_group = dravidian_group
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_indian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_indian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_indian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_indian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_indian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_indian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_indian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_indian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_nubian_1
						has_building = ca_culture_nubian_2
						has_building = ca_culture_nubian_3
						has_building = ca_culture_nubian_4
					}
				}
				NOT = { 
					culture = nubian
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nubian_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_nubian_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nubian_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_nubian_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nubian_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_nubian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_nubian_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_nubian_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_germanic_1
						has_building = ca_culture_germanic_2
						has_building = ca_culture_germanic_3
						has_building = ca_culture_germanic_4
					}
				}
				NOR = { 
					culture = longobard
					culture = old_frankish
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_germanic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_germanic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_germanic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_germanic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_germanic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_nubian_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_germanic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_germanic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_pictish_1
						has_building = ca_culture_pictish_2
						has_building = ca_culture_pictish_3
						has_building = ca_culture_pictish_4
					}
				}
				NOT = { 
					culture = pictish
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_pictish_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_pictish_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_pictish_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_pictish_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_pictish_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_pictish_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_pictish_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_pictish_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_suebi_1
						has_building = ca_culture_suebi_2
						has_building = ca_culture_suebi_3
						has_building = ca_culture_suebi_4
					}
				}
				NOT = { 
					culture = suebi
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_suebi_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_suebi_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_suebi_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_suebi_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_suebi_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_suebi_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_suebi_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_suebi_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_moors_1
						has_building = ca_culture_moors_2
						has_building = ca_culture_moors_3
						has_building = ca_culture_moors_4
					}
				}
				NOR = { 
					culture = andalusian_arabic
					culture = maghreb_arabic
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_moors_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_moors_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_moors_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_moors_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_moors_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_moors_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_moors_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_moors_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_roman_1
						has_building = ca_culture_roman_2
						has_building = ca_culture_roman_3
						has_building = ca_culture_roman_4
					}
				}
				NOT = { 
					culture = roman 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_roman_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_roman_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_roman_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_roman_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_roman_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_roman_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_roman_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_roman_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		if = {
			limit = {
				any_province_holding = {
					OR = {
						has_building = ca_culture_coptic_1
						has_building = ca_culture_coptic_2
						has_building = ca_culture_coptic_3
						has_building = ca_culture_coptic_4
					}
				}
				NOT = { 
					culture = roman 
				}
			}
			any_province_holding = {
				limit = { has_building = ca_culture_coptic_1 }
				set_title_flag = culture_level_1
				remove_building = ca_culture_coptic_1
			}
			any_province_holding = {
				limit = { has_building = ca_culture_coptic_2 }
				set_title_flag = culture_level_2
				remove_building = ca_culture_coptic_2
			}
			any_province_holding = {
				limit = { has_building = ca_culture_coptic_3 }
				set_title_flag = culture_level_3
				remove_building = ca_culture_coptic_3
			}
			any_province_holding = {
				limit = { has_building = ca_culture_coptic_4 }
				set_title_flag = culture_level_4
				remove_building = ca_culture_coptic_4
			}
			province_event = { id = Plus.1700 }
			break = yes
		}
		remove_province_modifier = recent_culture_change
		province_event = { id = Plus.1702 }
	}
}

# Remove the modifier if there are no culture buildings present
province_event = {
	id = Plus.1702
	desc = EVTDESC_Plus_1702
	picture = GFX_evt_busy_trading_dock_republic

	is_triggered_only = yes
	notification = yes
	
	option = {
		name = OK
	}
}

# Province culture changes from Greek to Pontic
province_event = {
	id = Plus.1703
	desc = EVTDESC_Plus_1703
	picture = GFX_evt_stone_church

	trigger = {
		culture = greek
		# A culturally unified empire shouldn't shatter like this
		owner = {
			top_liege = {
				culture = greek
				NOT = { tier = EMPEROR }
			}
			culture = greek
		}
		OR = {
			region = custom_roman_pontus
			owner = { any_liege = { culture = pontic_greek } }
		}
		NOT = { kingdom = { title = k_byzantium } }
	}

	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			any_neighbor_province = { culture = pontic_greek }
		}
		modifier = {
			factor = 0.3
			OR = {
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots
				}
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots_and_slower_normal
				}
			}
		}
	}

	option = {
		name = EVTOPTA_TOG_2000
		trigger = {
			NOT = {
				owner = { culture = pontic_greek }
			}
		}
		add_province_modifier = {
			name = recent_culture_change
			duration = -1
		}
		culture = pontic_greek
	}
	option = {
		name = EVTOPTB_Plus_1703
		trigger = {
			owner = { culture = pontic_greek }
		}
		add_province_modifier = {
			name = recent_culture_change
			duration = -1
		}
		culture = pontic_greek
	}
}

# Province culture changes from Greek to Sicilian-Greek
province_event = {
	id = Plus.1704
	desc = EVTDESC_Plus_1703
	picture = GFX_evt_stone_church

	trigger = {
		culture = greek
		# A culturally unified empire shouldn't shatter like this
		owner = {
			top_liege = {
				culture = greek
				NOT = { tier = EMPEROR }
			}
			culture = greek
		}
		OR = {
			region = custom_sicily
			region = custom_africa
			region = custom_italy
			owner = { any_liege = { culture = sicilian_greek } }
		}
		NOT = { kingdom = { title = k_byzantium } }
	}

	mean_time_to_happen = {
		months = 1200
		modifier = {
			factor = 0.5
			any_neighbor_province = { culture = sicilian_greek }
		}
		modifier = {
			factor = 0.3
			OR = {
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots
				}
				has_game_rule = {
					name = culture_conversion
					value = faster_melting_pots_and_slower_normal
				}
			}
		}
	}

	option = {
		name = EVTOPTA_TOG_2000
		trigger = {
			NOT = {
				owner = { culture = sicilian_greek }
			}
		}
		add_province_modifier = {
			name = recent_culture_change
			duration = -1
		}
		culture = sicilian_greek
	}
	option = {
		name = EVTOPTB_Plus_1703
		trigger = {
			owner = { culture = sicilian_greek }
		}
		add_province_modifier = {
			name = recent_culture_change
			duration = -1
		}
		culture = sicilian_greek
	}
}