# Division of Rome
country_event = {
	id = et.18
	title = "et.EVTNAME18"
	desc = "et.EVTDESC18"
	picture = CIVIL_WAR_eventPicture

	is_triggered_only = yes
	
	option = {
		name = "et.EVTOPTA18"
		ai_chance = { 
			factor = 20
		}
		change_tag = ROW
		clr_country_flag = rome_divided
		every_owned_province = {
			limit = {
				OR = {
					region = greece_region
					region = eastern_balkans
					region = russian_region
					region = anatolia
					region = middle_east
					region = central_asia
					region = egypt_region
					region = cyrenaica_region
					province_id = 138
					province_id = 141
					province_id = 155
					province_id = 156
					province_id = 157
					province_id = 1766
					province_id = 1827
					province_id = 1951
					province_id = 1952
					province_id = 1953
					province_id = 1954
					province_id = 2121
				}
			}
			cede_province = BYZ
			add_core = BYZ
			remove_core = ROW
		}
		if = {
			limit = { has_country_modifier = empire_destabilized }
			remove_country_modifier = empire_destabilized
		}
		if = {
			limit = { has_country_modifier = empire_declining }
			remove_country_modifier = empire_declining
			BYZ = {
				add_country_modifier = {
					name = empire_destabilized
					duration = -1
				}
			}
		}
		if = {
			limit = { has_country_modifier = empire_fragmenting }
			remove_country_modifier = empire_fragmenting
			BYZ = {
				add_country_modifier = {
					name = empire_declining
					duration = -1
				}
			}
		}
		if = {
			limit = { has_country_modifier = empire_collapsing }
			remove_country_modifier = empire_collapsing
			BYZ = {
				add_country_modifier = {
					name = empire_fragmenting
					duration = -1
				}
			}
		}
		if = {
			limit = { has_country_modifier = total_collapse }
			remove_country_modifier = total_collapse
			BYZ = {
				add_country_modifier = {
					name = empire_collapsing
					duration = -1
				}
			}
		}
		BYZ = { change_religion = ROOT }
		BYZ = { change_primary_culture = greek }
	}

	option = {
		name = "et.EVTOPTB18"
		ai_chance = { 
			factor = 80
		}
		change_tag = BYZ
		change_primary_culture = greek
		swap_free_idea_group = yes
		clr_country_flag = rome_divided
		every_owned_province = {
			limit = {
				OR = {
					region = iberian_peninsula
					region = italian_region
					region = the_low_countries
					region = german_region
					region = croatian_region
					region = british_isles
					region = french_region
					region = helvetia
					region = tripoli_region
					region = tunisian_region
					region = algerian_region
					region = moroccan_region
					province_id = 135
					province_id = 137
					province_id = 139
					province_id = 140
					province_id = 1828
					province_id = 1831
					province_id = 1864
				}
			}
			cede_province = ROW
			add_core = ROW
			remove_core = BYZ
		}
		if = {
			limit = { has_country_modifier = empire_destabilized }
			remove_country_modifier = empire_destabilized
		}
		if = {
			limit = { has_country_modifier = empire_declining }
			remove_country_modifier = empire_declining
			ROW = {
				add_country_modifier = {
					name = empire_destabilized
					duration = -1
				}
			}
		}
		if = {
			limit = { has_country_modifier = empire_fragmenting }
			remove_country_modifier = empire_fragmenting
			ROW = {
				add_country_modifier = {
					name = empire_declining
					duration = -1
				}
			}
		}
		if = {
			limit = { has_country_modifier = empire_collapsing }
			remove_country_modifier = empire_collapsing
			ROW = {
				add_country_modifier = {
					name = empire_fragmenting
					duration = -1
				}
			}
		}
		if = {
			limit = { has_country_modifier = total_collapse }
			remove_country_modifier = total_collapse
			ROW = {
				add_country_modifier = {
					name = empire_collapsing
					duration = -1
				}
			}
		}
		ROW = { change_religion = ROOT }
	}

	option = {
		name = "et.EVTOPTC18"
		ai_chance = { 
			factor = 0
		}
		add_stability = -1
		add_adm_power = -50
		add_dip_power = -50
		add_mil_power = -50
		clr_country_flag = rome_divided
	}
}