namespace = fote_province_defection
namespace = regular_revolt
namespace = fote_empire

country_event = {
	id = "fote_empire.1"
	title = "fote_empire.1.t"
	desc = "fote_empire.1.d"
	picture = FORT_eventPicture
	fire_only_once = no
	
	trigger = {
		num_of_owned_provinces_with = {
			value = 70
		}
		OR = {
			stability = 1
			legitimacy_equivalent = 70
		}
		NOT = {
			war_score = 30
		}
		is_in_war = {
			attackers = ROOT
			duration = 1265
		}
	}
	
	mean_time_to_happen = {
		months = 5000
	}
	
	option = {
		name = "fote_empire.1.a"
		add_stability = -1
		add_war_exhaustion = 2
		add_legitimacy = -10
		add_republican_tradition = -10
		add_devotion = -10
		add_inflation = 1
	}
}
country_event = {
	id = "fote_province_defection.1"
	tite = "fote_province_defection.1.t"
	desc = "fote_province_defection.1.d"
	picture = FORT_eventPicture
	fire_only_once = no
	
	trigger = {
		is_at_war = yes
		any_owned_province = {
			any_neighbor_province = {
				NOT = { owned_by = ROOT }
				controlled_by = ROOT
				culture_group = ROOT
				owner = {
					OR = {
						is_in_war = {
							casus_belli = cb_revolt_war
							attacker_leader = ROOT
							defender_leader = THIS
						}
						is_in_war = {
							casus_belli = cb_revolt_war
							defender_leader = ROOT
							 attacker_leader = THIS
						}
					}
				}
			}
		}
    }
	
	mean_time_to_happen = {
		days = 20
	}
	
	immediate = {
		hidden_effect = {
			every_owned_province = {
				limit = {
					any_neighbor_province = {
						NOT = { owned_by = ROOT }
						controlled_by = ROOT
						owner = {
							OR = {
								is_in_war = {
									casus_belli = cb_revolt_war
									attacker_leader = ROOT
									defender_leader = THIS
								}
								is_in_war = {
									casus_belli = cb_revolt_war
									defender_leader = ROOT
									attacker_leader = THIS
								}
							}
						}
					}
				}
				every_neighbor_province = {
					limit = {
						NOT = { owned_by = ROOT }
						controlled_by = ROOT
						owner = {
							OR = {
								is_in_war = {
									casus_belli = cb_revolt_war
									attacker_leader = ROOT
									defender_leader = THIS
								}
								is_in_war = {
									casus_belli = cb_revolt_war
									defender_leader = ROOT
									attacker_leader = THIS
								}
							}
						}
					}
					cede_province = ROOT
					add_territorial_core = ROOT
				}
			}
		}
	}

	option = {
		name = "fote_province_defection.1.a"
	}
}

country_event = {
	id = "regular_revolt.1"
	title = "regular_revolt.1.t"
	desc = "regular_revolt.1.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YAN }
		NOT = { exists = YAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = south_hebei_area
				province_id = 4194
				province_id = 1816
				province_id = 704
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1816
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = south_hebei_area
						province_id = 4194
						province_id = 1816
						province_id = 704
					}
				}
				clear_rebels = yes
				add_core = YAN
			}
			every_owned_province = {
				add_permanent_claim = YAN
			}
			release = YAN
			YAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.1.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.1.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.1.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YAN
			casus_belli = cb_revolt_war
		}
		switch_tag = YAN
	}
}


country_event = {
	id = "regular_revolt.2"
	title = "regular_revolt.2.t"
	desc = "regular_revolt.2.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = QIC }
		NOT = { exists = QIC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = shandong_area
				area = liaoning_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 690
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = shandong_area
						area = liaoning_area
					}
				}
				clear_rebels = yes
				add_core = QIC
			}
			every_owned_province = {
				add_permanent_claim = QIC
			}
			release = QIC
			QIC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.2.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.2.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = QIC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.2.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = QIC
			casus_belli = cb_revolt_war
		}
		switch_tag = QIC
	}
}

country_event = {
	id = "regular_revolt.3"
	title = "regular_revolt.3.t"
	desc = "regular_revolt.3.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JIN }
		NOT = { exists = JIN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = shanxi_area
				province_id = 2136
				province_id = 692
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 693
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = shanxi_area
						province_id = 2136
						province_id = 692
					}
				}
				clear_rebels = yes
				add_core = JIN
			}
			every_owned_province = {
				add_permanent_claim = JIN
			}
			release = JIN
			JIN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.3.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.3.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JIN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.3.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JIN
			casus_belli = cb_revolt_war
		}
		switch_tag = JIN
	}
}


country_event = {
	id = "regular_revolt.4"
	title = "regular_revolt.4.t"
	desc = "regular_revolt.4.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { exists = TNG }
		NOT = { tag = TNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 687
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 687
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 687
					}
				}
				clear_rebels = yes
				add_core = TNG
			}
			every_owned_province = {
				add_permanent_claim = TNG
			}
			release = TNG
			TNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.4.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.4.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.4.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TNG
			casus_belli = cb_revolt_war
		}
		switch_tag = TNG
	}
}

country_event = {
	id = "regular_revolt.5"
	title = "regular_revolt.5.t"
	desc = "regular_revolt.5.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LNG }
		NOT = { exists = LNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1836
				province_id = 688
				province_id = 2176
				province_id = 2175
				province_id = 2144
				province_id = 2143
				province_id = 2141
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1836
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1836
						province_id = 688
						province_id = 2176
						province_id = 2175
						province_id = 2144
						province_id = 2143
						province_id = 2141
					}
				}
				clear_rebels = yes
				add_core = LNG
			}
			every_owned_province = {
				add_permanent_claim = LNG
			}
			release = LNG
			LNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.5.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.5.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.5.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LNG
			casus_belli = cb_revolt_war
		}
		switch_tag = LNG
	}
}

country_event = {
	id = "regular_revolt.6"
	title = "regular_revolt.6.t"
	desc = "regular_revolt.6.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MNG }
		NOT = { exists = MNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1838
				province_id = 686
				province_id = 1821
				province_id = 685
				province_id = 2145
				province_id = 2142
				province_id = 4196
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 686
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1838
						province_id = 686
						province_id = 1821
						province_id = 685
						province_id = 2145
						province_id = 2142
						province_id = 4196
					}
				}
				clear_rebels = yes
				add_core = MNG
			}
			every_owned_province = {
				add_permanent_claim = MNG
			}
			release = MNG
			MNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.6.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.6.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.6.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MNG
			casus_belli = cb_revolt_war
		}
		switch_tag = MNG
	}
}


country_event = {
	id = "regular_revolt.5"
	title = "regular_revolt.5.t"
	desc = "regular_revolt.5.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LNG }
		NOT = { exists = LNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1836
				province_id = 688
				province_id = 2176
				province_id = 2175
				province_id = 2144
				province_id = 2143
				province_id = 2141
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1836
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1836
						province_id = 688
						province_id = 2176
						province_id = 2175
						province_id = 2144
						province_id = 2143
						province_id = 2141
					}
				}
				clear_rebels = yes
				add_core = LNG
			}
			every_owned_province = {
				add_permanent_claim = LNG
			}
			release = LNG
			LNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.5.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.5.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.5.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LNG
			casus_belli = cb_revolt_war
		}
		switch_tag = LNG
	}
}

country_event = {
	id = "regular_revolt.7"
	title = "regular_revolt.7.t"
	desc = "regular_revolt.7.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WUU }
		NOT = { exists = WUU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1822
				province_id = 2146
				province_id = 2147
				area = zhejiang_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1822
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1822
						province_id = 2146
						province_id = 2147
						area = zhejiang_area
					}
				}
				clear_rebels = yes
				add_core = WUU
			}
			every_owned_province = {
				add_permanent_claim = WUU
			}
			release = WUU
			WUU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.7.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.7.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WUU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.7.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WUU
			casus_belli = cb_revolt_war
		}
		switch_tag = WUU
	}
}

country_event = {
	id = "regular_revolt.8"
	title = "regular_revolt.8.t"
	desc = "regular_revolt.8.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NNG }
		NOT = { exists = NNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2153
				province_id = 2152
				area = jiangxi_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2153
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2153
						province_id = 2152
						area = jiangxi_area
					}
				}
				clear_rebels = yes
				add_core = NNG
			}
			every_owned_province = {
				add_permanent_claim = NNG
			}
			release = NNG
			NNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.8.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.8.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.8.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NNG
			casus_belli = cb_revolt_war
		}
		switch_tag = NNG
	}
}


country_event = {
	id = "regular_revolt.9"
	title = "regular_revolt.9.t"
	desc = "regular_revolt.9.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MIN }
		NOT = { exists = MIN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2156
				area = fujian_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2156
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2156
						area = fujian_area
					}
				}
				clear_rebels = yes
				add_core = MIN
			}
			every_owned_province = {
				add_permanent_claim = MIN
			}
			release = MIN
			MIN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.9.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.9.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MIN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.9.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MIN
			casus_belli = cb_revolt_war
		}
		switch_tag = MIN
	}
}

country_event = {
	id = "regular_revolt.10"
	title = "regular_revolt.10.t"
	desc = "regular_revolt.10.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YUE }
		NOT = { exists = YUE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = guangdong_area
				area = west_guangdong_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2156
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = west_guangdong_area
						area = guangdong_area
					}
				}
				clear_rebels = yes
				add_core = YUE
			}
			every_owned_province = {
				add_permanent_claim = YUE
			}
			release = YUE
			YUE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.10.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.10.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YUE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.10.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YUE
			casus_belli = cb_revolt_war
		}
		switch_tag = YUE
	}
}


country_event = {
	id = "regular_revolt.11"
	title = "regular_revolt.11.t"
	desc = "regular_revolt.11.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HUA }
		NOT = { exists = HUA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2158
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2158
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2158
					}
				}
				clear_rebels = yes
				add_core = HUA
			}
			every_owned_province = {
				add_permanent_claim = HUA
			}
			release = HUA
			HUA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.11.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.11.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HUA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.11.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HUA
			casus_belli = cb_revolt_war
		}
		switch_tag = HUA
	}
}

country_event = {
	id = "regular_revolt.12"
	title = "regular_revolt.12.t"
	desc = "regular_revolt.12.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CMI }
		NOT = { exists = CMI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2174
				province_id = 2173
				province_id = 4199
				province_id = 673
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2174
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2174
						province_id = 2173
						province_id = 4199
						province_id = 673
					}
				}
				clear_rebels = yes
				add_core = CMI
			}
			every_owned_province = {
				add_permanent_claim = CMI
			}
			release = CMI
			CMI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.12.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.12.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CMI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.12.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CMI
			casus_belli = cb_revolt_war
		}
		switch_tag = CMI
	}
}

country_event = {
	id = "regular_revolt.13"
	title = "regular_revolt.13.t"
	desc = "regular_revolt.13.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHC }
		NOT = { exists = CHC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = huguang_area
				province_id = 672
				province_id = 671
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2174
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = huguang_area
						province_id = 672
						province_id = 671
					}
				}
				clear_rebels = yes
				add_core = CHC
			}
			every_owned_province = {
				add_permanent_claim = CHC
			}
			release = CHC
			CHC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.13.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.13.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.13.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHC
			casus_belli = cb_revolt_war
		}
		switch_tag = CHC
	}
}

country_event = {
	id = "regular_revolt.14"
	title = "regular_revolt.14.t"
	desc = "regular_revolt.14.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CGS }
		NOT = { exists = CGS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = guangxi_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 664
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = guangxi_area
					}
				}
				clear_rebels = yes
				add_core = CGS
			}
			every_owned_province = {
				add_permanent_claim = CGS
			}
			release = CGS
			CGS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_primary_culture = zhuang
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.14.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.14.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CGS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.14.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CGS
			casus_belli = cb_revolt_war
		}
		switch_tag = CGS
	}
}


country_event = {
	id = "regular_revolt.15"
	title = "regular_revolt.15.t"
	desc = "regular_revolt.15.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CDL }
		NOT = { exists = CDL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = yun_gui_borderland_area
				area = yun_gui_area
				area = chuannan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 664
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = yun_gui_borderland_area
						area = yun_gui_area
						area = chuannan_area
					}
				}
				clear_rebels = yes
				add_core = CDL
			}
			every_owned_province = {
				add_permanent_claim = CDL
			}
			release = CDL
			CDL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				change_primary_culture = bai

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.15.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.15.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CDL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.15.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CDL
			casus_belli = cb_revolt_war
		}
		switch_tag = CDL
	}
}


country_event = {
	id = "regular_revolt.16"
	title = "regular_revolt.16.t"
	desc = "regular_revolt.16.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CXI }
		NOT = { exists = CXI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sichuan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 679
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sichuan_area
					}
				}
				clear_rebels = yes
				add_core = CXI
			}
			every_owned_province = {
				add_permanent_claim = CXI
			}
			release = CXI
			CXI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.16.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.16.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CXI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.16.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CXI
			casus_belli = cb_revolt_war
		}
		switch_tag = CXI
	}
}

country_event = {
	id = "regular_revolt.17"
	title = "regular_revolt.17.t"
	desc = "regular_revolt.17.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SHU }
		NOT = { exists = SHU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = chuanbei_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2169
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = chuanbei_area
					}
				}
				clear_rebels = yes
				add_core = SHU
			}
			every_owned_province = {
				add_permanent_claim = SHU
			}
			release = SHU
			SHU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.17.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.17.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SHU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.17.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SHU
			casus_belli = cb_revolt_war
		}
		switch_tag = SHU
	}
}


country_event = {
	id = "regular_revolt.18"
	title = "regular_revolt.18.t"
	desc = "regular_revolt.18.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = QIN }
		NOT = { exists = QIN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = shaanxi_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2169
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = shaanxi_area
					}
				}
				clear_rebels = yes
				add_core = QIN
			}
			every_owned_province = {
				add_permanent_claim = QIN
			}
			release = QIN
			QIN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.18.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.18.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = QIN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.18.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = QIN
			casus_belli = cb_revolt_war
		}
		switch_tag = QIN
	}
}


country_event = {
	id = "regular_revolt.19"
	title = "regular_revolt.19.t"
	desc = "regular_revolt.19.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CSH }
		NOT = { exists = CSH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = gansu_area
				area = west_gansu_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2182
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = gansu_area
						area = west_gansu_area
					}
				}
				clear_rebels = yes
				add_core = CSH
			}
			every_owned_province = {
				add_permanent_claim = CSH
			}
			release = CSH
			CSH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.19.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.19.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CSH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.19.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CSH
			casus_belli = cb_revolt_war
		}
		switch_tag = CSH
	}
}

country_event = {
	id = "regular_revolt.20"
	title = "regular_revolt.20.t"
	desc = "regular_revolt.20.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KOR }
		NOT = { exists = KOR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = pyongan_area
				area = hamgyeong_area
				area = western_korea_area
				area = eastern_korea_area
				area = south_korea_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2182
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = pyongan_area
						area = hamgyeong_area
						area = western_korea_area
						area = eastern_korea_area
						area = south_korea_area
					}
				}
				clear_rebels = yes
				add_core = KOR
			}
			every_owned_province = {
				add_permanent_claim = KOR
			}
			release = KOR
			KOR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.20.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.20.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.20.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KOR
			casus_belli = cb_revolt_war
		}
		switch_tag = KOR
	}
}


country_event = {
	id = "regular_revolt.21"
	title = "regular_revolt.21.t"
	desc = "regular_revolt.21.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RYU }
		NOT = { exists = RYU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1015
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1015
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1015
					}
				}
				clear_rebels = yes
				add_core = RYU
			}
			every_owned_province = {
				add_permanent_claim = RYU
			}
			release = RYU
			RYU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.21.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.21.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RYU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.21.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RYU
			casus_belli = cb_revolt_war
		}
		switch_tag = RYU
	}
}


country_event = {
	id = "regular_revolt.22"
	title = "regular_revolt.22.t"
	desc = "regular_revolt.22.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SMZ }
		NOT = { exists = SMZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1012
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1012
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1012
					}
				}
				clear_rebels = yes
				add_core = SMZ
			}
			every_owned_province = {
				add_permanent_claim = SMZ
			}
			release = SMZ
			SMZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.22.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.22.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SMZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.22.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SMZ
			casus_belli = cb_revolt_war
		}
		switch_tag = SMZ
	}
}


country_event = {
	id = "regular_revolt.23"
	title = "regular_revolt.23.t"
	desc = "regular_revolt.23.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ITO }
		NOT = { exists = ITO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4180
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4180
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4180
					}
				}
				clear_rebels = yes
				add_core = ITO
			}
			every_owned_province = {
				add_permanent_claim = ITO
			}
			release = ITO
			ITO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.23.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.23.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ITO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.23.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ITO
			casus_belli = cb_revolt_war
		}
		switch_tag = ITO
	}
}

country_event = {
	id = "regular_revolt.24"
	title = "regular_revolt.24.t"
	desc = "regular_revolt.24.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KKC }
		NOT = { exists = KKC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4181
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4181
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4181
					}
				}
				clear_rebels = yes
				add_core = KKC
			}
			every_owned_province = {
				add_permanent_claim = KKC
			}
			release = KKC
			KKC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.24.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.24.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KKC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.24.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KKC
			casus_belli = cb_revolt_war
		}
		switch_tag = KKC
	}
}
country_event = {
	id = "regular_revolt.25"
	title = "regular_revolt.25.t"
	desc = "regular_revolt.25.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OTM }
		NOT = { exists = OTM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1014
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1014
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1014
					}
				}
				clear_rebels = yes
				add_core = OTM
			}
			every_owned_province = {
				add_permanent_claim = OTM
			}
			release = OTM
			OTM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.25.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.25.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OTM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.25.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OTM
			casus_belli = cb_revolt_war
		}
		switch_tag = OTM
	}
}

country_event = {
	id = "regular_revolt.26"
	title = "regular_revolt.26.t"
	desc = "regular_revolt.26.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SHN }
		NOT = { exists = SHN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4182
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4182
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4182
					}
				}
				clear_rebels = yes
				add_core = SHN
			}
			every_owned_province = {
				add_permanent_claim = SHN
			}
			release = SHN
			SHN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.26.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.26.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SHN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.26.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SHN
			casus_belli = cb_revolt_war
		}
		switch_tag = SHN
	}
}


country_event = {
	id = "regular_revolt.27"
	title = "regular_revolt.27.t"
	desc = "regular_revolt.27.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SOO }
		NOT = { exists = SOO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4651
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4651
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4651
					}
				}
				clear_rebels = yes
				add_core = SOO
			}
			every_owned_province = {
				add_permanent_claim = SOO
			}
			release = SOO
			SOO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.27.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.27.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SOO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.27.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SOO
			casus_belli = cb_revolt_war
		}
		switch_tag = SOO
	}
}


country_event = {
	id = "regular_revolt.28"
	title = "regular_revolt.28.t"
	desc = "regular_revolt.28.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OUC }
		NOT = { exists = OUC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1818
				province_id = 1017
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1017
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1818
						province_id = 1017
					}
				}
				clear_rebels = yes
				add_core = OUC
			}
			every_owned_province = {
				add_permanent_claim = OUC
			}
			release = OUC
			OUC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.28.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.28.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OUC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.28.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OUC
			casus_belli = cb_revolt_war
		}
		switch_tag = OUC
	}
}

country_event = {
	id = "regular_revolt.29"
	title = "regular_revolt.29.t"
	desc = "regular_revolt.29.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KNO }
		NOT = { exists = KNO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4186
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4186
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4186
					}
				}
				clear_rebels = yes
				add_core = KNO
			}
			every_owned_province = {
				add_permanent_claim = KNO
			}
			release = KNO
			KNO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.29.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.29.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KNO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.29.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KNO
			casus_belli = cb_revolt_war
		}
		switch_tag = KNO
	}
}


country_event = {
	id = "regular_revolt.30"
	title = "regular_revolt.30.t"
	desc = "regular_revolt.30.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CSK }
		NOT = { exists = CSK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1819
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1819
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1819
					}
				}
				clear_rebels = yes
				add_core = CSK
			}
			every_owned_province = {
				add_permanent_claim = CSK
			}
			release = CSK
			CSK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.30.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.30.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CSK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.30.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CSK
			casus_belli = cb_revolt_war
		}
		switch_tag = CSK
	}
}

country_event = {
	id = "regular_revolt.31"
	title = "regular_revolt.31.t"
	desc = "regular_revolt.31.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MRI }
		NOT = { exists = MRI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1825
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1825
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1825
					}
				}
				clear_rebels = yes
				add_core = MRI
			}
			every_owned_province = {
				add_permanent_claim = MRI
			}
			release = MRI
			MRI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.31.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.31.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MRI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.31.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MRI
			casus_belli = cb_revolt_war
		}
		switch_tag = MRI
	}
}


country_event = {
	id = "regular_revolt.32"
	title = "regular_revolt.32.t"
	desc = "regular_revolt.32.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AMA }
		NOT = { exists = AMA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1018
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1018
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1018
					}
				}
				clear_rebels = yes
				add_core = AMA
			}
			every_owned_province = {
				add_permanent_claim = AMA
			}
			release = AMA
			AMA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.32.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.32.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AMA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.32.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AMA
			casus_belli = cb_revolt_war
		}
		switch_tag = AMA
	}
}


country_event = {
	id = "regular_revolt.33"
	title = "regular_revolt.33.t"
	desc = "regular_revolt.33.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AKM }
		NOT = { exists = AKM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1019
				province_id = 4184
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1019
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1019
						province_id = 4184
					}
				}
				clear_rebels = yes
				add_core = AKM
			}
			every_owned_province = {
				add_permanent_claim = AKM
			}
			release = AKM
			AKM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.33.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.33.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AKM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.33.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AKM
			casus_belli = cb_revolt_war
		}
		switch_tag = AKM
	}
}


country_event = {
	id = "regular_revolt.34"
	title = "regular_revolt.34.t"
	desc = "regular_revolt.34.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YMN }
		NOT = { exists = YMN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1830
				province_id = 4183
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1830
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1830
						province_id = 4183
					}
				}
				clear_rebels = yes
				add_core = YMN
			}
			every_owned_province = {
				add_permanent_claim = YMN
			}
			release = YMN
			YMN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.34.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.34.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YMN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.34.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YMN
			casus_belli = cb_revolt_war
		}
		switch_tag = YMN
	}
}

country_event = {
	id = "regular_revolt.35"
	title = "regular_revolt.35.t"
	desc = "regular_revolt.35.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HSK }
		NOT = { exists = HSK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1820
				province_id = 1021
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1820
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1820
						province_id = 1021
					}
				}
				clear_rebels = yes
				add_core = HSK
			}
			every_owned_province = {
				add_permanent_claim = HSK
			}
			release = HSK
			HSK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.35.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.35.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HSK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.35.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HSK
			casus_belli = cb_revolt_war
		}
		switch_tag = HSK
	}
}


country_event = {
	id = "regular_revolt.36"
	title = "regular_revolt.36.t"
	desc = "regular_revolt.36.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HTK }
		NOT = { exists = HTK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4187
				province_id = 1837
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4187
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4187
						province_id = 1837
					}
				}
				clear_rebels = yes
				add_core = HTK
			}
			every_owned_province = {
				add_permanent_claim = HTK
			}
			release = HTK
			HTK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.36.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.36.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HTK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.36.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HTK
			casus_belli = cb_revolt_war
		}
		switch_tag = HTK
	}
}

country_event = {
	id = "regular_revolt.37"
	title = "regular_revolt.37.t"
	desc = "regular_revolt.37.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ASK }
		NOT = { tag = JAP }
		NOT = { exists = ASK }
		NOT = { exists = JAP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4189
				province_id = 1020
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1020
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4189
						province_id = 1020
					}
				}
				clear_rebels = yes
				add_core = ASK
			}
			every_owned_province = {
				add_permanent_claim = ASK
			}
			release = ASK
			ASK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.37.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.37.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ASK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.37.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ASK
			casus_belli = cb_revolt_war
		}
		switch_tag = ASK
	}
}

country_event = {
	id = "regular_revolt.38"
	title = "regular_revolt.38.t"
	desc = "regular_revolt.38.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SBA }
		NOT = { exists = SBA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1025
				province_id = 1023
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1023
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1025
						province_id = 1023
					}
				}
				clear_rebels = yes
				add_core = SBA
			}
			every_owned_province = {
				add_permanent_claim = SBA
			}
			release = SBA
			SBA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.38.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.38.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SBA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.38.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SBA
			casus_belli = cb_revolt_war
		}
		switch_tag = SBA
	}
}

country_event = {
	id = "regular_revolt.39"
	title = "regular_revolt.39.t"
	desc = "regular_revolt.39.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AKT }
		NOT = { exists = AKT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4192
				province_id = 4193
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4192
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4192
						province_id = 4193
					}
				}
				clear_rebels = yes
				add_core = AKT
			}
			every_owned_province = {
				add_permanent_claim = AKT
			}
			release = AKT
			AKT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.39.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.39.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AKT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.39.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AKT
			casus_belli = cb_revolt_war
		}
		switch_tag = AKT
	}
}

country_event = {
	id = "regular_revolt.40"
	title = "regular_revolt.40.t"
	desc = "regular_revolt.40.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = UES }
		NOT = { exists = UES }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1028
				province_id = 1843
				province_id = 1024
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1028
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1028
						province_id = 1843
						province_id = 1024
					}
				}
				clear_rebels = yes
				add_core = UES
			}
			every_owned_province = {
				add_permanent_claim = UES
			}
			release = UES
			UES = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.40.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.40.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = UES
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.40.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = UES
			casus_belli = cb_revolt_war
		}
		switch_tag = UES
	}
}

country_event = {
	id = "regular_revolt.41"
	title = "regular_revolt.41.t"
	desc = "regular_revolt.41.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ISK }
		NOT = { exists = ISK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4185
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1028
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4185
					}
				}
				clear_rebels = yes
				add_core = ISK
			}
			every_owned_province = {
				add_permanent_claim = ISK
			}
			release = ISK
			ISK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.41.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.41.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ISK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.41.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ISK
			casus_belli = cb_revolt_war
		}
		switch_tag = ISK
	}
}

country_event = {
	id = "regular_revolt.42"
	title = "regular_revolt.42.t"
	desc = "regular_revolt.42.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TTI }
		NOT = { exists = TTI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1832
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1832
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1832
					}
				}
				clear_rebels = yes
				add_core = TTI
			}
			every_owned_province = {
				add_permanent_claim = TTI
			}
			release = TTI
			TTI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.42.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.42.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TTI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.42.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TTI
			casus_belli = cb_revolt_war
		}
		switch_tag = TTI
	}
}

country_event = {
	id = "regular_revolt.43"
	title = "regular_revolt.43.t"
	desc = "regular_revolt.43.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KTB }
		NOT = { exists = KTB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4359
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4359
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4359
					}
				}
				clear_rebels = yes
				add_core = KTB
			}
			every_owned_province = {
				add_permanent_claim = KTB
			}
			release = KTB
			KTB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.43.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.43.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KTB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.43.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KTB
			casus_belli = cb_revolt_war
		}
		switch_tag = KTB
	}
}

country_event = {
	id = "regular_revolt.44"
	title = "regular_revolt.44.t"
	desc = "regular_revolt.44.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ODA }
		NOT = { exists = ODA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1030
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1030
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1030
					}
				}
				clear_rebels = yes
				add_core = ODA
			}
			every_owned_province = {
				add_permanent_claim = ODA
			}
			release = ODA
			ODA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.44.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.44.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ODA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.44.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ODA
			casus_belli = cb_revolt_war
		}
		switch_tag = ODA
	}
}

country_event = {
	id = "regular_revolt.45"
	title = "regular_revolt.45.t"
	desc = "regular_revolt.45.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TKI }
		NOT = { exists = TKI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1835
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1835
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1835
					}
				}
				clear_rebels = yes
				add_core = TKI
			}
			every_owned_province = {
				add_permanent_claim = TKI
			}
			release = TKI
			TKI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.45.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.45.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TKI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.45.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TKI
			casus_belli = cb_revolt_war
		}
		switch_tag = TKI
	}
}

country_event = {
	id = "regular_revolt.46"
	title = "regular_revolt.46.t"
	desc = "regular_revolt.46.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TKG }
		NOT = { exists = TKG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4360
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4360
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4360
					}
				}
				clear_rebels = yes
				add_core = TKG
			}
			every_owned_province = {
				add_permanent_claim = TKG
			}
			release = TKG
			TKG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.46.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.46.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TKG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.46.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TKG
			casus_belli = cb_revolt_war
		}
		switch_tag = TKG
	}
}

country_event = {
	id = "regular_revolt.47"
	title = "regular_revolt.47.t"
	desc = "regular_revolt.47.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OGS }
		NOT = { exists = OGS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4188
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4188
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4188
					}
				}
				clear_rebels = yes
				add_core = OGS
			}
			every_owned_province = {
				add_permanent_claim = OGS
			}
			release = OGS
			OGS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.47.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.47.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OGS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.47.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OGS
			casus_belli = cb_revolt_war
		}
		switch_tag = OGS
	}
}

country_event = {
	id = "regular_revolt.48"
	title = "regular_revolt.48.t"
	desc = "regular_revolt.48.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TKD }
		NOT = { exists = TKD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1029
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1029
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1029
					}
				}
				clear_rebels = yes
				add_core = TKD
			}
			every_owned_province = {
				add_permanent_claim = TKD
			}
			release = TKD
			TKD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.48.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.48.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TKD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.48.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TKD
			casus_belli = cb_revolt_war
		}
		switch_tag = TKD
	}
}

country_event = {
	id = "regular_revolt.49"
	title = "regular_revolt.49.t"
	desc = "regular_revolt.49.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = IMG }
		NOT = { exists = IMG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1839
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1839
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1839
					}
				}
				clear_rebels = yes
				add_core = IMG
			}
			every_owned_province = {
				add_permanent_claim = IMG
			}
			release = IMG
			IMG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.49.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.49.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = IMG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.49.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = IMG
			casus_belli = cb_revolt_war
		}
		switch_tag = IMG
	}
}

country_event = {
	id = "regular_revolt.50"
	title = "regular_revolt.50.t"
	desc = "regular_revolt.50.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CBA }
		NOT = { exists = CBA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4190
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4190
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4190
					}
				}
				clear_rebels = yes
				add_core = CBA
			}
			every_owned_province = {
				add_permanent_claim = CBA
			}
			release = CBA
			CBA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.50.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.50.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CBA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.50.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CBA
			casus_belli = cb_revolt_war
		}
		switch_tag = CBA
	}
}
country_event = {
	id = "regular_revolt.51"
	title = "regular_revolt.51.t"
	desc = "regular_revolt.51.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = STK }
		NOT = { exists = STK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1027
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1027
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1027
					}
				}
				clear_rebels = yes
				add_core = STK
			}
			every_owned_province = {
				add_permanent_claim = STK
			}
			release = STK
			STK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.51.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.51.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = STK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.51.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = STK
			casus_belli = cb_revolt_war
		}
		switch_tag = STK
	}
}

country_event = {
	id = "regular_revolt.52"
	title = "regular_revolt.52.t"
	desc = "regular_revolt.52.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = UTN }
		NOT = { exists = UTN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4191
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4191
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4191
					}
				}
				clear_rebels = yes
				add_core = UTN
			}
			every_owned_province = {
				add_permanent_claim = UTN
			}
			release = UTN
			UTN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.52.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.52.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = UTN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.52.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = UTN
			casus_belli = cb_revolt_war
		}
		switch_tag = UTN
	}
}

country_event = {
	id = "regular_revolt.53"
	title = "regular_revolt.53.t"
	desc = "regular_revolt.53.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DTE }
		NOT = { exists = DTE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1026
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1026
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1026
					}
				}
				clear_rebels = yes
				add_core = DTE
			}
			every_owned_province = {
				add_permanent_claim = DTE
			}
			release = DTE
			DTE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.53.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.53.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DTE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.53.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DTE
			casus_belli = cb_revolt_war
		}
		switch_tag = DTE
	}
}

country_event = {
	id = "regular_revolt.54"
	title = "regular_revolt.54.t"
	desc = "regular_revolt.54.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RFR }
		NOT = { exists = RFR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4131
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4131
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4131
					}
				}
				clear_rebels = yes
				add_core = RFR
			}
			every_owned_province = {
				add_permanent_claim = RFR
			}
			release = RFR
			RFR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.54.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.54.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RFR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.54.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RFR
			casus_belli = cb_revolt_war
		}
		switch_tag = RFR
	}
}
country_event = {
	id = "regular_revolt.55"
	title = "regular_revolt.55.t"
	desc = "regular_revolt.55.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ANU }
		NOT = { exists = ANU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1033
				area = hokkaido_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1852
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1033
						area = hokkaido_area
					}
				}
				clear_rebels = yes
				add_core = ANU
			}
			every_owned_province = {
				add_permanent_claim = ANU
			}
			release = ANU
			ANU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.55.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.55.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ANU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.55.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ANU
			casus_belli = cb_revolt_war
		}
		switch_tag = ANU
	}
}

country_event = {
	id = "regular_revolt.56"
	title = "regular_revolt.56.t"
	desc = "regular_revolt.56.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NVK }
		NOT = { exists = NVK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4658
				province_id = 1050
				province_id = 4214
				province_id = 1048
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4658
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4658
						province_id = 1050
						province_id = 4214
						province_id = 1048
					}
				}
				clear_rebels = yes
				add_core = NVK
			}
			every_owned_province = {
				add_permanent_claim = NVK
			}
			release = NVK
			NVK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.56.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.56.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NVK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.56.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NVK
			casus_belli = cb_revolt_war
		}
		switch_tag = NVK
	}
}

country_event = {
	id = "regular_revolt.57"
	title = "regular_revolt.57.t"
	desc = "regular_revolt.57.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NHX }
		NOT = { exists = NHX }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4655
				province_id = 1850
				province_id = 2186
				province_id = 4217
				province_id = 4656
				province_id = 729
				province_id = 4216
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4655
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4655
						province_id = 1850
						province_id = 2186
						province_id = 4217
						province_id = 4656
						province_id = 729
						province_id = 4216
					}
				}
				clear_rebels = yes
				add_core = NHX
			}
			every_owned_province = {
				add_permanent_claim = NHX
			}
			release = NHX
			NHX = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.57.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.57.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NHX
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.57.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NHX
			casus_belli = cb_revolt_war
		}
		switch_tag = NHX
	}
}

country_event = {
	id = "regular_revolt.58"
	title = "regular_revolt.58.t"
	desc = "regular_revolt.58.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = EJZ }
		NOT = { exists = EJZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4663
				province_id = 731
				province_id = 2105
				province_id = 4215
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4663
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4663
						province_id = 731
						province_id = 2105
						province_id = 4215
					}
				}
				clear_rebels = yes
				add_core = EJZ
			}
			every_owned_province = {
				add_permanent_claim = EJZ
			}
			release = EJZ
			EJZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.58.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.58.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = EJZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.58.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = EJZ
			casus_belli = cb_revolt_war
		}
		switch_tag = EJZ
	}
}
country_event = {
	id = "regular_revolt.59"
	title = "regular_revolt.59.t"
	desc = "regular_revolt.59.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MJZ }
		NOT = { tag = MCH }
		NOT = { exists = MJZ }
		NOT = { exists = MCH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4201
				province_id = 4653
				province_id = 2111
				province_id = 2108
				province_id = 2106
				province_id = 4654
				province_id = 2107
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4201
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4201
						province_id = 4653
						province_id = 2111
						province_id = 2108
						province_id = 2106
						province_id = 4654
						province_id = 2107
					}
				}
				clear_rebels = yes
				add_core = MJZ
			}
			every_owned_province = {
				add_permanent_claim = MJZ
			}
			release = MJZ
			MJZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.59.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.59.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MJZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.59.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MJZ
			casus_belli = cb_revolt_war
		}
		switch_tag = MJZ
	}
}

country_event = {
	id = "regular_revolt.60"
	title = "regular_revolt.60.t"
	desc = "regular_revolt.60.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MHX }
		NOT = { exists = MHX }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 730
				province_id = 2110
				province_id = 4661
				province_id = 2188
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 730
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 730
						province_id = 2110
						province_id = 4661
						province_id = 2188
					}
				}
				clear_rebels = yes
				add_core = MHX
			}
			every_owned_province = {
				add_permanent_claim = MHX
			}
			release = MHX
			MHX = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.60.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.60.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MHX
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.60.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MHX
			casus_belli = cb_revolt_war
		}
		switch_tag = MHX
	}
}

country_event = {
	id = "regular_revolt.61"
	title = "regular_revolt.61.t"
	desc = "regular_revolt.61.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SOL }
		NOT = { exists = SOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2102
				province_id = 2103
				province_id = 4659
				province_id = 1049
				province_id = 4662
				province_id = 1053
				province_id = 4664
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2102
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2102
						province_id = 2103
						province_id = 4659
						province_id = 1049
						province_id = 4662
						province_id = 1053
						province_id = 4664
					}
				}
				clear_rebels = yes
				add_core = SOL
			}
			every_owned_province = {
				add_permanent_claim = SOL
			}
			release = SOL
			SOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.61.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.61.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.61.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SOL
			casus_belli = cb_revolt_war
		}
		switch_tag = SOL
	}
}

country_event = {
	id = "regular_revolt.62"
	title = "regular_revolt.62.t"
	desc = "regular_revolt.62.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRC }
		NOT = { exists = KRC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4674
				province_id = 4665
				province_id = 4218
				province_id = 725
				province_id = 2187
				province_id = 4202
				province_id = 2109
				province_id = 4675
				province_id = 722
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4674
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4674
						province_id = 4665
						province_id = 4218
						province_id = 725
						province_id = 2187
						province_id = 4202
						province_id = 2109
						province_id = 4675
						province_id = 722
					}
				}
				clear_rebels = yes
				add_core = KRC
			}
			every_owned_province = {
				add_permanent_claim = KRC
			}
			release = KRC
			KRC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.62.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.62.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.62.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRC
			casus_belli = cb_revolt_war
		}
		switch_tag = KRC
	}
}

country_event = {
	id = "regular_revolt.63"
	title = "regular_revolt.63.t"
	desc = "regular_revolt.63.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHH }
		NOT = { exists = CHH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4671
				province_id = 2114
				province_id = 723
				province_id = 4673
				area = chahar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4671
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4671
						province_id = 2114
						province_id = 723
						province_id = 4673
						area = chahar_area
					}
				}
				clear_rebels = yes
				add_core = CHH
			}
			every_owned_province = {
				add_permanent_claim = CHH
			}
			release = CHH
			CHH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.63.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.63.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.63.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHH
			casus_belli = cb_revolt_war
		}
		switch_tag = CHH
	}
}

country_event = {
	id = "regular_revolt.64"
	title = "regular_revolt.64.t"
	desc = "regular_revolt.64.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MYR }
		NOT = { exists = MYR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2104
				area = central_heilongjiang_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2104
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2104
						area = central_heilongjiang_area
					}
				}
				clear_rebels = yes
				add_core = MYR
			}
			every_owned_province = {
				add_permanent_claim = MYR
			}
			release = MYR
			MYR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.64.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.64.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MYR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.64.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MYR
			casus_belli = cb_revolt_war
		}
		switch_tag = MYR
	}
}

country_event = {
	id = "regular_revolt.65"
	title = "regular_revolt.65.t"
	desc = "regular_revolt.65.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KHA }
		NOT = { exists = KHA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2116
				province_id = 4220
				province_id = 4668
				province_id = 717
				province_id = 1058
				province_id = 724
				province_id = 4667
				province_id = 4666
				province_id = 4219
				province_id = 701
				province_id = 4223
				province_id = 702
				province_id = 2747
				province_id = 4670
				province_id = 720
				province_id = 4221
				province_id = 4669
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2116
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2116
						province_id = 4220
						province_id = 4668
						province_id = 717
						province_id = 1058
						province_id = 724
						province_id = 4667
						province_id = 4666
						province_id = 4219
						province_id = 701
						province_id = 4223
						province_id = 702
						province_id = 2747
						province_id = 4670
						province_id = 720
						province_id = 4221
						province_id = 4669
					}
				}
				clear_rebels = yes
				add_core = KHA
			}
			every_owned_province = {
				add_permanent_claim = KHA
			}
			release = KHA
			KHA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.65.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.65.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KHA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.65.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KHA
			casus_belli = cb_revolt_war
		}
		switch_tag = KHA
	}
}

country_event = {
	id = "regular_revolt.66"
	title = "regular_revolt.66.t"
	desc = "regular_revolt.66.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HMI }
		NOT = { exists = HMI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2122
				province_id = 707
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2122
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2122
						province_id = 707
					}
				}
				clear_rebels = yes
				add_core = HMI
			}
			every_owned_province = {
				add_permanent_claim = HMI
			}
			release = HMI
			HMI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.66.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.66.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HMI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.66.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HMI
			casus_belli = cb_revolt_war
		}
		switch_tag = HMI
	}
}

country_event = {
	id = "regular_revolt.67"
	title = "regular_revolt.67.t"
	desc = "regular_revolt.67.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OIR }
		NOT = { exists = OIR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 709
				province_id = 4676
				province_id = 2191
				province_id = 4677
				province_id = 4206
				province_id = 2193
				province_id = 4678
				province_id = 2190
				province_id = 719
				province_id = 2189
				province_id = 4679
				province_id = 716
				province_id = 4681
				province_id = 1066
				province_id = 1065
				province_id = 480
				province_id = 2434
				province_id = 4687
				province_id = 4684
				province_id = 2118
				province_id = 2119
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2116
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 709
						province_id = 4676
						province_id = 2191
						province_id = 4677
						province_id = 4206
						province_id = 2193
						province_id = 4678
						province_id = 2190
						province_id = 719
						province_id = 2189
						province_id = 4679
						province_id = 716
						province_id = 4681
						province_id = 1066
						province_id = 1065
						province_id = 480
						province_id = 2434
						province_id = 4687
						province_id = 4684
						province_id = 2118
						province_id = 2119
					}
				}
				clear_rebels = yes
				add_core = OIR
			}
			every_owned_province = {
				add_permanent_claim = OIR
			}
			release = OIR
			OIR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.67.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.67.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OIR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.67.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OIR
			casus_belli = cb_revolt_war
		}
		switch_tag = OIR
	}
}
country_event = {
	id = "regular_revolt.68"
	title = "regular_revolt.68.t"
	desc = "regular_revolt.68.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SYG }
		NOT = { exists = SYG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4204
				province_id = 706
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4204
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4204
						province_id = 706
					}
				}
				clear_rebels = yes
				add_core = SYG
			}
			every_owned_province = {
				add_permanent_claim = SYG
			}
			release = SYG
			SYG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.68.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.68.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SYG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.68.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SYG
			casus_belli = cb_revolt_war
		}
		switch_tag = SYG
	}
}

country_event = {
	id = "regular_revolt.69"
	title = "regular_revolt.69.t"
	desc = "regular_revolt.69.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAM }
		NOT = { exists = KAM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 705
				province_id = 2134
				area = kham_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 705
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 705
						province_id = 2134
						area = kham_area
					}
				}
				clear_rebels = yes
				add_core = KAM
			}
			every_owned_province = {
				add_permanent_claim = KAM
			}
			release = KAM
			KAM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.69.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.69.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.69.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAM
			casus_belli = cb_revolt_war
		}
		switch_tag = KAM
	}
}
country_event = {
	id = "regular_revolt.70"
	title = "regular_revolt.70.t"
	desc = "regular_revolt.70.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PHA }
		NOT = { exists = PHA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = utsang_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4517
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = utsang_area
					}
				}
				clear_rebels = yes
				add_core = PHA
			}
			every_owned_province = {
				add_permanent_claim = PHA
			}
			release = PHA
			PHA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.70.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.70.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PHA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.70.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PHA
			casus_belli = cb_revolt_war
		}
		switch_tag = PHA
	}
}
country_event = {
	id = "regular_revolt.71"
	title = "regular_revolt.71.t"
	desc = "regular_revolt.71.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = UTS }
		NOT = { exists = UTS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tsang_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4517
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tsang_area
					}
				}
				clear_rebels = yes
				add_core = UTS
			}
			every_owned_province = {
				add_permanent_claim = UTS
			}
			release = UTS
			UTS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.71.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.71.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = UTS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.71.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = UTS
			casus_belli = cb_revolt_war
		}
		switch_tag = UTS
	}
}
country_event = {
	id = "regular_revolt.72"
	title = "regular_revolt.72.t"
	desc = "regular_revolt.72.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GUG }
		NOT = { exists = GUG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = ngari_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2128
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = ngari_area
					}
				}
				clear_rebels = yes
				add_core = GUG
			}
			every_owned_province = {
				add_permanent_claim = GUG
			}
			release = GUG
			GUG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.72.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.72.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GUG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.72.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GUG
			casus_belli = cb_revolt_war
		}
		switch_tag = GUG
	}
}
country_event = {
	id = "regular_revolt.73"
	title = "regular_revolt.73.t"
	desc = "regular_revolt.73.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAS }
		NOT = { exists = KAS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = shanshan_area
				area = kashgaria_area
				area = tarim_basin_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2124
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = shanshan_area
						area = kashgaria_area
						area = tarim_basin_area
					}
				}
				clear_rebels = yes
				add_core = KAS
			}
			every_owned_province = {
				add_permanent_claim = KAS
			}
			release = KAS
			KAS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.73.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.73.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.73.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAS
			casus_belli = cb_revolt_war
		}
		switch_tag = KAS
	}
}
country_event = {
	id = "regular_revolt.74"
	title = "regular_revolt.74.t"
	desc = "regular_revolt.74.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHG }
		NOT = { exists = CHG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = jetysuu_area
				area = zungaria_area
				province_id = 4207
				province_id = 714
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2124
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = jetysuu_area
						area = zungaria_area
						province_id = 4207
						province_id = 714
					}
				}
				clear_rebels = yes
				add_core = CHG
			}
			every_owned_province = {
				add_permanent_claim = CHG
			}
			release = CHG
			CHG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.74.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.74.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.74.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHG
			casus_belli = cb_revolt_war
		}
		switch_tag = CHG
	}
}
country_event = {
	id = "regular_revolt.75"
	title = "regular_revolt.75.t"
	desc = "regular_revolt.75.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PGS }
		NOT = { exists = PGS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = luzon_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2698
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = luzon_area
					}
				}
				clear_rebels = yes
				add_core = PGS
			}
			every_owned_province = {
				add_permanent_claim = PGS
			}
			release = PGS
			PGS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.75.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.75.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PGS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.75.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PGS
			casus_belli = cb_revolt_war
		}
		switch_tag = PGS
	}
}
country_event = {
	id = "regular_revolt.76"
	title = "regular_revolt.76.t"
	desc = "regular_revolt.76.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TDO }
		NOT = { exists = TDO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = southern_luzon_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2697
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = southern_luzon_area
					}
				}
				clear_rebels = yes
				add_core = TDO
			}
			every_owned_province = {
				add_permanent_claim = TDO
			}
			release = TDO
			TDO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.76.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.76.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TDO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.76.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TDO
			casus_belli = cb_revolt_war
		}
		switch_tag = TDO
	}
}
country_event = {
	id = "regular_revolt.77"
	title = "regular_revolt.77.t"
	desc = "regular_revolt.77.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAS }
		NOT = { exists = MAS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = visayas_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2700
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = visayas_area
					}
				}
				clear_rebels = yes
				add_core = MAS
			}
			every_owned_province = {
				add_permanent_claim = MAS
			}
			release = MAS
			MAS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.77.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.77.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.77.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAS
			casus_belli = cb_revolt_war
		}
		switch_tag = MAS
	}
}
country_event = {
	id = "regular_revolt.78"
	title = "regular_revolt.78.t"
	desc = "regular_revolt.78.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MGD }
		NOT = { exists = MGD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = west_mindanao_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 652
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = west_mindanao_area
					}
				}
				clear_rebels = yes
				add_core = MGD
			}
			every_owned_province = {
				add_permanent_claim = MGD
			}
			release = MGD
			MGD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.78.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.78.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MGD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.78.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MGD
			casus_belli = cb_revolt_war
		}
		switch_tag = MGD
	}
}
country_event = {
	id = "regular_revolt.79"
	title = "regular_revolt.79.t"
	desc = "regular_revolt.79.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BTU }
		NOT = { exists = BTU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mindanao_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 652
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mindanao_area
					}
				}
				clear_rebels = yes
				add_core = BTU
			}
			every_owned_province = {
				add_permanent_claim = BTU
			}
			release = BTU
			BTU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.79.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.79.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BTU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.79.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BTU
			casus_belli = cb_revolt_war
		}
		switch_tag = BTU
	}
}
country_event = {
	id = "regular_revolt.80"
	title = "regular_revolt.80.t"
	desc = "regular_revolt.80.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SUL }
		NOT = { exists = SUL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = palawan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 652
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = palawan_area
					}
				}
				clear_rebels = yes
				add_core = SUL
			}
			every_owned_province = {
				add_permanent_claim = SUL
			}
			release = SUL
			SUL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.80.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.80.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SUL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.80.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SUL
			casus_belli = cb_revolt_war
		}
		switch_tag = SUL
	}
}
country_event = {
	id = "regular_revolt.81"
	title = "regular_revolt.81.t"
	desc = "regular_revolt.81.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MKS }
		NOT = { exists = MKS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = makassar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 641
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = makassar_area
					}
				}
				clear_rebels = yes
				add_core = MKS
			}
			every_owned_province = {
				add_permanent_claim = MKS
			}
			release = MKS
			MKS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.81.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.81.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MKS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.81.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MKS
			casus_belli = cb_revolt_war
		}
		switch_tag = MKS
	}
}
country_event = {
	id = "regular_revolt.82"
	title = "regular_revolt.82.t"
	desc = "regular_revolt.82.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BEI }
		NOT = { exists = BEI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = brunei_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 641
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = brunei_area
					}
				}
				clear_rebels = yes
				add_core = BEI
			}
			every_owned_province = {
				add_permanent_claim = BEI
			}
			release = BEI
			BEI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.82.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.82.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BEI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.82.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BEI
			casus_belli = cb_revolt_war
		}
		switch_tag = BEI
	}
}
country_event = {
	id = "regular_revolt.83"
	title = "regular_revolt.83.t"
	desc = "regular_revolt.83.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BEU }
		NOT = { exists = BEU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sabah_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2709
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sabah_area
					}
				}
				clear_rebels = yes
				add_core = BEU
			}
			every_owned_province = {
				add_permanent_claim = BEU
			}
			release = BEU
			BEU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.83.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.83.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BEU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.83.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BEU
			casus_belli = cb_revolt_war
		}
		switch_tag = BEU
	}
}
country_event = {
	id = "regular_revolt.84"
	title = "regular_revolt.84.t"
	desc = "regular_revolt.84.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KUT }
		NOT = { exists = KUT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kutai_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 638
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kutai_area
					}
				}
				clear_rebels = yes
				add_core = KUT
			}
			every_owned_province = {
				add_permanent_claim = KUT
			}
			release = KUT
			KUT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.84.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.84.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KUT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.84.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KUT
			casus_belli = cb_revolt_war
		}
		switch_tag = KUT
	}
}
country_event = {
	id = "regular_revolt.85"
	title = "regular_revolt.85.t"
	desc = "regular_revolt.85.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BNJ }
		NOT = { exists = BNJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = banjar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 639
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = banjar_area
					}
				}
				clear_rebels = yes
				add_core = BNJ
			}
			every_owned_province = {
				add_permanent_claim = BNJ
			}
			release = BNJ
			BNJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.85.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.85.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BNJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.85.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BNJ
			casus_belli = cb_revolt_war
		}
		switch_tag = BNJ
	}
}
country_event = {
	id = "regular_revolt.86"
	title = "regular_revolt.86.t"
	desc = "regular_revolt.86.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SMB }
		NOT = { exists = SMB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kalimantan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 639
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kalimantan_area
					}
				}
				clear_rebels = yes
				add_core = SMB
			}
			every_owned_province = {
				add_permanent_claim = SMB
			}
			release = SMB
			SMB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.86.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.86.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SMB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.86.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SMB
			casus_belli = cb_revolt_war
		}
		switch_tag = SMB
	}
}
country_event = {
	id = "regular_revolt.87"
	title = "regular_revolt.87.t"
	desc = "regular_revolt.87.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAJ }
		NOT = { exists = MAJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = surabaya_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 628
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = surabaya_area
					}
				}
				clear_rebels = yes
				add_core = MAJ
			}
			every_owned_province = {
				add_permanent_claim = MAJ
			}
			release = MAJ
			MAJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.87.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.87.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.87.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAJ
			casus_belli = cb_revolt_war
		}
		switch_tag = MAJ
	}
}
country_event = {
	id = "regular_revolt.88"
	title = "regular_revolt.88.t"
	desc = "regular_revolt.88.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BLI }
		NOT = { exists = BLI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lesser_sunda_islands_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 631
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lesser_sunda_islands_area
					}
				}
				clear_rebels = yes
				add_core = BLI
			}
			every_owned_province = {
				add_permanent_claim = BLI
			}
			release = BLI
			BLI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.88.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.88.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BLI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.88.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BLI
			casus_belli = cb_revolt_war
		}
		switch_tag = BLI
	}
}
country_event = {
	id = "regular_revolt.89"
	title = "regular_revolt.89.t"
	desc = "regular_revolt.89.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BLM }
		NOT = { exists = BLM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = east_java_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 627
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = east_java_area
					}
				}
				clear_rebels = yes
				add_core = BLM
			}
			every_owned_province = {
				add_permanent_claim = BLM
			}
			release = BLM
			BLM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.89.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.89.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BLM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.89.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BLM
			casus_belli = cb_revolt_war
		}
		switch_tag = BLM
	}
}
country_event = {
	id = "regular_revolt.90"
	title = "regular_revolt.90.t"
	desc = "regular_revolt.90.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DMK }
		NOT = { exists = DMK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = central_java_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4792
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = central_java_area
					}
				}
				clear_rebels = yes
				add_core = DMK
			}
			every_owned_province = {
				add_permanent_claim = DMK
			}
			release = DMK
			DMK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.90.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.90.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DMK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.90.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DMK
			casus_belli = cb_revolt_war
		}
		switch_tag = DMK
	}
}
country_event = {
	id = "regular_revolt.91"
	title = "regular_revolt.91.t"
	desc = "regular_revolt.91.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SUN }
		NOT = { exists = SUN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = west_java_area
				area = banten_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2687
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = west_java_area
						area = banten_area
					}
				}
				clear_rebels = yes
				add_core = SUN
			}
			every_owned_province = {
				add_permanent_claim = SUN
			}
			release = SUN
			SUN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.91.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.91.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SUN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.91.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SUN
			casus_belli = cb_revolt_war
		}
		switch_tag = SUN
	}
}
country_event = {
	id = "regular_revolt.92"
	title = "regular_revolt.92.t"
	desc = "regular_revolt.92.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PLB }
		NOT = { exists = PLB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = south_sumatra_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 622
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = south_sumatra_area
					}
				}
				clear_rebels = yes
				add_core = PLB
			}
			every_owned_province = {
				add_permanent_claim = PLB
			}
			release = PLB
			PLB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.92.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.92.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PLB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.92.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PLB
			casus_belli = cb_revolt_war
		}
		switch_tag = PLB
	}
}
country_event = {
	id = "regular_revolt.93"
	title = "regular_revolt.93.t"
	desc = "regular_revolt.93.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JMB }
		NOT = { exists = JMB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = jambi_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2677
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = jambi_area
					}
				}
				clear_rebels = yes
				add_core = JMB
			}
			every_owned_province = {
				add_permanent_claim = JMB
			}
			release = JMB
			JMB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.93.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.93.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JMB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.93.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JMB
			casus_belli = cb_revolt_war
		}
		switch_tag = JMB
	}
}
country_event = {
	id = "regular_revolt.94"
	title = "regular_revolt.94.t"
	desc = "regular_revolt.94.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SAK }
		NOT = { exists = SAK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = central_sumatra_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 620
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = central_sumatra_area
					}
				}
				clear_rebels = yes
				add_core = SAK
			}
			every_owned_province = {
				add_permanent_claim = SAK
			}
			release = SAK
			SAK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.94.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.94.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SAK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.94.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SAK
			casus_belli = cb_revolt_war
		}
		switch_tag = SAK
	}
}
country_event = {
	id = "regular_revolt.95"
	title = "regular_revolt.95.t"
	desc = "regular_revolt.95.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DLI }
		NOT = { exists = DLI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = central_sumatra_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 620
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = central_sumatra_area
					}
				}
				clear_rebels = yes
				add_core = DLI
			}
			every_owned_province = {
				add_permanent_claim = DLI
			}
			release = DLI
			DLI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.95.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.95.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DLI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.95.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DLI
			casus_belli = cb_revolt_war
		}
		switch_tag = DLI
	}
}
country_event = {
	id = "regular_revolt.96"
	title = "regular_revolt.96.t"
	desc = "regular_revolt.96.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JOH }
		NOT = { exists = JOH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = johor_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 597
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = johor_area
					}
				}
				clear_rebels = yes
				add_core = JOH
			}
			every_owned_province = {
				add_permanent_claim = JOH
			}
			release = JOH
			JOH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.96.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.96.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JOH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.96.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JOH
			casus_belli = cb_revolt_war
		}
		switch_tag = JOH
	}
}
country_event = {
	id = "regular_revolt.97"
	title = "regular_revolt.97.t"
	desc = "regular_revolt.97.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = IND }
		NOT = { exists = IND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2680
				province_id = 2683
				province_id = 4818
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2680
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2680
						province_id = 2683
						province_id = 4818
					}
				}
				clear_rebels = yes
				add_core = IND
			}
			every_owned_province = {
				add_permanent_claim = IND
			}
			release = IND
			IND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.97.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.97.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = IND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.97.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = IND
			casus_belli = cb_revolt_war
		}
		switch_tag = IND
	}
}
country_event = {
	id = "regular_revolt.98"
	title = "regular_revolt.98.t"
	desc = "regular_revolt.98.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PGR }
		NOT = { exists = PGR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2681
				province_id = 2682
				province_id = 4817
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2681
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2681
						province_id = 2682
						province_id = 4817
					}
				}
				clear_rebels = yes
				add_core = PGR
			}
			every_owned_province = {
				add_permanent_claim = PGR
			}
			release = PGR
			PGR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.98.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.98.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PGR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.98.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PGR
			casus_belli = cb_revolt_war
		}
		switch_tag = PGR
	}
}
country_event = {
	id = "regular_revolt.99"
	title = "regular_revolt.99.t"
	desc = "regular_revolt.99.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRS }
		NOT = { exists = BRS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 619
				province_id = 2684
				province_id = 4811
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 619
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 619
						province_id = 2684
						province_id = 4811
					}
				}
				clear_rebels = yes
				add_core = BRS
			}
			every_owned_province = {
				add_permanent_claim = BRS
			}
			release = BRS
			BRS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.99.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.99.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.99.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRS
			casus_belli = cb_revolt_war
		}
		switch_tag = BRS
	}
}
country_event = {
	id = "regular_revolt.100"
	title = "regular_revolt.100.t"
	desc = "regular_revolt.100.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ATJ }
		NOT = { exists = ATJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 617
				province_id = 2685
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 617
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 617
						province_id = 2685
					}
				}
				clear_rebels = yes
				add_core = ATJ
			}
			every_owned_province = {
				add_permanent_claim = ATJ
			}
			release = ATJ
			ATJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.100.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.100.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ATJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.100.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ATJ
			casus_belli = cb_revolt_war
		}
		switch_tag = ATJ
	}
}
country_event = {
	id = "regular_revolt.101"
	title = "regular_revolt.101.t"
	desc = "regular_revolt.101.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PSA }
		NOT = { exists = PSA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4809
				province_id = 2673
				province_id = 2674
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4809
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4809
						province_id = 2673
						province_id = 2674
					}
				}
				clear_rebels = yes
				add_core = PSA
			}
			every_owned_province = {
				add_permanent_claim = PSA
			}
			release = PSA
			PSA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.101.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.101.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PSA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.101.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PSA
			casus_belli = cb_revolt_war
		}
		switch_tag = PSA
	}
}
country_event = {
	id = "regular_revolt.102"
	title = "regular_revolt.102.t"
	desc = "regular_revolt.102.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLC }
		NOT = { exists = MLC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = malacca_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 596
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = malacca_area
					}
				}
				clear_rebels = yes
				add_core = MLC
			}
			every_owned_province = {
				add_permanent_claim = MLC
			}
			release = MLC
			MLC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.102.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.102.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.102.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLC
			casus_belli = cb_revolt_war
		}
		switch_tag = MLC
	}
}
country_event = {
	id = "regular_revolt.103"
	title = "regular_revolt.103.t"
	desc = "regular_revolt.103.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PRK }
		NOT = { exists = PRK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 595
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 595
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 595
					}
				}
				clear_rebels = yes
				add_core = PRK
			}
			every_owned_province = {
				add_permanent_claim = PRK
			}
			release = PRK
			PRK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.103.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.103.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PRK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.103.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PRK
			casus_belli = cb_revolt_war
		}
		switch_tag = PRK
	}
}
country_event = {
	id = "regular_revolt.104"
	title = "regular_revolt.104.t"
	desc = "regular_revolt.104.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PAH }
		NOT = { exists = PAH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 598
				province_id = 4814
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 598
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 598
						province_id = 4814
					}
				}
				clear_rebels = yes
				add_core = PAH
			}
			every_owned_province = {
				add_permanent_claim = PAH
			}
			release = PAH
			PAH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.104.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.104.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PAH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.104.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PAH
			casus_belli = cb_revolt_war
		}
		switch_tag = PAH
	}
}
country_event = {
	id = "regular_revolt.105"
	title = "regular_revolt.105.t"
	desc = "regular_revolt.105.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KEL }
		NOT = { exists = KEL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 599
				province_id = 2393
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 598
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 599
						province_id = 2393
					}
				}
				clear_rebels = yes
				add_core = KEL
			}
			every_owned_province = {
				add_permanent_claim = KEL
			}
			release = KEL
			KEL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.105.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.105.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KEL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.105.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KEL
			casus_belli = cb_revolt_war
		}
		switch_tag = KEL
	}
}
country_event = {
	id = "regular_revolt.106"
	title = "regular_revolt.106.t"
	desc = "regular_revolt.106.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KED }
		NOT = { exists = KED }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2394
				province_id = 4813
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2394
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2394
						province_id = 4813
					}
				}
				clear_rebels = yes
				add_core = KED
			}
			every_owned_province = {
				add_permanent_claim = KED
			}
			release = KED
			KED = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.106.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.106.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KED
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.106.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KED
			casus_belli = cb_revolt_war
		}
		switch_tag = KED
	}
}
country_event = {
	id = "regular_revolt.107"
	title = "regular_revolt.107.t"
	desc = "regular_revolt.107.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PAT }
		NOT = { exists = PAT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 594
				province_id = 4812
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 594
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 594
						province_id = 4812
					}
				}
				clear_rebels = yes
				add_core = PAT
			}
			every_owned_province = {
				add_permanent_claim = PAT
			}
			release = PAT
			PAT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.107.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.107.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PAT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.107.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PAT
			casus_belli = cb_revolt_war
		}
		switch_tag = PAT
	}
}
country_event = {
	id = "regular_revolt.108"
	title = "regular_revolt.108.t"
	desc = "regular_revolt.108.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LIG }
		NOT = { exists = LIG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tenasserim_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 593
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tenasserim_area
					}
				}
				clear_rebels = yes
				add_core = LIG
			}
			every_owned_province = {
				add_permanent_claim = LIG
			}
			release = LIG
			LIG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.108.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.108.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LIG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.108.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LIG
			casus_belli = cb_revolt_war
		}
		switch_tag = LIG
	}
}
country_event = {
	id = "regular_revolt.109"
	title = "regular_revolt.109.t"
	desc = "regular_revolt.109.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AYU }
		NOT = { exists = AYU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = north_tenasserim_area
				area = central_thai_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 600
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = north_tenasserim_area
						area = central_thai_area
					}
				}
				clear_rebels = yes
				add_core = AYU
			}
			every_owned_province = {
				add_permanent_claim = AYU
			}
			release = AYU
			AYU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.109.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.109.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AYU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.109.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AYU
			casus_belli = cb_revolt_war
		}
		switch_tag = AYU
	}
}
country_event = {
	id = "regular_revolt.110"
	title = "regular_revolt.110.t"
	desc = "regular_revolt.110.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHK }
		NOT = { exists = CHK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = champasak_area
				area = khorat_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 600
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = champasak_area
						area = khorat_area
					}
				}
				clear_rebels = yes
				add_core = CHK
			}
			every_owned_province = {
				add_permanent_claim = CHK
			}
			release = CHK
			CHK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.110.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.110.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.110.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHK
			casus_belli = cb_revolt_war
		}
		switch_tag = CHK
	}
}
country_event = {
	id = "regular_revolt.111"
	title = "regular_revolt.111.t"
	desc = "regular_revolt.111.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KHM }
		NOT = { exists = KHM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = angkor_area
				area = cambodia_area
				area = mekong_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2380
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = angkor_area
						area = cambodia_area
						area = mekong_area
					}
				}
				clear_rebels = yes
				add_core = KHM
			}
			every_owned_province = {
				add_permanent_claim = KHM
			}
			release = KHM
			KHM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.111.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.111.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KHM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.111.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KHM
			casus_belli = cb_revolt_war
		}
		switch_tag = KHM
	}
}
country_event = {
	id = "regular_revolt.112"
	title = "regular_revolt.112.t"
	desc = "regular_revolt.112.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHA }
		NOT = { exists = CHA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = champa_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2380
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = champa_area
					}
				}
				clear_rebels = yes
				add_core = CHA
			}
			every_owned_province = {
				add_permanent_claim = CHA
			}
			release = CHA
			CHA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.112.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.112.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.112.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHA
			casus_belli = cb_revolt_war
		}
		switch_tag = CHA
	}
}
country_event = {
	id = "regular_revolt.113"
	title = "regular_revolt.113.t"
	desc = "regular_revolt.113.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KOH }
		NOT = { exists = KOH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2375
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2375
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2375
					}
				}
				clear_rebels = yes
				add_core = KOH
			}
			every_owned_province = {
				add_permanent_claim = KOH
			}
			release = KOH
			KOH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.113.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.113.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.113.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KOH
			casus_belli = cb_revolt_war
		}
		switch_tag = KOH
	}
}
country_event = {
	id = "regular_revolt.114"
	title = "regular_revolt.114.t"
	desc = "regular_revolt.114.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RHA }
		NOT = { exists = RHA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4824
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4824
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4824
					}
				}
				clear_rebels = yes
				add_core = RHA
			}
			every_owned_province = {
				add_permanent_claim = RHA
			}
			release = RHA
			RHA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.114.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.114.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RHA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.114.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RHA
			casus_belli = cb_revolt_war
		}
		switch_tag = RHA
	}
}
country_event = {
	id = "regular_revolt.115"
	title = "regular_revolt.115.t"
	desc = "regular_revolt.115.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JAR }
		NOT = { exists = JAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4823
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4823
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4823
					}
				}
				clear_rebels = yes
				add_core = JAR
			}
			every_owned_province = {
				add_permanent_claim = JAR
			}
			release = JAR
			JAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.115.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.115.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.115.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JAR
			casus_belli = cb_revolt_war
		}
		switch_tag = JAR
	}
}
country_event = {
	id = "regular_revolt.116"
	title = "regular_revolt.116.t"
	desc = "regular_revolt.116.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ANN }
		NOT = { exists = ANN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = vietnam_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2373
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = vietnam_area
					}
				}
				clear_rebels = yes
				add_core = ANN
			}
			every_owned_province = {
				add_permanent_claim = ANN
			}
			release = ANN
			ANN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.116.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.116.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ANN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.116.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ANN
			casus_belli = cb_revolt_war
		}
		switch_tag = ANN
	}
}
country_event = {
	id = "regular_revolt.117"
	title = "regular_revolt.117.t"
	desc = "regular_revolt.117.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TOK }
		NOT = { exists = TOK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = red_river_delta_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 613
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = red_river_delta_area
					}
				}
				clear_rebels = yes
				add_core = TOK
			}
			every_owned_province = {
				add_permanent_claim = TOK
			}
			release = TOK
			TOK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.117.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.117.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TOK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.117.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TOK
			casus_belli = cb_revolt_war
		}
		switch_tag = TOK
	}
}
country_event = {
	id = "regular_revolt.118"
	title = "regular_revolt.118.t"
	desc = "regular_revolt.118.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VIE }
		NOT = { exists = VIE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = vientiane_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 614
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = vientiane_area
					}
				}
				clear_rebels = yes
				add_core = VIE
			}
			every_owned_province = {
				add_permanent_claim = VIE
			}
			release = VIE
			VIE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.118.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.118.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VIE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.118.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VIE
			casus_belli = cb_revolt_war
		}
		switch_tag = VIE
	}
}
country_event = {
	id = "regular_revolt.119"
	title = "regular_revolt.119.t"
	desc = "regular_revolt.119.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LUA }
		NOT = { exists = LUA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = north_laos_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 615
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = north_laos_area
					}
				}
				clear_rebels = yes
				add_core = LUA
			}
			every_owned_province = {
				add_permanent_claim = LUA
			}
			release = LUA
			LUA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.119.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.119.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LUA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.119.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LUA
			casus_belli = cb_revolt_war
		}
		switch_tag = LUA
	}
}
country_event = {
	id = "regular_revolt.120"
	title = "regular_revolt.120.t"
	desc = "regular_revolt.120.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SUK }
		NOT = { exists = SUK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sukhothai_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 601
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sukhothai_area
					}
				}
				clear_rebels = yes
				add_core = SUK
			}
			every_owned_province = {
				add_permanent_claim = SUK
			}
			release = SUK
			SUK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.120.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.120.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SUK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.120.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SUK
			casus_belli = cb_revolt_war
		}
		switch_tag = SUK
	}
}
country_event = {
	id = "regular_revolt.121"
	title = "regular_revolt.121.t"
	desc = "regular_revolt.121.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LNA }
		NOT = { exists = LNA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = northern_thai_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 601
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = northern_thai_area
					}
				}
				clear_rebels = yes
				add_core = LNA
			}
			every_owned_province = {
				add_permanent_claim = LNA
			}
			release = LNA
			LNA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.121.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.121.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LNA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.121.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LNA
			casus_belli = cb_revolt_war
		}
		switch_tag = LNA
	}
}
country_event = {
	id = "regular_revolt.122"
	title = "regular_revolt.122.t"
	desc = "regular_revolt.122.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PEG }
		NOT = { exists = PEG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lower_burma_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 586
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lower_burma_area
					}
				}
				clear_rebels = yes
				add_core = PEG
			}
			every_owned_province = {
				add_permanent_claim = PEG
			}
			release = PEG
			PEG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.122.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.122.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PEG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.122.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PEG
			casus_belli = cb_revolt_war
		}
		switch_tag = PEG
	}
}
country_event = {
	id = "regular_revolt.123"
	title = "regular_revolt.123.t"
	desc = "regular_revolt.123.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ARK }
		NOT = { exists = ARK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = arakan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 568
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = arakan_area
					}
				}
				clear_rebels = yes
				add_core = ARK
			}
			every_owned_province = {
				add_permanent_claim = AKK
			}
			release = ARK
			ARK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.123.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.123.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ARK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.123.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ARK
			casus_belli = cb_revolt_war
		}
		switch_tag = ARK
	}
}
country_event = {
	id = "regular_revolt.124"
	title = "regular_revolt.124.t"
	desc = "regular_revolt.124.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MPA }
		NOT = { exists = MPA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2401
				province_id = 4398
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2401
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2401
						province_id = 4398
					}
				}
				clear_rebels = yes
				add_core = MPA
			}
			every_owned_province = {
				add_permanent_claim = MPA
			}
			release = MPA
			MPA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.124.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.124.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MPA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.124.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MPA
			casus_belli = cb_revolt_war
		}
		switch_tag = MPA
	}
}
country_event = {
	id = "regular_revolt.125"
	title = "regular_revolt.125.t"
	desc = "regular_revolt.125.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HSE }
		NOT = { exists = HSE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 587
				province_id = 583
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 587
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 587
						province_id = 583
					}
				}
				clear_rebels = yes
				add_core = HSE
			}
			every_owned_province = {
				add_permanent_claim = HSE
			}
			release = HSE
			HSE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.125.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.125.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HSE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.125.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HSE
			casus_belli = cb_revolt_war
		}
		switch_tag = HSE
	}
}
country_event = {
	id = "regular_revolt.126"
	title = "regular_revolt.126.t"
	desc = "regular_revolt.126.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MNI }
		NOT = { exists = MNI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 588
				province_id = 4406
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 588
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 588
						province_id = 4406
					}
				}
				clear_rebels = yes
				add_core = MNI
			}
			every_owned_province = {
				add_permanent_claim = MNI
			}
			release = MNI
			MNI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.126.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.126.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MNI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.126.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MNI
			casus_belli = cb_revolt_war
		}
		switch_tag = MNI
	}
}
country_event = {
	id = "regular_revolt.127"
	title = "regular_revolt.127.t"
	desc = "regular_revolt.127.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HSI }
		NOT = { exists = HSI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2400
				province_id = 4397
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2400
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2400
						province_id = 4397
					}
				}
				clear_rebels = yes
				add_core = HSI
			}
			every_owned_province = {
				add_permanent_claim = HSI
			}
			release = HSI
			HSI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.127.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.127.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HSI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.127.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HSI
			casus_belli = cb_revolt_war
		}
		switch_tag = HSI
	}
}
country_event = {
	id = "regular_revolt.128"
	title = "regular_revolt.128.t"
	desc = "regular_revolt.128.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TAU }
		NOT = { exists = TAU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 585
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 585
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 585
					}
				}
				clear_rebels = yes
				add_core = TAU
			}
			every_owned_province = {
				add_permanent_claim = TAU
			}
			release = TAU
			TAU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.128.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.128.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TAU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.128.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TAU
			casus_belli = cb_revolt_war
		}
		switch_tag = TAU
	}
}
country_event = {
	id = "regular_revolt.129"
	title = "regular_revolt.129.t"
	desc = "regular_revolt.129.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BPR }
		NOT = { exists = BPR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4396
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4396
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4396
					}
				}
				clear_rebels = yes
				add_core = BPR
			}
			every_owned_province = {
				add_permanent_claim = BPR
			}
			release = BPR
			BPR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.129.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.129.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BPR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.129.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BPR
			casus_belli = cb_revolt_war
		}
		switch_tag = BPR
	}
}
country_event = {
	id = "regular_revolt.130"
	title = "regular_revolt.130.t"
	desc = "regular_revolt.130.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AVA }
		NOT = { exists = AVA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 584
				province_id = 4395
				province_id = 4394
				province_id = 2399
				province_id = 581
				province_id = 4393
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 584
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 584
						province_id = 4395
						province_id = 4394
						province_id = 2399
						province_id = 581
						province_id = 4393
					}
				}
				clear_rebels = yes
				add_core = AVA
			}
			every_owned_province = {
				add_permanent_claim = AVA
			}
			release = AVA
			AVA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.130.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.130.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AVA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.130.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AVA
			casus_belli = cb_revolt_war
		}
		switch_tag = AVA
	}
}
country_event = {
	id = "regular_revolt.131"
	title = "regular_revolt.131.t"
	desc = "regular_revolt.131.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAL }
		NOT = { exists = KAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 580
				province_id = 2398
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 580
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 580
						province_id = 2398
					}
				}
				clear_rebels = yes
				add_core = KAL
			}
			every_owned_province = {
				add_permanent_claim = KAL
			}
			release = KAL
			KAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.131.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.131.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.131.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAL
			casus_belli = cb_revolt_war
		}
		switch_tag = KAL
	}
}
country_event = {
	id = "regular_revolt.132"
	title = "regular_revolt.132.t"
	desc = "regular_revolt.132.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MYA }
		NOT = { exists = MYA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 582
				province_id = 4405
				province_id = 2397
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 582
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 582
						province_id = 4405
						province_id = 2397
					}
				}
				clear_rebels = yes
				add_core = MYA
			}
			every_owned_province = {
				add_permanent_claim = MYA
			}
			release = MYA
			MYA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.132.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.132.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MYA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.132.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MYA
			casus_belli = cb_revolt_war
		}
		switch_tag = MYA
	}
}
country_event = {
	id = "regular_revolt.133"
	title = "regular_revolt.133.t"
	desc = "regular_revolt.133.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MKA }
		NOT = { exists = MKA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2396
				province_id = 4404
				province_id = 2395
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2396
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2396
						province_id = 4404
						province_id = 2395
					}
				}
				clear_rebels = yes
				add_core = MKA
			}
			every_owned_province = {
				add_permanent_claim = MKA
			}
			release = MKA
			MKA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.133.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.133.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MKA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.133.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MKA
			casus_belli = cb_revolt_war
		}
		switch_tag = MKA
	}
}
country_event = {
	id = "regular_revolt.134"
	title = "regular_revolt.134.t"
	desc = "regular_revolt.134.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLB }
		NOT = { exists = MLB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2041
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2041
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2041
					}
				}
				clear_rebels = yes
				add_core = MLB
			}
			every_owned_province = {
				add_permanent_claim = MLB
			}
			release = MLB
			MLB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.134.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.134.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.134.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLB
			casus_belli = cb_revolt_war
		}
		switch_tag = MLB
	}
}
country_event = {
	id = "regular_revolt.135"
	title = "regular_revolt.135.t"
	desc = "regular_revolt.135.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAC }
		NOT = { exists = KAC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 570
				province_id = 573
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 570
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 570
						province_id = 573
					}
				}
				clear_rebels = yes
				add_core = KAC
			}
			every_owned_province = {
				add_permanent_claim = KAC
			}
			release = KAC
			KAC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.135.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.135.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.135.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAC
			casus_belli = cb_revolt_war
		}
		switch_tag = KAC
	}
}
country_event = {
	id = "regular_revolt.136"
	title = "regular_revolt.136.t"
	desc = "regular_revolt.136.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TPR }
		NOT = { exists = TPR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2091
				province_id = 4473
				province_id = 567
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2091
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2091
						province_id = 4473
						province_id = 567
					}
				}
				clear_rebels = yes
				add_core = TPR
			}
			every_owned_province = {
				add_permanent_claim = TPR
			}
			release = TPR
			TPR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.136.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.136.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TPR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.136.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TPR
			casus_belli = cb_revolt_war
		}
		switch_tag = TPR
	}
}
country_event = {
	id = "regular_revolt.137"
	title = "regular_revolt.137.t"
	desc = "regular_revolt.137.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SDY }
		NOT = { exists = SDY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2040
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2040
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2040
					}
				}
				clear_rebels = yes
				add_core = SDY
			}
			every_owned_province = {
				add_permanent_claim = SDY
			}
			release = SDY
			SDY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.137.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.137.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SDY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.137.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SDY
			casus_belli = cb_revolt_war
		}
		switch_tag = SDY
	}
}
country_event = {
	id = "regular_revolt.138"
	title = "regular_revolt.138.t"
	desc = "regular_revolt.138.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ASS }
		NOT = { exists = ASS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 566
				province_id = 4440
				province_id = 571
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 566
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 566
						province_id = 4440
						province_id = 571
					}
				}
				clear_rebels = yes
				add_core = ASS
			}
			every_owned_province = {
				add_permanent_claim = ASS
			}
			release = ASS
			ASS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.138.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.138.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ASS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.138.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ASS
			casus_belli = cb_revolt_war
		}
		switch_tag = ASS
	}
}
country_event = {
	id = "regular_revolt.139"
	title = "regular_revolt.139.t"
	desc = "regular_revolt.139.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KMT }
		NOT = { exists = KMT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4481
				province_id = 565
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4481
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4481
						province_id = 565
					}
				}
				clear_rebels = yes
				add_core = KMT
			}
			every_owned_province = {
				add_permanent_claim = KMT
			}
			release = KMT
			KMT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.139.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.139.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KMT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.139.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KMT
			casus_belli = cb_revolt_war
		}
		switch_tag = KMT
	}
}
country_event = {
	id = "regular_revolt.140"
	title = "regular_revolt.140.t"
	desc = "regular_revolt.140.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BHU }
		NOT = { exists = BHU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2042
				province_id = 562
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2042
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2042
						province_id = 562
					}
				}
				clear_rebels = yes
				add_core = BHU
			}
			every_owned_province = {
				add_permanent_claim = BHU
			}
			release = BHU
			BHU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.140.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.140.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BHU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.140.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BHU
			casus_belli = cb_revolt_war
		}
		switch_tag = BHU
	}
}
country_event = {
	id = "regular_revolt.141"
	title = "regular_revolt.141.t"
	desc = "regular_revolt.141.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BNG }
		NOT = { exists = BNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = east_bengal_area
				area = north_bengal_area
				area = west_bengal_area
				area = gaur_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 563
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = east_bengal_area
						area = north_bengal_area
						area = west_bengal_area
						area = gaur_area
					}
				}
				clear_rebels = yes
				add_core = BNG
			}
			every_owned_province = {
				add_permanent_claim = BNG
			}
			release = BNG
			BNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.141.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.141.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.141.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BNG
			casus_belli = cb_revolt_war
		}
		switch_tag = BNG
	}
}
country_event = {
	id = "regular_revolt.142"
	title = "regular_revolt.142.t"
	desc = "regular_revolt.142.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ORI }
		NOT = { exists = ORI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = orissa_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 552
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = orissa_area
					}
				}
				clear_rebels = yes
				add_core = ORI
			}
			every_owned_province = {
				add_permanent_claim = ORI
			}
			release = ORI
			ORI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.142.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.142.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ORI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.142.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ORI
			casus_belli = cb_revolt_war
		}
		switch_tag = ORI
	}
}
country_event = {
	id = "regular_revolt.143"
	title = "regular_revolt.143.t"
	desc = "regular_revolt.143.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YOR }
		NOT = { exists = YOR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = andhra_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2084
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = andhra_area
					}
				}
				clear_rebels = yes
				add_core = YOR
			}
			every_owned_province = {
				add_permanent_claim = YOR
			}
			release = YOR
			YOR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.143.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.143.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YOR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.143.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YOR
			casus_belli = cb_revolt_war
		}
		switch_tag = YOR
	}
}
country_event = {
	id = "regular_revolt.144"
	title = "regular_revolt.144.t"
	desc = "regular_revolt.144.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GOC }
		NOT = { exists = GOC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = golconda_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 542
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = golconda_area
					}
				}
				clear_rebels = yes
				add_core = GOC
			}
			every_owned_province = {
				add_permanent_claim = GOC
			}
			release = GOC
			GOC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.144.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.144.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GOC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.144.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GOC
			casus_belli = cb_revolt_war
		}
		switch_tag = GOC
	}
}
country_event = {
	id = "regular_revolt.145"
	title = "regular_revolt.145.t"
	desc = "regular_revolt.145.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRR }
		NOT = { exists = BRR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = berar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 542
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = berar_area
					}
				}
				clear_rebels = yes
				add_core = BRR
			}
			every_owned_province = {
				add_permanent_claim = BRR
			}
			release = BRR
			BRR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.145.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.145.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.145.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRR
			casus_belli = cb_revolt_war
		}
		switch_tag = BRR
	}
}
country_event = {
	id = "regular_revolt.146"
	title = "regular_revolt.146.t"
	desc = "regular_revolt.146.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GDW }
		NOT = { exists = GDW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = gondwana_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 551
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = gondwana_area
					}
				}
				clear_rebels = yes
				add_core = GDW
			}
			every_owned_province = {
				add_permanent_claim = GDW
			}
			release = GDW
			GDW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.146.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.146.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GDW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.146.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GDW
			casus_belli = cb_revolt_war
		}
		switch_tag = GDW
	}
}
country_event = {
	id = "regular_revolt.147"
	title = "regular_revolt.147.t"
	desc = "regular_revolt.147.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NGP }
		NOT = { exists = NGP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = jharkhand_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 560
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = jharkhand_area
					}
				}
				clear_rebels = yes
				add_core = NGP
			}
			every_owned_province = {
				add_permanent_claim = NGP
			}
			release = NGP
			NGP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.147.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.147.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NGP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.147.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NGP
			casus_belli = cb_revolt_war
		}
		switch_tag = NGP
	}
}
country_event = {
	id = "regular_revolt.148"
	title = "regular_revolt.148.t"
	desc = "regular_revolt.148.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RTT }
		NOT = { exists = RTT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = upper_mahanadi_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4452
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = upper_mahanadi_area
					}
				}
				clear_rebels = yes
				add_core = RTT
			}
			every_owned_province = {
				add_permanent_claim = RTT
			}
			release = RTT
			RTT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.148.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.148.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RTT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.148.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RTT
			casus_belli = cb_revolt_war
		}
		switch_tag = RTT
	}
}
country_event = {
	id = "regular_revolt.149"
	title = "regular_revolt.149.t"
	desc = "regular_revolt.149.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BGL }
		NOT = { exists = BGL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = baghelkhand_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2097
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = baghelkhand_area
					}
				}
				clear_rebels = yes
				add_core = BGL
			}
			every_owned_province = {
				add_permanent_claim = BGL
			}
			release = BGL
			BGL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.149.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.149.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BGL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.149.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BGL
			casus_belli = cb_revolt_war
		}
		switch_tag = BGL
	}
}
country_event = {
	id = "regular_revolt.150"
	title = "regular_revolt.150.t"
	desc = "regular_revolt.150.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BND }
		NOT = { exists = BND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bundelkhand_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2097
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bundelkhand_area
					}
				}
				clear_rebels = yes
				add_core = BND
			}
			every_owned_province = {
				add_permanent_claim = BND
			}
			release = BND
			BND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.150.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.150.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.150.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BND
			casus_belli = cb_revolt_war
		}
		switch_tag = BND
	}
}
country_event = {
	id = "regular_revolt.151"
	title = "regular_revolt.151.t"
	desc = "regular_revolt.151.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRT }
		NOT = { exists = TRT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mithila_area
				area = bihar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2047
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mithila_area
						area = bihar_area
					}
				}
				clear_rebels = yes
				add_core = TRT
			}
			every_owned_province = {
				add_permanent_claim = TRT
			}
			release = TRT
			TRT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.151.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.151.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.151.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRT
			casus_belli = cb_revolt_war
		}
		switch_tag = TRT
	}
}
country_event = {
	id = "regular_revolt.152"
	title = "regular_revolt.152.t"
	desc = "regular_revolt.152.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NPL }
		NOT = { exists = NPL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = nepal_area
				province_id = 4482
				province_id = 4484
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 557
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = nepal_area
						province_id = 4482
						province_id = 4484
					}
				}
				clear_rebels = yes
				add_core = NPL
			}
			every_owned_province = {
				add_permanent_claim = NPL
			}
			release = NPL
			NPL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.152.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.152.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NPL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.152.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NPL
			casus_belli = cb_revolt_war
		}
		switch_tag = NPL
	}
}
country_event = {
	id = "regular_revolt.153"
	title = "regular_revolt.153.t"
	desc = "regular_revolt.153.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JNP }
		NOT = { exists = JNP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = purvanchal_area
				area = lower_doab_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 555
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = purvanchal_area
						area = lower_doab_area
					}
				}
				clear_rebels = yes
				add_core = JNP
			}
			every_owned_province = {
				add_permanent_claim = JNP
			}
			release = JNP
			JNP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.153.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.153.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JNP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.153.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JNP
			casus_belli = cb_revolt_war
		}
		switch_tag = JNP
	}
}
country_event = {
	id = "regular_revolt.154"
	title = "regular_revolt.154.t"
	desc = "regular_revolt.154.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ODH }
		NOT = { exists = ODH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = oudh_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4497
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = oudh_area
					}
				}
				clear_rebels = yes
				add_core = ODH
			}
			every_owned_province = {
				add_permanent_claim = ODH
			}
			release = ODH
			ODH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.154.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.154.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ODH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.154.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ODH
			casus_belli = cb_revolt_war
		}
		switch_tag = ODH
	}
}
country_event = {
	id = "regular_revolt.155"
	title = "regular_revolt.155.t"
	desc = "regular_revolt.155.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DLH }
		NOT = { exists = DLH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = upper_doab_area
				area = katehar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 522
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = upper_doab_area
						area = katehar_area
					}
				}
				clear_rebels = yes
				add_core = DLH
			}
			every_owned_province = {
				add_permanent_claim = DLH
			}
			release = DLH
			DLH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.155.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.155.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DLH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.155.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DLH
			casus_belli = cb_revolt_war
		}
		switch_tag = DLH
	}
}
country_event = {
	id = "regular_revolt.156"
	title = "regular_revolt.156.t"
	desc = "regular_revolt.156.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PUN }
		NOT = { exists = PUN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lahore_area
				area = sind_sagar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 507
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lahore_area
						area = sind_sagar_area
					}
				}
				clear_rebels = yes
				add_core = PUN
			}
			every_owned_province = {
				add_permanent_claim = PUN
			}
			release = PUN
			PUN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.156.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.156.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PUN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.156.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PUN
			casus_belli = cb_revolt_war
		}
		switch_tag = PUN
	}
}
country_event = {
	id = "regular_revolt.157"
	title = "regular_revolt.157.t"
	desc = "regular_revolt.157.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PTA }
		NOT = { exists = PTA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sirhind_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 510
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sirhind_area
					}
				}
				clear_rebels = yes
				add_core = PTA
			}
			every_owned_province = {
				add_permanent_claim = PTA
			}
			release = PTA
			PTA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.157.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.157.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PTA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.157.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PTA
			casus_belli = cb_revolt_war
		}
		switch_tag = PTA
	}
}
country_event = {
	id = "regular_revolt.158"
	title = "regular_revolt.158.t"
	desc = "regular_revolt.158.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MUL }
		NOT = { exists = MUL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = multan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 506
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = multan_area
					}
				}
				clear_rebels = yes
				add_core = MUL
			}
			every_owned_province = {
				add_permanent_claim = MUL
			}
			release = MUL
			MUL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.158.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.158.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MUL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.158.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MUL
			casus_belli = cb_revolt_war
		}
		switch_tag = MUL
	}
}
country_event = {
	id = "regular_revolt.159"
	title = "regular_revolt.159.t"
	desc = "regular_revolt.159.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JAN }
		NOT = { exists = JAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = jangladesh_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 512
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = jangladesh_area
					}
				}
				clear_rebels = yes
				add_core = JAN
			}
			every_owned_province = {
				add_permanent_claim = JAN
			}
			release = JAN
			JAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.159.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.159.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.159.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JAN
			casus_belli = cb_revolt_war
		}
		switch_tag = JAN
	}
}
country_event = {
	id = "regular_revolt.160"
	title = "regular_revolt.160.t"
	desc = "regular_revolt.160.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAW }
		NOT = { exists = MAW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = marwar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 526
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = marwar_area
					}
				}
				clear_rebels = yes
				add_core = MAW
			}
			every_owned_province = {
				add_permanent_claim = MAW
			}
			release = MAW
			MAW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.160.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.160.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.160.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAW
			casus_belli = cb_revolt_war
		}
		switch_tag = MAW
	}
}
country_event = {
	id = "regular_revolt.161"
	title = "regular_revolt.161.t"
	desc = "regular_revolt.161.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MER }
		NOT = { exists = MER }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mewar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 526
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mewar_area
					}
				}
				clear_rebels = yes
				add_core = MER
			}
			every_owned_province = {
				add_permanent_claim = MER
			}
			release = MER
			MER = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.161.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.161.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MER
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.161.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MER
			casus_belli = cb_revolt_war
		}
		switch_tag = MER
	}
}
country_event = {
	id = "regular_revolt.162"
	title = "regular_revolt.162.t"
	desc = "regular_revolt.162.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLW }
		NOT = { exists = MLW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = malwa_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 526
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = malwa_area
					}
				}
				clear_rebels = yes
				add_core = MLW
			}
			every_owned_province = {
				add_permanent_claim = MLW
			}
			release = MLW
			MLW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.162.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.162.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.162.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLW
			casus_belli = cb_revolt_war
		}
		switch_tag = MLW
	}
}
country_event = {
	id = "regular_revolt.163"
	title = "regular_revolt.163.t"
	desc = "regular_revolt.163.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BGA }
		NOT = { exists = BGA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tapti_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2036
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tapti_area
					}
				}
				clear_rebels = yes
				add_core = BGA
			}
			every_owned_province = {
				add_permanent_claim = BGA
			}
			release = BGA
			BGA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.163.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.163.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BGA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.163.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BGA
			casus_belli = cb_revolt_war
		}
		switch_tag = BGA
	}
}
country_event = {
	id = "regular_revolt.164"
	title = "regular_revolt.164.t"
	desc = "regular_revolt.164.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KHD }
		NOT = { exists = KHD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = khandesh_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4434
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = khandesh_area
					}
				}
				clear_rebels = yes
				add_core = KHD
			}
			every_owned_province = {
				add_permanent_claim = KHD
			}
			release = KHD
			KHD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.164.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.164.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KHD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.164.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KHD
			casus_belli = cb_revolt_war
		}
		switch_tag = KHD
	}
}
country_event = {
	id = "regular_revolt.165"
	title = "regular_revolt.165.t"
	desc = "regular_revolt.165.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SND }
		NOT = { exists = SND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sindh_area
				area = northern_sindh_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 504
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sindh_area
						area = northern_sindh_area
					}
				}
				clear_rebels = yes
				add_core = SND
			}
			every_owned_province = {
				add_permanent_claim = SND
			}
			release = SND
			SND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.165.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.165.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.165.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SND
			casus_belli = cb_revolt_war
		}
		switch_tag = SND
	}
}
country_event = {
	id = "regular_revolt.166"
	title = "regular_revolt.166.t"
	desc = "regular_revolt.166.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TNJ }
		NOT = { exists = TNJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tanjore_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2026
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tanjore_area
					}
				}
				clear_rebels = yes
				add_core = TNJ
			}
			every_owned_province = {
				add_permanent_claim = TNJ
			}
			release = TNJ
			TNJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.166.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.166.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TNJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.166.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TNJ
			casus_belli = cb_revolt_war
		}
		switch_tag = TNJ
	}
}
country_event = {
	id = "regular_revolt.167"
	title = "regular_revolt.167.t"
	desc = "regular_revolt.167.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KSH }
		NOT = { exists = KSH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kashmir_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 508
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kashmir_area
					}
				}
				clear_rebels = yes
				add_core = KSH
			}
			every_owned_province = {
				add_permanent_claim = KSH
			}
			release = KSH
			KSH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.167.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.167.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KSH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.167.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KSH
			casus_belli = cb_revolt_war
		}
		switch_tag = KSH
	}
}
country_event = {
	id = "regular_revolt.168"
	title = "regular_revolt.168.t"
	desc = "regular_revolt.168.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KOK }
		NOT = { exists = KOK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = ferghana_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 458
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = ferghana_area
					}
				}
				clear_rebels = yes
				add_core = KOK
			}
			every_owned_province = {
				add_permanent_claim = KOK
			}
			release = KOK
			KOK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.168.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.168.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.168.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KOK
			casus_belli = cb_revolt_war
		}
		switch_tag = KOK
	}
}
country_event = {
	id = "regular_revolt.169"
	title = "regular_revolt.169.t"
	desc = "regular_revolt.169.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRS }
		NOT = { exists = TRS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = transoxiana_area
				area = termez_area
				area = kyzylkum_area
				area = arys_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 458
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = transoxiana_area
						area = termez_area
						area = kyzylkum_area
						area = arys_area
					}
				}
				clear_rebels = yes
				add_core = TRS
			}
			every_owned_province = {
				add_permanent_claim = TRS
			}
			release = TRS
			TRS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.169.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.169.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.169.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRS
			casus_belli = cb_revolt_war
		}
		switch_tag = TRS
	}
}
country_event = {
	id = "regular_revolt.170"
	title = "regular_revolt.170.t"
	desc = "regular_revolt.170.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NOG }
		NOT = { exists = NOG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = nogai_area
				area = lower_yik_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 465
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = nogai_area
						area = lower_yik_area
					}
				}
				clear_rebels = yes
				add_core = NOG
			}
			every_owned_province = {
				add_permanent_claim = NOG
			}
			release = NOG
			NOG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = 

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.170.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.170.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NOG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.170.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NOG
			casus_belli = cb_revolt_war
		}
		switch_tag = NOG
	}
}
country_event = {
	id = "regular_revolt.171"
	title = "regular_revolt.171.t"
	desc = "regular_revolt.171.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KZH }
		NOT = { exists = KZH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = syr_darya_area
				area = balchasj_area
				area = ishim_area
				area = aqmola_area
				area = kazakhstan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2353
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = syr_darya_area
						area = balchasj_area
						area = ishim_area
						area = aqmola_area
						area = kazakhstan_area
					}
				}
				clear_rebels = yes
				add_core = KZH
			}
			every_owned_province = {
				add_permanent_claim = KZH
			}
			release = KZH
			KZH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.171.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.171.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KZH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.171.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KZH
			casus_belli = cb_revolt_war
		}
		switch_tag = KZH
	}
}
country_event = {
	id = "regular_revolt.172"
	title = "regular_revolt.172.t"
	desc = "regular_revolt.172.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SIB }
		NOT = { exists = SIB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = ob_area
				area = ural_area
				area = ishim_area
				area = aqmola_area
				area = yrtesh_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4688
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = ob_area
						area = ural_area
						area = ishim_area
						area = aqmola_area
						area = yrtesh_area
					}
				}
				clear_rebels = yes
				add_core = SIB
			}
			every_owned_province = {
				add_permanent_claim = SIB
			}
			release = SIB
			SIB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.172.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.172.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SIB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.172.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SIB
			casus_belli = cb_revolt_war
		}
		switch_tag = SIB
	}
}
country_event = {
	id = "regular_revolt.173"
	title = "regular_revolt.173.t"
	desc = "regular_revolt.173.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KHI }
		NOT = { exists = KHI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = merv_area
				area = transcaspia_area
				area = khiva_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 441
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = merv_area
						area = transcaspia_area
						area = khiva_area
					}
				}
				clear_rebels = yes
				add_core = KHI
			}
			every_owned_province = {
				add_permanent_claim = KHI
			}
			release = KHI
			KHI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.173.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.173.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KHI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.173.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KHI
			casus_belli = cb_revolt_war
		}
		switch_tag = KHI
	}
}
country_event = {
	id = "regular_revolt.174"
	title = "regular_revolt.174.t"
	desc = "regular_revolt.174.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AFG }
		NOT = { exists = AFG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kabulistan_area
				area = ghor_area
				area = balkh_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 441
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kabulistan_area
						area = ghor_area
						area = balkh_area
					}
				}
				clear_rebels = yes
				add_core = AFG
			}
			every_owned_province = {
				add_permanent_claim = AFG
			}
			release = AFG
			AFG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.174.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.174.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AFG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.174.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AFG
			casus_belli = cb_revolt_war
		}
		switch_tag = AFG
	}
}
country_event = {
	id = "regular_revolt.175"
	title = "regular_revolt.175.t"
	desc = "regular_revolt.175.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BAL }
		NOT = { exists = BAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kalat_area
				area = makran_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 441
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kalat_area
						area = makran_area
					}
				}
				clear_rebels = yes
				add_core = BAL
			}
			every_owned_province = {
				add_permanent_claim = BAL
			}
			release = BAL
			BAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.175.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.175.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.175.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BAL
			casus_belli = cb_revolt_war
		}
		switch_tag = BAL
	}
}
country_event = {
	id = "regular_revolt.176"
	title = "regular_revolt.176.t"
	desc = "regular_revolt.176.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SIS }
		NOT = { exists = SIS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sistan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 435
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sistan_area
					}
				}
				clear_rebels = yes
				add_core = SIS
			}
			every_owned_province = {
				add_permanent_claim = SIS
			}
			release = SIS
			SIS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.176.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.176.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SIS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.176.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SIS
			casus_belli = cb_revolt_war
		}
		switch_tag = SIS
	}
}
country_event = {
	id = "regular_revolt.177"
	title = "regular_revolt.177.t"
	desc = "regular_revolt.177.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KHO }
		NOT = { exists = KHO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mashhad_area
				area = herat_area
				area = birjand_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 435
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mashhad_area
						area = herat_area
						area = birjand_area
					}
				}
				clear_rebels = yes
				add_core = KHO
			}
			every_owned_province = {
				add_permanent_claim = KHO
			}
			release = KHO
			KHO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.177.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.177.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KHO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.177.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KHO
			casus_belli = cb_revolt_war
		}
		switch_tag = KHO
	}
}
country_event = {
	id = "regular_revolt.178"
	title = "regular_revolt.178.t"
	desc = "regular_revolt.178.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRM }
		NOT = { exists = KRM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kerman_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 432
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kerman_area
					}
				}
				clear_rebels = yes
				add_core = KRM
			}
			every_owned_province = {
				add_permanent_claim = KRM
			}
			release = KRM
			KRM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.178.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.178.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.178.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRM
			casus_belli = cb_revolt_war
		}
		switch_tag = KRM
	}
}
country_event = {
	id = "regular_revolt.179"
	title = "regular_revolt.179.t"
	desc = "regular_revolt.179.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ORM }
		NOT = { exists = ORM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mogostan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2999
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mogostan_area
					}
				}
				clear_rebels = yes
				add_core = ORM
			}
			every_owned_province = {
				add_permanent_claim = ORM
			}
			release = ORM
			ORM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.179.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.179.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ORM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.179.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ORM
			casus_belli = cb_revolt_war
		}
		switch_tag = ORM
	}
}
country_event = {
	id = "regular_revolt.180"
	title = "regular_revolt.180.t"
	desc = "regular_revolt.180.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SHR }
		NOT = { exists = SHR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = pirate_coast_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2999
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = pirate_coast_area
					}
				}
				clear_rebels = yes
				add_core = SHR
			}
			every_owned_province = {
				add_permanent_claim = SHR
			}
			release = SHR
			SHR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.180.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.180.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SHR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.180.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SHR
			casus_belli = cb_revolt_war
		}
		switch_tag = SHR
	}
}
country_event = {
	id = "regular_revolt.181"
	title = "regular_revolt.181.t"
	desc = "regular_revolt.181.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OMA }
		NOT = { exists = OMA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = oman_area
				area = mascat_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 403
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = oman_area
						area = mascat_area
					}
				}
				clear_rebels = yes
				add_core = OMA
			}
			every_owned_province = {
				add_permanent_claim = OMA
			}
			release = OMA
			OMA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.181.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.181.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OMA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.181.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OMA
			casus_belli = cb_revolt_war
		}
		switch_tag = OMA
	}
}
country_event = {
	id = "regular_revolt.182"
	title = "regular_revolt.182.t"
	desc = "regular_revolt.182.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MHR }
		NOT = { exists = MHR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mahra_area
				area = dhofar_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 401
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mahra_area
						area = dhofar_area
					}
				}
				clear_rebels = yes
				add_core = MHR
			}
			every_owned_province = {
				add_permanent_claim = MHR
			}
			release = MHR
			MHR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.182.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.182.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MHR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.182.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MHR
			casus_belli = cb_revolt_war
		}
		switch_tag = MHR
	}
}
country_event = {
	id = "regular_revolt.183"
	title = "regular_revolt.183.t"
	desc = "regular_revolt.183.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HDR }
		NOT = { exists = HDR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = hadramut_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 389
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = hadramut_area
					}
				}
				clear_rebels = yes
				add_core = HDR
			}
			every_owned_province = {
				add_permanent_claim = HDR
			}
			release = HDR
			HDR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.183.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.183.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HDR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.183.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HDR
			casus_belli = cb_revolt_war
		}
		switch_tag = HDR
	}
}
country_event = {
	id = "regular_revolt.184"
	title = "regular_revolt.184.t"
	desc = "regular_revolt.184.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DAW }
		NOT = { exists = DAW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = yamamah_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 389
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = yamamah_area
					}
				}
				clear_rebels = yes
				add_core = DAW
			}
			every_owned_province = {
				add_permanent_claim = DAW
			}
			release = DAW
			DAW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.184.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.184.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DAW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.184.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DAW
			casus_belli = cb_revolt_war
		}
		switch_tag = DAW
	}
}
country_event = {
	id = "regular_revolt.185"
	title = "regular_revolt.185.t"
	desc = "regular_revolt.185.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HED }
		NOT = { exists = HED }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mecca_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 389
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mecca_area
					}
				}
				clear_rebels = yes
				add_core = HED
			}
			every_owned_province = {
				add_permanent_claim = HED
			}
			release = HED
			HED = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.185.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.185.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HED
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.185.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HED
			casus_belli = cb_revolt_war
		}
		switch_tag = HED
	}
}
country_event = {
	id = "regular_revolt.186"
	title = "regular_revolt.186.t"
	desc = "regular_revolt.186.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MDA }
		NOT = { exists = MDA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = medina_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 384
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = medina_area
					}
				}
				clear_rebels = yes
				add_core = MDA
			}
			every_owned_province = {
				add_permanent_claim = MDA
			}
			release = MDA
			MDA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.186.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.186.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MDA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.186.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MDA
			casus_belli = cb_revolt_war
		}
		switch_tag = MDA
	}
}
country_event = {
	id = "regular_revolt.187"
	title = "regular_revolt.187.t"
	desc = "regular_revolt.187.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NAJ }
		NOT = { exists = NAJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = qasim_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 392
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = qasim_area
					}
				}
				clear_rebels = yes
				add_core = NAJ
			}
			every_owned_province = {
				add_permanent_claim = NAJ
			}
			release = NAJ
			NAJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.187.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.187.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NAJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.187.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NAJ
			casus_belli = cb_revolt_war
		}
		switch_tag = NAJ
	}
}
country_event = {
	id = "regular_revolt.188"
	title = "regular_revolt.188.t"
	desc = "regular_revolt.188.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TIM }
		NOT = { exists = TIM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = iraq_e_ajam_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 428
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = iraq_e_ajam_area
					}
				}
				clear_rebels = yes
				add_core = TIM
			}
			every_owned_province = {
				add_permanent_claim = TIM
			}
			release = TIM
			TIM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.188.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.188.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TIM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.188.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TIM
			casus_belli = cb_revolt_war
		}
		switch_tag = TIM
	}
}
country_event = {
	id = "regular_revolt.189"
	title = "regular_revolt.189.t"
	desc = "regular_revolt.189.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ISF }
		NOT = { exists = ISF }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = isfahan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 429
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = isfahan_area
					}
				}
				clear_rebels = yes
				add_core = ISF
			}
			every_owned_province = {
				add_permanent_claim = ISF
			}
			release = ISF
			ISF = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.189.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.189.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ISF
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.189.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ISF
			casus_belli = cb_revolt_war
		}
		switch_tag = ISF
	}
}
country_event = {
	id = "regular_revolt.190"
	title = "regular_revolt.190.t"
	desc = "regular_revolt.190.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FRS }
		NOT = { exists = FRS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = farsistan_area
				area = persian_gulf_coast
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2218
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = farsistan_area
						area = persian_gulf_coast
					}
				}
				clear_rebels = yes
				add_core = FRS
			}
			every_owned_province = {
				add_permanent_claim = FRS
			}
			release = FRS
			FRS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.190.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.190.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FRS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.190.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FRS
			casus_belli = cb_revolt_war
		}
		switch_tag = FRS
	}
}
country_event = {
	id = "regular_revolt.191"
	title = "regular_revolt.191.t"
	desc = "regular_revolt.191.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LRI }
		NOT = { exists = LRI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = luristan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2218
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = luristan_area
					}
				}
				clear_rebels = yes
				add_core = LRI
			}
			every_owned_province = {
				add_permanent_claim = LRI
			}
			release = LRI
			LRI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = 

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.191.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.191.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LRI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.191.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LRI
			casus_belli = cb_revolt_war
		}
		switch_tag = LRI
	}
}
country_event = {
	id = "regular_revolt.192"
	title = "regular_revolt.192.t"
	desc = "regular_revolt.192.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BSR }
		NOT = { exists = BSR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = basra_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 408
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = basra_area
					}
				}
				clear_rebels = yes
				add_core = BSR
			}
			every_owned_province = {
				add_permanent_claim = BSR
			}
			release = BSR
			BSR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.192.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.192.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BSR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.192.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BSR
			casus_belli = cb_revolt_war
		}
		switch_tag = BSR
	}
}
country_event = {
	id = "regular_revolt.193"
	title = "regular_revolt.193.t"
	desc = "regular_revolt.193.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MSY }
		NOT = { exists = MSY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = khuzestan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4290
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = khuzestan_area
					}
				}
				clear_rebels = yes
				add_core = MSY
			}
			every_owned_province = {
				add_permanent_claim = MSY
			}
			release = MSY
			MSY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.193.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.193.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MSY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.193.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MSY
			casus_belli = cb_revolt_war
		}
		switch_tag = MSY
	}
}
country_event = {
	id = "regular_revolt.194"
	title = "regular_revolt.194.t"
	desc = "regular_revolt.194.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ALH }
		NOT = { exists = ALH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bahrain_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 395
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bahrain_area
					}
				}
				clear_rebels = yes
				add_core = ALH
			}
			every_owned_province = {
				add_permanent_claim = ALH
			}
			release = ALH
			ALH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.194.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.194.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ALH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.194.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ALH
			casus_belli = cb_revolt_war
		}
		switch_tag = ALH
	}
}
country_event = {
	id = "regular_revolt.195"
	title = "regular_revolt.195.t"
	desc = "regular_revolt.195.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SHM }
		NOT = { exists = SHM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = nafud_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 395
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = nafud_area
					}
				}
				clear_rebels = yes
				add_core = SHM
			}
			every_owned_province = {
				add_permanent_claim = SHM
			}
			release = SHM
			SHM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.195.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.195.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SHM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.195.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SHM
			casus_belli = cb_revolt_war
		}
		switch_tag = SHM
	}
}
country_event = {
	id = "regular_revolt.196"
	title = "regular_revolt.196.t"
	desc = "regular_revolt.196.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ANZ }
		NOT = { exists = ANZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tabuk_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 383
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tabuk_area
					}
				}
				clear_rebels = yes
				add_core = ANZ
			}
			every_owned_province = {
				add_permanent_claim = ANZ
			}
			release = ANZ
			ANZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.196.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.196.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ANZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.196.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ANZ
			casus_belli = cb_revolt_war
		}
		switch_tag = ANZ
	}
}
country_event = {
	id = "regular_revolt.197"
	title = "regular_revolt.197.t"
	desc = "regular_revolt.197.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ISR }
		NOT = { exists = ISR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = palestine_area
				area = trans_jordan_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 379
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = palestine_area
						area = trans_jordan_area
					}
				}
				clear_rebels = yes
				add_core = ISR
			}
			every_owned_province = {
				add_permanent_claim = ISR
			}
			release = ISR
			ISR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = jewish

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.197.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.197.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ISR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.197.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ISR
			casus_belli = cb_revolt_war
		}
		switch_tag = ISR
	}
}
country_event = {
	id = "regular_revolt.198"
	title = "regular_revolt.198.t"
	desc = "regular_revolt.198.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAM }
		NOT = { exists = MAM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = gulf_of_arabia_area
				area = bahari_area
				area = delta_area
				area = cyrenaica_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 358
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = gulf_of_arabia_area
						area = bahari_area
						area = delta_area
						area = cyrenaica_area
					}
				}
				clear_rebels = yes
				add_core = MAM
			}
			every_owned_province = {
				add_permanent_claim = MAM
			}
			release = MAM
			MAM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.198.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.198.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.198.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAM
			casus_belli = cb_revolt_war
		}
		switch_tag = MAM
	}
}
country_event = {
	id = "regular_revolt.199"
	title = "regular_revolt.199.t"
	desc = "regular_revolt.199.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = EGY }
		NOT = { exists = EGY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = vostani_area
				area = bahari_area
				area = said_area
				area = al_wahat_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 358
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = vostani_area
						area = bahari_area
						area = said_area
						area = al_wahat_area
					}
				}
				clear_rebels = yes
				add_core = EGY
			}
			every_owned_province = {
				add_permanent_claim = EGY
			}
			release = EGY
			EGY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.199.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.199.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = EGY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.199.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = EGY
			casus_belli = cb_revolt_war
		}
		switch_tag = EGY
	}
}
country_event = {
	id = "regular_revolt.200"
	title = "regular_revolt.200.t"
	desc = "regular_revolt.200.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ZIM }
		NOT = { exists = ZIM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lower_zambezi_area
				area = zimbabwe_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1184
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lower_zambezi_area
						area = zimbabwe_area
					}
				}
				clear_rebels = yes
				add_core = ZIM
			}
			every_owned_province = {
				add_permanent_claim = ZIM
			}
			release = ZIM
			ZIM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.200.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.200.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ZIM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.200.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ZIM
			casus_belli = cb_revolt_war
		}
		switch_tag = ZIM
	}
}
country_event = {
	id = "regular_revolt.201"
	title = "regular_revolt.201.t"
	desc = "regular_revolt.201.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RZW }
		NOT = { exists = RZW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = butua_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1185
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = butua_area
					}
				}
				clear_rebels = yes
				add_core = RZW
			}
			every_owned_province = {
				add_permanent_claim = RZW
			}
			release = RZW
			RZW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.201.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.201.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PREV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.201.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PREV
			casus_belli = cb_revolt_war
		}
		switch_tag = RZW
	}
}
country_event = {
	id = "regular_revolt.202"
	title = "regular_revolt.202.t"
	desc = "regular_revolt.202.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SFA }
		NOT = { exists = SFA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = quelimane_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1186
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = quelimane_area
					}
				}
				clear_rebels = yes
				add_core = SFA
			}
			every_owned_province = {
				add_permanent_claim = SFA
			}
			release = SFA
			SFA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.202.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.202.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RZW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.202.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RZW
			casus_belli = cb_revolt_war
		}
		switch_tag = SFA
	}
}
country_event = {
	id = "regular_revolt.203"
	title = "regular_revolt.203.t"
	desc = "regular_revolt.203.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ZAN }
		NOT = { exists = ZAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = quelimane_area
				area = central_swahili_coast_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1196
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = quelimane_area
						area = central_swahili_coast_area
					}
				}
				clear_rebels = yes
				add_core = ZAN
			}
			every_owned_province = {
				add_permanent_claim = ZAN
			}
			release = ZAN
			ZAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.203.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.203.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ZAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.203.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ZAN
			casus_belli = cb_revolt_war
		}
		switch_tag = ZAN
	}
}
country_event = {
	id = "regular_revolt.204"
	title = "regular_revolt.204.t"
	desc = "regular_revolt.204.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LUB }
		NOT = { exists = LUB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = luba_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1196
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = luba_area
					}
				}
				clear_rebels = yes
				add_core = LUB
			}
			every_owned_province = {
				add_permanent_claim = LUB
			}
			release = LUB
			LUB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.204.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.204.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LUB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.204.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LUB
			casus_belli = cb_revolt_war
		}
		switch_tag = LUB
	}
}
country_event = {
	id = "regular_revolt.205"
	title = "regular_revolt.205.t"
	desc = "regular_revolt.205.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = UBH }
		NOT = { exists = UBH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = buha_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1196
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = buha_area
					}
				}
				clear_rebels = yes
				add_core = UBH
			}
			every_owned_province = {
				add_permanent_claim = UBH
			}
			release = UBH
			UBH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.205.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.205.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = UBH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.205.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = UBH
			casus_belli = cb_revolt_war
		}
		switch_tag = UBH
	}
}
country_event = {
	id = "regular_revolt.206"
	title = "regular_revolt.206.t"
	desc = "regular_revolt.206.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RWA }
		NOT = { exists = RWA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = rwanda_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4067
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = rwanda_area
					}
				}
				clear_rebels = yes
				add_core = RWA
			}
			every_owned_province = {
				add_permanent_claim = RWA
			}
			release = RWA
			RWA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.206.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.206.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RWA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.206.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RWA
			casus_belli = cb_revolt_war
		}
		switch_tag = RWA
	}
}
country_event = {
	id = "regular_revolt.207"
	title = "regular_revolt.207.t"
	desc = "regular_revolt.207.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRW }
		NOT = { exists = KRW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = buzinza_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4063
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = buzinza_area
					}
				}
				clear_rebels = yes
				add_core = KRW
			}
			every_owned_province = {
				add_permanent_claim = KRW
			}
			release = KRW
			KRW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.207.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.207.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.207.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRW
			casus_belli = cb_revolt_war
		}
		switch_tag = KRW
	}
}
country_event = {
	id = "regular_revolt.208"
	title = "regular_revolt.208.t"
	desc = "regular_revolt.208.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BNY }
		NOT = { exists = BNY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bunyoro_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4065
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bunyoro_area
					}
				}
				clear_rebels = yes
				add_core = BNY
			}
			every_owned_province = {
				add_permanent_claim = BNY
			}
			release = BNY
			BNY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.208.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.208.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BNY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.208.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BNY
			casus_belli = cb_revolt_war
		}
		switch_tag = BNY
	}
}
country_event = {
	id = "regular_revolt.209"
	title = "regular_revolt.209.t"
	desc = "regular_revolt.209.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TBK }
		NOT = { exists = TBK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = ngonde_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4044
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = ngonde_area
					}
				}
				clear_rebels = yes
				add_core = TBK
			}
			every_owned_province = {
				add_permanent_claim = TBK
			}
			release = TBK
			TBK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.209.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.209.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TBK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.209.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TBK
			casus_belli = cb_revolt_war
		}
		switch_tag = TBK
	}
}
country_event = {
	id = "regular_revolt.210"
	title = "regular_revolt.210.t"
	desc = "regular_revolt.210.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WAD }
		NOT = { exists = WAD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = darfur_central_sahara_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2932
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = darfur_central_sahara_area
					}
				}
				clear_rebels = yes
				add_core = WAD
			}
			every_owned_province = {
				add_permanent_claim = WAD
			}
			release = WAD
			WAD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.210.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.210.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WAD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.210.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WAD
			casus_belli = cb_revolt_war
		}
		switch_tag = WAD
	}
}
country_event = {
	id = "regular_revolt.211"
	title = "regular_revolt.211.t"
	desc = "regular_revolt.211.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YAO }
		NOT = { exists = YAO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kanem_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2288
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kanem_area
					}
				}
				clear_rebels = yes
				add_core = YAO
			}
			every_owned_province = {
				add_permanent_claim = YAO
			}
			release = YAO
			YAO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.211.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.211.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YAO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.211.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YAO
			casus_belli = cb_revolt_war
		}
		switch_tag = YAO
	}
}
country_event = {
	id = "regular_revolt.212"
	title = "regular_revolt.212.t"
	desc = "regular_revolt.212.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KBO }
		NOT = { exists = KBO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bornu_area
				area = adamawa_plateau_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1157
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bornu_area
						area = adamawa_plateau_area
					}
				}
				clear_rebels = yes
				add_core = KBO
			}
			every_owned_province = {
				add_permanent_claim = KBO
			}
			release = KBO
			KBO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = 

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.212.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.212.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KBO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.212.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KBO
			casus_belli = cb_revolt_war
		}
		switch_tag = KBO
	}
}
country_event = {
	id = "regular_revolt.213"
	title = "regular_revolt.213.t"
	desc = "regular_revolt.213.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AIR }
		NOT = { exists = AIR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = azbin_area
				area = east_azbin_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2274
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = azbin_area
						area = east_azbin_area
					}
				}
				clear_rebels = yes
				add_core = AIR
			}
			every_owned_province = {
				add_permanent_claim = AIR
			}
			release = AIR
			AIR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.213.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.213.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AIR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.213.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AIR
			casus_belli = cb_revolt_war
		}
		switch_tag = AIR
	}
}
country_event = {
	id = "regular_revolt.214"
	title = "regular_revolt.214.t"
	desc = "regular_revolt.214.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAN }
		NOT = { exists = KAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = hausa_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1155
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = hausa_area
					}
				}
				clear_rebels = yes
				add_core = KAN
			}
			every_owned_province = {
				add_permanent_claim = KAN
			}
			release = KAN
			KAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.214.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.214.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.214.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAN
			casus_belli = cb_revolt_war
		}
		switch_tag = KAN
	}
}
country_event = {
	id = "regular_revolt.215"
	title = "regular_revolt.215.t"
	desc = "regular_revolt.215.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KTS }
		NOT = { exists = KTS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = katsina_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1149
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = katsina_area
					}
				}
				clear_rebels = yes
				add_core = KTS
			}
			every_owned_province = {
				add_permanent_claim = KTS
			}
			release = KTS
			KTS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.215.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.215.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KTS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.215.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KTS
			casus_belli = cb_revolt_war
		}
		switch_tag = KTS
	}
}
country_event = {
	id = "regular_revolt.216"
	title = "regular_revolt.216.t"
	desc = "regular_revolt.216.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ZZZ }
		NOT = { exists = ZZZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = zazzau_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1154
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = zazzau_area
					}
				}
				clear_rebels = yes
				add_core = ZZZ
			}
			every_owned_province = {
				add_permanent_claim = ZZZ
			}
			release = ZZZ
			ZZZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.216.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.216.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ZZZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.216.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ZZZ
			casus_belli = cb_revolt_war
		}
		switch_tag = ZZZ
	}
}
country_event = {
	id = "regular_revolt.217"
	title = "regular_revolt.217.t"
	desc = "regular_revolt.217.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BEN }
		NOT = { exists = BEN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = benin_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1147
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = benin_area
					}
				}
				clear_rebels = yes
				add_core = BEN
			}
			every_owned_province = {
				add_permanent_claim = BEN
			}
			release = BEN
			BEN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.217.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.217.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BEN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.217.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BEN
			casus_belli = cb_revolt_war
		}
		switch_tag = BEN
	}
}
country_event = {
	id = "regular_revolt.218"
	title = "regular_revolt.218.t"
	desc = "regular_revolt.218.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PRD }
		NOT = { exists = PRD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4448
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4448
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4448
					}
				}
				clear_rebels = yes
				add_core = PRD
			}
			every_owned_province = {
				add_permanent_claim = PRD
			}
			release = PRD
			PRD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.218.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.218.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PRD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.218.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PRD
			casus_belli = cb_revolt_war
		}
		switch_tag = PRD
	}
}
country_event = {
	id = "regular_revolt.219"
	title = "regular_revolt.219.t"
	desc = "regular_revolt.219.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JPR }
		NOT = { exists = JPR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2048
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2048
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2048
					}
				}
				clear_rebels = yes
				add_core = JPR
			}
			every_owned_province = {
				add_permanent_claim = JPR
			}
			release = JPR
			JPR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.219.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.219.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JPR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.219.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JPR
			casus_belli = cb_revolt_war
		}
		switch_tag = JPR
	}
}
country_event = {
	id = "regular_revolt.220"
	title = "regular_revolt.220.t"
	desc = "regular_revolt.220.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KLH }
		NOT = { exists = KLH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4446
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4446
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4446
					}
				}
				clear_rebels = yes
				add_core = KLH
			}
			every_owned_province = {
				add_permanent_claim = KLH
			}
			release = KLH
			KLH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.220.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.220.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KLH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.220.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KLH
			casus_belli = cb_revolt_war
		}
		switch_tag = KLH
	}
}
country_event = {
	id = "regular_revolt.221"
	title = "regular_revolt.221.t"
	desc = "regular_revolt.221.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BST }
		NOT = { exists = BST }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 547
				province_id = 4445
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 547
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 547
						province_id = 4445
					}
				}
				clear_rebels = yes
				add_core = BST
			}
			every_owned_province = {
				add_permanent_claim = BST
			}
			release = BST
			BST = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.221.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.221.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BST
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.221.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BST
			casus_belli = cb_revolt_war
		}
		switch_tag = BST
	}
}
country_event = {
	id = "regular_revolt.222"
	title = "regular_revolt.222.t"
	desc = "regular_revolt.222.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DGL }
		NOT = { exists = DGL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1248
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1248
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1248
					}
				}
				clear_rebels = yes
				add_core = DGL
			}
			every_owned_province = {
				add_permanent_claim = DGL
			}
			release = DGL
			DGL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.222.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.222.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DGL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.222.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DGL
			casus_belli = cb_revolt_war
		}
		switch_tag = DGL
	}
}
country_event = {
	id = "regular_revolt.223"
	title = "regular_revolt.223.t"
	desc = "regular_revolt.223.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CEY }
		NOT = { exists = CEY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 572
				province_id = 4408
				province_id = 4407
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 572
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 572
						province_id = 4408
						province_id = 4407
					}
				}
				clear_rebels = yes
				add_core = CEY
			}
			every_owned_province = {
				add_permanent_claim = CEY
			}
			release = CEY
			CEY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.223.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.223.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CEY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.223.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CEY
			casus_belli = cb_revolt_war
		}
		switch_tag = CEY
	}
}
country_event = {
	id = "regular_revolt.224"
	title = "regular_revolt.224.t"
	desc = "regular_revolt.224.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KND }
		NOT = { exists = KND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2099
				province_id = 4409
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2099
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2099
						province_id = 4409
					}
				}
				clear_rebels = yes
				add_core = KND
			}
			every_owned_province = {
				add_permanent_claim = KND
			}
			release = KND
			KND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.224.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.224.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.224.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KND
			casus_belli = cb_revolt_war
		}
		switch_tag = KND
	}
}
country_event = {
	id = "regular_revolt.225"
	title = "regular_revolt.225.t"
	desc = "regular_revolt.225.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JFN }
		NOT = { exists = JFN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2100
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2100
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2100
					}
				}
				clear_rebels = yes
				add_core = JFN
			}
			every_owned_province = {
				add_permanent_claim = JFN
			}
			release = JFN
			JFN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = buddhism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.225.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.225.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JFN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.225.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JFN
			casus_belli = cb_revolt_war
		}
		switch_tag = JFN
	}
}
country_event = {
	id = "regular_revolt.226"
	title = "regular_revolt.226.t"
	desc = "regular_revolt.226.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAD }
		NOT = { exists = MAD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 536
				province_id = 2101
				province_id = 4412
				province_id = 2085
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 536
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 536
						province_id = 2101
						province_id = 4412
						province_id = 2085
					}
				}
				clear_rebels = yes
				add_core = MAD
			}
			every_owned_province = {
				add_permanent_claim = MAD
			}
			release = MAD
			MAD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.226.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.226.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.226.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAD
			casus_belli = cb_revolt_war
		}
		switch_tag = MAD
	}
}
country_event = {
	id = "regular_revolt.227"
	title = "regular_revolt.227.t"
	desc = "regular_revolt.227.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MYS }
		NOT = { exists = MYS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 533
				province_id = 538
				province_id = 4414
				province_id = 2031
				province_id = 4422
				province_id = 4421
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 533
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 533
						province_id = 538
						province_id = 4414
						province_id = 2031
						province_id = 4422
						province_id = 4421
					}
				}
				clear_rebels = yes
				add_core = MYS
			}
			every_owned_province = {
				add_permanent_claim = MYS
			}
			release = MYS
			MYS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.227.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.227.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MYS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.227.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MYS
			casus_belli = cb_revolt_war
		}
		switch_tag = MYS
	}
}
country_event = {
	id = "regular_revolt.228"
	title = "regular_revolt.228.t"
	desc = "regular_revolt.228.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BAH }
		NOT = { exists = BAH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1948
				province_id = 2035
				province_id = 4444
				province_id = 2028
				province_id = 4438
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4444
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1948
						province_id = 2035
						province_id = 4444
						province_id = 2028
						province_id = 4438
					}
				}
				clear_rebels = yes
				add_core = BAH
			}
			every_owned_province = {
				add_permanent_claim = BAH
			}
			release = BAH
			BAH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.228.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.228.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BAH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.228.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BAH
			casus_belli = cb_revolt_war
		}
		switch_tag = BAH
	}
}
country_event = {
	id = "regular_revolt.229"
	title = "regular_revolt.229.t"
	desc = "regular_revolt.229.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VIJ }
		NOT = { exists = VIJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 541
				province_id = 2090
				province_id = 4424
				province_id = 2083
				province_id = 4423
				province_id = 4418
				province_id = 539
				province_id = 4417
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 541
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 541
						province_id = 2090
						province_id = 4424
						province_id = 2083
						province_id = 4423
						province_id = 4418
						province_id = 539
						province_id = 4417
					}
				}
				clear_rebels = yes
				add_core = VIJ
			}
			every_owned_province = {
				add_permanent_claim = VIJ
			}
			release = VIJ
			VIJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.229.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.229.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VIJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.229.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VIJ
			casus_belli = cb_revolt_war
		}
		switch_tag = VIJ
	}
}
country_event = {
	id = "regular_revolt.230"
	title = "regular_revolt.230.t"
	desc = "regular_revolt.230.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AHM }
		NOT = { exists = AHM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 544
				province_id = 4437
				province_id = 545
				province_id = 4433
				province_id = 4432
				province_id = 2034
				province_id = 529
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 544
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 544
						province_id = 4437
						province_id = 545
						province_id = 4433
						province_id = 4432
						province_id = 2034
						province_id = 529
					}
				}
				clear_rebels = yes
				add_core = AHM
			}
			every_owned_province = {
				add_permanent_claim = AHM
			}
			release = AHM
			AHM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.230.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.230.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AHM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.230.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AHM
			casus_belli = cb_revolt_war
		}
		switch_tag = AHM
	}
}
country_event = {
	id = "regular_revolt.231"
	title = "regular_revolt.231.t"
	desc = "regular_revolt.231.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GUJ }
		NOT = { exists = GUJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4457
				province_id = 4512
				province_id = 516
				province_id = 2054
				province_id = 2053
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4457
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4457
						province_id = 4512
						province_id = 516
						province_id = 2054
						province_id = 2053
					}
				}
				clear_rebels = yes
				add_core = GUJ
			}
			every_owned_province = {
				add_permanent_claim = GUJ
			}
			release = GUJ
			GUJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.231.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.231.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GUJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.231.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GUJ
			casus_belli = cb_revolt_war
		}
		switch_tag = GUJ
	}
}
country_event = {
	id = "regular_revolt.232"
	title = "regular_revolt.232.t"
	desc = "regular_revolt.232.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BIJ }
		NOT = { exists = BIJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 569
				province_id = 4435
				province_id = 1946
				province_id = 4431
				province_id = 2033
				province_id = 4428
				province_id = 532
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 569
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 569
						province_id = 4435
						province_id = 1946
						province_id = 4431
						province_id = 2033
						province_id = 4428
						province_id = 532
					}
				}
				clear_rebels = yes
				add_core = BIJ
			}
			every_owned_province = {
				add_permanent_claim = BIJ
			}
			release = BIJ
			BIJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.232.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.232.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BIJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.232.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BIJ
			casus_belli = cb_revolt_war
		}
		switch_tag = BIJ
	}
}
country_event = {
	id = "regular_revolt.233"
	title = "regular_revolt.233.t"
	desc = "regular_revolt.233.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JAJ }
		NOT = { exists = JAJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 531
				province_id = 4427
				province_id = 2030
				province_id = 4429
				province_id = 530
				province_id = 2089
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 531
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 531
						province_id = 4427
						province_id = 2030
						province_id = 4429
						province_id = 530
						province_id = 2089
					}
				}
				clear_rebels = yes
				add_core = JAJ
			}
			every_owned_province = {
				add_permanent_claim = JAJ
			}
			release = JAJ
			JAJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.233.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.233.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JAJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.233.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JAJ
			casus_belli = cb_revolt_war
		}
		switch_tag = JAJ
	}
}
country_event = {
	id = "regular_revolt.234"
	title = "regular_revolt.234.t"
	desc = "regular_revolt.234.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRK }
		NOT = { exists = KRK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1949
				province_id = 4420
				province_id = 2027
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1949
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1949
						province_id = 4420
						province_id = 2027
					}
				}
				clear_rebels = yes
				add_core = KRK
			}
			every_owned_province = {
				add_permanent_claim = KRK
			}
			release = KRK
			KRK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.234.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.234.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.234.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRK
			casus_belli = cb_revolt_war
		}
		switch_tag = KRK
	}
}
country_event = {
	id = "regular_revolt.235"
	title = "regular_revolt.235.t"
	desc = "regular_revolt.235.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KLN }
		NOT = { exists = KLN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2032
				province_id = 4426
				province_id = 2029
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2032
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2032
						province_id = 4426
						province_id = 2029
					}
				}
				clear_rebels = yes
				add_core = KLN
			}
			every_owned_province = {
				add_permanent_claim = KLN
			}
			release = KLN
			KLN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.235.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.235.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KLN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.235.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KLN
			casus_belli = cb_revolt_war
		}
		switch_tag = KLN
	}
}
country_event = {
	id = "regular_revolt.236"
	title = "regular_revolt.236.t"
	desc = "regular_revolt.236.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GNG }
		NOT = { exists = GNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1947
				province_id = 540
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1947
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 540
						province_id = 1947
					}
				}
				clear_rebels = yes
				add_core = GNG
			}
			every_owned_province = {
				add_permanent_claim = GNG
			}
			release = GNG
			GNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.236.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.236.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.236.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GNG
			casus_belli = cb_revolt_war
		}
		switch_tag = GNG
	}
}
country_event = {
	id = "regular_revolt.237"
	title = "regular_revolt.237.t"
	desc = "regular_revolt.237.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VND }
		NOT = { exists = VND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 537
				province_id = 4410
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 537
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 537
						province_id = 4410
					}
				}
				clear_rebels = yes
				add_core = VND
			}
			every_owned_province = {
				add_permanent_claim = VND
			}
			release = VND
			VND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.237.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.237.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.237.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VND
			casus_belli = cb_revolt_war
		}
		switch_tag = VND
	}
}
country_event = {
	id = "regular_revolt.238"
	title = "regular_revolt.238.t"
	desc = "regular_revolt.238.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GWA }
		NOT = { exists = GWA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 525
				province_id = 740
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 525
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 525
						province_id = 740
					}
				}
				clear_rebels = yes
				add_core = GWA
			}
			every_owned_province = {
				add_permanent_claim = GWA
			}
			release = GWA
			GWA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.238.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.238.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GWA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.238.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GWA
			casus_belli = cb_revolt_war
		}
		switch_tag = GWA
	}
}
country_event = {
	id = "regular_revolt.239"
	title = "regular_revolt.239.t"
	desc = "regular_revolt.239.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HAD }
		NOT = { exists = HAD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 528
				province_id = 4464
				province_id = 4465
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 528
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 528
						province_id = 4464
						province_id = 4465
					}
				}
				clear_rebels = yes
				add_core = HAD
			}
			every_owned_province = {
				add_permanent_claim = HAD
			}
			release = HAD
			HAD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.239.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.239.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HAD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.239.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HAD
			casus_belli = cb_revolt_war
		}
		switch_tag = HAD
	}
}
country_event = {
	id = "regular_revolt.240"
	title = "regular_revolt.240.t"
	desc = "regular_revolt.240.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DHU }
		NOT = { exists = DHU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 519
				province_id = 2064
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 519
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 519
						province_id = 2064
					}
				}
				clear_rebels = yes
				add_core = DHU
			}
			every_owned_province = {
				add_permanent_claim = DHU
			}
			release = DHU
			DHU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.240.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.240.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DHU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.240.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DHU
			casus_belli = cb_revolt_war
		}
		switch_tag = DHU
	}
}
country_event = {
	id = "regular_revolt.241"
	title = "regular_revolt.241.t"
	desc = "regular_revolt.241.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MEW }
		NOT = { exists = MEW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 520
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4500
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 520
					}
				}
				clear_rebels = yes
				add_core = MEW
			}
			every_owned_province = {
				add_permanent_claim = MEW
			}
			release = MEW
			MEW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.241.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.241.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MEW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.241.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MEW
			casus_belli = cb_revolt_war
		}
		switch_tag = MEW
	}
}
country_event = {
	id = "regular_revolt.242"
	title = "regular_revolt.242.t"
	desc = "regular_revolt.242.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DNG }
		NOT = { exists = DNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4491
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4491
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4491
					}
				}
				clear_rebels = yes
				add_core = DNG
			}
			every_owned_province = {
				add_permanent_claim = DNG
			}
			release = DNG
			DNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.242.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.242.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.242.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DNG
			casus_belli = cb_revolt_war
		}
		switch_tag = DNG
	}
}
country_event = {
	id = "regular_revolt.243"
	title = "regular_revolt.243.t"
	desc = "regular_revolt.243.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JML }
		NOT = { exists = JML }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 554
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 554
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 554
					}
				}
				clear_rebels = yes
				add_core = JML
			}
			every_owned_province = {
				add_permanent_claim = JML
			}
			release = JML
			JML = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.243.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.243.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JML
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.243.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JML
			casus_belli = cb_revolt_war
		}
		switch_tag = JML
	}
}
country_event = {
	id = "regular_revolt.244"
	title = "regular_revolt.244.t"
	desc = "regular_revolt.244.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DTI }
		NOT = { exists = DTI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4492
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4492
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4492
					}
				}
				clear_rebels = yes
				add_core = DTI
			}
			every_owned_province = {
				add_permanent_claim = DTI
			}
			release = DTI
			DTI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.244.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.244.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DTI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.244.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DTI
			casus_belli = cb_revolt_war
		}
		switch_tag = DTI
	}
}
country_event = {
	id = "regular_revolt.245"
	title = "regular_revolt.245.t"
	desc = "regular_revolt.245.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KMN }
		NOT = { exists = KMN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2069
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2069
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2069
					}
				}
				clear_rebels = yes
				add_core = KMN
			}
			every_owned_province = {
				add_permanent_claim = KMN
			}
			release = KMN
			KMN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.245.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.245.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KMN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.245.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KMN
			casus_belli = cb_revolt_war
		}
		switch_tag = KMN
	}
}
country_event = {
	id = "regular_revolt.246"
	title = "regular_revolt.246.t"
	desc = "regular_revolt.246.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GHR }
		NOT = { exists = GHR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 511
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 511
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 511
					}
				}
				clear_rebels = yes
				add_core = GHR
			}
			every_owned_province = {
				add_permanent_claim = GHR
			}
			release = GHR
			GHR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.246.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.246.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GHR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.246.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GHR
			casus_belli = cb_revolt_war
		}
		switch_tag = GHR
	}
}
country_event = {
	id = "regular_revolt.247"
	title = "regular_revolt.247.t"
	desc = "regular_revolt.247.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SRM }
		NOT = { exists = SRM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4493
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4493
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4493
					}
				}
				clear_rebels = yes
				add_core = SRM
			}
			every_owned_province = {
				add_permanent_claim = SRM
			}
			release = SRM
			SRM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.247.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.247.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SRM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.247.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SRM
			casus_belli = cb_revolt_war
		}
		switch_tag = SRM
	}
}
country_event = {
	id = "regular_revolt.248"
	title = "regular_revolt.248.t"
	desc = "regular_revolt.248.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KGR }
		NOT = { exists = KGR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 509
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 509
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 509
					}
				}
				clear_rebels = yes
				add_core = KGR
			}
			every_owned_province = {
				add_permanent_claim = KGR
			}
			release = KGR
			KGR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.248.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.248.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KGR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.248.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KGR
			casus_belli = cb_revolt_war
		}
		switch_tag = KGR
	}
}
country_event = {
	id = "regular_revolt.249"
	title = "regular_revolt.249.t"
	desc = "regular_revolt.249.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KOC }
		NOT = { exists = KOC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 535
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 535
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 535
					}
				}
				clear_rebels = yes
				add_core = KOC
			}
			every_owned_province = {
				add_permanent_claim = KOC
			}
			release = KOC
			KOC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.249.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.249.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.249.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KOC
			casus_belli = cb_revolt_war
		}
		switch_tag = KOC
	}
}
country_event = {
	id = "regular_revolt.250"
	title = "regular_revolt.250.t"
	desc = "regular_revolt.250.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAB }
		NOT = { exists = MAB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 534
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 534
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 534
					}
				}
				clear_rebels = yes
				add_core = MAB
			}
			every_owned_province = {
				add_permanent_claim = MAB
			}
			release = MAB
			MAB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.250.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.250.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.250.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAB
			casus_belli = cb_revolt_war
		}
		switch_tag = MAB
	}
}
country_event = {
	id = "regular_revolt.251"
	title = "regular_revolt.251.t"
	desc = "regular_revolt.251.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KLT }
		NOT = { exists = KLT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4413
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4413
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4413
					}
				}
				clear_rebels = yes
				add_core = KLT
			}
			every_owned_province = {
				add_permanent_claim = KLT
			}
			release = KLT
			KLT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.251.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.251.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KLT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.251.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KLT
			casus_belli = cb_revolt_war
		}
		switch_tag = KLT
	}
}
country_event = {
	id = "regular_revolt.252"
	title = "regular_revolt.252.t"
	desc = "regular_revolt.252.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = IDR }
		NOT = { exists = IDR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4480
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4480
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4480
					}
				}
				clear_rebels = yes
				add_core = IDR
			}
			every_owned_province = {
				add_permanent_claim = IDR
			}
			release = IDR
			IDR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.252.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.252.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = IDR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.252.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = IDR
			casus_belli = cb_revolt_war
		}
		switch_tag = IDR
	}
}
country_event = {
	id = "regular_revolt.253"
	title = "regular_revolt.253.t"
	desc = "regular_revolt.253.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAT }
		NOT = { exists = KAT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 503
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 503
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 503
					}
				}
				clear_rebels = yes
				add_core = KAT
			}
			every_owned_province = {
				add_permanent_claim = KAT
			}
			release = KAT
			KAT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.253.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.253.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.253.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAT
			casus_belli = cb_revolt_war
		}
		switch_tag = KAT
	}
}
country_event = {
	id = "regular_revolt.254"
	title = "regular_revolt.254.t"
	desc = "regular_revolt.254.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JLV }
		NOT = { exists = JLV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4456
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4456
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4456
					}
				}
				clear_rebels = yes
				add_core = JLV
			}
			every_owned_province = {
				add_permanent_claim = JLV
			}
			release = JLV
			JLV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.254.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.254.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JLV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.254.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JLV
			casus_belli = cb_revolt_war
		}
		switch_tag = JLV
	}
}
country_event = {
	id = "regular_revolt.255"
	title = "regular_revolt.255.t"
	desc = "regular_revolt.255.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PTL }
		NOT = { exists = PTL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2051
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2051
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2051
					}
				}
				clear_rebels = yes
				add_core = PTL
			}
			every_owned_province = {
				add_permanent_claim = PTL
			}
			release = PTL
			PTL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.255.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.255.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PTL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.255.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PTL
			casus_belli = cb_revolt_war
		}
		switch_tag = PTL
	}
}
country_event = {
	id = "regular_revolt.256"
	title = "regular_revolt.256.t"
	desc = "regular_revolt.256.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NVR }
		NOT = { exists = NVR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2052
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2052
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2052
					}
				}
				clear_rebels = yes
				add_core = NVR
			}
			every_owned_province = {
				add_permanent_claim = NVR
			}
			release = NVR
			NVR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.256.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.256.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NVR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.256.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NVR
			casus_belli = cb_revolt_war
		}
		switch_tag = NVR
	}
}
country_event = {
	id = "regular_revolt.257"
	title = "regular_revolt.257.t"
	desc = "regular_revolt.257.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RJK }
		NOT = { exists = RJK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 521
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 521
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 521
					}
				}
				clear_rebels = yes
				add_core = RJK
			}
			every_owned_province = {
				add_permanent_claim = RJK
			}
			release = RJK
			RJK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.257.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.257.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RJK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.257.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RJK
			casus_belli = cb_revolt_war
		}
		switch_tag = RJK
	}
}
country_event = {
	id = "regular_revolt.258"
	title = "regular_revolt.258.t"
	desc = "regular_revolt.258.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PRB }
		NOT = { exists = PRB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4454
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4454
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4454
					}
				}
				clear_rebels = yes
				add_core = PRB
			}
			every_owned_province = {
				add_permanent_claim = PRB
			}
			release = PRB
			PRB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.258.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.258.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PRB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.258.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PRB
			casus_belli = cb_revolt_war
		}
		switch_tag = PRB
	}
}
country_event = {
	id = "regular_revolt.259"
	title = "regular_revolt.259.t"
	desc = "regular_revolt.259.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JGD }
		NOT = { exists = JGD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 515
				province_id = 4455
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 515
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 515
						province_id = 4455
					}
				}
				clear_rebels = yes
				add_core = JGD
			}
			every_owned_province = {
				add_permanent_claim = JGD
			}
			release = JGD
			JGD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.259.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.259.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JGD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.259.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JGD
			casus_belli = cb_revolt_war
		}
		switch_tag = JGD
	}
}
country_event = {
	id = "regular_revolt.260"
	title = "regular_revolt.260.t"
	desc = "regular_revolt.260.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BSG }
		NOT = { exists = BSG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4062
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4062
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4062
					}
				}
				clear_rebels = yes
				add_core = BSG
			}
			every_owned_province = {
				add_permanent_claim = BSG
			}
			release = BSG
			BSG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.260.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.260.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BSG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.260.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BSG
			casus_belli = cb_revolt_war
		}
		switch_tag = BSG
	}
}
country_event = {
	id = "regular_revolt.261"
	title = "regular_revolt.261.t"
	desc = "regular_revolt.261.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BUG }
		NOT = { exists = BUG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4064
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4064
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4064
					}
				}
				clear_rebels = yes
				add_core = BUG
			}
			every_owned_province = {
				add_permanent_claim = BUG
			}
			release = BUG
			BUG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.261.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.261.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BUG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.261.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BUG
			casus_belli = cb_revolt_war
		}
		switch_tag = BUG
	}
}
country_event = {
	id = "regular_revolt.262"
	title = "regular_revolt.262.t"
	desc = "regular_revolt.262.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NKO }
		NOT = { exists = NKO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4066
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4066
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4066
					}
				}
				clear_rebels = yes
				add_core = NKO
			}
			every_owned_province = {
				add_permanent_claim = NKO
			}
			release = NKO
			NKO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
ism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.262.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.262.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NKO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.262.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NKO
			casus_belli = cb_revolt_war
		}
		switch_tag = NKO
	}
}
country_event = {
	id = "regular_revolt.263"
	title = "regular_revolt.263.t"
	desc = "regular_revolt.263.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ULS }
		NOT = { tag = IRE }
		NOT = { exists = ULS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4121
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4121
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4121
					}
				}
				clear_rebels = yes
				add_core = ULS
			}
			every_owned_province = {
				add_permanent_claim = ULS
			}
			release = ULS
			ULS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.263.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.263.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ULS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.263.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ULS
			casus_belli = cb_revolt_war
		}
		switch_tag = ULS
	}
}
country_event = {
	id = "regular_revolt.264"
	title = "regular_revolt.264.t"
	desc = "regular_revolt.264.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TYR }
		NOT = { tag = IRE }
		NOT = { exists = TYR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 372
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 372
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 372
					}
				}
				clear_rebels = yes
				add_core = TYR
			}
			every_owned_province = {
				add_permanent_claim = TYR
			}
			release = TYR
			TYR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.264.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.264.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TYR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.264.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TYR
			casus_belli = cb_revolt_war
		}
		switch_tag = TYR
	}
}
country_event = {
	id = "regular_revolt.265"
	title = "regular_revolt.265.t"
	desc = "regular_revolt.265.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRY }
		NOT = { tag = IRE }
		NOT = { exists = TRY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4380
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4380
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4380
					}
				}
				clear_rebels = yes
				add_core = TRY
			}
			every_owned_province = {
				add_permanent_claim = TRY
			}
			release = TRY
			TRY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.265.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.265.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.265.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRY
			casus_belli = cb_revolt_war
		}
		switch_tag = TRY
	}
}
country_event = {
	id = "regular_revolt.266"
	title = "regular_revolt.266.t"
	desc = "regular_revolt.266.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MTH }
		NOT = { tag = IRE }
		NOT = { exists = MTH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 373
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 373
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 373
					}
				}
				clear_rebels = yes
				add_core = MTH
			}
			every_owned_province = {
				add_permanent_claim = MTH
			}
			release = MTH
			MTH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.266.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.266.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MTH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.266.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MTH
			casus_belli = cb_revolt_war
		}
		switch_tag = MTH
	}
}
country_event = {
	id = "regular_revolt.267"
	title = "regular_revolt.267.t"
	desc = "regular_revolt.267.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LEI }
		NOT = { tag = IRE }
		NOT = { exists = LEI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 374
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 374
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 374
					}
				}
				clear_rebels = yes
				add_core = LEI
			}
			every_owned_province = {
				add_permanent_claim = LEI
			}
			release = LEI
			LEI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.267.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.267.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LEI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.267.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LEI
			casus_belli = cb_revolt_war
		}
		switch_tag = LEI
	}
}
country_event = {
	id = "regular_revolt.268"
	title = "regular_revolt.268.t"
	desc = "regular_revolt.268.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KID }
		NOT = { tag = IRE }
		NOT = { exists = KID }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4120
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4120
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4120
					}
				}
				clear_rebels = yes
				add_core = KID
			}
			every_owned_province = {
				add_permanent_claim = KID
			}
			release = KID
			KID = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.268.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.268.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KID
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.268.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KID
			casus_belli = cb_revolt_war
		}
		switch_tag = KID
	}
}
country_event = {
	id = "regular_revolt.269"
	title = "regular_revolt.269.t"
	desc = "regular_revolt.269.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FLY }
		NOT = { tag = IRE }
		NOT = { exists = FLY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4379
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4379
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4379
					}
				}
				clear_rebels = yes
				add_core = FLY
			}
			every_owned_province = {
				add_permanent_claim = FLY
			}
			release = FLY
			FLY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.269.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.269.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FLY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.269.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FLY
			casus_belli = cb_revolt_war
		}
		switch_tag = FLY
	}
}
country_event = {
	id = "regular_revolt.270"
	title = "regular_revolt.270.t"
	desc = "regular_revolt.270.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SLN }
		NOT = { tag = IRE }
		NOT = { exists = SLN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4119
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4119
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4119
					}
				}
				clear_rebels = yes
				add_core = SLN
			}
			every_owned_province = {
				add_permanent_claim = SLN
			}
			release = SLN
			SLN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.270.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.270.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SLN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.270.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SLN
			casus_belli = cb_revolt_war
		}
		switch_tag = SLN
	}
}
country_event = {
	id = "regular_revolt.271"
	title = "regular_revolt.271.t"
	desc = "regular_revolt.271.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CNN }
		NOT = { tag = IRE }
		NOT = { exists = CNN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 376
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 376
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 376
					}
				}
				clear_rebels = yes
				add_core = CNN
			}
			every_owned_province = {
				add_permanent_claim = CNN
			}
			release = CNN
			CNN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.271.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.271.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CNN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.271.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CNN
			casus_belli = cb_revolt_war
		}
		switch_tag = CNN
	}
}
country_event = {
	id = "regular_revolt.272"
	title = "regular_revolt.272.t"
	desc = "regular_revolt.272.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MNS }
		NOT = { tag = IRE }
		NOT = { exists = MNS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 375
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 375
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 375
					}
				}
				clear_rebels = yes
				add_core = MNS
			}
			every_owned_province = {
				add_permanent_claim = MNS
			}
			release = MNS
			MNS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.272.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.272.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MNS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.272.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MNS
			casus_belli = cb_revolt_war
		}
		switch_tag = MNS
	}
}
country_event = {
	id = "regular_revolt.273"
	title = "regular_revolt.273.t"
	desc = "regular_revolt.273.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ORD }
		NOT = { tag = IRE }
		NOT = { exists = ORD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4377
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4377
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4377
					}
				}
				clear_rebels = yes
				add_core = ORD
			}
			every_owned_province = {
				add_permanent_claim = ORD
			}
			release = ORD
			ORD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.273.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.273.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ORD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.273.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ORD
			casus_belli = cb_revolt_war
		}
		switch_tag = ORD
	}
}
country_event = {
	id = "regular_revolt.274"
	title = "regular_revolt.274.t"
	desc = "regular_revolt.274.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DMS }
		NOT = { tag = IRE }
		NOT = { exists = DMS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4118
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4118
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4118
					}
				}
				clear_rebels = yes
				add_core = DMS
			}
			every_owned_province = {
				add_permanent_claim = DMS
			}
			release = DMS
			DMS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.274.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.274.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DMS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.274.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DMS
			casus_belli = cb_revolt_war
		}
		switch_tag = DMS
	}
}
country_event = {
	id = "regular_revolt.275"
	title = "regular_revolt.275.t"
	desc = "regular_revolt.275.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MCM }
		NOT = { tag = IRE }
		NOT = { exists = MCM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4378
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4378
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4378
					}
				}
				clear_rebels = yes
				add_core = MCM
			}
			every_owned_province = {
				add_permanent_claim = MCM
			}
			release = MCM
			MCM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.275.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.275.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MCM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.275.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MCM
			casus_belli = cb_revolt_war
		}
		switch_tag = MCM
	}
}
country_event = {
	id = "regular_revolt.276"
	title = "regular_revolt.276.t"
	desc = "regular_revolt.276.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = IRE }
		NOT = { exists = IRE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4378
				province_id = 4118
				province_id = 4377
				province_id = 374
				province_id = 4120
				province_id = 4379
				province_id = 375
				province_id = 376
				province_id = 4119
				province_id = 4380
				province_id = 372
				province_id = 4121
				province_id = 373
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4378
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4378
						province_id = 4118
						province_id = 4377
						province_id = 374
						province_id = 4120
						province_id = 4379
						province_id = 375
						province_id = 376
						province_id = 4119
						province_id = 4380
						province_id = 372
						province_id = 4121
						province_id = 373
					}
				}
				clear_rebels = yes
				add_core = IRE
			}
			every_owned_province = {
				add_permanent_claim = IRE
			}
			release = IRE
			IRE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.276.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.276.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = IRE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.276.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = IRE
			casus_belli = cb_revolt_war
		}
		switch_tag = IRE
	}
}
country_event = {
	id = "regular_revolt.277"
	title = "regular_revolt.277.t"
	desc = "regular_revolt.277.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MFY }
		NOT = { exists = MFY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4028
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4028
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4028
					}
				}
				clear_rebels = yes
				add_core = MFY
			}
			every_owned_province = {
				add_permanent_claim = MFY
			}
			release = MFY
			MFY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.277.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.277.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MFY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.277.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MFY
			casus_belli = cb_revolt_war
		}
		switch_tag = MFY
	}
}
country_event = {
	id = "regular_revolt.278"
	title = "regular_revolt.278.t"
	desc = "regular_revolt.278.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ANT }
		NOT = { exists = ANT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4026
				province_id = 4029
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4026
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4026
						province_id = 4029
					}
				}
				clear_rebels = yes
				add_core = ANT
			}
			every_owned_province = {
				add_permanent_claim = ANT
			}
			release = ANT
			ANT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.278.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.278.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ANT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.278.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ANT
			casus_belli = cb_revolt_war
		}
		switch_tag = ANT
	}
}
country_event = {
	id = "regular_revolt.279"
	title = "regular_revolt.279.t"
	desc = "regular_revolt.279.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MIR }
		NOT = { exists = MIR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1792
				province_id = 4027
				province_id = 4030
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1792
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1792
						province_id = 4027
						province_id = 4030
					}
				}
				clear_rebels = yes
				add_core = MIR
			}
			every_owned_province = {
				add_permanent_claim = MIR
			}
			release = MIR
			MIR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.279.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.279.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MIR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.279.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MIR
			casus_belli = cb_revolt_war
		}
		switch_tag = MIR
	}
}
country_event = {
	id = "regular_revolt.280"
	title = "regular_revolt.280.t"
	desc = "regular_revolt.280.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BTS }
		NOT = { exists = BTS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4025
				province_id = 4024
				province_id = 4023
				province_id = 4021
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4025
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4025
						province_id = 4024
						province_id = 4023
						province_id = 4021
					}
				}
				clear_rebels = yes
				add_core = BTS
			}
			every_owned_province = {
				add_permanent_claim = BTS
			}
			release = BTS
			BTS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.280.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.280.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BTS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.280.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BTS
			casus_belli = cb_revolt_war
		}
		switch_tag = BTS
	}
}
country_event = {
	id = "regular_revolt.281"
	title = "regular_revolt.281.t"
	desc = "regular_revolt.281.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SKA }
		NOT = { exists = SKA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1193
				province_id = 4032
				province_id = 4031
				province_id = 1194
				province_id = 4022
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1193
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1193
						province_id = 4032
						province_id = 4031
						province_id = 1194
						province_id = 4022
					}
				}
				clear_rebels = yes
				add_core = SKA
			}
			every_owned_province = {
				add_permanent_claim = SKA
			}
			release = SKA
			SKA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.281.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.281.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SKA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.281.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SKA
			casus_belli = cb_revolt_war
		}
		switch_tag = SKA
	}
}
country_event = {
	id = "regular_revolt.282"
	title = "regular_revolt.282.t"
	desc = "regular_revolt.282.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MKU }
		NOT = { exists = MKU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4034
				province_id = 4038
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4034
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4034
						province_id = 4038
					}
				}
				clear_rebels = yes
				add_core = MKU
			}
			every_owned_province = {
				add_permanent_claim = MKU
			}
			release = MKU
			MKU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.282.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.282.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MKU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.282.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MKU
			casus_belli = cb_revolt_war
		}
		switch_tag = MKU
	}
}
country_event = {
	id = "regular_revolt.283"
	title = "regular_revolt.283.t"
	desc = "regular_revolt.283.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LDU }
		NOT = { exists = LDU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4039
				province_id = 4047
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4039
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4039
						province_id = 4047
					}
				}
				clear_rebels = yes
				add_core = LDU
			}
			every_owned_province = {
				add_permanent_claim = LDU
			}
			release = LDU
			LDU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.283.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.283.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LDU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.283.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LDU
			casus_belli = cb_revolt_war
		}
		switch_tag = LDU
	}
}
country_event = {
	id = "regular_revolt.284"
	title = "regular_revolt.284.t"
	desc = "regular_revolt.284.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KIK }
		NOT = { exists = KIK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4098
				province_id = 4107
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4098
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4098
						province_id = 4107
					}
				}
				clear_rebels = yes
				add_core = KIK
			}
			every_owned_province = {
				add_permanent_claim = KIK
			}
			release = KIK
			KIK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.284.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.284.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KIK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.284.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KIK
			casus_belli = cb_revolt_war
		}
		switch_tag = KIK
	}
}
country_event = {
	id = "regular_revolt.285"
	title = "regular_revolt.285.t"
	desc = "regular_revolt.285.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MRA }
		NOT = { exists = MRA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4040
				province_id = 4048
				province_id = 4037
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4040
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4040
						province_id = 4048
						province_id = 4037
					}
				}
				clear_rebels = yes
				add_core = MRA
			}
			every_owned_province = {
				add_permanent_claim = MFA
			}
			release = MRA
			MRA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.285.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.285.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MRA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.285.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MRA
			casus_belli = cb_revolt_war
		}
		switch_tag = MRA
	}
}
country_event = {
	id = "regular_revolt.286"
	title = "regular_revolt.286.t"
	desc = "regular_revolt.286.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KZB }
		NOT = { exists = KZB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4100
				province_id = 4103
				province_id = 4101
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4100
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4100
						province_id = 4103
						province_id = 4101
					}
				}
				clear_rebels = yes
				add_core = KZB
			}
			every_owned_province = {
				add_permanent_claim = KZB
			}
			release = KZB
			KZB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.286.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.286.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KZB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.286.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KZB
			casus_belli = cb_revolt_war
		}
		switch_tag = KZB
	}
}
country_event = {
	id = "regular_revolt.287"
	title = "regular_revolt.287.t"
	desc = "regular_revolt.287.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LND }
		NOT = { exists = LND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4092
				province_id = 4091
				province_id = 4093
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4092
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4092
						province_id = 4091
						province_id = 4093
					}
				}
				clear_rebels = yes
				add_core = LND
			}
			every_owned_province = {
				add_permanent_claim = LND
			}
			release = LND
			LND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.287.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.287.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.287.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LND
			casus_belli = cb_revolt_war
		}
		switch_tag = LND
	}
}
country_event = {
	id = "regular_revolt.288"
	title = "regular_revolt.288.t"
	desc = "regular_revolt.288.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KUB }
		NOT = { exists = KUB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4089
				province_id = 4088
				province_id = 4086
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4089
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4089
						province_id = 4088
						province_id = 4086
					}
				}
				clear_rebels = yes
				add_core = KUB
			}
			every_owned_province = {
				add_permanent_claim = KUB
			}
			release = KUB
			KUB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.288.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.288.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KUB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.288.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KUB
			casus_belli = cb_revolt_war
		}
		switch_tag = KUB
	}
}
country_event = {
	id = "regular_revolt.289"
	title = "regular_revolt.289.t"
	desc = "regular_revolt.289.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KSJ }
		NOT = { exists = KSJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4082
				province_id = 4083
				province_id = 4084
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4082
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4082
						province_id = 4083
						province_id = 4084
					}
				}
				clear_rebels = yes
				add_core = KSJ
			}
			every_owned_province = {
				add_permanent_claim = KSJ
			}
			release = KSJ
			KSJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.289.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.289.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KSJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.289.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KSJ
			casus_belli = cb_revolt_war
		}
		switch_tag = KSJ
	}
}
country_event = {
	id = "regular_revolt.290"
	title = "regular_revolt.290.t"
	desc = "regular_revolt.290.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KLD }
		NOT = { exists = KLD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4096
				province_id = 4090
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4096
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4096
						province_id = 4090
					}
				}
				clear_rebels = yes
				add_core = KLD
			}
			release = KLD
			KLD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.290.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.290.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KLD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.290.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KLD
			casus_belli = cb_revolt_war
		}
		switch_tag = KLD
	}
}
country_event = {
	id = "regular_revolt.291"
	title = "regular_revolt.291.t"
	desc = "regular_revolt.291.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CKW }
		NOT = { exists = CKW }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4095
				province_id = 4094
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4095
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4095
						province_id = 4094
					}
				}
				clear_rebels = yes
				add_core = CKW
			}
			every_owned_province = {
				add_permanent_claim = CKW
			}
			release = CKW
			CKW = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.291.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.291.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CKW
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.291.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CKW
			casus_belli = cb_revolt_war
		}
		switch_tag = CKW
	}
}
country_event = {
	id = "regular_revolt.292"
	title = "regular_revolt.292.t"
	desc = "regular_revolt.292.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YAK }
		NOT = { exists = YAK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4085
				province_id = 4087
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4085
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4085
						province_id = 4087
					}
				}
				clear_rebels = yes
				add_core = YAK
			}
			every_owned_province = {
				add_permanent_claim = YAK
			}
			release = YAK
			YAK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.292.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.292.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YAK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.292.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YAK
			casus_belli = cb_revolt_war
		}
		switch_tag = YAK
	}
}
country_event = {
	id = "regular_revolt.293"
	title = "regular_revolt.293.t"
	desc = "regular_revolt.293.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NDO }
		NOT = { exists = NDO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1171
				province_id = 2948
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1171
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1171
						province_id = 2948
					}
				}
				clear_rebels = yes
				add_core = NDO
			}
			every_owned_province = {
				add_permanent_claim = NDO
			}
			release = NDO
			NDO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.293.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.293.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NDO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.293.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NDO
			casus_belli = cb_revolt_war
		}
		switch_tag = NDO
	}
}
country_event = {
	id = "regular_revolt.294"
	title = "regular_revolt.294.t"
	desc = "regular_revolt.294.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KON }
		NOT = { exists = KON }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1170
				province_id = 1168
				province_id = 798
				province_id = 2949
				province_id = 1901
				province_id = 4081
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1170
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1170
						province_id = 1168
						province_id = 798
						province_id = 2949
						province_id = 1901
						province_id = 4081
					}
				}
				clear_rebels = yes
				add_core = KON
			}
			every_owned_province = {
				add_permanent_claim = KON
			}
			release = KON
			KON = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.294.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.294.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KON
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.294.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KON
			casus_belli = cb_revolt_war
		}
		switch_tag = KON
	}
}
country_event = {
	id = "regular_revolt.295"
	title = "regular_revolt.295.t"
	desc = "regular_revolt.295.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SYO }
		NOT = { exists = SYO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4080
				province_id = 4079
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4080
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4080
						province_id = 4079
					}
				}
				clear_rebels = yes
				add_core = SYO
			}
			every_owned_province = {
				add_permanent_claim = SYO
			}
			release = SYO
			SYO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.295.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.295.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SYO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.295.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SYO
			casus_belli = cb_revolt_war
		}
		switch_tag = SYO
	}
}
country_event = {
	id = "regular_revolt.296"
	title = "regular_revolt.296.t"
	desc = "regular_revolt.296.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LOA }
		NOT = { exists = LOA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1166
				province_id = 4078
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1166
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1166
						province_id = 4078
					}
				}
				clear_rebels = yes
				add_core = LOA
			}
			every_owned_province = {
				add_permanent_claim = LOA
			}
			release = LOA
			LOA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.296.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.296.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LOA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.296.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LOA
			casus_belli = cb_revolt_war
		}
		switch_tag = LOA
	}
}
country_event = {
	id = "regular_revolt.297"
	title = "regular_revolt.297.t"
	desc = "regular_revolt.297.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TYO }
		NOT = { exists = TYO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1169
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1169
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1169
					}
				}
				clear_rebels = yes
				add_core = TYO
			}
			every_owned_province = {
				add_permanent_claim = TYO
			}
			release = TYO
			TYO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.297.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.297.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TYO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.297.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TYO
			casus_belli = cb_revolt_war
		}
		switch_tag = TYO
	}
}
country_event = {
	id = "regular_revolt.298"
	title = "regular_revolt.298.t"
	desc = "regular_revolt.298.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MBA }
		NOT = { exists = MBA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1202
				province_id = 1200
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1202
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1202
						province_id = 1200
					}
				}
				clear_rebels = yes
				add_core = MBA
			}
			every_owned_province = {
				add_permanent_claim = MBA
			}
			release = MBA
			MBA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.298.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.298.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MBA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.298.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MBA
			casus_belli = cb_revolt_war
		}
		switch_tag = MBA
	}
}
country_event = {
	id = "regular_revolt.299"
	title = "regular_revolt.299.t"
	desc = "regular_revolt.299.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLI }
		NOT = { exists = MLI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1203
				province_id = 1204
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1203
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1203
						province_id = 1204
					}
				}
				clear_rebels = yes
				add_core = MLI
			}
			every_owned_province = {
				add_permanent_claim = MLI
			}
			release = MLI
			MLI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.299.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.299.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.299.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLI
			casus_belli = cb_revolt_war
		}
		switch_tag = MLI
	}
}
country_event = {
	id = "regular_revolt.300"
	title = "regular_revolt.300.t"
	desc = "regular_revolt.300.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PTE }
		NOT = { exists = PTE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2796
				province_id = 1204
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2796
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2796
						province_id = 1204
					}
				}
				clear_rebels = yes
				add_core = PTE
			}
			every_owned_province = {
				add_permanent_claim = PTE
			}
			release = PTE
			PTE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.300.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.300.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PTE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.300.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PTE
			casus_belli = cb_revolt_war
		}
		switch_tag = PTE
	}
}
country_event = {
	id = "regular_revolt.301"
	title = "regular_revolt.301.t"
	desc = "regular_revolt.301.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AJU }
		NOT = { exists = AJU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2774
				province_id = 2794
				province_id = 2775
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2774
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2774
						province_id = 2794
						province_id = 2775
					}
				}
				clear_rebels = yes
				add_core = AJU
			}
			every_owned_province = {
				add_permanent_claim = AJU
			}
			release = AJU
			AJU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.301.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.301.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AJU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.301.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AJU
			casus_belli = cb_revolt_war
		}
		switch_tag = AJU
	}
}
country_event = {
	id = "regular_revolt.302"
	title = "regular_revolt.302.t"
	desc = "regular_revolt.302.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GLE }
		NOT = { exists = GLE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2776
				province_id = 2777
				province_id = 2781
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2776
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2776
						province_id = 2777
						province_id = 2781
					}
				}
				clear_rebels = yes
				add_core = GLE
			}
			every_owned_province = {
				add_permanent_claim = GLE
			}
			release = GLE
			GLE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.302.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.302.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GLE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.302.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GLE
			casus_belli = cb_revolt_war
		}
		switch_tag = GLE
	}
}
country_event = {
	id = "regular_revolt.303"
	title = "regular_revolt.303.t"
	desc = "regular_revolt.303.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MDI }
		NOT = { exists = MDI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1205
				province_id = 2782
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1205
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1205
						province_id = 2782
					}
				}
				clear_rebels = yes
				add_core = MDI
			}
			every_owned_province = {
				add_permanent_claim = MDI
			}
			release = MDI
			MDI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.303.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.303.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MDI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.303.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MDI
			casus_belli = cb_revolt_war
		}
		switch_tag = MDI
	}
}
country_event = {
	id = "regular_revolt.304"
	title = "regular_revolt.304.t"
	desc = "regular_revolt.304.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HOB }
		NOT = { exists = HOB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2783
				province_id = 2795
				province_id = 2785
				province_id = 2780
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2783
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2783
						province_id = 2795
						province_id = 2785
						province_id = 2780
					}
				}
				clear_rebels = yes
				add_core = HOB
			}
			every_owned_province = {
				add_permanent_claim = HOB
			}
			release = HOB
			HOB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.304.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.304.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HOB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.304.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HOB
			casus_belli = cb_revolt_war
		}
		switch_tag = HOB
	}
}
country_event = {
	id = "regular_revolt.305"
	title = "regular_revolt.305.t"
	desc = "regular_revolt.305.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MJE }
		NOT = { exists = MJE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2788
				province_id = 1206
				province_id = 2024
				province_id = 2784
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2788
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2788
						province_id = 1206
						province_id = 2024
						province_id = 2784
					}
				}
				clear_rebels = yes
				add_core = MJE
			}
			every_owned_province = {
				add_permanent_claim = MJE
			}
			release = MJE
			MJE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.305.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.305.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MJE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.305.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MJE
			casus_belli = cb_revolt_war
		}
		switch_tag = MJE
	}
}
country_event = {
	id = "regular_revolt.306"
	title = "regular_revolt.306.t"
	desc = "regular_revolt.306.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WAR }
		NOT = { exists = WAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2786
				province_id = 2789
				province_id = 2792
				province_id = 2790
				province_id = 1209
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2786
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2786
						province_id = 2789
						province_id = 2792
						province_id = 2790
						province_id = 1209
					}
				}
				clear_rebels = yes
				add_core = WAR
			}
			every_owned_province = {
				add_permanent_claim = WAR
			}
			release = WAR
			WAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.306.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.306.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.306.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WAR
			casus_belli = cb_revolt_war
		}
		switch_tag = WAR
	}
}
country_event = {
	id = "regular_revolt.307"
	title = "regular_revolt.307.t"
	desc = "regular_revolt.307.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OGD }
		NOT = { exists = OGD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1207
				province_id = 2778
				province_id = 1208
				province_id = 1210
				province_id = 2779
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1207
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1207
						province_id = 2778
						province_id = 1208
						province_id = 1210
						province_id = 2779
					}
				}
				clear_rebels = yes
				add_core = OGD
			}
			every_owned_province = {
				add_permanent_claim = OGD
			}
			release = OGD
			OGD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.307.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.307.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OGD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.307.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OGD
			casus_belli = cb_revolt_war
		}
		switch_tag = OGD
	}
}
country_event = {
	id = "regular_revolt.308"
	title = "regular_revolt.308.t"
	desc = "regular_revolt.308.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BEJ }
		NOT = { exists = BEJ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2324
				province_id = 1232
				province_id = 1226
				province_id = 1229
				province_id = 2323
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2324
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2324
						province_id = 1232
						province_id = 1226
						province_id = 1229
						province_id = 2323
					}
				}
				clear_rebels = yes
				add_core = BEJ
			}
			every_owned_province = {
				add_permanent_claim = BEJ
			}
			release = BEJ
			BEJ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.308.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.308.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BEJ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.308.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BEJ
			casus_belli = cb_revolt_war
		}
		switch_tag = BEJ
	}
}
country_event = {
	id = "regular_revolt.309"
	title = "regular_revolt.309.t"
	desc = "regular_revolt.309.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ALO }
		NOT = { exists = ALO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2798
				province_id = 2797
				province_id = 1225
				province_id = 1222
				province_id = 2799
				province_id = 4033
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2798
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2798
						province_id = 2797
						province_id = 1225
						province_id = 1222
						province_id = 2799
						province_id = 4033
					}
				}
				clear_rebels = yes
				add_core = ALO
			}
			every_owned_province = {
				add_permanent_claim = ALO
			}
			release = ALO
			ALO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.309.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.309.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ALO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.309.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ALO
			casus_belli = cb_revolt_war
		}
		switch_tag = ALO
	}
}
country_event = {
	id = "regular_revolt.310"
	title = "regular_revolt.310.t"
	desc = "regular_revolt.310.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ETH }
		NOT = { exists = ETH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1224
				province_id = 1223
				province_id = 2770
				province_id = 1214
				province_id = 2769
				province_id = 2768
				province_id = 2767
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1224
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1224
						province_id = 1223
						province_id = 2770
						province_id = 1214
						province_id = 2769
						province_id = 2768
						province_id = 2767
					}
				}
				clear_rebels = yes
				add_core = ETH
			}
			every_owned_province = {
				add_permanent_claim = ETH
			}
			release = ETH
			ETH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.310.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.310.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ETH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.310.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ETH
			casus_belli = cb_revolt_war
		}
		switch_tag = ETH
	}
}
country_event = {
	id = "regular_revolt.311"
	title = "regular_revolt.311.t"
	desc = "regular_revolt.311.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AFA }
		NOT = { exists = AFA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2764
				province_id = 2765
				province_id = 1215
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2764
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2764
						province_id = 2765
						province_id = 1215
					}
				}
				clear_rebels = yes
				add_core = AFA
			}
			every_owned_province = {
				add_permanent_claim = AFA
			}
			release = AFA
			AFA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.311.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.311.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AFA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.311.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AFA
			casus_belli = cb_revolt_war
		}
		switch_tag = AFA
	}
}
country_event = {
	id = "regular_revolt.312"
	title = "regular_revolt.312.t"
	desc = "regular_revolt.312.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YEM }
		NOT = { exists = YEM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4280
				province_id = 387
				province_id = 4279
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4280
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4280
						province_id = 387
						province_id = 4279
					}
				}
				clear_rebels = yes
				add_core = YEM
			}
			every_owned_province = {
				add_permanent_claim = YEM
			}
			release = YEM
			YEM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.312.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.312.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YEM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.312.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YEM
			casus_belli = cb_revolt_war
		}
		switch_tag = YEM
	}
}
country_event = {
	id = "regular_revolt.313"
	title = "regular_revolt.313.t"
	desc = "regular_revolt.313.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ADE }
		NOT = { exists = ADE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4281
				province_id = 2345
				province_id = 388
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4281
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4281
						province_id = 2345
						province_id = 388
					}
				}
				clear_rebels = yes
				add_core = ADE
			}
			every_owned_province = {
				add_permanent_claim = ADE
			}
			release = ADE
			ADE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.313.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.313.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ADE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.313.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ADE
			casus_belli = cb_revolt_war
		}
		switch_tag = ADE
	}
}
country_event = {
	id = "regular_revolt.314"
	title = "regular_revolt.314.t"
	desc = "regular_revolt.314.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAK }
		NOT = { exists = MAK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1234
				province_id = 2322
				province_id = 1228
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1234
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1234
						province_id = 2322
						province_id = 1228
					}
				}
				clear_rebels = yes
				add_core = MAK
			}
			every_owned_province = {
				add_permanent_claim = MAK
			}
			release = MAK
			MAK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.314.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.314.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.314.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAK
			casus_belli = cb_revolt_war
		}
		switch_tag = MAK
	}
}
country_event = {
	id = "regular_revolt.315"
	title = "regular_revolt.315.t"
	desc = "regular_revolt.315.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BTI }
		NOT = { exists = BTI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2771
				province_id = 2772
				province_id = 1227
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2771
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2771
						province_id = 2772
						province_id = 1227
					}
				}
				clear_rebels = yes
				add_core = BTI
			}
			every_owned_province = {
				add_permanent_claim = BTI
			}
			release = BTI
			BTI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.315.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.315.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BTI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.315.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BTI
			casus_belli = cb_revolt_war
		}
		switch_tag = BTI
	}
}
country_event = {
	id = "regular_revolt.316"
	title = "regular_revolt.316.t"
	desc = "regular_revolt.316.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MED }
		NOT = { exists = MED }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2766
				province_id = 2787
				province_id = 1230
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2766
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2766
						province_id = 2787
						province_id = 1230
					}
				}
				clear_rebels = yes
				add_core = MED
			}
			every_owned_province = {
				add_permanent_claim = MED
			}
			release = MED
			MED = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.316.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.316.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MED
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.316.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MED
			casus_belli = cb_revolt_war
		}
		switch_tag = MED
	}
}
country_event = {
	id = "regular_revolt.317"
	title = "regular_revolt.317.t"
	desc = "regular_revolt.317.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MFL }
		NOT = { exists = MFL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2346
				province_id = 386
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2346
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2346
						province_id = 386
					}
				}
				clear_rebels = yes
				add_core = MFL
			}
			every_owned_province = {
				add_permanent_claim = MFL
			}
			release = MFL
			MFL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.317.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.317.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MFL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.317.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MFL
			casus_belli = cb_revolt_war
		}
		switch_tag = MFL
	}
}
country_event = {
	id = "regular_revolt.318"
	title = "regular_revolt.318.t"
	desc = "regular_revolt.318.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NJR }
		NOT = { exists = NJR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 391
				province_id = 4282
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 391
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 391
						province_id = 4282
					}
				}
				clear_rebels = yes
				add_core = NJR
			}
			every_owned_province = {
				add_permanent_claim = NJR
			}
			release = NJR
			NJR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.318.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.318.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NJR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.318.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NJR
			casus_belli = cb_revolt_war
		}
		switch_tag = NJR
	}
}
country_event = {
	id = "regular_revolt.319"
	title = "regular_revolt.319.t"
	desc = "regular_revolt.319.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RAS }
		NOT = { exists = RAS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 390
				province_id = 2344
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 390
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 390
						province_id = 2344
					}
				}
				clear_rebels = yes
				add_core = RAS
			}
			every_owned_province = {
				add_permanent_claim = RAS
			}
			release = RAS
			RAS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.319.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.319.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RAS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.319.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RAS
			casus_belli = cb_revolt_war
		}
		switch_tag = RAS
	}
}
country_event = {
	id = "regular_revolt.320"
	title = "regular_revolt.320.t"
	desc = "regular_revolt.320.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WLY }
		NOT = { exists = WLY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2756
				province_id = 1218
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2756
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2756
						province_id = 1218
					}
				}
				clear_rebels = yes
				add_core = WLY
			}
			every_owned_province = {
				add_permanent_claim = WLY
			}
			release = WLY
			WLY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.320.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.320.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WLY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.320.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WLY
			casus_belli = cb_revolt_war
		}
		switch_tag = WLY
	}
}
country_event = {
	id = "regular_revolt.321"
	title = "regular_revolt.321.t"
	desc = "regular_revolt.321.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAF }
		NOT = { exists = KAF }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2757
				province_id = 2759
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2757
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2757
						province_id = 2759
					}
				}
				clear_rebels = yes
				add_core = KAF
			}
			every_owned_province = {
				add_permanent_claim = KAF
			}
			release = KAF
			KAF = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.321.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.321.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAF
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.321.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAF
			casus_belli = cb_revolt_war
		}
		switch_tag = KAF
	}
}
country_event = {
	id = "regular_revolt.322"
	title = "regular_revolt.322.t"
	desc = "regular_revolt.322.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DAM }
		NOT = { exists = DAM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2762
				province_id = 2763
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2762
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2762
						province_id = 2763
					}
				}
				clear_rebels = yes
				add_core = DAM
			}
			every_owned_province = {
				add_permanent_claim = DAM
			}
			release = DAM
			DAM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.322.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.322.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DAM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.322.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DAM
			casus_belli = cb_revolt_war
		}
		switch_tag = DAM
	}
}
country_event = {
	id = "regular_revolt.323"
	title = "regular_revolt.323.t"
	desc = "regular_revolt.323.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ADA }
		NOT = { exists = ADA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1212
				province_id = 2793
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1212
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1212
						province_id = 2793
					}
				}
				clear_rebels = yes
				add_core = ADA
			}
			every_owned_province = {
				add_permanent_claim = ADA
			}
			release = ADA
			ADA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.323.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.323.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ADA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.323.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ADA
			casus_belli = cb_revolt_war
		}
		switch_tag = ADA
	}
}
country_event = {
	id = "regular_revolt.324"
	title = "regular_revolt.324.t"
	desc = "regular_revolt.324.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HAR }
		NOT = { exists = HAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1211
				province_id = 2773
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1211
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1211
						province_id = 2773
					}
				}
				clear_rebels = yes
				add_core = HAR
			}
			every_owned_province = {
				add_permanent_claim = HAR
			}
			release = HAR
			HAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.324.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.324.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.324.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HAR
			casus_belli = cb_revolt_war
		}
		switch_tag = HAR
	}
}
country_event = {
	id = "regular_revolt.325"
	title = "regular_revolt.325.t"
	desc = "regular_revolt.325.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HDY }
		NOT = { exists = HDY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2760
				province_id = 2761
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2760
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2760
						province_id = 2761
					}
				}
				clear_rebels = yes
				add_core = HDY
			}
			every_owned_province = {
				add_permanent_claim = HDY
			}
			release = HDY
			HDY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.325.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.325.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HDY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.325.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HDY
			casus_belli = cb_revolt_war
		}
		switch_tag = HDY
	}
}
country_event = {
	id = "regular_revolt.326"
	title = "regular_revolt.326.t"
	desc = "regular_revolt.326.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SOA }
		NOT = { exists = SOA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1213
				province_id = 2791
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1213
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1213
						province_id = 2791
					}
				}
				clear_rebels = yes
				add_core = SOA
			}
			every_owned_province = {
				add_permanent_claim = SOA
			}
			release = SOA
			SOA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.326.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.326.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SOA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.326.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SOA
			casus_belli = cb_revolt_war
		}
		switch_tag = SOA
	}
}
country_event = {
	id = "regular_revolt.327"
	title = "regular_revolt.327.t"
	desc = "regular_revolt.327.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ENA }
		NOT = { exists = ENA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2758
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2758
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2758
					}
				}
				clear_rebels = yes
				add_core = ENA
			}
			every_owned_province = {
				add_permanent_claim = ENA
			}
			release = ENA
			ENA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.327.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.327.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ENA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.327.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ENA
			casus_belli = cb_revolt_war
		}
		switch_tag = ENA
	}
}
country_event = {
	id = "regular_revolt.328"
	title = "regular_revolt.328.t"
	desc = "regular_revolt.328.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JJI }
		NOT = { exists = JJI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4158
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4158
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4158
					}
				}
				clear_rebels = yes
				add_core = JJI
			}
			every_owned_province = {
				add_permanent_claim = JJI
			}
			release = JJI
			JJI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.328.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.328.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JJI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.328.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JJI
			casus_belli = cb_revolt_war
		}
		switch_tag = JJI
	}
}
country_event = {
	id = "regular_revolt.329"
	title = "regular_revolt.329.t"
	desc = "regular_revolt.329.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ABB }
		NOT = { exists = ABB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1220
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1220
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1220
					}
				}
				clear_rebels = yes
				add_core = ABB
			}
			every_owned_province = {
				add_permanent_claim = ABB
			}
			release = ABB
			ABB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.329.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.329.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ABB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.329.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ABB
			casus_belli = cb_revolt_war
		}
		switch_tag = ABB
	}
}
country_event = {
	id = "regular_revolt.330"
	title = "regular_revolt.330.t"
	desc = "regular_revolt.330.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TET }
		NOT = { exists = TET }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4561
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4561
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4561
					}
				}
				clear_rebels = yes
				add_core = TET
			}
			every_owned_province = {
				add_permanent_claim = TET
			}
			release = TET
			TET = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.330.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.330.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TET
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.330.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TET
			casus_belli = cb_revolt_war
		}
		switch_tag = TET
	}
}
country_event = {
	id = "regular_revolt.331"
	title = "regular_revolt.331.t"
	desc = "regular_revolt.331.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DAH }
		NOT = { exists = DAH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1140
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1140
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1140
					}
				}
				clear_rebels = yes
				add_core = DAH
			}
			every_owned_province = {
				add_permanent_claim = DAH
			}
			release = DAH
			DAH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.331.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.331.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DAH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.331.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DAH
			casus_belli = cb_revolt_war
		}
		switch_tag = DAH
	}
}
country_event = {
	id = "regular_revolt.332"
	title = "regular_revolt.332.t"
	desc = "regular_revolt.332.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TEN }
		NOT = { exists = TEN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2267
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2267
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2267
					}
				}
				clear_rebels = yes
				add_core = TEN
			}
			every_owned_province = {
				add_permanent_claim = TEN
			}
			release = TEN
			TEN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.332.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.332.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TEN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.332.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TEN
			casus_belli = cb_revolt_war
		}
		switch_tag = TEN
	}
}
country_event = {
	id = "regular_revolt.333"
	title = "regular_revolt.333.t"
	desc = "regular_revolt.333.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ZND }
		NOT = { exists = ZND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2265
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2265
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2265
					}
				}
				clear_rebels = yes
				add_core = ZND
			}
			every_owned_province = {
				add_permanent_claim = ZND
			}
			release = ZND
			ZND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.333.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.333.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ZND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.333.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ZND
			casus_belli = cb_revolt_war
		}
		switch_tag = ZND
	}
}
country_event = {
	id = "regular_revolt.334"
	title = "regular_revolt.334.t"
	desc = "regular_revolt.334.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MZB }
		NOT = { exists = MZB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2457
				province_id = 350
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2457
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2457
						province_id = 350
					}
				}
				clear_rebels = yes
				add_core = MZB
			}
			every_owned_province = {
				add_permanent_claim = MZB
			}
			release = MZB
			MZB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.334.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.334.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MZB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.334.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MZB
			casus_belli = cb_revolt_war
		}
		switch_tag = MZB
	}
}
country_event = {
	id = "regular_revolt.335"
	title = "regular_revolt.335.t"
	desc = "regular_revolt.335.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GHD }
		NOT = { exists = GHD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2450
				province_id = 352
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2450
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2450
						province_id = 352
					}
				}
				clear_rebels = yes
				add_core = GHD
			}
			every_owned_province = {
				add_permanent_claim = GHD
			}
			release = GHD
			GHD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.335.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.335.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GHD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.335.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GHD
			casus_belli = cb_revolt_war
		}
		switch_tag = GHD
	}
}
country_event = {
	id = "regular_revolt.336"
	title = "regular_revolt.336.t"
	desc = "regular_revolt.336.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DGB }
		NOT = { exists = DGB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2256
				province_id = 2295
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2256
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2256
						province_id = 2295
					}
				}
				clear_rebels = yes
				add_core = DGB
			}
			every_owned_province = {
				add_permanent_claim = DGB
			}
			release = DGB
			DGB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.336.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.336.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DGB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.336.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DGB
			casus_belli = cb_revolt_war
		}
		switch_tag = DGB
	}
}
country_event = {
	id = "regular_revolt.337"
	title = "regular_revolt.337.t"
	desc = "regular_revolt.337.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GUR }
		NOT = { exists = GUR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1136
				province_id = 1143
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1136
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1136
						province_id = 1143
					}
				}
				clear_rebels = yes
				add_core = GUR
			}
			every_owned_province = {
				add_permanent_claim = GUR
			}
			release = GUR
			GUR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.337.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.337.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GUR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.337.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GUR
			casus_belli = cb_revolt_war
		}
		switch_tag = GUR
	}
}
country_event = {
	id = "regular_revolt.338"
	title = "regular_revolt.338.t"
	desc = "regular_revolt.338.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WGD }
		NOT = { exists = WGD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1137
				province_id = 2266
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1137
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1137
						province_id = 2266
					}
				}
				clear_rebels = yes
				add_core = WGD
			}
			every_owned_province = {
				add_permanent_claim = WGD
			}
			release = WGD
			WGD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.338.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.338.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WGD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.338.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WGD
			casus_belli = cb_revolt_war
		}
		switch_tag = WGD
	}
}
country_event = {
	id = "regular_revolt.339"
	title = "regular_revolt.339.t"
	desc = "regular_revolt.339.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BON }
		NOT = { exists = BON }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2254
				province_id = 2255
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2254
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2254
						province_id = 2255
					}
				}
				clear_rebels = yes
				add_core = BON
			}
			every_owned_province = {
				add_permanent_claim = BON
			}
			release = BON
			BON = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.339.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.339.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BON
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.339.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BON
			casus_belli = cb_revolt_war
		}
		switch_tag = BON
	}
}
country_event = {
	id = "regular_revolt.340"
	title = "regular_revolt.340.t"
	desc = "regular_revolt.340.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JNN }
		NOT = { exists = JNN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1134
				province_id = 2261
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1134
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1134
						province_id = 2261
					}
				}
				clear_rebels = yes
				add_core = JNN
			}
			every_owned_province = {
				add_permanent_claim = JMN
			}
			release = JNN
			JNN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.340.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.340.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JNN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.340.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JNN
			casus_belli = cb_revolt_war
		}
		switch_tag = JNN
	}
}
country_event = {
	id = "regular_revolt.341"
	title = "regular_revolt.341.t"
	desc = "regular_revolt.341.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TGT }
		NOT = { exists = TGT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2456
				province_id = 2472
				province_id = 351
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2456
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2456
						province_id = 2472
						province_id = 351
					}
				}
				clear_rebels = yes
				add_core = TGT
			}
			every_owned_province = {
				add_permanent_claim = TGT
			}
			release = TGT
			TGT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.341.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.341.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TGT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.341.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TGT
			casus_belli = cb_revolt_war
		}
		switch_tag = TGT
	}
}
country_event = {
	id = "regular_revolt.342"
	title = "regular_revolt.342.t"
	desc = "regular_revolt.342.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MRK }
		NOT = { exists = MRK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2470
				province_id = 344
				province_id = 345
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2470
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2470
						province_id = 344
						province_id = 345
					}
				}
				clear_rebels = yes
				add_core = MRK
			}
			every_owned_province = {
				add_permanent_claim = MRK
			}
			release = MRK
			MRK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.342.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.342.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MRK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.342.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MRK
			casus_belli = cb_revolt_war
		}
		switch_tag = MRK
	}
}
country_event = {
	id = "regular_revolt.343"
	title = "regular_revolt.343.t"
	desc = "regular_revolt.343.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FEZ }
		NOT = { exists = FEZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 343
				province_id = 2467
				province_id = 335
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 343
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 343
						province_id = 2467
						province_id = 335
					}
				}
				clear_rebels = yes
				add_core = FEZ
			}
			every_owned_province = {
				add_permanent_claim = FEZ
			}
			release = FEZ
			FEZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.343.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.343.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FEZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.343.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FEZ
			casus_belli = cb_revolt_war
		}
		switch_tag = FEZ
	}
}
country_event = {
	id = "regular_revolt.344"
	title = "regular_revolt.344.t"
	desc = "regular_revolt.344.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NUP }
		NOT = { exists = NUP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1145
				province_id = 1153
				province_id = 1152
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1145
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1145
						province_id = 1153
						province_id = 1152
					}
				}
				clear_rebels = yes
				add_core = NUP
			}
			every_owned_province = {
				add_permanent_claim = NUP
			}
			release = NUP
			NUP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.344.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.344.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NUP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.344.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NUP
			casus_belli = cb_revolt_war
		}
		switch_tag = NUP
	}
}
country_event = {
	id = "regular_revolt.345"
	title = "regular_revolt.345.t"
	desc = "regular_revolt.345.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YAT }
		NOT = { exists = YAT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1135
				province_id = 2263
				province_id = 2264
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1135
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1135
						province_id = 2263
						province_id = 2264
					}
				}
				clear_rebels = yes
				add_core = YAT
			}
			every_owned_province = {
				add_permanent_claim = YAT
			}
			release = YAT
			YAT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.345.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.345.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YAT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.345.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YAT
			casus_belli = cb_revolt_war
		}
		switch_tag = YAT
	}
}
country_event = {
	id = "regular_revolt.346"
	title = "regular_revolt.346.t"
	desc = "regular_revolt.346.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KNG }
		NOT = { exists = KNG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1125
				province_id = 2253
				province_id = 2252
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1125
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1125
						province_id = 2253
						province_id = 2252
					}
				}
				clear_rebels = yes
				add_core = KNG
			}
			every_owned_province = {
				add_permanent_claim = KNG
			}
			release = KNG
			KNG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.346.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.346.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KNG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.346.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KNG
			casus_belli = cb_revolt_war
		}
		switch_tag = KNG
	}
}
country_event = {
	id = "regular_revolt.347"
	title = "regular_revolt.347.t"
	desc = "regular_revolt.347.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KBU }
		NOT = { exists = KBU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1114
				province_id = 2238
				province_id = 1117
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1114
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1114
						province_id = 2238
						province_id = 1117
					}
				}
				clear_rebels = yes
				add_core = KBU
			}
			every_owned_province = {
				add_permanent_claim = KBU
			}
			release = KBU
			KBU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.347.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.347.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KBU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.347.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KBU
			casus_belli = cb_revolt_war
		}
		switch_tag = KBU
	}
}
country_event = {
	id = "regular_revolt.348"
	title = "regular_revolt.348.t"
	desc = "regular_revolt.348.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = JOL }
		NOT = { exists = JOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1116
				province_id = 2239
				province_id = 1113
				province_id = 1112
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1116
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1116
						province_id = 2239
						province_id = 1113
						province_id = 1112
					}
				}
				clear_rebels = yes
				add_core = JOL
			}
			every_owned_province = {
				add_permanent_claim = JOL
			}
			release = JOL
			JOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.348.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.348.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = JOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.348.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = JOL
			casus_belli = cb_revolt_war
		}
		switch_tag = JOL
	}
}
country_event = {
	id = "regular_revolt.349"
	title = "regular_revolt.349.t"
	desc = "regular_revolt.349.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OYO }
		NOT = { exists = OYO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1144
				province_id = 1146
				province_id = 2291
				province_id = 2292
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1144
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1144
						province_id = 1146
						province_id = 2291
						province_id = 2292
					}
				}
				clear_rebels = yes
				add_core = OYO
			}
			every_owned_province = {
				add_permanent_claim = OYO
			}
			release = OYO
			OYO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shamanism

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.349.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.349.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OYO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.349.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OYO
			casus_belli = cb_revolt_war
		}
		switch_tag = OYO
	}
}
country_event = {
	id = "regular_revolt.350"
	title = "regular_revolt.350.t"
	desc = "regular_revolt.350.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TMB }
		NOT = { exists = TMB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1132
				province_id = 2247
				province_id = 1129
				province_id = 1128
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1132
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1132
						province_id = 2247
						province_id = 1129
						province_id = 1128
					}
				}
				clear_rebels = yes
				add_core = TMB
			}
			every_owned_province = {
				add_permanent_claim = TMB
			}
			release = TMB
			TMB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.350.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.350.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TMB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.350.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TMB
			casus_belli = cb_revolt_war
		}
		switch_tag = TMB
	}
}
country_event = {
	id = "regular_revolt.351"
	title = "regular_revolt.351.t"
	desc = "regular_revolt.351.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TFL }
		NOT = { exists = TFL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 349
				province_id = 346
				province_id = 2460
				province_id = 1127
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 349
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 349
						province_id = 346
						province_id = 2460
						province_id = 1127
					}
				}
				clear_rebels = yes
				add_core = TFL
			}
			every_owned_province = {
				add_permanent_claim = TFL
			}
			release = TFL
			TFL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.351.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.351.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TFL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.351.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TFL
			casus_belli = cb_revolt_war
		}
		switch_tag = TFL
	}
}
country_event = {
	id = "regular_revolt.352"
	title = "regular_revolt.352.t"
	desc = "regular_revolt.352.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FZA }
		NOT = { exists = FZA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2448
				province_id = 2474
				province_id = 2449
				province_id = 4567
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2448
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2448
						province_id = 2474
						province_id = 2449
						province_id = 4567
					}
				}
				clear_rebels = yes
				add_core = FZA
			}
			every_owned_province = {
				add_permanent_claim = FZA
			}
			release = FZA
			FZA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.352.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.352.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FZA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.352.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FZA
			casus_belli = cb_revolt_war
		}
		switch_tag = FZA
	}
}
country_event = {
	id = "regular_revolt.353"
	title = "regular_revolt.353.t"
	desc = "regular_revolt.353.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KBA }
		NOT = { exists = KBA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 339
				province_id = 2458
				province_id = 340
				province_id = 1882
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 339
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 339
						province_id = 2458
						province_id = 340
						province_id = 1882
					}
				}
				clear_rebels = yes
				add_core = KBA
			}
			every_owned_province = {
				add_permanent_claim = KBA
			}
			release = KBA
			KBA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.353.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.353.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KBA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.353.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KBA
			casus_belli = cb_revolt_war
		}
		switch_tag = KBA
	}
}
country_event = {
	id = "regular_revolt.354"
	title = "regular_revolt.354.t"
	desc = "regular_revolt.354.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ALG }
		NOT = { exists = ALG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 338
				province_id = 2459
				province_id = 2462
				province_id = 2461
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 338
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 338
						province_id = 2459
						province_id = 2462
						province_id = 2461
					}
				}
				clear_rebels = yes
				add_core = ALG
			}
			every_owned_province = {
				add_permanent_claim = ALG
			}
			release = ALG
			ALG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.354.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.354.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ALG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.354.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ALG
			casus_belli = cb_revolt_war
		}
		switch_tag = ALG
	}
}
country_event = {
	id = "regular_revolt.355"
	title = "regular_revolt.355.t"
	desc = "regular_revolt.355.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TLC }
		NOT = { exists = TLC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 336
				province_id = 2463
				province_id = 2465
				province_id = 4562
				province_id = 337
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 336
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 336
						province_id = 2463
						province_id = 2465
						province_id = 4562
						province_id = 337
					}
				}
				clear_rebels = yes
				add_core = TLC
			}
			every_owned_province = {
				add_permanent_claim = TLC
			}
			release = TLC
			TLC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.355.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.355.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TLC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.355.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TLC
			casus_belli = cb_revolt_war
		}
		switch_tag = TLC
	}
}
country_event = {
	id = "regular_revolt.356"
	title = "regular_revolt.356.t"
	desc = "regular_revolt.356.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TUN }
		NOT = { exists = TUN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 341
				province_id = 2473
				province_id = 4566
				province_id = 2454
				province_id = 2455
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 341
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 341
						province_id = 2473
						province_id = 4566
						province_id = 2454
						province_id = 2455
					}
				}
				clear_rebels = yes
				add_core = TUN
			}
			every_owned_province = {
				add_permanent_claim = TUN
			}
			release = TUN
			TUN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.356.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.356.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TUN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.356.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TUN
			casus_belli = cb_revolt_war
		}
		switch_tag = TUN
	}
}
country_event = {
	id = "regular_revolt.357"
	title = "regular_revolt.357.t"
	desc = "regular_revolt.357.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MOR }
		NOT = { exists = MOR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 342
				province_id = 4563
				province_id = 334
				province_id = 1751
				province_id = 2468
				province_id = 4564
				province_id = 2469
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 342
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 342
						province_id = 4563
						province_id = 334
						province_id = 1751
						province_id = 2468
						province_id = 4564
						province_id = 2469
					}
				}
				clear_rebels = yes
				add_core = MOR
			}
			every_owned_province = {
				add_permanent_claim = MOR
			}
			release = MOR
			MOR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.357.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.357.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MOR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.357.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MOR
			casus_belli = cb_revolt_war
		}
		switch_tag = MOR
	}
}
country_event = {
	id = "regular_revolt.358"
	title = "regular_revolt.358.t"
	desc = "regular_revolt.358.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SOS }
		NOT = { exists = SOS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 348
				province_id = 1110
				province_id = 347
				province_id = 2466
				province_id = 2464
				province_id = 4568
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 348
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 348
						province_id = 1110
						province_id = 347
						province_id = 2466
						province_id = 2464
						province_id = 4568
					}
				}
				clear_rebels = yes
				add_core = SOS
			}
			every_owned_province = {
				add_permanent_claim = SOS
			}
			release = SOS
			SOS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.358.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.358.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SOS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.358.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SOS
			casus_belli = cb_revolt_war
		}
		switch_tag = SOS
	}
}
country_event = {
	id = "regular_revolt.359"
	title = "regular_revolt.359.t"
	desc = "regular_revolt.359.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAL }
		NOT = { exists = MAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1124
				province_id = 1122
				province_id = 2249
				province_id = 2250
				province_id = 1121
				province_id = 2248
				province_id = 1120
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1124
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1124
						province_id = 1122
						province_id = 2249
						province_id = 2250
						province_id = 1121
						province_id = 2248
						province_id = 1120
					}
				}
				clear_rebels = yes
				add_core = MAL
			}
			every_owned_province = {
				add_permanent_claim = MAL
			}
			release = MAL
			MAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.359.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.359.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.359.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAL
			casus_belli = cb_revolt_war
		}
		switch_tag = MAL
	}
}
country_event = {
	id = "regular_revolt.360"
	title = "regular_revolt.360.t"
	desc = "regular_revolt.360.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SOF }
		NOT = { exists = SOF }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2245
				province_id = 2243
				province_id = 2246
				province_id = 1123
				province_id = 1131
				province_id = 2260
				province_id = 2259
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2245
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2245
						province_id = 2243
						province_id = 2246
						province_id = 1123
						province_id = 1131
						province_id = 2260
						province_id = 2259
					}
				}
				clear_rebels = yes
				add_core = SOF
			}
			every_owned_province = {
				add_permanent_claim = SOF
			}
			release = SOF
			SOF = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.360.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.360.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SOF
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.360.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SOF
			casus_belli = cb_revolt_war
		}
		switch_tag = SOF
	}
}
country_event = {
	id = "regular_revolt.361"
	title = "regular_revolt.361.t"
	desc = "regular_revolt.361.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SON }
		NOT = { exists = SON }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1133
				province_id = 2262
				province_id = 1130
				province_id = 2271
				province_id = 2269
				province_id = 2270
				province_id = 2268
				province_id = 1142
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1133
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1133
						province_id = 2262
						province_id = 1130
						province_id = 2271
						province_id = 2269
						province_id = 2270
						province_id = 2268
						province_id = 1142
					}
				}
				clear_rebels = yes
				add_core = SON
			}
			every_owned_province = {
				add_permanent_claim = SON
			}
			release = SON
			SON = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.361.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.361.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SON
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.361.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SON
			casus_belli = cb_revolt_war
		}
		switch_tag = SON
	}
}
country_event = {
	id = "regular_revolt.362"
	title = "regular_revolt.362.t"
	desc = "regular_revolt.362.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRP }
		NOT = { exists = TRP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tripolitania_area
				area = djerba_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 354
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tripolitania_area
						area = djerba_area
					}
				}
				clear_rebels = yes
				add_core = TRP
			}
			every_owned_province = {
				add_permanent_claim = TRP
			}
			release = TRP
			TRP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.362.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.362.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.362.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRP
			casus_belli = cb_revolt_war
		}
		switch_tag = TRP
	}
}
country_event = {
	id = "regular_revolt.363"
	title = "regular_revolt.363.t"
	desc = "regular_revolt.363.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GRA }
		NOT = { tag = ADU }
		NOT = { exists = GRA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = upper_andalucia_area
				area = lower_andalucia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 223
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tripolitania_area
						area = djerba_area
					}
				}
				clear_rebels = yes
				add_core = GRA
			}
			every_owned_province = {
				add_permanent_claim = GRA
			}
			release = GRA
			GRA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.363.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.363.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GRA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.363.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GRA
			casus_belli = cb_revolt_war
		}
		switch_tag = GRA
	}
}
country_event = {
	id = "regular_revolt.364"
	title = "regular_revolt.364.t"
	desc = "regular_revolt.364.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = POR }
		NOT = { exists = POR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = alentejo_area
				area = beieras_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 223
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = alentejo_area
						area = beieras_area
					}
				}
				clear_rebels = yes
				add_core = POR
			}
			every_owned_province = {
				add_permanent_claim = FOR
			}
			release = POR
			POR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.364.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.364.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = POR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.364.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = POR
			casus_belli = cb_revolt_war
		}
		switch_tag = POR
	}
}
country_event = {
	id = "regular_revolt.365"
	title = "regular_revolt.365.t"
	desc = "regular_revolt.365.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LON }
		NOT = { exists = LON }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = extremadura_area
				area = beieras_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 223
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = extremadura_area
						area = leon_area
					}
				}
				clear_rebels = yes
				add_core = LON
			}
			every_owned_province = {
				add_permanent_claim = LON
			}
			release = LON
			LON = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.365.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.365.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LON
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.365.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LON
			casus_belli = cb_revolt_war
		}
		switch_tag = LON
	}
}
country_event = {
	id = "regular_revolt.366"
	title = "regular_revolt.366.t"
	desc = "regular_revolt.366.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CAS }
		NOT = { tag = SPA }
		NOT = { exists = CAS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = toledo_area
				area = castille_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 217
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = toledo_area
						area = castille_area
					}
				}
				clear_rebels = yes
				add_core = CAS
			}
			every_owned_province = {
				add_permanent_claim = CAS
			}
			release = CAS
			CAS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.366.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.366.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CAS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.366.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CAS
			casus_belli = cb_revolt_war
		}
		switch_tag = CAS
	}
}
country_event = {
	id = "regular_revolt.367"
	title = "regular_revolt.367.t"
	desc = "regular_revolt.367.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GAL }
		NOT = { exists = GAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = galicia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 206
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = galicia_area
					}
				}
				clear_rebels = yes
				add_core = GAL
			}
			every_owned_province = {
				add_permanent_claim = GAL
			}
			release = GAL
			GAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.367.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.367.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.367.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GAL
			casus_belli = cb_revolt_war
		}
		switch_tag = GAL
	}
}
country_event = {
	id = "regular_revolt.368"
	title = "regular_revolt.368.t"
	desc = "regular_revolt.368.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ASU }
		NOT = { exists = ASU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = asturias_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 206
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = asturias_area
					}
				}
				clear_rebels = yes
				add_core = ASU
			}
			every_owned_province = {
				add_permanent_claim = ASU
			}
			release = ASU
			ASU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.368.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.368.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ASU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.368.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ASU
			casus_belli = cb_revolt_war
		}
		switch_tag = ASU
	}
}
country_event = {
	id = "regular_revolt.369"
	title = "regular_revolt.369.t"
	desc = "regular_revolt.369.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NAV }
		NOT = { exists = NAV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = basque_country
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 206
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = basque_country
					}
				}
				clear_rebels = yes
				add_core = NAV
			}
			every_owned_province = {
				add_permanent_claim = NAV
			}
			release = NAV
			NAV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.369.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.369.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NAV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.369.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NAV
			casus_belli = cb_revolt_war
		}
		switch_tag = NAV
	}
}
country_event = {
	id = "regular_revolt.370"
	title = "regular_revolt.370.t"
	desc = "regular_revolt.370.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VAL }
		NOT = { exists = VAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = valencia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 206
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = valencia_area
					}
				}
				clear_rebels = yes
				add_core = VAL
			}
			every_owned_province = {
				add_permanent_claim = VAL
			}
			release = VAL
			VAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.370.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.370.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.370.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VAL
			casus_belli = cb_revolt_war
		}
		switch_tag = VAL
	}
}
country_event = {
	id = "regular_revolt.371"
	title = "regular_revolt.371.t"
	desc = "regular_revolt.371.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ARA }
		NOT = { exists = ARA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = aragon_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 206
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = aragon_area
					}
				}
				clear_rebels = yes
				add_core = ARA
			}
			every_owned_province = {
				add_permanent_claim = ARA
			}
			release = ARA
			ARA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.371.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.371.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ARA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.371.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ARA
			casus_belli = cb_revolt_war
		}
		switch_tag = ARA
	}
}
country_event = {
	id = "regular_revolt.372"
	title = "regular_revolt.372.t"
	desc = "regular_revolt.372.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CAT }
		NOT = { exists = CAT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = catalonia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 206
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = catalonia_area
					}
				}
				clear_rebels = yes
				add_core = CAT
			}
			every_owned_province = {
				add_permanent_claim = CAT
			}
			release = CAT
			CAT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.372.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.372.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CAT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.372.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CAT
			casus_belli = cb_revolt_war
		}
		switch_tag = CAT
	}
}
country_event = {
	id = "regular_revolt.373"
	title = "regular_revolt.373.t"
	desc = "regular_revolt.373.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MJO }
		NOT = { exists = MJO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = baleares_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 333
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = baleares_area
					}
				}
				clear_rebels = yes
				add_core = MJO
			}
			every_owned_province = {
				add_permanent_claim = MJO
			}
			release = MJO
			MJO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.373.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.373.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MJO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.373.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MJO
			casus_belli = cb_revolt_war
		}
		switch_tag = MJO
	}
}
country_event = {
	id = "regular_revolt.374"
	title = "regular_revolt.374.t"
	desc = "regular_revolt.374.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SIC }
		NOT = { exists = SIC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sicily_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 124
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sicily_area
					}
				}
				clear_rebels = yes
				add_core = SIC
			}
			every_owned_province = {
				add_permanent_claim = SIC
			}
			release = SIC
			SIC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.374.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.374.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SIC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.374.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SIC
			casus_belli = cb_revolt_war
		}
		switch_tag = SIC
	}
}
country_event = {
	id = "regular_revolt.375"
	title = "regular_revolt.375.t"
	desc = "regular_revolt.375.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CRN }
		NOT = { exists = CRN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = wessex_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 233
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = wessex_area
					}
				}
				clear_rebels = yes
				add_core = CRN
			}
			every_owned_province = {
				add_permanent_claim = CRN
			}
			release = CRN
			CRN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.375.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.375.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CRN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.375.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CRN
			casus_belli = cb_revolt_war
		}
		switch_tag = CRN
	}
}
country_event = {
	id = "regular_revolt.376"
	title = "regular_revolt.376.t"
	desc = "regular_revolt.376.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KOI }
		NOT = { exists = KOI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kingdom_of_the_isles_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4365
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kingdom_of_the_isles_area
					}
				}
				clear_rebels = yes
				add_core = KOI
			}
			every_owned_province = {
				add_permanent_claim = KOI
			}
			release = KOI
			KOI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.376.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.376.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.376.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KOI
			casus_belli = cb_revolt_war
		}
		switch_tag = KOI
	}
}
country_event = {
	id = "regular_revolt.377"
	title = "regular_revolt.377.t"
	desc = "regular_revolt.377.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SCO }
		NOT = { exists = SCO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lowlands_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4365
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lowlands_area
					}
				}
				clear_rebels = yes
				add_core = SCO
			}
			every_owned_province = {
				add_permanent_claim = SCO
			}
			release = SCO
			SCO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.377.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.377.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SCO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.377.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SCO
			casus_belli = cb_revolt_war
		}
		switch_tag = SCO
	}
}
country_event = {
	id = "regular_revolt.378"
	title = "regular_revolt.378.t"
	desc = "regular_revolt.378.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HSC }
		NOT = { exists = HSC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = highlands_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 252
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = highlands_area
					}
				}
				clear_rebels = yes
				add_core = HSC
			}
			every_owned_province = {
				add_permanent_claim = HSC
			}
			release = HSC
			HSC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.378.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.378.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HSC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.378.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HSC
			casus_belli = cb_revolt_war
		}
		switch_tag = HSC
	}
}
country_event = {
	id = "regular_revolt.379"
	title = "regular_revolt.379.t"
	desc = "regular_revolt.379.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ICE }
		NOT = { exists = ICE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = subarctic_islands_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 370
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = subarctic_islands_area
					}
				}
				clear_rebels = yes
				add_core = ICE
			}
			every_owned_province = {
				add_permanent_claim = ICE
			}
			release = ICE
			ICE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = norse_pagan_reformed

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.379.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.379.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ICE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.379.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ICE
			casus_belli = cb_revolt_war
		}
		switch_tag = ICE
	}
}
country_event = {
	id = "regular_revolt.380"
	title = "regular_revolt.380.t"
	desc = "regular_revolt.380.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRI }
		NOT = { exists = BRI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = brittany_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 170
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = brittany_area
					}
				}
				clear_rebels = yes
				add_core = BRI
			}
			every_owned_province = {
				add_permanent_claim = BRI
			}
			release = BRI
			BRI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.380.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.380.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.380.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRI
			casus_belli = cb_revolt_war
		}
		switch_tag = BRI
	}
}
country_event = {
	id = "regular_revolt.381"
	title = "regular_revolt.381.t"
	desc = "regular_revolt.381.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CIR }
		NOT = { exists = CIR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = circassia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 463
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = circassia_area
					}
				}
				clear_rebels = yes
				add_core = CIR
			}
			every_owned_province = {
				add_permanent_claim = CIR
			}
			release = CIR
			CIR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.381.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.381.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CIR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.381.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CIR
			casus_belli = cb_revolt_war
		}
		switch_tag = CIR
	}
}
country_event = {
	id = "regular_revolt.382"
	title = "regular_revolt.382.t"
	desc = "regular_revolt.382.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HAB }
		NOT = { exists = HAB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = austria_proper_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 134
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = austria_proper_area
					}
				}
				clear_rebels = yes
				add_core = HAB
			}
			every_owned_province = {
				add_permanent_claim = HAB
			}
			release = HAB
			HAB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.382.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.382.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HAB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.382.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HAB
			casus_belli = cb_revolt_war
		}
		switch_tag = HAB
	}
}
country_event = {
	id = "regular_revolt.383"
	title = "regular_revolt.383.t"
	desc = "regular_revolt.383.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MVA }
		NOT = { exists = MVA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = moravia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4237
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = moravia_area
					}
				}
				clear_rebels = yes
				add_core = MVA
			}
			every_owned_province = {
				add_permanent_claim = MVA
			}
			release = MVA
			MVA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.383.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.383.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MVA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.383.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MVA
			casus_belli = cb_revolt_war
		}
		switch_tag = MVA
	}
}
country_event = {
	id = "regular_revolt.384"
	title = "regular_revolt.384.t"
	desc = "regular_revolt.384.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FLA }
		NOT = { exists = FLA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = flanders_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 90
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = flanders_area
					}
				}
				clear_rebels = yes
				add_core = FLA
			}
			every_owned_province = {
				add_permanent_claim = FLA
			}
			release = FLA
			FLA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.384.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.384.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FLA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.384.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FLA
			casus_belli = cb_revolt_war
		}
		switch_tag = FLA
	}
}
country_event = {
	id = "regular_revolt.385"
	title = "regular_revolt.385.t"
	desc = "regular_revolt.385.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BAD }
		NOT = { exists = BAD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = upper_rhineland_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 72
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = upper_rhineland_area
					}
				}
				clear_rebels = yes
				add_core = BAD
			}
			every_owned_province = {
				add_permanent_claim = BAD
			}
			release = BAD
			BAD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.385.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.385.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BAD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.385.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BAD
			casus_belli = cb_revolt_war
		}
		switch_tag = BAD
	}
}
country_event = {
	id = "regular_revolt.386"
	title = "regular_revolt.386.t"
	desc = "regular_revolt.386.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TIR }
		NOT = { exists = TIR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tirol_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 73
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tirol_area
					}
				}
				clear_rebels = yes
				add_core = TIR
			}
			every_owned_province = {
				add_permanent_claim = TIR
			}
			release = TIR
			TIR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.386.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.386.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TIR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.386.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TIR
			casus_belli = cb_revolt_war
		}
		switch_tag = TIR
	}
}
country_event = {
	id = "regular_revolt.387"
	title = "regular_revolt.387.t"
	desc = "regular_revolt.387.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WUR }
		NOT = { exists = WUR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lower_swabia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 73
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lower_swabia_area
					}
				}
				clear_rebels = yes
				add_core = WUR
			}
			every_owned_province = {
				add_permanent_claim = WUR
			}
			release = WUR
			WUR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.387.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.387.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WUR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.387.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WUR
			casus_belli = cb_revolt_war
		}
		switch_tag = WUR
	}
}
country_event = {
	id = "regular_revolt.388"
	title = "regular_revolt.388.t"
	desc = "regular_revolt.388.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRU }
		NOT = { exists = BRU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = braunschweig_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 57
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = braunschweig_area
					}
				}
				clear_rebels = yes
				add_core = BRU
			}
			every_owned_province = {
				add_permanent_claim = BRU
			}
			release = BRU
			BRU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.388.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.388.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.388.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRU
			casus_belli = cb_revolt_war
		}
		switch_tag = BRU
	}
}
country_event = {
	id = "regular_revolt.389"
	title = "regular_revolt.389.t"
	desc = "regular_revolt.389.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SOR }
		NOT = { exists = SOR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lusatia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 60
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lusatia_area
					}
				}
				clear_rebels = yes
				add_core = SOR
			}
			every_owned_province = {
				add_permanent_claim = SOR
			}
			release = SOR
			SOR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.389.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.389.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SOR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.389.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SOR
			casus_belli = cb_revolt_war
		}
		switch_tag = SOR
	}
}
country_event = {
	id = "regular_revolt.390"
	title = "regular_revolt.390.t"
	desc = "regular_revolt.390.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SHL }
		NOT = { exists = SHL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = holstein_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 13
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = holstein_area
					}
				}
				clear_rebels = yes
				add_core = SHL
			}
			every_owned_province = {
				add_permanent_claim = SHL
			}
			release = SHL
			SHL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.390.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.390.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SHL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.390.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SHL
			casus_belli = cb_revolt_war
		}
		switch_tag = SHL
	}
}
country_event = {
	id = "regular_revolt.391"
	title = "regular_revolt.391.t"
	desc = "regular_revolt.391.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SAX }
		NOT = { exists = SAX }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = south_saxony_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 59
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = south_saxony_area
					}
				}
				clear_rebels = yes
				add_core = SAX
			}
			every_owned_province = {
				add_permanent_claim = SAX
			}
			release = SAX
			SAX = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.391.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.391.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SAX
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.391.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SAX
			casus_belli = cb_revolt_war
		}
		switch_tag = SAX
	}
}
country_event = {
	id = "regular_revolt.392"
	title = "regular_revolt.392.t"
	desc = "regular_revolt.392.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = THU }
		NOT = { exists = THU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = thuringia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 63
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = thuringia_area
					}
				}
				clear_rebels = yes
				add_core = THU
			}
			every_owned_province = {
				add_permanent_claim = THU
			}
			release = THU
			THU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.392.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.392.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = THU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.392.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = THU
			casus_belli = cb_revolt_war
		}
		switch_tag = THU
	}
}
country_event = {
	id = "regular_revolt.393"
	title = "regular_revolt.393.t"
	desc = "regular_revolt.393.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SLO }
		NOT = { exists = SLO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = slovakia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 63
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = slovakia_area
					}
				}
				clear_rebels = yes
				add_core = SLO
			}
			every_owned_province = {
				add_permanent_claim = SLO
			}
			release = SLO
			SLO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.393.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.393.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SLO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.393.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SLO
			casus_belli = cb_revolt_war
		}
		switch_tag = SLO
	}
}
country_event = {
	id = "regular_revolt.394"
	title = "regular_revolt.394.t"
	desc = "regular_revolt.394.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ALB }
		NOT = { exists = ALB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = albania_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 143
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = albania_area
					}
				}
				clear_rebels = yes
				add_core = ALB
			}
			every_owned_province = {
				add_permanent_claim = ALB
			}
			release = ALB
			ALB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.394.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.394.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ALB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.394.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ALB
			casus_belli = cb_revolt_war
		}
		switch_tag = ALB
	}
}
country_event = {
	id = "regular_revolt.395"
	title = "regular_revolt.395.t"
	desc = "regular_revolt.395.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WAL }
		NOT = { exists = WAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = wallachia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 160
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = wallachia_area
					}
				}
				clear_rebels = yes
				add_core = WAL
			}
			every_owned_province = {
				add_permanent_claim = WAL
			}
			release = WAL
			WAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.395.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.395.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.395.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WAL
			casus_belli = cb_revolt_war
		}
		switch_tag = WAL
	}
}
country_event = {
	id = "regular_revolt.396"
	title = "regular_revolt.396.t"
	desc = "regular_revolt.396.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MOL }
		NOT = { exists = MOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = moldavia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 268
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = moldavia_area
					}
				}
				clear_rebels = yes
				add_core = MOL
			}
			every_owned_province = {
				add_permanent_claim = MOL
			}
			release = MOL
			MOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.396.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.396.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.396.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MOL
			casus_belli = cb_revolt_war
		}
		switch_tag = MOL
	}
}
country_event = {
	id = "regular_revolt.397"
	title = "regular_revolt.397.t"
	desc = "regular_revolt.397.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DUL }
		NOT = { exists = DUL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = dulkadir_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 332
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = dulkadir_area
					}
				}
				clear_rebels = yes
				add_core = DUL
			}
			every_owned_province = {
				add_permanent_claim = DUL
			}
			release = DUL
			DUL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.397.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.397.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DUL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.397.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DUL
			casus_belli = cb_revolt_war
		}
		switch_tag = DUL
	}
}
country_event = {
	id = "regular_revolt.398"
	title = "regular_revolt.398.t"
	desc = "regular_revolt.398.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRA }
		NOT = { exists = KRA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = malopolska_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 332
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = malopolska_area
					}
				}
				clear_rebels = yes
				add_core = KRA
			}
			every_owned_province = {
				add_permanent_claim = KRA
			}
			release = KRA
			KRA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.398.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.398.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.398.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRA
			casus_belli = cb_revolt_war
		}
		switch_tag = KRA
	}
}
country_event = {
	id = "regular_revolt.399"
	title = "regular_revolt.399.t"
	desc = "regular_revolt.399.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FEO }
		NOT = { exists = FEO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = crimea_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 332
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = crimea_area
					}
				}
				clear_rebels = yes
				add_core = FEO
			}
			every_owned_province = {
				add_permanent_claim = FEO
			}
			release = FEO
			FEO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.399.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.399.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FEO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.399.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FEO
			casus_belli = cb_revolt_war
		}
		switch_tag = FEO
	}
}
country_event = {
	id = "regular_revolt.400"
	title = "regular_revolt.400.t"
	desc = "regular_revolt.400.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FRA }
		NOT = { exists = FRA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = ile_de_france_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 182
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = ile_de_france_area
					}
				}
				clear_rebels = yes
				add_core = FRA
			}
			every_owned_province = {
				add_permanent_claim = FRA
			}
			release = FRA
			FRA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.400.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.400.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FRA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.400.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FRA
			casus_belli = cb_revolt_war
		}
		switch_tag = FRA
	}
}
country_event = {
	id = "regular_revolt.401"
	title = "regular_revolt.401.t"
	desc = "regular_revolt.401.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHP }
		NOT = { exists = CHP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = champagne_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 181
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = champagne_area
					}
				}
				clear_rebels = yes
				add_core = CHP
			}
			every_owned_province = {
				add_permanent_claim = SAV
			}
			release = CHP
			CHP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.401.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.401.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.401.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHP
			casus_belli = cb_revolt_war
		}
		switch_tag = CHP
	}
}
country_event = {
	id = "regular_revolt.402"
	title = "regular_revolt.402.t"
	desc = "regular_revolt.402.d"
	picture = FORT_eventPicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PIC }
		NOT = { exists = PIC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = picardy_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 88
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = picardy_area
					}
				}
				clear_rebels = yes
				add_core = PIC
			}
			every_owned_province = {
				add_permanent_claim = PIC
			}
			release = PIC
			PIC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.402.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.402.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PIC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.402.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PIC
			casus_belli = cb_revolt_war
		}
		switch_tag = PIC
	}
}
country_event = {
	id = "regular_revolt.403"
	title = "regular_revolt.403.t"
	desc = "regular_revolt.403.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NEV }
		NOT = { exists = NEV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = west_burgundy_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 191
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = west_burgundy_area
					}
				}
				clear_rebels = yes
				add_core = NEV
			}
			every_owned_province = {
				add_permanent_claim = NEV
			}
			release = NEV
			NEV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.403.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.403.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NEV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.403.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NEV
			casus_belli = cb_revolt_war
		}
		switch_tag = NEV
	}
}
country_event = {
	id = "regular_revolt.404"
	title = "regular_revolt.404.t"
	desc = "regular_revolt.404.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BUR }
		NOT = { exists = BUR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bourgogne_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 191
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bourgogne_area
					}
				}
				clear_rebels = yes
				add_core = BUR
			}
			every_owned_province = {
				add_permanent_claim = BUR
			}
			release = BUR
			BUR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.404.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.404.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BUR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.404.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BUR
			casus_belli = cb_revolt_war
		}
		switch_tag = BUR
	}
}
country_event = {
	id = "regular_revolt.405"
	title = "regular_revolt.405.t"
	desc = "regular_revolt.405.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BUR }
		NOT = { exists = BUR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bourgogne_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 191
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bourgogne_area
					}
				}
				clear_rebels = yes
				add_core = BUR
			}
			every_owned_province = {
				add_permanent_claim = BUR
			}
			release = BUR
			BUR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.405.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.405.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BUR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.405.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BUR
			casus_belli = cb_revolt_war
		}
		switch_tag = BUR
	}
}
country_event = {
	id = "regular_revolt.406"
	title = "regular_revolt.406.t"
	desc = "regular_revolt.406.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GOT }
		NOT = { exists = GOT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = gotaland_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 25
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = gotaland_area
					}
				}
				clear_rebels = yes
				add_core = GOT
			}
			every_owned_province = {
				add_permanent_claim = GOT
			}
			release = GOT
			GOT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = norse_pagan_reformed

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.406.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.406.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GOT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.406.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GOT
			casus_belli = cb_revolt_war
		}
		switch_tag = GOT
	}
}
country_event = {
	id = "regular_revolt.407"
	title = "regular_revolt.407.t"
	desc = "regular_revolt.407.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MKL }
		NOT = { exists = MKL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mecklenburg_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 45
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mecklenburg_area
					}
				}
				clear_rebels = yes
				add_core = MKL
			}
			every_owned_province = {
				add_permanent_claim = MKL
			}
			release = MKL
			MKL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.407.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.407.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MKL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.407.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MKL
			casus_belli = cb_revolt_war
		}
		switch_tag = MKL
	}
}
country_event = {
	id = "regular_revolt.408"
	title = "regular_revolt.408.t"
	desc = "regular_revolt.408.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DNZ }
		NOT = { exists = DNZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = west_prussia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 43
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = west_prussia_area
					}
				}
				clear_rebels = yes
				add_core = DNZ
			}
			every_owned_province = {
				add_permanent_claim = DNZ
			}
			release = DNZ
			DNZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.408.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.408.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DNZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.408.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DNZ
			casus_belli = cb_revolt_war
		}
		switch_tag = DNZ
	}
}
country_event = {
	id = "regular_revolt.409"
	title = "regular_revolt.409.t"
	desc = "regular_revolt.409.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TEU }
		NOT = { exists = TEU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = east_prussia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 42
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = east_prussia_area
					}
				}
				clear_rebels = yes
				add_core = TEU
			}
			every_owned_province = {
				add_permanent_claim = TEU
			}
			release = TEU
			TEU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.409.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.409.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TEU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.409.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TEU
			casus_belli = cb_revolt_war
		}
		switch_tag = TEU
	}
}
country_event = {
	id = "regular_revolt.410"
	title = "regular_revolt.410.t"
	desc = "regular_revolt.410.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SMO }
		NOT = { exists = SMO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = smolensk_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 293
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = smolensk_area
					}
				}
				clear_rebels = yes
				add_core = SMO
			}
			every_owned_province = {
				add_permanent_claim = SMO
			}
			release = SMO
			SMO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.410.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.410.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SMO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.410.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SMO
			casus_belli = cb_revolt_war
		}
		switch_tag = SMO
	}
}
country_event = {
	id = "regular_revolt.411"
	title = "regular_revolt.411.t"
	desc = "regular_revolt.411.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SMI }
		NOT = { exists = SMI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = laponia_area
				area = norrland_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1777
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = laponia_area
						area = norrland_area
					}
				}
				clear_rebels = yes
				add_core = SMI
			}
			every_owned_province = {
				add_permanent_claim = SMI
			}
			release = SMI
			SMI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.411.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.411.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SMI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.411.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SMI
			casus_belli = cb_revolt_war
		}
		switch_tag = SMI
	}
}
country_event = {
	id = "regular_revolt.412"
	title = "regular_revolt.412.t"
	desc = "regular_revolt.412.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MOS }
		NOT = { exists = MOS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = moscow_area
				province_id = 296
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 295
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = moscow_area
						province_id = 296
					}
				}
				clear_rebels = yes
				add_core = MOS
			}
			every_owned_province = {
				add_permanent_claim = MOS
			}
			release = MOS
			MOS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.412.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.412.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MOS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.412.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MOS
			casus_belli = cb_revolt_war
		}
		switch_tag = MOS
	}
}
country_event = {
	id = "regular_revolt.413"
	title = "regular_revolt.413.t"
	desc = "regular_revolt.413.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TVE }
		NOT = { exists = TVE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = tver_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 294
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = tver_area
					}
				}
				clear_rebels = yes
				add_core = TVE
			}
			every_owned_province = {
				add_permanent_claim = TVE
			}
			release = TVE
			TVE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.413.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.413.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TVE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.413.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TVE
			casus_belli = cb_revolt_war
		}
		switch_tag = TVE
	}
}
country_event = {
	id = "regular_revolt.414"
	title = "regular_revolt.414.t"
	desc = "regular_revolt.414.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RSO }
		NOT = { exists = RSO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = vladimir_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 307
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = vladimir_area
					}
				}
				clear_rebels = yes
				add_core = RSO
			}
			every_owned_province = {
				add_permanent_claim = RSO
			}
			release = RSO
			RSO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.414.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.414.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RSO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.414.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RSO
			casus_belli = cb_revolt_war
		}
		switch_tag = RSO
	}
}
country_event = {
	id = "regular_revolt.415"
	title = "regular_revolt.415.t"
	desc = "regular_revolt.415.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = YAR }
		NOT = { exists = YAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = yaroslavl_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 308
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = yaroslavl_area
					}
				}
				clear_rebels = yes
				add_core = YAR
			}
			every_owned_province = {
				add_permanent_claim = YAR
			}
			release = YAR
			YAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.415.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.415.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = YAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.415.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = YAR
			casus_belli = cb_revolt_war
		}
		switch_tag = YAR
	}
}
country_event = {
	id = "regular_revolt.416"
	title = "regular_revolt.416.t"
	desc = "regular_revolt.416.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BSH }
		NOT = { exists = BSH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bashkiria_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 308
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bashkiria_area
					}
				}
				clear_rebels = yes
				add_core = BSH
			}
			every_owned_province = {
				add_permanent_claim = BSH
			}
			release = BSH
			BSH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.416.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.416.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BSH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.416.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BSH
			casus_belli = cb_revolt_war
		}
		switch_tag = BSH
	}
}
country_event = {
	id = "regular_revolt.417"
	title = "regular_revolt.417.t"
	desc = "regular_revolt.417.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PRM }
		NOT = { exists = PRM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = perm_area
				area = kama_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 305
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = perm_area
						area = kama_area
					}
				}
				clear_rebels = yes
				add_core = PRM
			}
			every_owned_province = {
				add_permanent_claim = PRM
			}
			release = PRM
			PRM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.417.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.417.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PRM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.417.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PRM
			casus_belli = cb_revolt_war
		}
		switch_tag = PRM
	}
}
country_event = {
	id = "regular_revolt.418"
	title = "regular_revolt.418.t"
	desc = "regular_revolt.418.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NZH }
		NOT = { exists = NZH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = galich_area
				area = suzdal_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 305
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = galich_area
						area = suzdal_area
					}
				}
				clear_rebels = yes
				add_core = NZH
			}
			every_owned_province = {
				add_permanent_claim = NZH
			}
			release = NZH
			NZH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.418.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.418.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NZH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.418.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NZH
			casus_belli = cb_revolt_war
		}
		switch_tag = NZH
	}
}
country_event = {
	id = "regular_revolt.419"
	title = "regular_revolt.419.t"
	desc = "regular_revolt.419.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BLO }
		NOT = { exists = BLO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = beloozero_area
				area = vologda_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 312
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = beloozero_area
						area = vologda_area
					}
				}
				clear_rebels = yes
				add_core = BLO
			}
			every_owned_province = {
				add_permanent_claim = BLO
			}
			release = BLO
			BLO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.419.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.419.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BLO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.419.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BLO
			casus_belli = cb_revolt_war
		}
		switch_tag = BLO
	}
}
country_event = {
	id = "regular_revolt.420"
	title = "regular_revolt.420.t"
	desc = "regular_revolt.420.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRL }
		NOT = { exists = KRL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = pomor_area
				area = north_karelia
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 32
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = pomor_area
						area = north_karelia
					}
				}
				clear_rebels = yes
				add_core = KRL
			}
			every_owned_province = {
				add_permanent_claim = KRL
			}
			release = KRL
			KRL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.420.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.420.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.420.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRL
			casus_belli = cb_revolt_war
		}
		switch_tag = KRL
	}
}
country_event = {
	id = "regular_revolt.421"
	title = "regular_revolt.421.t"
	desc = "regular_revolt.421.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WLS }
		NOT = { exists = WLS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = wales_area
				area = west_midlands_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4369
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = wales_area
						area = west_midlands_area
					}
				}
				clear_rebels = yes
				add_core = WLS
			}
			every_owned_province = {
				add_permanent_claim = WLS
			}
			release = WLS
			WLS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.421.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.421.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WLS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.421.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WLS
			casus_belli = cb_revolt_war
		}
		switch_tag = WLS
	}
}
country_event = {
	id = "regular_revolt.422"
	title = "regular_revolt.422.t"
	desc = "regular_revolt.422.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NOL }
		NOT = { exists = NOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = scottish_marches_area
				area = yorkshire_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 246
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = scottish_marches_area
						area = yorkshire_area
					}
				}
				clear_rebels = yes
				add_core = NOL
			}
			every_owned_province = {
				add_permanent_claim = NOL
			}
			release = NOL
			NOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.422.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.422.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.422.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NOL
			casus_belli = cb_revolt_war
		}
		switch_tag = NOL
	}
}
country_event = {
	id = "regular_revolt.423"
	title = "regular_revolt.423.t"
	desc = "regular_revolt.423.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRA }
		NOT = { exists = TRA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = southern_transylvania_area
				area = transylvania_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1951
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = southern_transylvania_area
						area = transylvania_area
					}
				}
				clear_rebels = yes
				add_core = TRA
			}
			every_owned_province = {
				add_permanent_claim = TRA
			}
			release = TRA
			TRA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.423.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.423.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.423.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRA
			casus_belli = cb_revolt_war
		}
		switch_tag = TRA
	}
}
country_event = {
	id = "regular_revolt.424"
	title = "regular_revolt.424.t"
	desc = "regular_revolt.424.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HUN }
		NOT = { exists = HUN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = transdanubia_area
				area = alfold_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 153
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = transdanubia_area
						area = alfold_area
					}
				}
				clear_rebels = yes
				add_core = HUN
			}
			every_owned_province = {
				add_permanent_claim = HUN
			}
			release = HUN
			HUN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.424.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.424.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HUN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.424.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HUN
			casus_belli = cb_revolt_war
		}
		switch_tag = HUN
	}
}
country_event = {
	id = "regular_revolt.425"
	title = "regular_revolt.425.t"
	desc = "regular_revolt.425.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CRI }
		NOT = { exists = CRI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = azov_area
				area = crimea_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 284
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = azov_area
						area = crimea_area
					}
				}
				clear_rebels = yes
				add_core = CRI
			}
			every_owned_province = {
				add_permanent_claim = CRI
			}
			release = CRI
			CRI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.425.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.425.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CRI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.425.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CRI
			casus_belli = cb_revolt_war
		}
		switch_tag = CRI
	}
}
country_event = {
	id = "regular_revolt.426"
	title = "regular_revolt.426.t"
	desc = "regular_revolt.426.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ZAZ }
		NOT = { exists = ZAZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = yedisan_area
				area = zaporizhia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 283
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = yedisan_area
						area = zaporizhia_area
					}
				}
				clear_rebels = yes
				add_core = ZAZ
			}
			every_owned_province = {
				add_permanent_claim = ZAZ
			}
			release = ZAZ
			ZAZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.426.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.426.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ZAZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.426.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ZAZ
			casus_belli = cb_revolt_war
		}
		switch_tag = ZAZ
	}
}
country_event = {
	id = "regular_revolt.427"
	title = "regular_revolt.427.t"
	desc = "regular_revolt.427.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KIE }
		NOT = { exists = KIE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = west_dniepr_area
				area = podolia_volhynia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 280
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = west_dniepr_area
						area = podolia_volhynia_area
					}
				}
				clear_rebels = yes
				add_core = KIE
			}
			every_owned_province = {
				add_permanent_claim = KIE
			}
			release = KIE
			KIE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.427.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.427.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KIE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.427.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KIE
			casus_belli = cb_revolt_war
		}
		switch_tag = KIE
	}
}
country_event = {
	id = "regular_revolt.428"
	title = "regular_revolt.428.t"
	desc = "regular_revolt.428.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VOL }
		NOT = { exists = VOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = red_ruthenia_area
				area = volhynia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 279
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = red_ruthenia_area
						area = volhynia_area
					}
				}
				clear_rebels = yes
				add_core = VOL
			}
			every_owned_province = {
				add_permanent_claim = VOL
			}
			release = VOL
			VOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.428.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.428.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.428.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VOL
			casus_belli = cb_revolt_war
		}
		switch_tag = VOL
	}
}
country_event = {
	id = "regular_revolt.429"
	title = "regular_revolt.429.t"
	desc = "regular_revolt.429.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAZ }
		NOT = { exists = MAZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = sandomierz_area
				area = mazovia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 257
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = sandomierz_area
						area = mazovia_area
					}
				}
				clear_rebels = yes
				add_core = MAZ
			}
			every_owned_province = {
				add_permanent_claim = MAZ
			}
			release = MAZ
			MAZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.429.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.429.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.429.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAZ
			casus_belli = cb_revolt_war
		}
		switch_tag = MAZ
	}
}
country_event = {
	id = "regular_revolt.430"
	title = "regular_revolt.430.t"
	desc = "regular_revolt.430.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BOH }
		NOT = { exists = BOH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = erzgebirge_area
				area = bohemia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 266
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = erzgebirge_area
						area = bohemia_area
					}
				}
				clear_rebels = yes
				add_core = BOH
			}
			every_owned_province = {
				add_permanent_claim = BOH
			}
			release = BOH
			BOH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.430.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.430.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BOH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.430.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BOH
			casus_belli = cb_revolt_war
		}
		switch_tag = BOH
	}
}
country_event = {
	id = "regular_revolt.431"
	title = "regular_revolt.431.t"
	desc = "regular_revolt.431.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CHR }
		NOT = { exists = CHR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = chernigov_area
				area = east_dniepr_area
				province_id = 298
				province_id = 291
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 289
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = chernigov_area
						area = east_dniepr_area
						province_id = 298
						province_id = 291
					}
				}
				clear_rebels = yes
				add_core = CHR
			}
			every_owned_province = {
				add_permanent_claim = CHR
			}
			release = CHR
			CHR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.431.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.431.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CHR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.431.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CHR
			casus_belli = cb_revolt_war
		}
		switch_tag = CHR
	}
}
country_event = {
	id = "regular_revolt.432"
	title = "regular_revolt.432.t"
	desc = "regular_revolt.432.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FIN }
		NOT = { exists = FIN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = finland_area
				area = bothnia_area
				province_id = 30
				province_id = 4151
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 27
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = finland_area
						area = bothnia_area
						province_id = 30
						province_id = 4151
					}
				}
				clear_rebels = yes
				add_core = FIN
			}
			every_owned_province = {
				add_permanent_claim = FIN
			}
			release = FIN
			FIN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.432.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.432.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FIN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.432.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FIN
			casus_belli = cb_revolt_war
		}
		switch_tag = FIN
	}
}
country_event = {
	id = "regular_revolt.433"
	title = "regular_revolt.433.t"
	desc = "regular_revolt.433.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NOV }
		NOT = { exists = NOV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = novgorod_area
				area = arkhangelsk_area
				province_id = 4148
				province_id = 33
				province_id = 34
				province_id = 1961
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 310
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = novgorod_area
						area = arkhangelsk_area
						province_id = 4148
						province_id = 33
						province_id = 34
						province_id = 1961
					}
				}
				clear_rebels = yes
				add_core = NOV
			}
			every_owned_province = {
				add_permanent_claim = NOV
			}
			release = NOV
			NOV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.433.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.433.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NOV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.433.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NOV
			casus_belli = cb_revolt_war
		}
		switch_tag = NOV
	}
}
country_event = {
	id = "regular_revolt.434"
	title = "regular_revolt.434.t"
	desc = "regular_revolt.434.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BUL }
		NOT = { exists = BUL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = bulgaria_area
				area = silistria_area
				province_id = 1764
				province_id = 3001
				province_id = 4780
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 150
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = bulgaria_area
						area = silistria_area
						province_id = 1764
						province_id = 3001
						province_id = 4780
					}
				}
				clear_rebels = yes
				add_core = BUL
			}
			every_owned_province = {
				add_permanent_claim = BUL
			}
			release = BUL
			BUL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.434.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.434.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BUL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.434.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BUL
			casus_belli = cb_revolt_war
		}
		switch_tag = BUL
	}
}
country_event = {
	id = "regular_revolt.435"
	title = "regular_revolt.435.t"
	desc = "regular_revolt.435.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BYZ }
		NOT = { exists = BYZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = thrace_area
				area = macedonia_area
				province_id = 147
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 151
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = thrace_area
						area = macedonia_area
						province_id = 147
					}
				}
				clear_rebels = yes
				add_core = BYZ
			}
			every_owned_province = {
				add_permanent_claim = BYZ
			}
			release = BYZ
			BYZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.435.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.435.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BYZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.435.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BYZ
			casus_belli = cb_revolt_war
		}
		switch_tag = BYZ
	}
}
country_event = {
	id = "regular_revolt.436"
	title = "regular_revolt.436.t"
	desc = "regular_revolt.436.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SYR }
		NOT = { exists = SYR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = aleppo_area
				area = syrian_desert_area
				province_id = 407
				province_id = 2314
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2314
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = aleppo_area
						area = syrian_desert_area
						province_id = 407
						province_id = 2314
					}
				}
				clear_rebels = yes
				add_core = SYR
			}
			every_owned_province = {
				add_permanent_claim = SYR
			}
			release = SYR
			SYR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.436.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.436.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SYR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.436.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SYR
			casus_belli = cb_revolt_war
		}
		switch_tag = SYR
	}
}
country_event = {
	id = "regular_revolt.437"
	title = "regular_revolt.437.t"
	desc = "regular_revolt.437.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LEB }
		NOT = { exists = LEB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = syria_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 378
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = syria_area
					}
				}
				clear_rebels = yes
				add_core = LEB
			}
			every_owned_province = {
				add_permanent_claim = LEB
			}
			release = LEB
			LEB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.437.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.437.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LEB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.437.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LEB
			casus_belli = cb_revolt_war
		}
		switch_tag = LEB
	}
}
country_event = {
	id = "regular_revolt.438"
	title = "regular_revolt.438.t"
	desc = "regular_revolt.438.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TOU }
		NOT = { exists = TOU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = languedoc_area
				province_id = 198
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 200
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = languedoc_area
						province_id = 198
					}
				}
				clear_rebels = yes
				add_core = TOU
			}
			every_owned_province = {
				add_permanent_claim = TOU
			}
			release = TOU
			TOU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.438.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.438.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TOU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.438.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TOU
			casus_belli = cb_revolt_war
		}
		switch_tag = TOU
	}
}
country_event = {
	id = "regular_revolt.439"
	title = "regular_revolt.439.t"
	desc = "regular_revolt.439.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ORL }
		NOT = { exists = ORL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = poitou_area
				province_id = 184
				province_id = 4776
				province_id = 4389
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 184
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = poitou_area
						province_id = 184
						province_id = 4776
						province_id = 4389
					}
				}
				clear_rebels = yes
				add_core = ORL
			}
			every_owned_province = {
				add_permanent_claim = ORL
			}
			release = ORL
			ORL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.439.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.439.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ORL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.439.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ORL
			casus_belli = cb_revolt_war
		}
		switch_tag = ORL
	}
}
country_event = {
	id = "regular_revolt.440"
	title = "regular_revolt.440.t"
	desc = "regular_revolt.440.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GUY }
		NOT = { exists = GUY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = guyenne_area
				province_id = 173
				province_id = 195
				province_id = 4697
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 194
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = guyenne_area
						province_id = 173
						province_id = 195
						province_id = 4697
					}
				}
				clear_rebels = yes
				add_core = GUY
			}
			every_owned_province = {
				add_permanent_claim = GUY
			}
			release = GUY
			GUY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.440.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.440.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GUY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.440.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GUY
			casus_belli = cb_revolt_war
		}
		switch_tag = GUY
	}
}
country_event = {
	id = "regular_revolt.441"
	title = "regular_revolt.441.t"
	desc = "regular_revolt.441.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SER }
		NOT = { exists = SER }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = serbia_area
				province_id = 1766
				province_id = 1827
				province_id = 4173
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4176
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = serbia_area
						province_id = 1766
						province_id = 1827
						province_id = 4173
					}
				}
				clear_rebels = yes
				add_core = SER
			}
			every_owned_province = {
				add_permanent_claim = SER
			}
			release = SER
			SER = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.441.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.441.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SER
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.441.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SER
			casus_belli = cb_revolt_war
		}
		switch_tag = SER
	}
}
country_event = {
	id = "regular_revolt.442"
	title = "regular_revolt.442.t"
	desc = "regular_revolt.442.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DAL }
		NOT = { exists = DAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = east_adriatic_coast_area
				province_id = 1826
				province_id = 4752
				province_id = 130
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 136
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = east_adriatic_coast_area
						province_id = 1826
						province_id = 4752
						province_id = 130
					}
				}
				clear_rebels = yes
				add_core = DAL
			}
			every_owned_province = {
				add_permanent_claim = DAL
			}
			release = DAL
			DAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.442.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.442.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.442.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DAL
			casus_belli = cb_revolt_war
		}
		switch_tag = DAL
	}
}
country_event = {
	id = "regular_revolt.443"
	title = "regular_revolt.443.t"
	desc = "regular_revolt.443.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = STY }
		NOT = { exists = STY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = inner_austria_area
				province_id = 1769
				province_id = 4738
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1863
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = inner_austria_area
						province_id = 1769
						province_id = 4738
					}
				}
				clear_rebels = yes
				add_core = STY
			}
			every_owned_province = {
				add_permanent_claim = STY
			}
			release = STY
			STY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.443.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.443.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = STY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.443.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = STY
			casus_belli = cb_revolt_war
		}
		switch_tag = STY
	}
}
country_event = {
	id = "regular_revolt.444"
	title = "regular_revolt.444.t"
	desc = "regular_revolt.444.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AST }
		NOT = { exists = AST }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = astrakhan_area
				province_id = 2208
				province_id = 2418
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 464
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = astrakhan_area
						province_id = 2208
						province_id = 2418
					}
				}
				clear_rebels = yes
				add_core = AST
			}
			every_owned_province = {
				add_permanent_claim = AST
			}
			release = AST
			AST = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.444.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.444.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AST
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.444.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AST
			casus_belli = cb_revolt_war
		}
		switch_tag = AST
	}
}
country_event = {
	id = "regular_revolt.445"
	title = "regular_revolt.445.t"
	desc = "regular_revolt.445.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GOL }
		NOT = { exists = GOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lower_don_area
				province_id = 303
				province_id = 299
				province_id = 302
				province_id = 2415
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 288
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lower_don_area
						province_id = 303
						province_id = 299
						province_id = 302
						province_id = 2415
					}
				}
				clear_rebels = yes
				add_core = GOL
			}
			every_owned_province = {
				add_permanent_claim = GOL
			}
			release = GOL
			GOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.445.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.445.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.445.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GOL
			casus_belli = cb_revolt_war
		}
		switch_tag = GOL
	}
}
country_event = {
	id = "regular_revolt.446"
	title = "regular_revolt.446.t"
	desc = "regular_revolt.446.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PAL }
		NOT = { exists = PAL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = palatinate_area
				province_id = 1757
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 77
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = palatinate_area
						province_id = 1757
					}
				}
				clear_rebels = yes
				add_core = PAL
			}
			every_owned_province = {
				add_permanent_claim = PAL
			}
			release = PAL
			PAL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.446.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.446.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PAL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.446.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PAL
			casus_belli = cb_revolt_war
		}
		switch_tag = PAL
	}
}
country_event = {
	id = "regular_revolt.447"
	title = "regular_revolt.447.t"
	desc = "regular_revolt.447.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SWI }
		NOT = { exists = SWI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = switzerland_area
				province_id = 165
				province_id = 4721
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 165
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = switzerland_area
						province_id = 165
						province_id = 4721
					}
				}
				clear_rebels = yes
				add_core = SWI
			}
			every_owned_province = {
				add_permanent_claim = SWI
			}
			release = SWI
			SWI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.447.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.447.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SWI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.447.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SWI
			casus_belli = cb_revolt_war
		}
		switch_tag = SWI
	}
}
country_event = {
	id = "regular_revolt.448"
	title = "regular_revolt.448.t"
	desc = "regular_revolt.448.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TUR }
		NOT = { exists = TUR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = hudavendigar_area
				province_id = 2299
				province_id = 4312
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 317
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = hudavendigar_area
						province_id = 2299
						province_id = 4312
					}
				}
				clear_rebels = yes
				add_core = TUR
			}
			every_owned_province = {
				add_permanent_claim = TUR
			}
			release = TUR
			TUR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.448.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.448.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TUR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.448.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TUR
			casus_belli = cb_revolt_war
		}
		switch_tag = TUR
	}
}
country_event = {
	id = "regular_revolt.449"
	title = "regular_revolt.449.t"
	desc = "regular_revolt.449.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ERE }
		NOT = { exists = ERE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = rum_area
				province_id = 2305
				province_id = 4313
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 329
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = rum_area
						province_id = 2305
						province_id = 4313
					}
				}
				clear_rebels = yes
				add_core = ERE
			}
			every_owned_province = {
				add_permanent_claim = ERE
			}
			release = ERE
			ERE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.449.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.449.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ERE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.449.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ERE
			casus_belli = cb_revolt_war
		}
		switch_tag = ERE
	}
}
country_event = {
	id = "regular_revolt.450"
	title = "regular_revolt.450.t"
	desc = "regular_revolt.450.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAR }
		NOT = { exists = KAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = karaman_area
				province_id = 2302
				province_id = 1848
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 324
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = karaman_area
						province_id = 2302
						province_id = 1848
					}
				}
				clear_rebels = yes
				add_core = KAR
			}
			every_owned_province = {
				add_permanent_claim = KAR
			}
			release = KAR
			KAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.450.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.450.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.450.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAR
			casus_belli = cb_revolt_war
		}
		switch_tag = KAR
	}
}
country_event = {
	id = "regular_revolt.451"
	title = "regular_revolt.451.t"
	desc = "regular_revolt.451.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRA }
		NOT = { tag = GER }
		NOT = { exists = BRA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = mittelmark_area
				area = neumark_area
				province_id = 2964
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 50
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = mittelmark_area
						area = neumark_area
						province_id = 2964
					}
				}
				clear_rebels = yes
				add_core = BRA
			}
			every_owned_province = {
				add_permanent_claim = BRA
			}
			release = BRA
			BRA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.451.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.451.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.451.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRA
			casus_belli = cb_revolt_war
		}
		switch_tag = BRA
	}
}
country_event = {
	id = "regular_revolt.452"
	title = "regular_revolt.452.t"
	desc = "regular_revolt.452.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PLT }
		NOT = { exists = PLT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = white_ruthenia_area
				area = minsk_area
				area = pripyat_area
				province_id = 275
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 275
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = white_ruthenia_area
						area = minsk_area
						area = pripyat_area
						province_id = 275
					}
				}
				clear_rebels = yes
				add_core = PLT
			}
			every_owned_province = {
				add_permanent_claim = PLT
			}
			release = PLT
			PLT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.452.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.452.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PLT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.452.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PLT
			casus_belli = cb_revolt_war
		}
		switch_tag = PLT
	}
}
country_event = {
	id = "regular_revolt.453"
	title = "regular_revolt.453.t"
	desc = "regular_revolt.453.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KAZ }
		NOT = { exists = KAZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = kazan_area
				area = volga_area
				area = samara_area
				province_id = 2419
				province_id = 304
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2419
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = kazan_area
						area = volga_area
						area = samara_area
						province_id = 2419
						province_id = 304
					}
				}
				clear_rebels = yes
				add_core = KAZ
			}
			every_owned_province = {
				add_permanent_claim = KAZ
			}
			release = KAZ
			KAZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.453.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.453.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KAZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.453.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KAZ
			casus_belli = cb_revolt_war
		}
		switch_tag = KAZ
	}
}
country_event = {
	id = "regular_revolt.454"
	title = "regular_revolt.454.t"
	desc = "regular_revolt.454.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LIT }
		NOT = { exists = LIT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = lithuania_area
				area = samogitia_area
				area = podlasie_area
				province_id = 40
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 40
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = lithuania_area
						area = samogitia_area
						area = podlasie_area
						province_id = 40
					}
				}
				clear_rebels = yes
				add_core = LIT
			}
			every_owned_province = {
				add_permanent_claim = LIT
			}
			release = LIT
			LIT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.454.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.454.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LIT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.454.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LIT
			casus_belli = cb_revolt_war
		}
		switch_tag = LIT
	}
}
country_event = {
	id = "regular_revolt.455"
	title = "regular_revolt.455.t"
	desc = "regular_revolt.455.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = POL }
		NOT = { exists = POL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = central_poland_area
				area = wielkopolska_area
				area = kuyavia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 257
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = central_poland_area
						area = wielkopolska_area
						area = kuyavia_area
					}
				}
				clear_rebels = yes
				add_core = POL
			}
			every_owned_province = {
				add_permanent_claim = POL
			}
			release = POL
			POL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.455.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.455.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = POL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.455.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = POL
			casus_belli = cb_revolt_war
		}
		switch_tag = POL
	}
}
country_event = {
	id = "regular_revolt.456"
	title = "regular_revolt.456.t"
	desc = "regular_revolt.456.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ENG }
		NOT = { exists = ENG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = home_counties_area
				area = east_midlands_area
				area = east_anglia_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 236
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = home_counties_area
						area = east_midlands_area
						area = east_anglia_area
					}
				}
				clear_rebels = yes
				add_core = ENG
			}
			every_owned_province = {
				add_permanent_claim = ENG
			}
			release = ENG
			ENG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.456.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.456.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ENG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.456.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ENG
			casus_belli = cb_revolt_war
		}
		switch_tag = ENG
	}
}
country_event = {
	id = "regular_revolt.457"
	title = "regular_revolt.457.t"
	desc = "regular_revolt.457.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DAN }
		NOT = { exists = DAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = denmark_area
				area = jutland_area
				area = skaneland_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 236
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = denmark_area
						area = jutland_area
						area = skaneland_area
					}
				}
				clear_rebels = yes
				add_core = DAN
			}
			every_owned_province = {
				add_permanent_claim = DAN
			}
			release = DAN
			DAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = norse_pagan_reformed

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.457.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.457.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.457.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DAN
			casus_belli = cb_revolt_war
		}
		switch_tag = DAN
	}
}
country_event = {
	id = "regular_revolt.458"
	title = "regular_revolt.458.t"
	desc = "regular_revolt.458.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NOR }
		NOT = { exists = NOR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = eastern_norway
				area = northern_norway
				area = western_norway
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 17
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = eastern_norway
						area = northern_norway
						area = western_norway
					}
				}
				clear_rebels = yes
				add_core = NOR
			}
			every_owned_province = {
				add_permanent_claim = NOR
			}
			release = NOR
			NOR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = norse_pagan_reformed

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.458.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.458.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NOR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.458.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NOR
			casus_belli = cb_revolt_war
		}
		switch_tag = NOR
	}
}
country_event = {
	id = "regular_revolt.459"
	title = "regular_revolt.459.t"
	desc = "regular_revolt.459.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SWE }
		NOT = { exists = SWE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				area = ostra_svealand_area
				area = svealand_area
				area = vastra_gotaland_area
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						area = ostra_svealand_area
						area = svealand_area
						area = vastra_gotaland_area
					}
				}
				clear_rebels = yes
				add_core = SWE
			}
			every_owned_province = {
				add_permanent_claim = SWE
			}
			release = SWE
			SWE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = norse_pagan_reformed

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.459.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.459.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SWE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.459.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SWE
			casus_belli = cb_revolt_war
		}
		switch_tag = SWE
	}
}
country_event = {
	id = "regular_revolt.460"
	title = "regular_revolt.460.t"
	desc = "regular_revolt.460.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = QAS }
		NOT = { exists = QAS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1778
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1778
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1778
					}
				}
				clear_rebels = yes
				add_core = QAS
			}
			every_owned_province = {
				add_permanent_claim = QAS
			}
			release = QAS
			QAS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.460.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.460.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = QAS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.460.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = QAS
			casus_belli = cb_revolt_war
		}
		switch_tag = QAS
	}
}
country_event = {
	id = "regular_revolt.461"
	title = "regular_revolt.461.t"
	desc = "regular_revolt.461.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RYA }
		NOT = { exists = RYA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 301
				province_id = 4255
				province_id = 300
				province_id = 2408
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 301
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 301
						province_id = 4255
						province_id = 300
						province_id = 2408
					}
				}
				clear_rebels = yes
				add_core = RYA
			}
			every_owned_province = {
				add_permanent_claim = RYA
			}
			release = RYA
			RYA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.461.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.461.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RYA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.461.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RYA
			casus_belli = cb_revolt_war
		}
		switch_tag = RYA
	}
}
country_event = {
	id = "regular_revolt.462"
	title = "regular_revolt.462.t"
	desc = "regular_revolt.462.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OKA }
		NOT = { exists = OKA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4116
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4116
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4116
					}
				}
				clear_rebels = yes
				add_core = OKA
			}
			every_owned_province = {
				add_permanent_claim = OKA
			}
			release = OKA
			OKA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.462.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.462.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OKA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.462.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OKA
			casus_belli = cb_revolt_war
		}
		switch_tag = OKA
	}
}
country_event = {
	id = "regular_revolt.463"
	title = "regular_revolt.463.t"
	desc = "regular_revolt.463.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PSK }
		NOT = { exists = PSK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 274
				province_id = 1960
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 274
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 274
						province_id = 1960
					}
				}
				clear_rebels = yes
				add_core = PSK
			}
			release = PSK
			PSK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.463.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.463.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PSK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.463.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PSK
			casus_belli = cb_revolt_war
		}
		switch_tag = PSK
	}
}
country_event = {
	id = "regular_revolt.464"
	title = "regular_revolt.464.t"
	desc = "regular_revolt.464.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LIV }
		NOT = { exists = LIV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 39
				province_id = 1935
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 39
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 39
						province_id = 1935
					}
				}
				clear_rebels = yes
				add_core = LIV
			}
			every_owned_province = {
				add_permanent_claim = LIV
			}
			release = LIV
			LIV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.464.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.464.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LIV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.464.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LIV
			casus_belli = cb_revolt_war
		}
		switch_tag = LIV
	}
}
country_event = {
	id = "regular_revolt.465"
	title = "regular_revolt.465.t"
	desc = "regular_revolt.465.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RIG }
		NOT = { exists = RIG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 38
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 38
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 38
					}
				}
				clear_rebels = yes
				add_core = RIG
			}
			every_owned_province = {
				add_permanent_claim = RIG
			}
			release = RIG
			RIG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.465.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.465.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RIG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.465.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RIG
			casus_belli = cb_revolt_war
		}
		switch_tag = RIG
	}
}
country_event = {
	id = "regular_revolt.466"
	title = "regular_revolt.466.t"
	desc = "regular_revolt.466.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = EST }
		NOT = { exists = EST }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 36
				province_id = 35
				province_id = 1842
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 36
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 36
						province_id = 35
						province_id = 1842
					}
				}
				clear_rebels = yes
				add_core = EST
			}
			every_owned_province = {
				add_permanent_claim = EST
			}
			release = EST
			EST = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.466.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.466.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = EST
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.466.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = EST
			casus_belli = cb_revolt_war
		}
		switch_tag = EST
	}
}
country_event = {
	id = "regular_revolt.467"
	title = "regular_revolt.467.t"
	desc = "regular_revolt.467.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LTG }
		NOT = { exists = LTG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 37
				province_id = 273
				province_id = 4241
				province_id = 1834
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 37
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 37
						province_id = 273
						province_id = 4241
						province_id = 1834
					}
				}
				clear_rebels = yes
				add_core = LTG
			}
			every_owned_province = {
				add_permanent_claim = LTG
			}
			release = LTG
			LTG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.467.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.467.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LTG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.467.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LTG
			casus_belli = cb_revolt_war
		}
		switch_tag = LTG
	}
}
country_event = {
	id = "regular_revolt.468"
	title = "regular_revolt.468.t"
	desc = "regular_revolt.468.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TAB }
		NOT = { exists = TAB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 426
				province_id = 4341
				province_id = 2214
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 426
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 426
						province_id = 4341
						province_id = 2214
					}
				}
				clear_rebels = yes
				add_core = TAB
			}
			every_owned_province = {
				add_permanent_claim = TAB
			}
			release = TAB
			TAB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.468.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.468.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TAB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.468.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TAB
			casus_belli = cb_revolt_war
		}
		switch_tag = TAB
	}
}
country_event = {
	id = "regular_revolt.469"
	title = "regular_revolt.469.t"
	desc = "regular_revolt.469.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = QAR }
		NOT = { exists = QAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 410
				province_id = 409
				province_id = 4291
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 410
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 410
						province_id = 409
						province_id = 4291
					}
				}
				clear_rebels = yes
				add_core = QAR
			}
			every_owned_province = {
				add_permanent_claim = QAR
			}
			release = QAR
			QAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.469.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.469.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = QAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.469.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = QAR
			casus_belli = cb_revolt_war
		}
		switch_tag = QAR
	}
}
country_event = {
	id = "regular_revolt.470"
	title = "regular_revolt.470.t"
	desc = "regular_revolt.470.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OPL }
		NOT = { exists = OPL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 264
				province_id = 4723
				province_id = 263
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 264
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 264
						province_id = 4723
						province_id = 263
					}
				}
				clear_rebels = yes
				add_core = OPL
			}
			every_owned_province = {
				add_permanent_claim = OPL
			}
			release = OPL
			OPL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.470.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.470.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OPL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.470.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OPL
			casus_belli = cb_revolt_war
		}
		switch_tag = OPL
	}
}
country_event = {
	id = "regular_revolt.471"
	title = "regular_revolt.471.t"
	desc = "regular_revolt.471.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SAR }
		NOT = { exists = SAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 127
				province_id = 4735
				province_id = 2986
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 127
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 127
						province_id = 4735
						province_id = 2986
					}
				}
				clear_rebels = yes
				add_core = SAR
			}
			every_owned_province = {
				add_permanent_claim = SAR
			}
			release = SAR
			SAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.471.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.471.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.471.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SAR
			casus_belli = cb_revolt_war
		}
		switch_tag = SAR
	}
}
country_event = {
	id = "regular_revolt.472"
	title = "regular_revolt.472.t"
	desc = "regular_revolt.472.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NRM }
		NOT = { exists = NRM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 168
				province_id = 4385
				province_id = 167
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 168
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 168
						province_id = 4385
						province_id = 167
					}
				}
				clear_rebels = yes
				add_core = NRM
			}
			every_owned_province = {
				add_permanent_claim = NRM
			}
			release = NRM
			NRM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.472.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.472.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NRM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.472.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NRM
			casus_belli = cb_revolt_war
		}
		switch_tag = NRM
	}
}
country_event = {
	id = "regular_revolt.473"
	title = "regular_revolt.473.t"
	desc = "regular_revolt.473.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LBV }
		NOT = { exists = LBV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 64
				province_id = 4708
				province_id = 4760
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 64
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 64
						province_id = 4708
						province_id = 4760
					}
				}
				clear_rebels = yes
				add_core = LBV
			}
			every_owned_province = {
				add_permanent_claim = LBV
			}
			release = LBV
			LBV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.473.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.473.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LBV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.473.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LBV
			casus_belli = cb_revolt_war
		}
		switch_tag = LBV
	}
}
country_event = {
	id = "regular_revolt.474"
	title = "regular_revolt.474.t"
	desc = "regular_revolt.474.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRG }
		NOT = { exists = BRG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 84
				province_id = 4768
				province_id = 4775
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 84
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 84
						province_id = 4768
						province_id = 4775
					}
				}
				clear_rebels = yes
				add_core = BRG
			}
			every_owned_province = {
				add_permanent_claim = BRG
			}
			release = BRG
			BRG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.474.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.474.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.474.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRG
			casus_belli = cb_revolt_war
		}
		switch_tag = BRG
	}
}
country_event = {
	id = "regular_revolt.475"
	title = "regular_revolt.475.t"
	desc = "regular_revolt.475.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HOL }
		NOT = { exists = HOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 97
				province_id = 4383
				province_id = 96
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 97
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 97
						province_id = 4383
						province_id = 96
					}
				}
				clear_rebels = yes
				add_core = HOL
			}
			every_owned_province = {
				add_permanent_claim = HOL
			}
			release = HOL
			HOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.475.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.475.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.475.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HOL
			casus_belli = cb_revolt_war
		}
		switch_tag = HOL
	}
}
country_event = {
	id = "regular_revolt.476"
	title = "regular_revolt.476.t"
	desc = "regular_revolt.476.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CLI }
		NOT = { exists = CLI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4751
				province_id = 129
				province_id = 152
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4751
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4751
						province_id = 129
						province_id = 152
					}
				}
				clear_rebels = yes
				add_core = CLI
			}
			every_owned_province = {
				add_permanent_claim = CLI
			}
			release = CLI
			CLI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.476.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.476.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CLI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.476.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CLI
			casus_belli = cb_revolt_war
		}
		switch_tag = CLI
	}
}
country_event = {
	id = "regular_revolt.477"
	title = "regular_revolt.477.t"
	desc = "regular_revolt.477.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CRO }
		NOT = { exists = CRO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4756
				province_id = 131
				province_id = 1767
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4756
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4756
						province_id = 131
						province_id = 1767
					}
				}
				clear_rebels = yes
				add_core = CRO
			}
			every_owned_province = {
				add_permanent_claim = CRO
			}
			release = CRO
			CRO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.477.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.477.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CRO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.477.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CRO
			casus_belli = cb_revolt_war
		}
		switch_tag = CRO
	}
}
country_event = {
	id = "regular_revolt.478"
	title = "regular_revolt.478.t"
	desc = "regular_revolt.478.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BTL }
		NOT = { exists = BTL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4296
				province_id = 2307
				province_id = 4302
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4296
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4296
						province_id = 2307
						province_id = 4302
					}
				}
				clear_rebels = yes
				add_core = BTL
			}
			every_owned_province = {
				add_permanent_claim = BTL
			}
			release = BTL
			BTL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.478.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.478.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BTL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.478.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BTL
			casus_belli = cb_revolt_war
		}
		switch_tag = BTL
	}
}
country_event = {
	id = "regular_revolt.479"
	title = "regular_revolt.479.t"
	desc = "regular_revolt.479.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = EPI }
		NOT = { exists = EPI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4698
				province_id = 4699
				province_id = 144
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4698
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4698
						province_id = 4699
						province_id = 144
					}
				}
				clear_rebels = yes
				add_core = EPI
			}
			every_owned_province = {
				add_permanent_claim = EPI
			}
			release = EPI
			EPI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.479.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.479.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = EPI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.479.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = EPI
			casus_belli = cb_revolt_war
		}
		switch_tag = EPI
	}
}
country_event = {
	id = "regular_revolt.480"
	title = "regular_revolt.480.t"
	desc = "regular_revolt.480.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KRY }
		NOT = { exists = KRY }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 417
				province_id = 4339
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 417
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 417
						province_id = 4339
					}
				}
				clear_rebels = yes
				add_core = KRY
			}
			every_owned_province = {
				add_permanent_claim = KRY
			}
			release = KRY
			KRY = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.480.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.480.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KRY
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.480.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KRY
			casus_belli = cb_revolt_war
		}
		switch_tag = KRY
	}
}
country_event = {
	id = "regular_revolt.481"
	title = "regular_revolt.481.t"
	desc = "regular_revolt.481.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = QOM }
		NOT = { exists = QOM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2215
				province_id = 4338
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2215
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2215
						province_id = 4338
					}
				}
				clear_rebels = yes
				add_core = QOM
			}
			every_owned_province = {
				add_permanent_claim = QOM
			}
			release = QOM
			QOM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.481.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.481.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = QOM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.481.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = QOM
			casus_belli = cb_revolt_war
		}
		switch_tag = QOM
	}
}
country_event = {
	id = "regular_revolt.482"
	title = "regular_revolt.482.t"
	desc = "regular_revolt.482.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TBR }
		NOT = { exists = TBR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 416
				province_id = 4304
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 416
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 416
						province_id = 4304
					}
				}
				clear_rebels = yes
				add_core = TBR
			}
			every_owned_province = {
				add_permanent_claim = TBR
			}
			release = TBR
			TBR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.482.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.482.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TBR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.482.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TBR
			casus_belli = cb_revolt_war
		}
		switch_tag = TBR
	}
}
country_event = {
	id = "regular_revolt.483"
	title = "regular_revolt.483.t"
	desc = "regular_revolt.483.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRE }
		NOT = { exists = TRE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 330
				province_id = 2304
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 330
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 330
						province_id = 2304
					}
				}
				clear_rebels = yes
				add_core = TRE
			}
			every_owned_province = {
				add_permanent_claim = TRE
			}
			release = TRE
			TRE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.483.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.483.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.483.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRE
			casus_belli = cb_revolt_war
		}
		switch_tag = TRE
	}
}
country_event = {
	id = "regular_revolt.484"
	title = "regular_revolt.484.t"
	desc = "regular_revolt.484.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLK }
		NOT = { exists = MLK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2202
				province_id = 420
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2202
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2202
						province_id = 420
					}
				}
				clear_rebels = yes
				add_core = MLK
			}
			every_owned_province = {
				add_permanent_claim = MLK
			}
			release = MLK
			MLK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.484.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.484.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.484.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLK
			casus_belli = cb_revolt_war
		}
		switch_tag = MLK
	}
}
country_event = {
	id = "regular_revolt.485"
	title = "regular_revolt.485.t"
	desc = "regular_revolt.485.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GAZ }
		NOT = { exists = GAZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2199
				province_id = 4306
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2199
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2199
						province_id = 4306
					}
				}
				clear_rebels = yes
				add_core = GAZ
			}
			every_owned_province = {
				add_permanent_claim = GAZ
			}
			release = GAZ
			GAZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.485.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.485.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GAZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.485.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GAZ
			casus_belli = cb_revolt_war
		}
		switch_tag = GAZ
	}
}
country_event = {
	id = "regular_revolt.486"
	title = "regular_revolt.486.t"
	desc = "regular_revolt.486.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CND }
		NOT = { exists = CND }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 328
				province_id = 325
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 328
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 328
						province_id = 325
					}
				}
				clear_rebels = yes
				add_core = CND
			}
			every_owned_province = {
				add_permanent_claim = CND
			}
			release = CND
			CND = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.486.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.486.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CND
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.486.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CND
			casus_belli = cb_revolt_war
		}
		switch_tag = CND
	}
}
country_event = {
	id = "regular_revolt.487"
	title = "regular_revolt.487.t"
	desc = "regular_revolt.487.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MEN }
		NOT = { exists = MEN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2298
				province_id = 319
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2298
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2298
						province_id = 319
					}
				}
				clear_rebels = yes
				add_core = MEN
			}
			every_owned_province = {
				add_permanent_claim = MEN
			}
			release = MEN
			MEN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.487.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.487.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MEN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.487.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MEN
			casus_belli = cb_revolt_war
		}
		switch_tag = MEN
	}
}
country_event = {
	id = "regular_revolt.488"
	title = "regular_revolt.488.t"
	desc = "regular_revolt.488.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AYD }
		NOT = { exists = AYD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4309
				province_id = 318
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4309
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4309
						province_id = 318
					}
				}
				clear_rebels = yes
				add_core = AYD
			}
			every_owned_province = {
				add_permanent_claim = AYD
			}
			release = AYD
			AYD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.488.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.488.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AYD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.488.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AYD
			casus_belli = cb_revolt_war
		}
		switch_tag = AYD
	}
}
country_event = {
	id = "regular_revolt.489"
	title = "regular_revolt.489.t"
	desc = "regular_revolt.489.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ACH }
		NOT = { exists = ACH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4701
				province_id = 1773
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4701
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4701
						province_id = 1773
					}
				}
				clear_rebels = yes
				add_core = ACH
			}
			every_owned_province = {
				add_permanent_claim = ACH
			}
			release = ACH
			ACH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.489.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.489.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ACH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.489.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ACH
			casus_belli = cb_revolt_war
		}
		switch_tag = ACH
	}
}
country_event = {
	id = "regular_revolt.490"
	title = "regular_revolt.490.t"
	desc = "regular_revolt.490.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MON }
		NOT = { exists = MON }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4754
				province_id = 138
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4754
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4754
						province_id = 138
					}
				}
				clear_rebels = yes
				add_core = MON
			}
			every_owned_province = {
				add_permanent_claim = MON
			}
			release = MON
			MON = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.490.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.490.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MON
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.490.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MON
			casus_belli = cb_revolt_war
		}
		switch_tag = MON
	}
}
country_event = {
	id = "regular_revolt.491"
	title = "regular_revolt.491.t"
	desc = "regular_revolt.491.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HRZ }
		NOT = { exists = HRZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1831
				province_id = 139
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1831
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1831
						province_id = 139
					}
				}
				clear_rebels = yes
				add_core = HRZ
			}
			every_owned_province = {
				add_permanent_claim = HRZ
			}
			release = HRZ
			HRZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.491.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.491.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HRZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.491.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HRZ
			casus_belli = cb_revolt_war
		}
		switch_tag = HRZ
	}
}
country_event = {
	id = "regular_revolt.492"
	title = "regular_revolt.492.t"
	desc = "regular_revolt.492.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VEN }
		NOT = { exists = VEN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 112
				province_id = 1774
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 112
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 112
						province_id = 1774
					}
				}
				clear_rebels = yes
				add_core = VEN
			}
			every_owned_province = {
				add_permanent_claim = VEN
			}
			release = VEN
			VEN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.492.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.492.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VEN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.492.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VEN
			casus_belli = cb_revolt_war
		}
		switch_tag = VEN
	}
}
country_event = {
	id = "regular_revolt.493"
	title = "regular_revolt.493.t"
	desc = "regular_revolt.493.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LAN }
		NOT = { tag = TUS }
		NOT = { exists = LAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 116
				province_id = 2978
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 116
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 116
						province_id = 2978
					}
				}
				clear_rebels = yes
				add_core = LAN
			}
			every_owned_province = {
				add_permanent_claim = LAN
			}
			release = LAN
			LAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.493.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.493.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.493.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LAN
			casus_belli = cb_revolt_war
		}
		switch_tag = LAN
	}
}
country_event = {
	id = "regular_revolt.494"
	title = "regular_revolt.494.t"
	desc = "regular_revolt.494.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GEN }
		NOT = { exists = GEN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 101
				province_id = 2992
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 101
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 101
						province_id = 2992
					}
				}
				clear_rebels = yes
				add_core = GEN
			}
			every_owned_province = {
				add_permanent_claim = GEN
			}
			release = GEN
			GEN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.494.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.494.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GEN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.494.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GEN
			casus_belli = cb_revolt_war
		}
		switch_tag = GEN
	}
}
country_event = {
	id = "regular_revolt.495"
	title = "regular_revolt.495.t"
	desc = "regular_revolt.495.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DAU }
		NOT = { exists = DAU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 204
				province_id = 203
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 204
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 204
						province_id = 203
					}
				}
				clear_rebels = yes
				add_core = DAU
			}
			every_owned_province = {
				add_permanent_claim = DAU
			}
			release = DAU
			DAU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.495.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.495.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DAU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.495.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DAU
			casus_belli = cb_revolt_war
		}
		switch_tag = DAU
	}
}
country_event = {
	id = "regular_revolt.496"
	title = "regular_revolt.496.t"
	desc = "regular_revolt.496.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BOU }
		NOT = { exists = BOU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4777
				province_id = 190
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4777
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4777
						province_id = 190
					}
				}
				clear_rebels = yes
				add_core = BOU
			}
			every_owned_province = {
				add_permanent_claim = BOU
			}
			release = BOU
			BOU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.496.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.496.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BOU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.496.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BOU
			casus_belli = cb_revolt_war
		}
		switch_tag = BOU
	}
}
country_event = {
	id = "regular_revolt.497"
	title = "regular_revolt.497.t"
	desc = "regular_revolt.497.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FOI }
		NOT = { exists = FOI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4694
				province_id = 176
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4694
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4694
						province_id = 176
					}
				}
				clear_rebels = yes
				add_core = FOI
			}
			every_owned_province = {
				add_permanent_claim = FOI
			}
			release = FOI
			FOI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.497.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.497.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FOI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.497.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FOI
			casus_belli = cb_revolt_war
		}
		switch_tag = FOI
	}
}
country_event = {
	id = "regular_revolt.498"
	title = "regular_revolt.498.t"
	desc = "regular_revolt.498.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BAR }
		NOT = { exists = BAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4766
				province_id = 187
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4766
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4766
						province_id = 187
					}
				}
				clear_rebels = yes
				add_core = BAR
			}
			every_owned_province = {
				add_permanent_claim = BAR
			}
			release = BAR
			BAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.498.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.498.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.498.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BAR
			casus_belli = cb_revolt_war
		}
		switch_tag = BAR
	}
}
country_event = {
	id = "regular_revolt.499"
	title = "regular_revolt.499.t"
	desc = "regular_revolt.499.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = UBV }
		NOT = { exists = UBV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 65
				province_id = 2956
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 65
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 65
						province_id = 2956
					}
				}
				clear_rebels = yes
				add_core = UBV
			}
			every_owned_province = {
				add_permanent_claim = UBV
			}
			release = UBV
			UBV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.499.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.499.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = UBV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.499.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = UBV
			casus_belli = cb_revolt_war
		}
		switch_tag = UBV
	}
}
country_event = {
	id = "regular_revolt.500"
	title = "regular_revolt.500.t"
	desc = "regular_revolt.500.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ING }
		NOT = { exists = ING }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2955
				province_id = 4707
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2955
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2955
						province_id = 4707
					}
				}
				clear_rebels = yes
				add_core = ING
			}
			every_owned_province = {
				add_permanent_claim = ING
			}
			release = ING
			ING = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.500.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.500.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ING
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.500.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ING
			casus_belli = cb_revolt_war
		}
		switch_tag = ING
	}
}
country_event = {
	id = "regular_revolt.501"
	title = "regular_revolt.501.t"
	desc = "regular_revolt.501.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GLG }
		NOT = { exists = GLG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2966
				province_id = 4238
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2966
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2966
						province_id = 4238
					}
				}
				clear_rebels = yes
				add_core = GLG
			}
			every_owned_province = {
				add_permanent_claim = GLG
			}
			release = GLG
			GLG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.501.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.501.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GLG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.501.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GLG
			casus_belli = cb_revolt_war
		}
		switch_tag = GLG
	}
}
country_event = {
	id = "regular_revolt.502"
	title = "regular_revolt.502.t"
	desc = "regular_revolt.502.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = STE }
		NOT = { exists = STE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1858
				province_id = 4746
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1858
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1858
						province_id = 4746
					}
				}
				clear_rebels = yes
				add_core = STE
			}
			every_owned_province = {
				add_permanent_claim = STE
			}
			release = STE
			STE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.502.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.502.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = STE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.502.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = STE
			casus_belli = cb_revolt_war
		}
		switch_tag = STE
	}
}
country_event = {
	id = "regular_revolt.503"
	title = "regular_revolt.503.t"
	desc = "regular_revolt.503.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAG }
		NOT = { exists = MAG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 52
				province_id = 4741
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 52
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 52
						province_id = 4741
					}
				}
				clear_rebels = yes
				add_core = MAG
			}
			every_owned_province = {
				add_permanent_claim = MAG
			}
			release = MAG
			MAG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.503.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.503.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.503.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAG
			casus_belli = cb_revolt_war
		}
		switch_tag = MAG
	}
}
country_event = {
	id = "regular_revolt.504"
	title = "regular_revolt.504.t"
	desc = "regular_revolt.504.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LUN }
		NOT = { exists = LUN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 53
				province_id = 4772
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 53
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 53
						province_id = 4772
					}
				}
				clear_rebels = yes
				add_core = LUN
			}
			every_owned_province = {
				add_permanent_claim = LUN
			}
			release = LUN
			LUN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.504.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.504.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LUN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.504.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LUN
			casus_belli = cb_revolt_war
		}
		switch_tag = LUN
	}
}
country_event = {
	id = "regular_revolt.505"
	title = "regular_revolt.505.t"
	desc = "regular_revolt.505.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLH }
		NOT = { exists = MLH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4765
				province_id = 1880
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4765
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4765
						province_id = 1880
					}
				}
				clear_rebels = yes
				add_core = MLH
			}
			release = MLH
			MLH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.505.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.505.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.505.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLH
			casus_belli = cb_revolt_war
		}
		switch_tag = MLH
	}
}
country_event = {
	id = "regular_revolt.506"
	title = "regular_revolt.506.t"
	desc = "regular_revolt.506.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LOR }
		NOT = { exists = LOR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 189
				province_id = 188
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 189
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 189
						province_id = 188
					}
				}
				clear_rebels = yes
				add_core = LOR
			}
			every_owned_province = {
				add_permanent_claim = LOR
			}
			release = LOR
			LOR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.506.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.506.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LOR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.506.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LOR
			casus_belli = cb_revolt_war
		}
		switch_tag = LOR
	}
}
country_event = {
	id = "regular_revolt.507"
	title = "regular_revolt.507.t"
	desc = "regular_revolt.507.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAI }
		NOT = { exists = MAI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 78
				province_id = 4718
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 78
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 78
						province_id = 4718
					}
				}
				clear_rebels = yes
				add_core = MAI
			}
			every_owned_province = {
				add_permanent_claim = MAI
			}
			release = MAI
			MAI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.507.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.507.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.507.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAI
			casus_belli = cb_revolt_war
		}
		switch_tag = MAI
	}
}
country_event = {
	id = "regular_revolt.508"
	title = "regular_revolt.508.t"
	desc = "regular_revolt.508.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WBG }
		NOT = { exists = WBG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 79
				province_id = 4774
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 79
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 79
						province_id = 4774
					}
				}
				clear_rebels = yes
				add_core = WBG
			}
			every_owned_province = {
				add_permanent_claim = WBG
			}
			release = WBG
			WBG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.508.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.508.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WBG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.508.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WBG
			casus_belli = cb_revolt_war
		}
		switch_tag = WBG
	}
}
country_event = {
	id = "regular_revolt.509"
	title = "regular_revolt.509.t"
	desc = "regular_revolt.509.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HES }
		NOT = { exists = HES }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1762
				province_id = 81
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1762
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1762
						province_id = 81
					}
				}
				clear_rebels = yes
				add_core = HES
			}
			every_owned_province = {
				add_permanent_claim = HES
			}
			release = HES
			HES = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.509.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.509.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HES
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.509.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HES
			casus_belli = cb_revolt_war
		}
		switch_tag = HES
	}
}
country_event = {
	id = "regular_revolt.510"
	title = "regular_revolt.510.t"
	desc = "regular_revolt.510.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VER }
		NOT = { exists = VER }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4771
				province_id = 54
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4771
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4771
						province_id = 54
					}
				}
				clear_rebels = yes
				add_core = VER
			}
			every_owned_province = {
				add_permanent_claim = VER
			}
			release = VER
			VER = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.510.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.510.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VER
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.510.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VER
			casus_belli = cb_revolt_war
		}
		switch_tag = VER
	}
}
country_event = {
	id = "regular_revolt.511"
	title = "regular_revolt.511.t"
	desc = "regular_revolt.511.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TRI }
		NOT = { exists = TRI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1760
				province_id = 80
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1760
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1760
						province_id = 80
					}
				}
				clear_rebels = yes
				add_core = TRI
			}
			every_owned_province = {
				add_permanent_claim = TRI
			}
			release = TRI
			TRI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.511.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.511.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TRI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.511.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TRI
			casus_belli = cb_revolt_war
		}
		switch_tag = TRI
	}
}
country_event = {
	id = "regular_revolt.512"
	title = "regular_revolt.512.t"
	desc = "regular_revolt.512.d"
	picture = FORT_eventpicture
	fire_only_once = no

	KOLgger = {
		NOT = { tag = KOL }
		NOT = { exists = KOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 85
				province_id = 82
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 85
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 85
						province_id = 82
					}
				}
				clear_rebels = yes
				add_core = KOL
			}
			every_owned_province = {
				add_permanent_claim = KOL
			}
			release = KOL
			KOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.512.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.512.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.512.c"
		KOLgger = {
			ai = no
		}
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KOL
			casus_belli = cb_revolt_war
		}
		switch_tag = KOL
	}
}
country_event = {
	id = "regular_revolt.513"
	title = "regular_revolt.513.t"
	desc = "regular_revolt.513.d"
	picture = FORT_eventpicture
	fire_only_once = no

	MUNgger = {
		NOT = { tag = MUN }
		NOT = { exists = MUN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 86
				province_id = 2973
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 86
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 86
						province_id = 2973
					}
				}
				clear_rebels = yes
				add_core = MUN
			}
			every_owned_province = {
				add_permanent_claim = MUN
			}
			release = MUN
			MUN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.513.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.513.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MUN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.513.c"
		MUNgger = {
			ai = no
		}
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MUN
			casus_belli = cb_revolt_war
		}
		switch_tag = MUN
	}
}
country_event = {
	id = "regular_revolt.514"
	title = "regular_revolt.514.t"
	desc = "regular_revolt.514.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HAI }
		NOT = { exists = HAI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 91
				province_id = 1866
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 91
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 91
						province_id = 1866
					}
				}
				clear_rebels = yes
				add_core = HAI
			}
			every_owned_province = {
				add_permanent_claim = HAI
			}
			release = HAI
			HAI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.514.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.514.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HAI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.514.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HAI
			casus_belli = cb_revolt_war
		}
		switch_tag = HAI
	}
}
country_event = {
	id = "regular_revolt.515"
	title = "regular_revolt.515.t"
	desc = "regular_revolt.515.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LIE }
		NOT = { exists = LIE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 93
				province_id = 2974
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 93
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 93
						province_id = 2974
					}
				}
				clear_rebels = yes
				add_core = LIE
			}
			every_owned_province = {
				add_permanent_claim = LIE
			}
			release = LIE
			LIE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.515.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.515.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LIE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.515.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LIE
			casus_belli = cb_revolt_war
		}
		switch_tag = LIE
	}
}
country_event = {
	id = "regular_revolt.516"
	title = "regular_revolt.516.t"
	desc = "regular_revolt.516.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = UTR }
		NOT = { exists = UTR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 98
				province_id = 4381
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 98
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 98
						province_id = 4381
					}
				}
				clear_rebels = yes
				add_core = UTR
			}
			every_owned_province = {
				add_permanent_claim = UTR
			}
			release = UTR
			UTR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.516.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.516.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = UTR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.516.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = UTR
			casus_belli = cb_revolt_war
		}
		switch_tag = UTR
	}
}
country_event = {
	id = "regular_revolt.517"
	title = "regular_revolt.517.t"
	desc = "regular_revolt.517.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GEL }
		NOT = { exists = GEL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 99
				province_id = 1742
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 99
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 99
						province_id = 1742
					}
				}
				clear_rebels = yes
				add_core = GEL
			}
			every_owned_province = {
				add_permanent_claim = GEL
			}
			release = GEL
			GEL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.517.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.517.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GEL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.517.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GEL
			casus_belli = cb_revolt_war
		}
		switch_tag = GEL
	}
}
country_event = {
	id = "regular_revolt.518"
	title = "regular_revolt.518.t"
	desc = "regular_revolt.518.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FRI }
		NOT = { exists = FRI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 100
				province_id = 4382
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 100
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 100
						province_id = 4382
					}
				}
				clear_rebels = yes
				add_core = FRI
			}
			every_owned_province = {
				add_permanent_claim = FRI
			}
			release = FRI
			FRI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.518.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.518.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FRI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.518.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FRI
			casus_belli = cb_revolt_war
		}
		switch_tag = FRI
	}
}
country_event = {
	id = "regular_revolt.519"
	title = "regular_revolt.519.t"
	desc = "regular_revolt.519.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ARL }
		NOT = { exists = ARL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 424
				province_id = 4340
				province_id = 4300
				province_id = 2212
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 424
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 424
						province_id = 4340
						province_id = 4300
						province_id = 2212
					}
				}
				clear_rebels = yes
				add_core = ARL
			}
			every_owned_province = {
				add_permanent_claim = ARL
			}
			release = ARL
			ARL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 424 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.519.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.519.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ARL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.519.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ARL
			casus_belli = cb_revolt_war
		}
		switch_tag = ARL
	}
}
country_event = {
	id = "regular_revolt.520"
	title = "regular_revolt.520.t"
	desc = "regular_revolt.520.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SRV }
		NOT = { exists = SRV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 421
				province_id = 425
				province_id = 4299
				province_id = 4305
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 421
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 421
						province_id = 425
						province_id = 4299
						province_id = 4305
					}
				}
				clear_rebels = yes
				add_core = SRV
			}
			every_owned_province = {
				add_permanent_claim = SRV
			}
			release = SRV
			SRV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shiite

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 421 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.520.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.520.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SRV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.520.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SRV
			casus_belli = cb_revolt_war
		}
		switch_tag = SRV
	}
}
country_event = {
	id = "regular_revolt.521"
	title = "regular_revolt.521.t"
	desc = "regular_revolt.521.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ARM }
		NOT = { exists = ARM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2204
				province_id = 4303
				province_id = 419
				province_id = 2205
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2204
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2204
						province_id = 4303
						province_id = 419
						province_id = 2205
					}
				}
				clear_rebels = yes
				add_core = ARM
			}
			every_owned_province = {
				add_permanent_claim = ARM
			}
			release = ARM
			ARM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 2204 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.521.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.521.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ARM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.521.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ARM
			casus_belli = cb_revolt_war
		}
		switch_tag = ARM
	}
}
country_event = {
	id = "regular_revolt.522"
	title = "regular_revolt.522.t"
	desc = "regular_revolt.522.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AKK }
		NOT = { exists = AKK }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 418
				province_id = 4292
				province_id = 2306
				province_id = 331
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 418
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 418
						province_id = 4292
						province_id = 2306
						province_id = 331
					}
				}
				clear_rebels = yes
				add_core = AKK
			}
			every_owned_province = {
				add_permanent_claim = AKK
			}
			release = AKK
			AKK = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shiite

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 418 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.522.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.522.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AKK
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.522.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AKK
			casus_belli = cb_revolt_war
		}
		switch_tag = AKK
	}
}
country_event = {
	id = "regular_revolt.523"
	title = "regular_revolt.523.t"
	desc = "regular_revolt.523.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = IRQ }
		NOT = { exists = IRQ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4295
				province_id = 2309
				province_id = 2310
				province_id = 406
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4295
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4295
						province_id = 2309
						province_id = 2310
						province_id = 406
					}
				}
				clear_rebels = yes
				add_core = IRQ
			}
			every_owned_province = {
				add_permanent_claim = IRQ
			}
			release = IRQ
			IRQ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = shiite

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 4295 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.523.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.523.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = IRQ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.523.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = IRQ
			casus_belli = cb_revolt_war
		}
		switch_tag = IRQ
	}
}
country_event = {
	id = "regular_revolt.524"
	title = "regular_revolt.524.t"
	desc = "regular_revolt.524.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ATH }
		NOT = { exists = ATH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 146
				province_id = 3003
				province_id = 2348
				province_id = 4700
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 146
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 146
						province_id = 3003
						province_id = 2348
						province_id = 4700
					}
				}
				clear_rebels = yes
				add_core = ATH
			}
			every_owned_province = {
				add_permanent_claim = ATH
			}
			release = ATH
			ATH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 146 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.524.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.524.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ATH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.524.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ATH
			casus_belli = cb_revolt_war
		}
		switch_tag = ATH
	}
}
country_event = {
	id = "regular_revolt.525"
	title = "regular_revolt.525.t"
	desc = "regular_revolt.525.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BOS }
		NOT = { exists = BOS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 140
				province_id = 1828
				province_id = 3002
				province_id = 4755
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 140
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 140
						province_id = 1828
						province_id = 3002
						province_id = 4755
					}
				}
				clear_rebels = yes
				add_core = BOS
			}
			every_owned_province = {
				add_permanent_claim = BOS
			}
			release = BOS
			BOS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 140 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.525.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.525.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BOS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.525.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BOS
			casus_belli = cb_revolt_war
		}
		switch_tag = BOS
	}
}
country_event = {
	id = "regular_revolt.526"
	title = "regular_revolt.526.t"
	desc = "regular_revolt.526.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRB }
		NOT = { exists = BRB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 92
				province_id = 1744
				province_id = 95
				province_id = 4770
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 92
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 92
						province_id = 1744
						province_id = 95
						province_id = 4770
					}
				}
				clear_rebels = yes
				add_core = BRB
			}
			every_owned_province = {
				add_permanent_claim = BRB
			}
			release = BRB
			BRB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 92 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.526.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.526.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.526.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRB
			casus_belli = cb_revolt_war
		}
		switch_tag = BRB
	}
}
country_event = {
	id = "regular_revolt.527"
	title = "regular_revolt.527.t"
	desc = "regular_revolt.527.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = TTS }
		NOT = { exists = TTS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 123
				province_id = 1934
				province_id = 2984
				province_id = 1933
				province_id = 122
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 123
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 123
						province_id = 1934
						province_id = 2984
						province_id = 1933
						province_id = 122
					}
				}
				clear_rebels = yes
				add_core = TTS
			}
			every_owned_province = {
				add_permanent_claim = TTS
			}
			release = TTS
			TTS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 123 }
			}
		}
	}
	
	option = {
		name = "regular_revolt.527.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.527.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = TTS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.527.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = TTS
			casus_belli = cb_revolt_war
		}
		switch_tag = TTS
	}
}
country_event = {
	id = "regular_revolt.528"
	title = "regular_revolt.528.t"
	desc = "regular_revolt.528.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NAP }
		NOT = { exists = NAP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 121
				province_id = 2983
				province_id = 4734
				province_id = 4733
				province_id = 2985
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 121
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 121
						province_id = 2983
						province_id = 4734
						province_id = 4733
						province_id = 2985
					}
				}
				clear_rebels = yes
				add_core = NAP
			}
			every_owned_province = {
				add_permanent_claim = NAP
			}
			release = NAP
			NAP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.528.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.528.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NAP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.528.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NAP
			casus_belli = cb_revolt_war
		}
		switch_tag = NAP
	}
}
country_event = {
	id = "regular_revolt.529"
	title = "regular_revolt.529.t"
	desc = "regular_revolt.529.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PAP }
		NOT = { exists = PAP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 118
				province_id = 4732
				province_id = 120
				province_id = 119
				province_id = 114
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 118
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 118
						province_id = 4732
						province_id = 120
						province_id = 119
						province_id = 114
					}
				}
				clear_rebels = yes
				add_core = PAP
			}
			every_owned_province = {
				add_permanent_claim = PAP
			}
			release = PAP
			PAP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.529.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.529.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PAP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.529.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PAP
			casus_belli = cb_revolt_war
		}
		switch_tag = PAP
	}
}
country_event = {
	id = "regular_revolt.530"
	title = "regular_revolt.530.t"
	desc = "regular_revolt.530.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = WOL }
		NOT = { exists = WOL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2994
				province_id = 4745
				province_id = 47
				province_id = 48
				province_id = 2995
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2994
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2994
						province_id = 4745
						province_id = 47
						province_id = 48
						province_id = 2995
					}
				}
				clear_rebels = yes
				add_core = WOL
			}
			every_owned_province = {
				add_permanent_claim = WOL
			}
			release = WOL
			WOL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.530.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.530.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = WOL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.530.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = WOL
			casus_belli = cb_revolt_war
		}
		switch_tag = WOL
	}
}
country_event = {
	id = "regular_revolt.531"
	title = "regular_revolt.531.t"
	desc = "regular_revolt.531.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PRO }
		NOT = { exists = PRO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 178
				province_id = 177
				province_id = 2991
				province_id = 4696
				province_id = 201
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 178
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 178
						province_id = 177
						province_id = 2991
						province_id = 4696
						province_id = 201
					}
				}
				clear_rebels = yes
				add_core = PRO
			}
			every_owned_province = {
				add_permanent_claim = PRO
			}
			release = PRO
			PRO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.531.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.531.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PRO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.531.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PRO
			casus_belli = cb_revolt_war
		}
		switch_tag = PRO
	}
}
country_event = {
	id = "regular_revolt.532"
	title = "regular_revolt.532.t"
	desc = "regular_revolt.532.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BHT }
		NOT = { exists = BHT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4293
				province_id = 411
				province_id = 415
				province_id = 4294
				province_id = 2206
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4293
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4293
						province_id = 411
						province_id = 415
						province_id = 4294
						province_id = 2206
					}
				}
				clear_rebels = yes
				add_core = BHT
			}
			every_owned_province = {
				add_permanent_claim = BHT
			}
			release = BHT
			BHT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.532.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.532.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BHT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.532.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BHT
			casus_belli = cb_revolt_war
		}
		switch_tag = BHT
	}
}
country_event = {
	id = "regular_revolt.533"
	title = "regular_revolt.533.t"
	desc = "regular_revolt.533.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GEO }
		NOT = { exists = GEO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 423
				province_id = 2203
				province_id = 4301
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 423
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 423
						province_id = 2203
						province_id = 4301
					}
				}
				clear_rebels = yes
				add_core = GEO
			}
			every_owned_province = {
				add_permanent_claim = GEO
			}
			release = GEO
			GEO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.533.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.533.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GEO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.533.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GEO
			casus_belli = cb_revolt_war
		}
		switch_tag = GEO
	}
}
country_event = {
	id = "regular_revolt.534"
	title = "regular_revolt.534.t"
	desc = "regular_revolt.534.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = IME }
		NOT = { exists = IME }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 422
				province_id = 462
				province_id = 1856
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 422
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 422
						province_id = 462
						province_id = 1856
					}
				}
				clear_rebels = yes
				add_core = IME
			}
			every_owned_province = {
				add_permanent_claim = IME
			}
			release = IME
			IME = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.534.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.534.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = IME
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.534.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = IME
			casus_belli = cb_revolt_war
		}
		switch_tag = IME
	}
}
country_event = {
	id = "regular_revolt.535"
	title = "regular_revolt.535.t"
	desc = "regular_revolt.535.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AVR }
		NOT = { exists = AVR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2198
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2198
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2198
					}
				}
				clear_rebels = yes
				add_core = AVR
			}
			every_owned_province = {
				add_permanent_claim = AVR
			}
			release = AVR
			AVR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.535.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.535.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AVR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.535.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AVR
			casus_belli = cb_revolt_war
		}
		switch_tag = AVR
	}
}
country_event = {
	id = "regular_revolt.536"
	title = "regular_revolt.536.t"
	desc = "regular_revolt.536.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SME }
		NOT = { exists = SME }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2196
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2196
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2196
					}
				}
				clear_rebels = yes
				add_core = SME
			}
			release = SME
			SME = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.536.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.536.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SME
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.536.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SME
			casus_belli = cb_revolt_war
		}
		switch_tag = SME
	}
}
country_event = {
	id = "regular_revolt.537"
	title = "regular_revolt.537.t"
	desc = "regular_revolt.537.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KNI }
		NOT = { exists = KNI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 320
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 320
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 320
					}
				}
				clear_rebels = yes
				add_core = KNI
			}
			every_owned_province = {
				add_permanent_claim = KNI
			}
			release = KNI
			KNI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.537.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.537.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KNI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.537.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KNI
			casus_belli = cb_revolt_war
		}
		switch_tag = KNI
	}
}
country_event = {
	id = "regular_revolt.538"
	title = "regular_revolt.538.t"
	desc = "regular_revolt.538.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ARD }
		NOT = { exists = ARD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2211
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2211
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2211
					}
				}
				clear_rebels = yes
				add_core = ARD
			}
			every_owned_province = {
				add_permanent_claim = ARD
			}
			release = ARD
			ARD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.538.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.538.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ARD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.538.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ARD
			casus_belli = cb_revolt_war
		}
		switch_tag = ARD
	}
}
country_event = {
	id = "regular_revolt.539"
	title = "regular_revolt.539.t"
	desc = "regular_revolt.539.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MGR }
		NOT = { exists = MGR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2207
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2207
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2207
					}
				}
				clear_rebels = yes
				add_core = MGR
			}
			every_owned_province = {
				add_permanent_claim = MGR
			}
			release = MGR
			MGR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.539.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.539.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MGR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.539.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MGR
			casus_belli = cb_revolt_war
		}
		switch_tag = MGR
	}
}
country_event = {
	id = "regular_revolt.540"
	title = "regular_revolt.540.t"
	desc = "regular_revolt.540.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RAM }
		NOT = { exists = RAM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 327
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 327
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 327
					}
				}
				clear_rebels = yes
				add_core = RAM
			}
			every_owned_province = {
				add_permanent_claim = RAM
			}
			release = RAM
			RAM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.540.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.540.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RAM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.540.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RAM
			casus_belli = cb_revolt_war
		}
		switch_tag = RAM
	}
}
country_event = {
	id = "regular_revolt.541"
	title = "regular_revolt.541.t"
	desc = "regular_revolt.541.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CYP }
		NOT = { exists = CYP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 321
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 321
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 321
					}
				}
				clear_rebels = yes
				add_core = CYP
			}
			every_owned_province = {
				add_permanent_claim = CYP
			}
			release = CYP
			CYP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.541.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.541.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CYP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.541.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CYP
			casus_belli = cb_revolt_war
		}
		switch_tag = CYP
	}
}
country_event = {
	id = "regular_revolt.542"
	title = "regular_revolt.542.t"
	desc = "regular_revolt.542.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SRU }
		NOT = { exists = SRU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2297
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2297
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2297
					}
				}
				clear_rebels = yes
				add_core = SRU
			}
			every_owned_province = {
				add_permanent_claim = SRU
			}
			release = SRU
			SRU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.542.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.542.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SRU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.542.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SRU
			casus_belli = cb_revolt_war
		}
		switch_tag = SRU
	}
}
country_event = {
	id = "regular_revolt.543"
	title = "regular_revolt.543.t"
	desc = "regular_revolt.543.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NAX }
		NOT = { exists = NAX }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 164
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 164
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 164
					}
				}
				clear_rebels = yes
				add_core = NAX
			}
			every_owned_province = {
				add_permanent_claim = NAX
			}
			release = NAX
			NAX = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.543.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.543.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NAX
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.543.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NAX
			casus_belli = cb_revolt_war
		}
		switch_tag = NAX
	}
}
country_event = {
	id = "regular_revolt.544"
	title = "regular_revolt.544.t"
	desc = "regular_revolt.544.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CRT }
		NOT = { exists = CRT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 163
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 163
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 163
					}
				}
				clear_rebels = yes
				add_core = CRT
			}
			every_owned_province = {
				add_permanent_claim = CRT
			}
			release = CRT
			CRT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.544.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.544.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CRT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.544.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CRT
			casus_belli = cb_revolt_war
		}
		switch_tag = CRT
	}
}
country_event = {
	id = "regular_revolt.545"
	title = "regular_revolt.545.t"
	desc = "regular_revolt.545.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MOE }
		NOT = { exists = MOE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 145
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 145
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 145
					}
				}
				clear_rebels = yes
				add_core = MOE
			}
			every_owned_province = {
				add_permanent_claim = MOE
			}
			release = MOE
			MOE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.545.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.545.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MOE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.545.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MOE
			casus_belli = cb_revolt_war
		}
		switch_tag = MOE
	}
}
country_event = {
	id = "regular_revolt.546"
	title = "regular_revolt.546.t"
	desc = "regular_revolt.546.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = CEP }
		NOT = { exists = CEP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 142
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 142
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 142
					}
				}
				clear_rebels = yes
				add_core = CEP
			}
			every_owned_province = {
				add_permanent_claim = CEP
			}
			release = CEP
			CEP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT
				change_religion = orthodox

				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.546.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.546.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = CEP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.546.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = CEP
			casus_belli = cb_revolt_war
		}
		switch_tag = CEP
	}
}
country_event = {
	id = "regular_revolt.547"
	title = "regular_revolt.547.t"
	desc = "regular_revolt.547.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SPL }
		NOT = { exists = SPL }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4731
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4731
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4731
					}
				}
				clear_rebels = yes
				add_core = SPL
			}
			every_owned_province = {
				add_permanent_claim = SPL
			}
			release = SPL
			SPL = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.547.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.547.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SPL
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.547.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SPL
			casus_belli = cb_revolt_war
		}
		switch_tag = SPL
	}
}
country_event = {
	id = "regular_revolt.548"
	title = "regular_revolt.548.t"
	desc = "regular_revolt.548.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PGA }
		NOT = { exists = PGA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2976
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2976
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2976
					}
				}
				clear_rebels = yes
				add_core = PGA
			}
			every_owned_province = {
				add_permanent_claim = PGA
			}
			release = PGA
			PGA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.548.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.548.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PGA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.548.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PGA
			casus_belli = cb_revolt_war
		}
		switch_tag = PGA
	}
}
country_event = {
	id = "regular_revolt.549"
	title = "regular_revolt.549.t"
	desc = "regular_revolt.549.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = URB }
		NOT = { exists = URB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2977
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2977
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2977
					}
				}
				clear_rebels = yes
				add_core = URB
			}
			every_owned_province = {
				add_permanent_claim = URB
			}
			release = URB
			URB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.549.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.549.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = URB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.549.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = URB
			casus_belli = cb_revolt_war
		}
		switch_tag = URB
	}
}
country_event = {
	id = "regular_revolt.550"
	title = "regular_revolt.550.t"
	desc = "regular_revolt.550.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SIE }
		NOT = { exists = SIE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 117
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 117
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 117
					}
				}
				clear_rebels = yes
				add_core = SIE
			}
			every_owned_province = {
				add_permanent_claim = SIE
			}
			release = SIE
			SIE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.550.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.550.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SIE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.550.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SIE
			casus_belli = cb_revolt_war
		}
		switch_tag = SIE
	}
}
country_event = {
	id = "regular_revolt.551"
	title = "regular_revolt.551.t"
	desc = "regular_revolt.551.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = COR }
		NOT = { exists = COR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1247
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1247
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1247
					}
				}
				clear_rebels = yes
				add_core = COR
			}
			every_owned_province = {
				add_permanent_claim = COR
			}
			release = COR
			COR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.551.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.551.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = COR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.551.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = COR
			casus_belli = cb_revolt_war
		}
		switch_tag = COR
	}
}
country_event = {
	id = "regular_revolt.552"
	title = "regular_revolt.552.t"
	desc = "regular_revolt.552.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PIS }
		NOT = { exists = PIS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 115
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 115
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 115
					}
				}
				clear_rebels = yes
				add_core = PIS
			}
			every_owned_province = {
				add_permanent_claim = PIS
			}
			release = PIS
			PIS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.552.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.552.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PIS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.552.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PIS
			casus_belli = cb_revolt_war
		}
		switch_tag = PIS
	}
}
country_event = {
	id = "regular_revolt.553"
	title = "regular_revolt.553.t"
	desc = "regular_revolt.553.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LUC }
		NOT = { exists = LUC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2980
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2980
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2980
					}
				}
				clear_rebels = yes
				add_core = LUC
			}
			every_owned_province = {
				add_permanent_claim = LUC
			}
			release = LUC
			LUC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.553.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.553.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LUC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.553.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LUC
			casus_belli = cb_revolt_war
		}
		switch_tag = LUC
	}
}
country_event = {
	id = "regular_revolt.554"
	title = "regular_revolt.554.t"
	desc = "regular_revolt.554.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BLG }
		NOT = { exists = BLG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4730
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4730
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4730
					}
				}
				clear_rebels = yes
				add_core = BLG
			}
			every_owned_province = {
				add_permanent_claim = BLG
			}
			release = BLG
			BLG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.554.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.554.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BLG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.554.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BLG
			casus_belli = cb_revolt_war
		}
		switch_tag = BLG
	}
}
country_event = {
	id = "regular_revolt.555"
	title = "regular_revolt.555.t"
	desc = "regular_revolt.555.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MOD }
		NOT = { exists = MOD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 106
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 106
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 106
					}
				}
				clear_rebels = yes
				add_core = MOD
			}
			every_owned_province = {
				add_permanent_claim = MOD
			}
			release = MOD
			MOD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.555.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.555.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MOD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.555.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MOD
			casus_belli = cb_revolt_war
		}
		switch_tag = MOD
	}
}
country_event = {
	id = "regular_revolt.556"
	title = "regular_revolt.556.t"
	desc = "regular_revolt.556.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PAR }
		NOT = { exists = PAR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 105
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 105
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 105
					}
				}
				clear_rebels = yes
				add_core = PAR
			}
			every_owned_province = {
				add_permanent_claim = PAR
			}
			release = PAR
			PAR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.556.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.556.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PAR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.556.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PAR
			casus_belli = cb_revolt_war
		}
		switch_tag = PAR
	}
}
country_event = {
	id = "regular_revolt.557"
	title = "regular_revolt.557.t"
	desc = "regular_revolt.557.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MFA }
		NOT = { exists = MFA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2981
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2981
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2981
					}
				}
				clear_rebels = yes
				add_core = MFA
			}
			every_owned_province = {
				add_permanent_claim = MFA
			}
			release = MFA
			MFA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.557.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.557.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MFA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.557.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MFA
			casus_belli = cb_revolt_war
		}
		switch_tag = MFA
	}
}
country_event = {
	id = "regular_revolt.558"
	title = "regular_revolt.558.t"
	desc = "regular_revolt.558.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MAN }
		NOT = { exists = MAN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 109
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 109
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 109
					}
				}
				clear_rebels = yes
				add_core = MAN
			}
			every_owned_province = {
				add_permanent_claim = MAN
			}
			release = MAN
			MAN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.558.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.558.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MAN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.558.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MAN
			casus_belli = cb_revolt_war
		}
		switch_tag = MAN
	}
}
country_event = {
	id = "regular_revolt.559"
	title = "regular_revolt.559.t"
	desc = "regular_revolt.559.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FER }
		NOT = { exists = FER }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 113
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 113
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 113
					}
				}
				clear_rebels = yes
				add_core = FER
			}
			every_owned_province = {
				add_permanent_claim = FER
			}
			release = FER
			FER = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.559.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.559.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FER
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.559.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FER
			casus_belli = cb_revolt_war
		}
		switch_tag = FER
	}
}
country_event = {
	id = "regular_revolt.560"
	title = "regular_revolt.560.t"
	desc = "regular_revolt.560.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = VRN }
		NOT = { exists = VRN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 108
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 108
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 108
					}
				}
				clear_rebels = yes
				add_core = VRN
			}
			every_owned_province = {
				add_permanent_claim = VRN
			}
			release = VRN
			VRN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.560.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.560.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = VRN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.560.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = VRN
			casus_belli = cb_revolt_war
		}
		switch_tag = VRN
	}
}
country_event = {
	id = "regular_revolt.561"
	title = "regular_revolt.561.t"
	desc = "regular_revolt.561.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PDV }
		NOT = { exists = PDV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4729
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4729
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4729
					}
				}
				clear_rebels = yes
				add_core = PDV
			}
			every_owned_province = {
				add_permanent_claim = PDV
			}
			release = PDV
			PDV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.561.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.561.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PDV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.561.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PDV
			casus_belli = cb_revolt_war
		}
		switch_tag = PDV
	}
}
country_event = {
	id = "regular_revolt.562"
	title = "regular_revolt.562.t"
	desc = "regular_revolt.562.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AQU }
		NOT = { exists = AQU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 111
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 111
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 111
					}
				}
				clear_rebels = yes
				add_core = AQU
			}
			every_owned_province = {
				add_permanent_claim = AQU
			}
			release = AQU
			AQU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.562.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.562.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AQU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.562.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AQU
			casus_belli = cb_revolt_war
		}
		switch_tag = AQU
	}
}
country_event = {
	id = "regular_revolt.563"
	title = "regular_revolt.563.t"
	desc = "regular_revolt.563.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SZO }
		NOT = { exists = SZO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4727
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4727
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4727
					}
				}
				clear_rebels = yes
				add_core = SZO
			}
			every_owned_province = {
				add_permanent_claim = SZO
			}
			release = SZO
			SZO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.563.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.563.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SZO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.563.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SZO
			casus_belli = cb_revolt_war
		}
		switch_tag = SZO
	}
}
country_event = {
	id = "regular_revolt.564"
	title = "regular_revolt.564.t"
	desc = "regular_revolt.564.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GNV }
		NOT = { exists = GNV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4720
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4720
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4720
					}
				}
				clear_rebels = yes
				add_core = GNV
			}
			every_owned_province = {
				add_permanent_claim = GNV
			}
			release = GNV
			GNV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.564.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.564.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GNV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.564.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GNV
			casus_belli = cb_revolt_war
		}
		switch_tag = GNV
	}
}
country_event = {
	id = "regular_revolt.565"
	title = "regular_revolt.565.t"
	desc = "regular_revolt.565.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AVI }
		NOT = { exists = AVI }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 202
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 202
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 202
					}
				}
				clear_rebels = yes
				add_core = AVI
			}
			every_owned_province = {
				add_permanent_claim = AVI
			}
			release = AVI
			AVI = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.565.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.565.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AVI
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.565.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AVI
			casus_belli = cb_revolt_war
		}
		switch_tag = AVI
	}
}
country_event = {
	id = "regular_revolt.566"
	title = "regular_revolt.566.t"
	desc = "regular_revolt.566.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AUV }
		NOT = { exists = AUV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 199
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 199
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 199
					}
				}
				clear_rebels = yes
				add_core = AUV
			}
			every_owned_province = {
				add_permanent_claim = AUV
			}
			release = AUV
			AUV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.566.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.566.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AUV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.566.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AUV
			casus_belli = cb_revolt_war
		}
		switch_tag = AUV
	}
}
country_event = {
	id = "regular_revolt.567"
	title = "regular_revolt.567.t"
	desc = "regular_revolt.567.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AMG }
		NOT = { exists = AMG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 175
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 175
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 175
					}
				}
				clear_rebels = yes
				add_core = AMG
			}
			every_owned_province = {
				add_permanent_claim = AMG
			}
			release = AMG
			AMG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.567.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.567.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AMG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.567.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AMG
			casus_belli = cb_revolt_war
		}
		switch_tag = AMG
	}
}
country_event = {
	id = "regular_revolt.568"
	title = "regular_revolt.568.t"
	desc = "regular_revolt.568.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BER }
		NOT = { exists = BER }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 179
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 179
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 179
					}
				}
				clear_rebels = yes
				add_core = BER
			}
			every_owned_province = {
				add_permanent_claim = BER
			}
			release = BER
			BER = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.568.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.568.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BER
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.568.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BER
			casus_belli = cb_revolt_war
		}
		switch_tag = BER
	}
}
country_event = {
	id = "regular_revolt.569"
	title = "regular_revolt.569.t"
	desc = "regular_revolt.569.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ALE }
		NOT = { exists = ALE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1879
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1879
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1879
					}
				}
				clear_rebels = yes
				add_core = ALE
			}
			every_owned_province = {
				add_permanent_claim = ALE
			}
			release = ALE
			ALE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.569.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.569.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ALE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.569.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ALE
			casus_belli = cb_revolt_war
		}
		switch_tag = ALE
	}
}
country_event = {
	id = "regular_revolt.570"
	title = "regular_revolt.570.t"
	desc = "regular_revolt.570.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LUX }
		NOT = { exists = LUX }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 94
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 94
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 94
					}
				}
				clear_rebels = yes
				add_core = LUX
			}
			every_owned_province = {
				add_permanent_claim = LUX
			}
			release = LUX
			LUX = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.570.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.570.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LUX
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.570.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LUX
			casus_belli = cb_revolt_war
		}
		switch_tag = LUX
	}
}
country_event = {
	id = "regular_revolt.571"
	title = "regular_revolt.571.t"
	desc = "regular_revolt.571.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ALS }
		NOT = { exists = ALS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 75
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 75
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 75
					}
				}
				clear_rebels = yes
				add_core = ALS
			}
			every_owned_province = {
				add_permanent_claim = ALS
			}
			release = ALS
			ALS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.571.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.571.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ALS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.571.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ALS
			casus_belli = cb_revolt_war
		}
		switch_tag = ALS
	}
}
country_event = {
	id = "regular_revolt.572"
	title = "regular_revolt.572.t"
	desc = "regular_revolt.572.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AAC }
		NOT = { exists = AAC }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1878
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1878
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1878
					}
				}
				clear_rebels = yes
				add_core = AAC
			}
			every_owned_province = {
				add_permanent_claim = AAC
			}
			release = AAC
			AAC = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.572.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.572.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AAC
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.572.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AAC
			casus_belli = cb_revolt_war
		}
		switch_tag = AAC
	}
}
country_event = {
	id = "regular_revolt.573"
	title = "regular_revolt.573.t"
	desc = "regular_revolt.573.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RUP }
		NOT = { exists = RUP }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 51
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 51
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 51
					}
				}
				clear_rebels = yes
				add_core = RUP
			}
			every_owned_province = {
				add_permanent_claim = RUP
			}
			release = RUP
			RUP = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.573.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.573.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RUP
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.573.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RUP
			casus_belli = cb_revolt_war
		}
		switch_tag = RUP
	}
}
country_event = {
	id = "regular_revolt.574"
	title = "regular_revolt.574.t"
	desc = "regular_revolt.574.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ANH }
		NOT = { exists = ANH }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 51
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 51
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 51
					}
				}
				clear_rebels = yes
				add_core = ANH
			}
			every_owned_province = {
				add_permanent_claim = ANH
			}
			release = ANH
			ANH = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.574.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.574.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ANH
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.574.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ANH
			casus_belli = cb_revolt_war
		}
		switch_tag = ANH
	}
}
country_event = {
	id = "regular_revolt.575"
	title = "regular_revolt.575.t"
	desc = "regular_revolt.575.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PAD }
		NOT = { exists = PAD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2972
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2972
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2972
					}
				}
				clear_rebels = yes
				add_core = PAD
			}
			every_owned_province = {
				add_permanent_claim = PAD
			}
			release = PAD
			PAD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.575.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.575.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PAD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.575.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PAD
			casus_belli = cb_revolt_war
		}
		switch_tag = PAD
	}
}
country_event = {
	id = "regular_revolt.576"
	title = "regular_revolt.576.t"
	desc = "regular_revolt.576.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HSA }
		NOT = { exists = HSA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 45
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 45
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 45
					}
				}
				clear_rebels = yes
				add_core = HSA
			}
			every_owned_province = {
				add_permanent_claim = HSA
			}
			release = HSA
			HSA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.576.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.576.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HSA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.576.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HSA
			casus_belli = cb_revolt_war
		}
		switch_tag = HSA
	}
}
country_event = {
	id = "regular_revolt.577"
	title = "regular_revolt.577.t"
	desc = "regular_revolt.577.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = LAU }
		NOT = { exists = LAU }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1857
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1857
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1857
					}
				}
				clear_rebels = yes
				add_core = LAU
			}
			every_owned_province = {
				add_permanent_claim = LAU
			}
			release = LAU
			LAU = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.577.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.577.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = LAU
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.577.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = LAU
			casus_belli = cb_revolt_war
		}
		switch_tag = LAU
	}
}
country_event = {
	id = "regular_revolt.578"
	title = "regular_revolt.578.t"
	desc = "regular_revolt.578.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = HAM }
		NOT = { exists = HAM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 44
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 44
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 44
					}
				}
				clear_rebels = yes
				add_core = HAM
			}
			every_owned_province = {
				add_permanent_claim = HAM
			}
			release = HAM
			HAM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.578.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.578.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = HAM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.578.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = HAM
			casus_belli = cb_revolt_war
		}
		switch_tag = HAM
	}
}
country_event = {
	id = "regular_revolt.579"
	title = "regular_revolt.579.t"
	desc = "regular_revolt.579.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BRE }
		NOT = { exists = BRE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1874
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1874
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1874
					}
				}
				clear_rebels = yes
				add_core = BRE
			}
			every_owned_province = {
				add_permanent_claim = BRE
			}
			release = BRE
			BRE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.579.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.579.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BRE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.579.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BRE
			casus_belli = cb_revolt_war
		}
		switch_tag = BRE
	}
}
country_event = {
	id = "regular_revolt.580"
	title = "regular_revolt.580.t"
	desc = "regular_revolt.580.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OLD }
		NOT = { exists = OLD }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 55
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 55
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 55
					}
				}
				clear_rebels = yes
				add_core = OLD
			}
			every_owned_province = {
				add_permanent_claim = OLD
			}
			release = OLD
			OLD = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.580.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.580.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OLD
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.580.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OLD
			casus_belli = cb_revolt_war
		}
		switch_tag = OLD
	}
}
country_event = {
	id = "regular_revolt.581"
	title = "regular_revolt.581.t"
	desc = "regular_revolt.581.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = EFR }
		NOT = { exists = EFR }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1931
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1931
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1931
					}
				}
				clear_rebels = yes
				add_core = EFR
			}
			every_owned_province = {
				add_permanent_claim = EFR
			}
			release = EFR
			EFR = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.581.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.581.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = EFR
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.581.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = EFR
			casus_belli = cb_revolt_war
		}
		switch_tag = EFR
	}
}
country_event = {
	id = "regular_revolt.582"
	title = "regular_revolt.582.t"
	desc = "regular_revolt.582.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SLZ }
		NOT = { exists = SLZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 76
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 76
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 76
					}
				}
				clear_rebels = yes
				add_core = SLZ
			}
			every_owned_province = {
				add_permanent_claim = SLZ
			}
			release = SLZ
			SLZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.582.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.582.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SLZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.582.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SLZ
			casus_belli = cb_revolt_war
		}
		switch_tag = SLZ
	}
}
country_event = {
	id = "regular_revolt.583"
	title = "regular_revolt.583.t"
	desc = "regular_revolt.583.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = PSS }
		NOT = { exists = PSS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4709
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4709
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4709
					}
				}
				clear_rebels = yes
				add_core = PSS
			}
			every_owned_province = {
				add_permanent_claim = PSS
			}
			release = PSS
			PSS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.583.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.583.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = PSS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.583.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = PSS
			casus_belli = cb_revolt_war
		}
		switch_tag = PSS
	}
}
country_event = {
	id = "regular_revolt.584"
	title = "regular_revolt.584.t"
	desc = "regular_revolt.584.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = REG }
		NOT = { exists = REG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2957
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2957
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2957
					}
				}
				clear_rebels = yes
				add_core = REG
			}
			every_owned_province = {
				add_permanent_claim = REG
			}
			release = REG
			REG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.584.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.584.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = REG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.584.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = REG
			casus_belli = cb_revolt_war
		}
		switch_tag = REG
	}
}
country_event = {
	id = "regular_revolt.585"
	title = "regular_revolt.585.t"
	desc = "regular_revolt.585.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = GOS }
		NOT = { exists = GOS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4742
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4742
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4742
					}
				}
				clear_rebels = yes
				add_core = GOS
			}
			every_owned_province = {
				add_permanent_claim = GOS
			}
			release = GOS
			GOS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.585.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.585.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = GOS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.585.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = GOS
			casus_belli = cb_revolt_war
		}
		switch_tag = GOS
	}
}
country_event = {
	id = "regular_revolt.586"
	title = "regular_revolt.586.t"
	desc = "regular_revolt.586.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = OSN }
		NOT = { exists = OSN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 56
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 56
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 56
					}
				}
				clear_rebels = yes
				add_core = OSN
			}
			every_owned_province = {
				add_permanent_claim = OSN
			}
			release = OSN
			OSN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.586.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.586.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = OSN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.586.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = OSN
			casus_belli = cb_revolt_war
		}
		switch_tag = OSN
	}
}
country_event = {
	id = "regular_revolt.587"
	title = "regular_revolt.587.t"
	desc = "regular_revolt.587.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = RVA }
		NOT = { exists = RVA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 69
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 69
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 69
					}
				}
				clear_rebels = yes
				add_core = RVA
			}
			every_owned_province = {
				add_permanent_claim = RVA
			}
			release = RVA
			RVA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.587.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.587.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = RVA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.587.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = RVA
			casus_belli = cb_revolt_war
		}
		switch_tag = RVA
	}
}
country_event = {
	id = "regular_revolt.588"
	title = "regular_revolt.588.t"
	desc = "regular_revolt.588.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = KLE }
		NOT = { exists = KLE }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2975
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 2975
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2975
					}
				}
				clear_rebels = yes
				add_core = KLE
			}
			every_owned_province = {
				add_permanent_claim = KLE
			}
			release = KLE
			KLE = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.588.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.588.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = KLE
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.588.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = KLE
			casus_belli = cb_revolt_war
		}
		switch_tag = KLE
	}
}
country_event = {
	id = "regular_revolt.589"
	title = "regular_revolt.589.t"
	desc = "regular_revolt.589.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NSA }
		NOT = { exists = NSA }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 83
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 83
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 83
					}
				}
				clear_rebels = yes
				add_core = NSA
			}
			every_owned_province = {
				add_permanent_claim = NSA
			}
			release = NSA
			NSA = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.589.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.589.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NSA
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.589.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NSA
			casus_belli = cb_revolt_war
		}
		switch_tag = NSA
	}
}
country_event = {
	id = "regular_revolt.590"
	title = "regular_revolt.590.t"
	desc = "regular_revolt.590.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FRN }
		NOT = { exists = FRN }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1876
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1876
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1876
					}
				}
				clear_rebels = yes
				add_core = FRN
			}
			every_owned_province = {
				add_permanent_claim = FRN
			}
			release = FRN
			FRN = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.590.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.590.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FRN
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.590.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FRN
			casus_belli = cb_revolt_war
		}
		switch_tag = FRN
	}
}
country_event = {
	id = "regular_revolt.591"
	title = "regular_revolt.591.t"
	desc = "regular_revolt.591.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MBZ }
		NOT = { exists = MBZ }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4710
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4710
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4710
					}
				}
				clear_rebels = yes
				add_core = MBZ
			}
			every_owned_province = {
				add_permanent_claim = MBZ
			}
			release = MBZ
			MBZ = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.591.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.591.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MBZ
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.591.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MBZ
			casus_belli = cb_revolt_war
		}
		switch_tag = MBZ
	}
}
country_event = {
	id = "regular_revolt.592"
	title = "regular_revolt.592.t"
	desc = "regular_revolt.592.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = AUG }
		NOT = { exists = AUG }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1868
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1868
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1868
					}
				}
				clear_rebels = yes
				add_core = AUG
			}
			every_owned_province = {
				add_permanent_claim = AUG
			}
			release = AUG
			AUG = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.592.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.592.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = AUG
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.592.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = AUG
			casus_belli = cb_revolt_war
		}
		switch_tag = AUG
	}
}
country_event = {
	id = "regular_revolt.593"
	title = "regular_revolt.593.t"
	desc = "regular_revolt.593.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MEM }
		NOT = { exists = MEM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 68
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 68
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 68
					}
				}
				clear_rebels = yes
				add_core = MEM
			}
			every_owned_province = {
				add_permanent_claim = MEM
			}
			release = MEM
			MEM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.593.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.593.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MEM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.593.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MEM
			casus_belli = cb_revolt_war
		}
		switch_tag = MEM
	}
}
country_event = {
	id = "regular_revolt.594"
	title = "regular_revolt.594.t"
	desc = "regular_revolt.594.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ULM }
		NOT = { exists = ULM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 1872
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 1872
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 1872
					}
				}
				clear_rebels = yes
				add_core = ULM
			}
			every_owned_province = {
				add_permanent_claim = ULM
			}
			release = ULM
			ULM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.594.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.594.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ULM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.594.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ULM
			casus_belli = cb_revolt_war
		}
		switch_tag = ULM
	}
}
country_event = {
	id = "regular_revolt.595"
	title = "regular_revolt.595.t"
	desc = "regular_revolt.595.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = DWT }
		NOT = { exists = DWT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4711
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4711
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4711
					}
				}
				clear_rebels = yes
				add_core = DWT
			}
			every_owned_province = {
				add_permanent_claim = DWT
			}
			release = DWT
			DWT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.595.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.595.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = DWT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.595.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = DWT
			casus_belli = cb_revolt_war
		}
		switch_tag = DWT
	}
}
country_event = {
	id = "regular_revolt.596"
	title = "regular_revolt.596.t"
	desc = "regular_revolt.596.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ROT }
		NOT = { exists = ROT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4715
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4715
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4715
					}
				}
				clear_rebels = yes
				add_core = ROT
			}
			every_owned_province = {
				add_permanent_claim = ROT
			}
			release = ROT
			ROT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.596.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.596.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ROT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.596.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ROT
			casus_belli = cb_revolt_war
		}
		switch_tag = ROT
	}
}
country_event = {
	id = "regular_revolt.597"
	title = "regular_revolt.597.t"
	desc = "regular_revolt.597.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = ANS }
		NOT = { exists = ANS }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 71
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 71
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 71
					}
				}
				clear_rebels = yes
				add_core = ANS
			}
			every_owned_province = {
				add_permanent_claim = ANS
			}
			release = ANS
			ANS = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.597.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.597.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = ANS
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.597.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = ANS
			casus_belli = cb_revolt_war
		}
		switch_tag = ANS
	}
}
country_event = {
	id = "regular_revolt.598"
	title = "regular_revolt.598.t"
	desc = "regular_revolt.598.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = NUM }
		NOT = { exists = NUM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 67
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 67
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 67
					}
				}
				clear_rebels = yes
				add_core = NUM
			}
			every_owned_province = {
				add_permanent_claim = NUM
			}
			release = NUM
			NUM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.598.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.598.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = NUM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.598.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = NUM
			casus_belli = cb_revolt_war
		}
		switch_tag = NUM
	}
}
country_event = {
	id = "regular_revolt.599"
	title = "regular_revolt.599.t"
	desc = "regular_revolt.599.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BYT }
		NOT = { exists = BYT }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4717
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4717
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4717
					}
				}
				clear_rebels = yes
				add_core = BYT
			}
			every_owned_province = {
				add_permanent_claim = BYT
			}
			release = BYT
			BYT = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.599.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.599.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BYT
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.599.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BYT
			casus_belli = cb_revolt_war
		}
		switch_tag = BYT
	}
}
country_event = {
	id = "regular_revolt.600"
	title = "regular_revolt.600.t"
	desc = "regular_revolt.600.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = BAM }
		NOT = { exists = BAM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 66
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 66
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 66
					}
				}
				clear_rebels = yes
				add_core = BAM
			}
			every_owned_province = {
				add_permanent_claim = BAM
			}
			release = BAM
			BAM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.600.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.600.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = BAM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.600.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = BAM
			casus_belli = cb_revolt_war
		}
		switch_tag = BAM
	}
}
country_event = {
	id = "regular_revolt.601"
	title = "regular_revolt.601.t"
	desc = "regular_revolt.601.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = COB }
		NOT = { exists = COB }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 4716
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 4716
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 4716
					}
				}
				clear_rebels = yes
				add_core = COB
			}
			every_owned_province = {
				add_permanent_claim = COB
			}
			release = COB
			COB = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.601.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.601.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = COB
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.601.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = COB
			casus_belli = cb_revolt_war
		}
		switch_tag = COB
	}
}
country_event = {
	id = "regular_revolt.602"
	title = "regular_revolt.602.t"
	desc = "regular_revolt.602.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = SAV }
		NOT = { exists = SAV }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 205
				province_id = 4719
				province_id = 1867
				province_id = 1871
				province_id = 103
				province_id = 1875
				province_id = 102
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 205
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 205
						province_id = 4719
						province_id = 1867
						province_id = 1871
						province_id = 103
						province_id = 1875
						province_id = 102
					}
				}
				clear_rebels = yes
				add_core = SAV
			}
			every_owned_province = {
				add_permanent_claim = SAV
			}
			release = SAV
			SAV = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.602.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.602.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = SAV
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.602.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = SAV
			casus_belli = cb_revolt_war
		}
		switch_tag = SAV
	}
}
country_event = {
	id = "regular_revolt.603"
	title = "regular_revolt.603.t"
	desc = "regular_revolt.603.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = MLO }
		NOT = { exists = MLO }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 104
				province_id = 107
				province_id = 4739
				province_id = 4740
				province_id = 2979
				province_id = 4728
				province_id = 1862
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 104
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 104
						province_id = 107
						province_id = 4739
						province_id = 4740
						province_id = 2979
						province_id = 4728
						province_id = 1862
					}
				}
				clear_rebels = yes
				add_core = MLO
			}
			every_owned_province = {
				add_permanent_claim = MLO
			}
			release = MLO
			MLO = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.603.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.603.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = MLO
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.603.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = MLO
			casus_belli = cb_revolt_war
		}
		switch_tag = MLO
	}
}

country_event = {
	id = "regular_revolt.604"
	title = "regular_revolt.604.t"
	desc = "regular_revolt.604.d"
	picture = FORT_eventpicture
	fire_only_once = no

	trigger = {
		NOT = { tag = FRM }
		NOT = { exists = FRM }
		any_owned_province = {
			OR = {
				controlled_by = nationalist_rebels
				controlled_by = particularist_rebels
				controlled_by = noble_rebels
				controlled_by = leadered_peasant_rebels
				controlled_by = catholic_rebels
				controlled_by = orthodox_rebels
				controlled_by = buddhism_rebels
				controlled_by = heretic_rebels
				controlled_by = coptic_rebels
				controlled_by = confucianism_rebels
				controlled_by = anglican_rebels
				controlled_by = animist_rebels
				controlled_by = coptic_rebels
				controlled_by = hussite_rebels
				controlled_by = hinduism_rebels
				controlled_by = ibadi_rebels
				controlled_by = jewish_rebels
				controlled_by = protestant_rebels
				controlled_by = reformed_rebels
				controlled_by = shinto_rebels
				controlled_by = shiite_rebels
				controlled_by = sunni_rebels
				controlled_by = vijrayana
				controlled_by = sikhism_rebels
			}
			OR = {
				province_id = 2155
				province_id = 2154
				province_id = 738
			}
		}
	}

	mean_time_to_happen = {
		months = 10
		modifier = {
			factor = 1
			owns = 104
		}
	}

	immediate = {
		hidden_effect = {
			set_country_flag = fote_civil_war
			set_country_flag = fote_crumbling_empire
			every_owned_province = {
				limit = {
					OR = {
						province_id = 2155
						province_id = 2154
						province_id = 738
					}
				}
				clear_rebels = yes
				add_core = FRM
			}
			every_owned_province = {
				add_permanent_claim = FRM
			}
			release = FRM
			FRM = {
				change_government = ROOT
				change_primary_culture = new_variable:dominant_culture
				change_religion = animism
				change_religion = new_variable:dominant_religion
				adopt_reform_progress = ROOT


				every_owned_province = {
					infantry = PREV
				}
				random_owned_province = {
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					infantry = PREV
					cavalry = PREV
					cavalry = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
					artillery = PREV
				}
				add_manpower = 20
				add_treasury = 2500
				create_general = { tradition = 100 }
				set_country_flag = fote_civil_war
			}
		}
	}
	
	option = {
		name = "regular_revolt.604.a"
		ai_chance = {
			factor = 0
		}
	}
	option = {
		name = "regular_revolt.604.b"
		ai_chance = {
			factor = 1
		}
		declare_war_with_cb = {
			who = FRM
			casus_belli = cb_revolt_war
		}
	}
	option = {
		name = "regular_revolt.604.c"
		trigger = {
			ai = no
		}
		ai_chance = {
			factor = 0
		}
		declare_war_with_cb = {
			who = FRM
			casus_belli = cb_revolt_war
		}
		switch_tag = FRM
	}
}
