communist_revolution = {
	potential = {
		NOT = { has_country_flag = had_communist_revolution }
		NOT = { tag = PAP }
		is_subject = no
		uses_doom = no
		num_of_cities = 30
		adm_tech = 80	
	}
	
	
	can_start = {
		has_any_disaster = no
		NOT = { stability =	0 }
		adm_tech = 82
	}
	
	can_stop = { 
		OR = {
			has_any_disaster = yes
			stability = 3
		}
	}
	
	
	progress = {
		modifier = {
			factor = 1
			NOT = { prestige = 0 }
		}
		modifier = {
			factor = 1
			war_exhaustion = 5
		} 
		modifier = {
			factor = 0.5
			num_of_loans = 10
			NOT = { num_of_loans = 25 }
		}	
		modifier = {
			factor = 1
			num_of_loans = 25
		}	
		modifier = {
			factor = 2
			is_bankrupt = yes
		}	
		modifier = {
			factor = 0.5
			NOT = { stability = -1 }
		}	
		modifier = {
			factor = 1
			NOT = { stability = -2 }
		}	

	}
	
	can_end = {
		stability = 1
		NOT = { num_of_revolts = 1 }
	}
	

	modifier = {
		global_unrest = 10
		stability_cost_modifier = 0.1
	}	
	
	
	on_start = dis_com.1
	on_end = dis_com.5
	
	on_monthly = {
		events = {
		}
		random_events = { 
			1000 = 0
			100 = dis_com.2
			100 = dis_com.3
			100 = dis_com.4
			100 = revolution.7
			100 = revolution.8
		
		}
	}
}

