fragile_empires = {
	potential = {
		government = monarchy
		NOT = { government = celestial_empire }
		NOT = { government = imperial_roman_republic }
		NOT = { government = parliamentary_monarchy }
		NOT = { government = constitutional_monarchy }
		is_subject = no
		uses_doom = no
		num_of_cities = 80
		OR = {
			NOT = { government = caliphate }
			is_year = 750
		}
		NOT = { adm_tech = 47 }
	}
	
	can_start = {
		NOT = { stability = 1 }
		NOT = { legitimacy = 80 }
	}
	
	can_stop = { 
		stability = 3
	}
	
	progress = {
		modifier = {
			factor = 2
			NOT = { prestige = 0 }
		}
		modifier = {
			factor = 2
			war_exhaustion = 5
		} 
		modifier = {
			factor = 1
			num_of_loans = 10
			NOT = { num_of_loans = 25 }
		}	
		modifier = {
			factor = 2
			num_of_loans = 25
		}	
		modifier = {
			factor = 4
			is_bankrupt = yes
		}	
		modifier = {
			factor = 1
			NOT = { stability = 0 }
		}
		modifier = {
			factor = 2
			NOT = { stability = -1 }
		}	
		modifier = {
			factor = 4
			NOT = { stability = -2 }
		}	
		modifier = {
			factor = 2
			NOT = { legitimacy = 40 }
		}	
		modifier = {
			factor = 4
			NOT = { legitimacy = 20 }
		}	
		modifier = {
			factor = 4
			num_of_cities = 160
		}	

	}
	
	can_end = {
		stability = 3
		legitimacy = 60
	}

	modifier = {
		global_unrest = 10
		stability_cost_modifier = 0.1
	}	
	
	on_start = fragile_empires.1
	on_end = fragile_empires.2
	
	on_monthly = {
		events = {
		}
		random_events = { 
			1000 = 0
			100 = fragile_empires.3
			100 = fragile_empires.5
			100 = fragile_empires.6
			100 = fragile_empires.7
		}
	}
}

