communistV
	#tgcEvents for the imposition of a new government
	country_event = {
		id = 96085
		title = "EVTNAME96085" #Democracy
		desc = "EVTDESC96085"
		news = yes
		news_title = "EVTNAME96085_NEWS_TITLE"
		news_desc_long = "EVTDESC96085_NEWS_LONG"
		news_desc_medium = "EVTDESC96085_NEWS_MEDIUM"
		news_desc_short = "EVTDESC96085_NEWS_SHORT"
		picture = "unite"

		is_triggered_only = yes

		option = {
			name = "EVTOPTA96085" #We welcome the new regime.
			government = democracy
			ruling_party_ideology = liberal
			political_reform = universal_weighted_voting
			political_reform = population_equal_weight
			political_reform = yes_meeting
			political_reform = free_press
			political_reform = non_socialist
			political_reform = gerrymandering
			political_reform = non_secret_ballots
			clr_country_flag = communist_gov
			clr_country_flag = absolute_monarchy_gov
			clr_country_flag = semi_constitutional_monarchy_gov
			clr_country_flag = constitutional_monarchy_gov
			set_country_flag = democracy_gov
			clr_country_flag = presidential_dictatorship_gov
			clr_country_flag = fascist_gov
			clr_country_flag = anarcho_liberal_gov

			random_country = {
				limit = {
					is_sphere_leader_of = THIS
					NOT = { has_country_flag = friendly_democracy }
				}
				diplomatic_influence = { who = THIS value = -100 }
			}
			random_country = {
				limit = {
					has_country_flag = friendly_democracy
					truce_with = THIS
				}
				relation = { who = THIS value = 400 }
				diplomatic_influence = { who = THIS value = 100 }
				create_alliance = THIS
				clr_country_flag = friendly_democracy
			}
			capital_scope = {
				any_pop = {
					limit = { literacy = 0.2 }
					ideology = { factor = 0.1 value = liberal }
					ideology = { factor = -0.5 value = communist }
				}
			}
			any_pop = {
				ideology = { factor = -0.1 value = communist }
			}
			any_pop = {
				scaled_militancy = {
					ideology = reactionary
					factor = 6
				}
				scaled_militancy = {
					ideology = communist
					factor = 6
				}
				scaled_militancy = {
					ideology = fascist
					factor = 6
				}
				scaled_militancy = {
					ideology = liberal
					factor = -4
				}
			}

			any_country = {
				limit = {
					war_with = THIS
				}
				end_war = THIS
			}
		}
	}
	#tgccrimeaCommunist Government Coup Puppets - The coup attempt
	country_event = {
		id = 443030
		title = "EVTNAME443030"
		desc = "EVTDESC443030"
		picture = "storming_palace_communists"

		is_triggered_only = yes

		option = {
			name = "EVTOPTA443030"
			prestige_factor = -0.25
			government = proletarian_dictatorship
			ruling_party_ideology = communist
			political_reform = none_voting
			political_reform = party_appointed
			political_reform = no_meeting
			political_reform = state_press
			political_reform = state_controlled
			political_reform = underground_parties
			political_reform = no_slavery
			political_reform = debtors_prisons
			social_reform = good_minimum_wage
			social_reform = eight_hours
			social_reform = good_subsidies
			social_reform = good_pensions
			set_country_flag = communist_gov
			clr_country_flag = absolute_monarchy_gov
			clr_country_flag = semi_constitutional_monarchy_gov
			clr_country_flag = constitutional_monarchy_gov
			clr_country_flag = democracy_gov
			clr_country_flag = presidential_dictatorship_gov
			clr_country_flag = fascist_gov
			clr_country_flag = anarcho_liberal_gov
			clr_country_flag = theocratic_government
			create_alliance = FROM
			relation = { who = FROM value = 200 }
			FROM = { diplomatic_influence = { who = THIS value = 100 } }
			any_country = { limit = { NOT = { government = proletarian_dictatorship } } relation = { who = THIS value = -100 } }
			any_greater_power = { limit = { NOT = { government = proletarian_dictatorship } } diplomatic_influence = { who = THIS value = -100 } }

			ai_chance = {
				factor = 30
				modifier = {
					factor = 0.1
						OR = {
							FROM = { has_recently_lost_war = yes }
							FROM = { NOT = { military_score = 100 } }
						}
					}
				modifier = {
					factor = 0.1
						NOT = { in_sphere = FROM }
					}
				modifier = {
					factor = 1.4
					upper_house = {
						ideology = communist
						value = 0.1
					}
				}
				modifier = {
					factor = 1.5
					upper_house = {
						ideology = communist
						value = 0.15
					}
				}
				modifier = {
					factor = 1.6
					upper_house = {
						ideology = communist
						value = 0.2
					}
				}
				modifier = {
					factor = 1.7
					upper_house = {
						ideology = communist
						value = 0.25
					}
				}
				modifier = {
					factor = 1.8
					upper_house = {
						ideology = communist
						value = 0.3
					}
				}
				modifier = {
					factor = 1.9
					upper_house = {
						ideology = communist
						value = 0.4
					}
				}
			}
		}

		option = {
			name = "EVTOPTB443030"
			add_country_modifier = { name = small_country_draft duration = 730 }
			end_military_access = FROM
			leave_alliance = FROM

			FROM = { country_event = { id = 443031 days = 2 } }

			add_country_modifier = { name = no_freedom duration = 2920 }

			capital_scope = { any_pop = { ideology = { factor = -0.1 value = communist } } }

			random_pop = { limit = { pop_majority_ideology = communist }
				random_list = {
					34 = { reduce_pop = 0.98 }
					33 = { reduce_pop = 0.97 }
					33 = { reduce_pop = 0.96 }
					}
				random_list = {
					34 = { ideology = { factor = 0.1 value = conservative } }
					33 = { ideology = { factor = 0.2 value = conservative } }
					33 = { ideology = { factor = 0.3 value = conservative } }
					}
				random_list = {
					34 = { ideology = { factor = -0.1 value = communist } }
					33 = { ideology = { factor = -0.15 value = communist } }
					33 = { ideology = { factor = -0.2 value = communist } }
					}
				}

			random_pop = { limit = { pop_majority_ideology = communist }
				random_list = {
					34 = { reduce_pop = 0.98 }
					33 = { reduce_pop = 0.97 }
					33 = { reduce_pop = 0.96 }
					}
				random_list = {
					34 = { ideology = { factor = 0.1 value = conservative } }
					33 = { ideology = { factor = 0.2 value = conservative } }
					33 = { ideology = { factor = 0.3 value = conservative } }
					}
				random_list = {
					34 = { ideology = { factor = -0.1 value = communist } }
					33 = { ideology = { factor = -0.15 value = communist } }
					33 = { ideology = { factor = -0.2 value = communist } }
					}
				}

			random_pop = { limit = { pop_majority_ideology = communist }
				random_list = {
					34 = { reduce_pop = 0.98 }
					33 = { reduce_pop = 0.97 }
					33 = { reduce_pop = 0.96 }
					}
				random_list = {
					34 = { ideology = { factor = 0.1 value = conservative } }
					33 = { ideology = { factor = 0.2 value = conservative } }
					33 = { ideology = { factor = 0.3 value = conservative } }
					}
				random_list = {
					34 = { ideology = { factor = -0.1 value = communist } }
					33 = { ideology = { factor = -0.15 value = communist } }
					33 = { ideology = { factor = -0.2 value = communist } }
					}
				}

			ai_chance = {
				factor = 70
				modifier = {
					factor = 1.6
					NOT = { in_sphere = FROM }
				}
			}
		}
	}
#############################################
# Scandal Events For The APD Mod			#
# By GAGA Extrem							#
# August 2012	in tgc & crimeamod			#
#############################################

	# 880130 - Party Scandal - Reactionary
	country_event = {
		id = 880130
		title = "EVTNAME880130"
		desc = "EVTDESC880130"
		picture = "news"

		trigger = {
			civilized = yes
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				reactionary = 10
				any_owned_province = { reactionary = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = reactionary
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = reactionary
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				reactionary = 25
			}
			modifier = {
				factor = 0.8
				reactionary = 50
			}
			modifier = {
				factor = 0.8
				reactionary = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = reactionary }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = reactionary }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = reactionary }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = reactionary }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = reactionary }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = reactionary
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = reactionary
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = reactionary
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = reactionary }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					reactionary = 10
				}
				ideology = {
					value = reactionary
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = reactionary
					factor = 5
				}
			}
		}
	}

	# 880140 - Party Scandal - Conservative
	country_event = {
		id = 880140
		title = "EVTNAME880140"
		desc = "EVTDESC880140"
		picture = "news"

		trigger = {
			civilized = yes
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				conservative = 10
				any_owned_province = { conservative = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = conservative
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = conservative
			}
			modifier = {
				factor = 0.75
				election = no
				ruling_party_ideology = conservative
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				conservative = 25
			}
			modifier = {
				factor = 0.8
				conservative = 50
			}
			modifier = {
				factor = 0.8
				conservative = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = conservative }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = conservative }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = conservative }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = conservative }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = conservative }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = conservative
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = conservative
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = conservative
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = conservative }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					conservative = 10
				}
				ideology = {
					value = conservative
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = conservative
					factor = 5
				}
			}
		}
	}

	# 880150 - Party Scandal - Liberal
	country_event = {
		id = 880150
		title = "EVTNAME880150"
		desc = "EVTDESC880150"
		picture = "news"

		trigger = {
			civilized = yes
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				liberal = 10
				any_owned_province = { liberal = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = liberal
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = liberal
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				liberal = 25
			}
			modifier = {
				factor = 0.8
				liberal = 50
			}
			modifier = {
				factor = 0.8
				liberal = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = liberal }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = liberal }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = liberal }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = liberal }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = liberal }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = liberal
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = liberal
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = liberal
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = liberal }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					liberal = 10
				}
				ideology = {
					value = liberal
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = liberal
					factor = 5
				}
			}
		}
	}

	# 880160 - Party Scandal - Anarcho-Liberal
	country_event = {
		id = 880160
		title = "EVTNAME880160"
		desc = "EVTDESC880160"
		picture = "news"

		trigger = {
			civilized = yes
			is_ideology_enabled = anarcho_liberal
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				anarcho_liberal = 10
				any_owned_province = { anarcho_liberal = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = anarcho_liberal
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = anarcho_liberal
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				anarcho_liberal = 25
			}
			modifier = {
				factor = 0.8
				anarcho_liberal = 50
			}
			modifier = {
				factor = 0.8
				anarcho_liberal = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = anarcho_liberal }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = anarcho_liberal }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = anarcho_liberal }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = anarcho_liberal }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = anarcho_liberal }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = anarcho_liberal
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = anarcho_liberal
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = anarcho_liberal
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = anarcho_liberal }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					anarcho_liberal = 10
				}
				ideology = {
					value = anarcho_liberal
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = anarcho_liberal
					factor = 5
				}
			}
		}
	}

	# 880170 - Party Scandal - Socialist
	country_event = {
		id = 880170
		title = "EVTNAME880170"
		desc = "EVTDESC880170"
		picture = "news"

		trigger = {
			civilized = yes
			is_ideology_enabled = socialist
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				socialist = 10
				any_owned_province = { socialist = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = socialist
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = socialist
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				socialist = 25
			}
			modifier = {
				factor = 0.8
				socialist = 50
			}
			modifier = {
				factor = 0.8
				socialist = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = socialist }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = socialist }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = socialist }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = socialist }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = socialist }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = socialist
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = socialist
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = socialist
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = socialist }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					socialist = 10
				}
				ideology = {
					value = socialist
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = socialist
					factor = 5
				}
			}
		}
	}

	# 880180 - Party Scandal - Communist
	country_event = {
		id = 880180
		title = "EVTNAME880180"
		desc = "EVTDESC880180"
		picture = "news"

		trigger = {
			civilized = yes
			is_ideology_enabled = communist
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				communist = 10
				any_owned_province = { communist = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = communist
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = communist
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				communist = 25
			}
			modifier = {
				factor = 0.8
				communist = 50
			}
			modifier = {
				factor = 0.8
				communist = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = communist }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = communist }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = communist }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = communist }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = communist }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = communist
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = communist
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = communist
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = communist }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					communist = 10
				}
				ideology = {
					value = communist
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = communist
					factor = 5
				}
			}
		}
	}

	# 880190 - Party Scandal - Fascist
	country_event = {
		id = 880190
		title = "EVTNAME880190"
		desc = "EVTDESC880190"
		picture = "news"

		trigger = {
			civilized = yes
			is_ideology_enabled = fascist
			NOT = {
				press_rights = state_press
				political_parties = underground_parties
				has_country_modifier = ruling_party_scandal
				has_country_modifier = party_scandal_evidence
			}
			OR = {
				fascist = 10
				any_owned_province = { fascist = 20 }
			}
		}

		mean_time_to_happen = {
			months = 400
			modifier = {
				factor = 0.75
				election = yes
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = fascist
				NOT = { press_rights = free_press }
			}
			modifier = {
				factor = 0.5
				election = yes
				ruling_party_ideology = fascist
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 2 }
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 4 }
			}
			modifier = {
				factor = 0.8
				average_consciousness = 6
			}
			modifier = {
				factor = 0.8
				average_consciousness = 8
			}
			modifier = {
				factor = 0.8
				average_consciousness = 9
			}
			modifier = {
				factor = 0.8
				fascist = 25
			}
			modifier = {
				factor = 0.8
				fascist = 50
			}
			modifier = {
				factor = 0.8
				fascist = 75
			}
			modifier = {
				factor = 1.2
				NOT = {	ruling_party_ideology = fascist }
			}
			modifier = {
				factor = 0.7
				NOT = { ruling_party_ideology = fascist }
				political_parties = harassment
			}
			modifier = {
				factor = 0.8
				NOT = { ruling_party_ideology = fascist }
				political_parties = gerrymandering
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = fascist }
				political_parties = non_secret_ballots
			}
			modifier = {
				factor = 0.9
				NOT = { ruling_party_ideology = fascist }
				press_rights = censored_press
			}
			modifier = {
				factor = 1.5
				ruling_party_ideology = fascist
				political_parties = harassment
			}
			modifier = {
				factor = 1.2
				ruling_party_ideology = fascist
				political_parties = gerrymandering
			}
			modifier = {
				factor = 1.1
				ruling_party_ideology = fascist
				political_parties = non_secret_ballots
			}
		}

		option = {
			name = "EVTOPTA880130"
			random_owned = {
				limit = {
					owner = { ruling_party_ideology = fascist }
				}
				owner = {
					prestige = -5
					plurality = -1
					add_country_modifier = {
						name = ruling_party_scandal
						duration = 730
					}
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
					fascist = 10
				}
				ideology = {
					value = fascist
					factor = -0.1
				}
			}
			any_pop = {
				limit = {
					location = { is_colonial = no }
				}
				scaled_consciousness = {
					ideology = fascist
					factor = 5
				}
			}
		}
	}

	#Communists in $PROVINCENAME$
	province_event = {
		id = 17730
		title = "EVTNAME17730"
		desc = "EVTDESC17730"

		trigger = {
			is_ideology_enabled = communist
			is_colonial = no
			NOT = { controlled_by = REB }
			OR = {
				socialist = 20
				communist = 10
			}
			OR = {
				has_pop_type = artisans
				has_pop_type = clerks
				has_pop_type = craftsmen
				has_pop_type = labourers
			}
			OR = {
				average_militancy = 6
				has_province_modifier = militant_trade_union
				has_province_modifier = province_strike
				NOT = { poor_strata_life_needs = 0.7 }
			}
			owner = {
				NOT = {
					government = proletarian_dictatorship
					government = fascist_dictatorship
				}
				civilized = yes
				public_meetings = yes_meeting
			}
		}

		mean_time_to_happen = {
			months = 200
			modifier = {
				factor = 0.5
				OR = {
					has_province_modifier = militant_trade_union
					has_province_modifier = province_strike
				}
			}
			modifier = {
				factor = 1.5
				NOT = { socialist = 10 }
			}
			modifier = {
				factor = 1.5
				NOT = { communist = 5 }
			}
			modifier = {
				factor = 0.9
				socialist = 25
			}
			modifier = {
				factor = 0.9
				socialist = 30
			}
			modifier = {
				factor = 0.9
				communist = 15
			}
			modifier = {
				factor = 0.9
				communist = 20
			}
			modifier = {
				factor = 0.8
				communist = 25
			}
			modifier = {
				factor = 2
				NOT = { any_pop = { social_reform_want = 0.05 } }
			}
			modifier = {
				factor = 0.9
				any_pop = { social_reform_want = 0.1 }
			}
			modifier = {
				factor = 0.9
				any_pop = { social_reform_want = 0.2 }
			}
			modifier = {
				factor = 0.9
				average_militancy = 4
			}
			modifier = {
				factor = 0.9
				average_militancy = 5
			}
			modifier = {
				factor = 0.9
				average_militancy = 6
			}
			modifier = {
				factor = 1.5
				NOT = { average_consciousness = 3 }
			}
			modifier = {
				factor = 0.9
				average_consciousness = 5
			}
			modifier = {
				factor = 0.9
				average_consciousness = 7
			}
			modifier = {
				factor = 1.2
				owner = { economic_policy = laissez_faire }
			}
			modifier = {
				factor = 2
				owner = { war = yes }
			}
			modifier = {
				factor = 1.5
				owner = {
					check_variable = {
						which = successful_communist_rebellions
						value = 10
					}
				}
			}
			modifier = {
				factor = 0.8
				any_neighbor_province = {
					owner = { government = proletarian_dictatorship }
				}
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 50 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 45 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 40 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 35 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 30 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 25 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 20 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 15 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 10 }
			}
			modifier = {
				factor = 1.5
				owner = { num_of_cities = 5 }
			}
		}

		option = {
			name = "EVTOPTA17730"
			random_pop = {
				limit = {
					strata = poor
					OR = {
						socialist = 20
						communist = 10
					}
				}
				reduce_pop = 0.98
				militancy = 4
			}
			poor_strata = {
				militancy = 2
			}
			rich_strata = {
				ideology = {
					value = socialist
					factor = -0.1
				}
				ideology = {
					value = communist
					factor = -0.2
				}
				ideology = {
					value = reactionary
					factor = 0.2
				}
				militancy = -3
				consciousness = -3
			}
		}

		option = {
			name = "EVTOPTB17730"
			state_scope = {
				any_pop = {
					limit = {
						OR = {
							type = artisans
							type = clerks
							type = labourers
							type = craftsmen
						}
					}
					ideology = {
						value = communist
						factor = 0.1
					}
					scaled_consciousness = {
						ideology = communist
						factor = 4
					}
				}
				rich_strata = {
					militancy = 3
				}
			}
		}
	}
		## 5 Year Plan ##

		country_event = {
			id = 203773
			title = "EVTNAME203773"
			desc = "EVTDESC203773"
			picture = "communist_crowd"

			trigger = {
				government = proletarian_dictatorship
				NOT = {
					has_country_modifier = communist_industry
					has_country_modifier = communist_loyalty
					has_country_modifier = communist_military
					has_country_modifier = communist_technology
				}
			}

			mean_time_to_happen = {
				months = 1
			}

			option = {
				name = "EVTOPTA203773"

				any_pop = {
					limit = { location = { is_colonial = no } }
					ideology = { value = communist factor = 0.01 }
					scaled_militancy = { ideology = communist factor = -2 }
					scaled_consciousness = { ideology = communist factor = -2 }
				}
				add_country_modifier = {
					name = communist_industry
					duration = 1825
				}
			}

			option = {
				name = "EVTOPTB203773"

				any_pop = {
					limit = { location = { is_colonial = no } }
					ideology = { value = communist factor = 0.03 }
					scaled_militancy = { ideology = communist factor = -4 }
					scaled_consciousness = { ideology = communist factor = -2 }
				}
				add_country_modifier = {
					name = communist_loyalty
					duration = 1825
				}
			}

			option = {
				name = "EVTOPTC203773"

				any_pop = {
					limit = { location = { is_colonial = no } }
					militancy = 1
					ideology = { value = communist factor = -0.02 }
					scaled_consciousness = { ideology = communist factor = -2 }
				}
				add_country_modifier = {
					name = communist_military
					duration = 1825
				}
			}

			option = {
				name = "EVTOPTD203773"

				any_pop = {
					limit = { location = { is_colonial = no } }
					literacy = 0.05
					ideology = { value = communist factor = 0.02 }
					scaled_militancy = { ideology = communist factor = -1 }
					scaled_consciousness = { ideology = communist factor = -2 }
				}
				add_country_modifier = {
					name = communist_technology
					duration = 1825
				}
			}
		}
		#crimeamodKilled by Peasants
country_event = {
	
	id = 32544
	title = "EVTNAME32544"
	desc = "EVTDESC32544"
	picture = "grigori_blessing"
	
	trigger = {
		tag = RUS
		has_country_flag = rasputin_killed_by_peasants
		OR = {
			government = absolute_monarchy
			government = prussian_constitutionalism
			government = hms_government
		}
		average_militancy = 1
		NOT = { year = 1930 }
	}

	fire_only_once = yes

	mean_time_to_happen = { months = 12 }
	
	option = {
		name = "EVT32543OPTA"
		clr_country_flag = rasputin_killed_by_peasants
		any_pop = { limit = { pop_majority_ideology = communist } reduce_pop = 0.95 militancy = 7 }
		any_pop = {
			consciousness = 2
			militancy = 1 
			
			ideology = {
				factor = -0.05
				value = communist
			}
				
			ideology = {
				factor = 0.05
				value = conservative
			}
		}
	}
}
#crimeamodCommunists in $PROVINCENAME$
province_event = {
	id = 17730
	title = "EVTNAME17730"
	desc = "EVTDESC17730"
	
	trigger = {
		is_ideology_enabled = communist
		is_colonial = no
		NOT = { controlled_by = REB }
		OR = {
			socialist = 20
			communist = 10
		}
		OR = {
			has_pop_type = artisans
			has_pop_type = clerks
			has_pop_type = craftsmen
			has_pop_type = labourers
		}
		OR = {
			average_militancy = 6
			has_province_modifier = militant_trade_union
			has_province_modifier = province_strike
			NOT = { poor_strata_life_needs = 0.7 }
		}
		owner = {
			NOT = {
				government = proletarian_dictatorship
				government = fascist_dictatorship
			}
			civilized = yes
			public_meetings = yes_meeting
		}
	}
	
	mean_time_to_happen = {
		months = 240
		modifier = {
			factor = 0.5
			OR = {
				has_province_modifier = militant_trade_union
				has_province_modifier = province_strike
			}
		}
		modifier = {
			factor = 1.5
			NOT = { socialist = 10 }
		}
		modifier = {
			factor = 1.5
			NOT = { communist = 5 }
		}
		modifier = {
			factor = 0.9
			socialist = 25
		}
		modifier = {
			factor = 0.9
			socialist = 30
		}
		modifier = {
			factor = 0.9
			communist = 15
		}
		modifier = {
			factor = 0.9
			communist = 20
		}
		modifier = {
			factor = 0.8
			communist = 25
		}
		modifier = {
			factor = 2
			NOT = { any_pop = { social_reform_want = 0.05 } }
		}
		modifier = {
			factor = 0.9
			any_pop = { social_reform_want = 0.1 }
		}
		modifier = {
			factor = 0.9
			any_pop = { social_reform_want = 0.2 }
		}
		modifier = {
			factor = 0.9
			average_militancy = 4
		}
		modifier = {
			factor = 0.9
			average_militancy = 5
		}
		modifier = {
			factor = 0.9
			average_militancy = 6
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 3 }
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 1.2
			owner = { economic_policy = laissez_faire }
		}
		modifier = {
			factor = 2
			owner = { war = yes }
		}
		modifier = {
			factor = 1.5
			owner = {
				check_variable = {
					which = successful_communist_rebellions
					value = 10
				}
			}
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				owner = { government = proletarian_dictatorship }
			}
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 50 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 45 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 40 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 35 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 30 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 25 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 20 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 15 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 10 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 5 }
		}
	}
	
	option = {
		name = "Crack down on the communists."
		owner = { plurality = -2 }
		random_pop = {
			limit = {
				strata = poor
				OR = {
					socialist = 20
					communist = 10
				}
			}
			reduce_pop = 0.98
			militancy = 4
		}
		poor_strata = {
			militancy = 2
		}
		rich_strata = {
			ideology = {
				value = socialist
				factor = -0.1
			}
			ideology = {
				value = communist
				factor = -0.2
			}
			ideology = {
				value = reactionary
				factor = 0.2
			}
			militancy = -3
			consciousness = -3
		}	
	}
	
	option = {
		name = "Let them demonstrate."
		state_scope = {
			any_pop = {
				limit = {
					OR = {
						type = artisans
						type = clerks
						type = labourers
						type = craftsmen
					}
				}
				ideology = {
					value = communist
					factor = 0.1
				}
				scaled_consciousness = {
					ideology = communist
					factor = 4
				}
			}
			rich_strata = {
				militancy = 3
			}
		}
	}
}
	#CWECampaign for middle class's interests
	campaigning_middle_class = {
		picture = "campaigning_middle_class"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Democracies only
			OR = { government = socialist_democracy government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = colonial_government government = mandate_government }
			
			#Has the required pop type
			has_pop_type = clerks
			
			#Special ideology limitations
			NOT = { OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social } }
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#Boost ideology support for the middle class
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support for the lower class
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = communist_social } } } }
		}
		ai_will_do = { 
			factor = 1 
		}
	}
	#cweCampaign for city interests
	campaigning_city_class = {
		picture = "campaigning_city_class"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Every gov type can do this
			
			#Has the required province type
			any_owned_province = { is_state_capital = yes }
			
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#Boost ideology support in cities
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support in rural towns
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweCampaign for rural interests
	campaigning_rural_class = {
		picture = "campaigning_rural_class"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Every gov type can do this
			
			#Has the required province type
			any_owned_province = { is_state_capital = no }
			
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#Boost ideology support in cities
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { location = { is_state_capital = no } } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support in rural towns
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { location = {is_state_capital = yes } } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { location = { is_state_capital = yes } } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweCampaign for primary culture
	campaigning_primary_culture = {
		picture = "campaigning_primary_culture"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Every gov type can do this
			
			#Has either residency or limited citizenship
			OR = { citizenship_policy = residency citizenship_policy = limited_citizenship }
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#Majority races are pleased
			any_pop = {
				limit = { is_culture_group = THIS }
				militancy = -2
				consciousness = -2
			}
			
			#Minority races get angry
			any_pop = {
				limit = { NOT = { is_culture_group = THIS } }
				militancy = 2
				consciousness = 2
			}
			
			#Progressive and liberals are not happy
			any_pop = {
				scaled_militancy = {
					factor = 2
					ideology = liberal
				}
				scaled_militancy = {
					factor = 2
					ideology = progressive
				}
			}
			
			#Gain negative international attention
			any_country = {
				limit = { is_vassal = no citizenship_policy = full_citizenship }
				relation = { who = THIS value = -10 }
			}
			
			#Boost ideology support from culture group
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support for non culture groups
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweCampaign for minority culture
	campaigning_minority_culture = {
		picture = "campaigning_minority_culture"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Every gov type can do this
			
			#Has either full or limited citizenship
			NOT = { citizenship_policy = residency }
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#Majority races are angry
			any_pop = {
				limit = { is_culture_group = THIS }
				militancy = 2
				consciousness = 2
			}
			
			#Minority races are pleased
			any_pop = {
				limit = { NOT = { is_culture_group = THIS } }
				militancy = -2
				consciousness = -2
			}
			
			#Progressive and liberals are happy
			any_pop = {
				scaled_militancy = {
					factor = -2
					ideology = liberal
				}
				scaled_militancy = {
					factor = -2
					ideology = progressive
				}
			}
			
			#Gain positive international attention
			any_country = {
				limit = { is_vassal = no citizenship_policy = full_citizenship }
				relation = { who = THIS value = 10 }
			}
			
			#Reduce ideology support from culture group
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { is_culture_group = THIS } ideology = { factor = -0.04 value = communist_social } } } }
			
			#Boost ideology support for non culture groups
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { NOT = { is_culture_group = THIS } } ideology = { factor = 0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweCampaign for national religion
	campaigning_national_religion = {
		picture = "campaigning_national_religion"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Every gov type can do this
			
			#Country is not secular
			has_country_flag = desecularized
			
			#Religious party
			religious_policy = moralism
			
			#Religion is less of a politicised issue in highly educated nations
			NOT = { literacy = 0.20 }
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#State religion pops are happy
			any_pop = {
				limit = { is_state_religion = yes }
				scaled_militancy = {
					factor = -2
					issue = moralism
				}
				scaled_consciousness = {
					factor = -2
					issue = moralism
				}
			}
			
			#Non state religion pops are angry
			any_pop = {
				limit = { is_state_religion = no }
				scaled_militancy = {
					factor = 2
					issue = secularized
				}
				scaled_consciousness = {
					factor = 2
					issue = secularized
				}
				
				scaled_militancy = {
					factor = 2
					issue = pro_atheism
				}
				scaled_consciousness = {
					factor = 2
					issue = pro_atheism
				}
			}
			
			#Progressive and liberals are not happy
			any_pop = {
				scaled_militancy = {
					factor = 2
					ideology = liberal
				}
				scaled_militancy = {
					factor = 2
					ideology = progressive
				}
			}
			
			#Gain negative international attention
			any_country = {
				limit = { is_vassal = no OR = { religious_policy = pro_atheism religious_policy = secularized } }
				relation = { who = THIS value = -10 }
			}
			
			#Boost ideology support from culture group
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { is_state_religion = yes } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support for non culture groups
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { is_state_religion = no } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweCampaign for secularism
	campaigning_secularism = {
		picture = "campaigning_secularism"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Every gov type can do this
			
			#Country is not secular
			NOT = { has_country_flag = desecularized }
			
			#Religious party
			OR = { religious_policy = secularized religious_policy = pro_atheism }
			
			#Religion is less of a politicised issue in highly educated nations
			NOT = { literacy = 0.20 }
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
		
			#Timer
			random_owned = {
				limit = { owner = { election = no } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 182 } }
			}
			random_owned = {
				limit = { owner = { election = yes } }
				owner = { add_country_modifier = { name = party_campaigning_timer duration = 50 } }
			}
			
			#State religion pops are happy (Secularism)
			any_pop = {
				limit = { is_state_religion = yes }
				scaled_militancy = {
					factor = -2
					issue = secularized
				}
				scaled_consciousness = {
					factor = -2
					issue = secularized
				}
				
				scaled_militancy = {
					factor = -2
					issue = pro_atheism
				}
				scaled_consciousness = {
					factor = -2
					issue = pro_atheism
				}
			}
			
			#Non state religion pops are angry
			any_pop = {
				limit = { is_state_religion = no }
				scaled_militancy = {
					factor = 2
					issue = moralism
				}
				scaled_consciousness = {
					factor = 2
					issue = moralism
				}
			}
			
			#Progressive and liberals are happy
			any_pop = {
				scaled_militancy = {
					factor = -1
					ideology = liberal
				}
				scaled_militancy = {
					factor = -1
					ideology = progressive
				}
			}
			
			#Boost ideology support from culture group
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { has_pop_religion = secularism } ideology = { factor = 0.02 value = communist_social } } } }
			
			#Reduce ideology support for non culture groups
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { NOT = { has_pop_religion = secularism } } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweDictatorship bribes - Rich Strata
	campaigning_dictatorship_rich = {
		picture = "campaigning_dictatorship_rich"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Dictatorships only
			NOT = { OR = { government = socialist_democracy government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = colonial_government government = mandate_government } }
			
			#Special ideology limitations
			NOT = { OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social } }
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
			add_country_modifier = { name = party_campaigning_timer duration = 182 }
			
			#Poor and middle get angry
			middle_strata = {
				militancy = 1
				consciousness = 1
			}
			poor_strata = {
				militancy = 2
				consciousness = 2
			}
			
			#Boost ideology support for the rich
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support for the poor
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweDictatorship bribes - Middle Strata
	campaigning_dictatorship_middle = {
		picture = "campaigning_middle_class"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Dictatorships only
			NOT = { OR = { government = socialist_democracy government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = colonial_government government = mandate_government } }
			
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
			add_country_modifier = { name = party_campaigning_timer duration = 182 }
			
			#Poor and middle get angry
			rich_strata = {
				militancy = 1
				consciousness = 1
			}
			poor_strata = {
				militancy = 1
				consciousness = 1
			}
			
			#Boost ideology support for the middle
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support for the poor
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = -0.02 value = communist_social } } } }
			
			#Reduce ideology support for the rich
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.02 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
		#cweDictatorship bribes - Poor Strata
	campaigning_dictatorship_poor = {
		picture = "campaigning_dictatorship_poor"

		potential = {
			has_country_flag = show_campaigning_decision
			ai = no
			
			#Dictatorships only
			NOT = { OR = { government = socialist_democracy government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = colonial_government government = mandate_government } }
			
		}
		allow = {
			NOT = { has_country_modifier = party_campaigning_timer }
		}
		effect = {
			add_country_modifier = { name = party_campaigning_timer duration = 182 }
			
			#Poor and middle get angry
			rich_strata = {
				militancy = 1
				consciousness = 1
			}
			middle_strata = {
				militancy = 1
				consciousness = 1
			}
			
			#Boost ideology support for the poor
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = poor } ideology = { factor = 0.04 value = communist_social } } } }
			
			#Reduce ideology support for the middle
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = middle } ideology = { factor = -0.02 value = communist_social } } } }
			
			#Reduce ideology support for the rich
			random_owned = { limit = { owner = { ruling_party_ideology = populist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = populist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = nationalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = traditionalist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = conservative } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = liberal } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = big_tent } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = progressive } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = socialist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = communist } } } }
			random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { strata = rich } ideology = { factor = -0.04 value = communist_social } } } }
			
		}
		ai_will_do = { 
			factor = 1 
		}
	}
	political_decisions = {

	#cwe executive_order = {
		picture = "executive_order"
		potential = {
			ai = no
			OR = { government = democracy government = democracy1 government = socialist_democracy }
			NOT = { has_country_modifier = law_changed_by_force }
			OR = {
				has_country_flag = presidential_system_republic
				has_country_flag = semi_presidential_system_republic
			}
		}
		
		allow = {
			election = no
		}

		alert = no

		effect = {
		
			#Remove Gridlocked Legislature
			random_owned = {
				limit = { owner = { has_country_flag = gridlocked_legislature } }
				owner = { 
					clr_country_flag = gridlocked_legislature
					
					#Unilateral action increases militancy
					any_pop = {
						limit = { location = { is_colonial = no } }
						militancy = 2
						consciousness = 2
					}
				}
			}
		
			add_country_modifier = { name = law_changed_by_force duration = 91 }

			random_owned = { 
				limit = { owner = { ruling_party_ideology = conservative } }
				owner = { any_pop = { ideology = { factor = -0.01 value = conservative } } upper_house = { ideology = conservative value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = big_tent } }
				owner = { any_pop = { ideology = { factor = -0.01 value = big_tent } } upper_house = { ideology = big_tent value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = socialist } }
				owner = { any_pop = { ideology = { factor = -0.01 value = socialist } } upper_house = { ideology = socialist value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = traditionalist } }
				owner = { any_pop = { ideology = { factor = -0.01 value = traditionalist } } upper_house = { ideology = traditionalist value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = populist } }
				owner = { any_pop = { ideology = { factor = -0.01 value = populist } } upper_house = { ideology = populist value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = nationalist } }
				owner = { any_pop = { ideology = { factor = -0.01 value = nationalist } } upper_house = { ideology = nationalist value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = progressive } }
				owner = { any_pop = { ideology = { factor = -0.01 value = progressive } } upper_house = { ideology = progressive value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = liberal } }
				owner = { any_pop = { ideology = { factor = -0.01 value = liberal } } upper_house = { ideology = liberal value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = communist } }
				owner = { any_pop = { ideology = { factor = -0.01 value = communist } } upper_house = { ideology = communist value = 0.25 } }
			}

			random_owned = { 
				limit = { owner = { ruling_party_ideology = communist_social } }
				owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } upper_house = { ideology = communist_social value = 0.25 } }
			}
			
			#Increase militancy and consciousness
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = traditionalist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = traditionalist } scaled_militancy = { factor = 2 ideology = traditionalist } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = conservative } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = conservative } scaled_militancy = { factor = 2 ideology = conservative } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = liberal } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = liberal } scaled_militancy = { factor = 2 ideology = liberal } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = big_tent } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = big_tent } scaled_militancy = { factor = 2 ideology = big_tent } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = progressive } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = progressive } scaled_militancy = { factor = 2 ideology = progressive } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = socialist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = socialist } scaled_militancy = { factor = 2 ideology = socialist } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = communist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = communist } scaled_militancy = { factor = 2 ideology = communist } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = communist_social } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = communist_social } scaled_militancy = { factor = 2 ideology = communist_social } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = nationalist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = nationalist } scaled_militancy = { factor = 2 ideology = nationalist } } } }
			random_owned = { limit = { owner = { NOT = { ruling_party_ideology = populist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = populist } scaled_militancy = { factor = 2 ideology = populist } } } }

		}

		ai_will_do = {
			factor = 0
		}
	}
#cwe fire_leader = {
	picture = "fire_leader"
		potential = {
		ai = no

has_country_flag = disabled_for_now

NOT = { has_country_flag = leadership_election }

			OR = {
has_country_modifier = expert_diplomat
has_country_modifier = successful_industrialist
has_country_modifier = ivory_tower_intellectual
has_country_modifier = man_of_the_people
has_country_modifier = landed_gentleman
has_country_modifier = military_man
has_country_modifier = lord_admiral
has_country_modifier = raving_loon
has_country_modifier = luddite
has_country_modifier = great_statesman
has_country_modifier = backroom_boy
has_country_modifier = great_reformer
has_country_modifier = gauche_buffoon
has_country_modifier = administrative_genius
has_country_modifier = visionary_thinker
has_country_modifier = competent_placeholder
has_country_modifier = imperious_autocrat
has_country_modifier = prince_of_terror
has_country_modifier = efficient_sociopath
has_country_modifier = pig_headed_isolationist
has_country_modifier = ambitious_union_boss
has_country_modifier = dour_economist
	}

OR = { government = hms_government government = hms_government1 government = socialist_democracy government = democracy government = democracy1 government = colonial_government government = mandate_government }
						}

		allow = {
NOT = { has_country_modifier = power_vacuum }
election = no
NOT = { has_country_modifier = leader_cooldown }
				}
alert = no
		effect = {
prestige_factor = -0.025

set_country_flag = leadership_election

add_country_modifier = { name = leader_cooldown duration = 365 }

clr_country_flag = right_set_up
clr_country_flag = far_right_set_up
clr_country_flag = centre_set_up
clr_country_flag = left_set_up
clr_country_flag = far_left_set_up

		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist

any_pop = { limit = { OR = { is_primary_culture = yes is_accepted_culture = yes } } militancy = 2 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

random_owned = { 
limit = { 
owner = { OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } } 
	} 

owner = { set_country_flag = right_set_up }

}

random_owned = { 
limit = { 
owner = { ruling_party_ideology = socialist } 
	} 

owner = { set_country_flag = left_set_up }

}

random_owned = { 
limit = { 
owner = { OR = { ruling_party_ideology = communist_social ruling_party_ideology = communist } }
	} 

owner = { set_country_flag = far_left_set_up }

}

random_owned = { 
limit = { 
owner = { OR = { ruling_party_ideology = traditionalist ruling_party_ideology = nationalist } }
	} 

owner = { set_country_flag = far_right_set_up }

}

random_owned = { 
limit = { 
owner = { OR = { ruling_party_ideology = populist ruling_party_ideology = liberal ruling_party_ideology = progressive } }
	} 

owner = { set_country_flag = centre_set_up }

}

		}
		ai_will_do = { 
			factor = 0
			}
	}
}
#cweLetters of Hope
country_event = {
  id = 8001087
  title = EVT_8001087_NAME
  desc = EVT_8001087_DESC
  picture = "nwo2_australia_letters_of_hope"
  fire_only_once = yes

	trigger = {
		tag = AST
		year = 1955 NOT = { year = 1960 }
		OR = { government = hms_government government = hms_government1 }
	}

	mean_time_to_happen = { months = 1  }

	option = {
		name = EVT_8001087_A
		any_pop = { 
			ideology = {
				factor = -0.025
				value = communist
			}
		}
	}

}
country_event = { #cweHawai'i 7
  id = 1623
  title = "Hawai'i 7"
  desc = EVTDESC1623
  picture = "hawaii_7"
  fire_only_once = yes

  trigger = {
    tag = USA
    year = 1951 NOT = { year = 1990 }
    owns = 658
NOT = { OR = { ruling_party_ideology = communist ruling_party_ideology = socialist } } 
	658 = { is_colonial = yes }
  }

   mean_time_to_happen = {
       months = 10
   }

  option = {
    name = "Are we not a land of Freedom?"
      658 = {
           any_pop = {
               limit = { NOT = { culture = white_anglo } }
           ideology = { factor = 0.3 value = communist }
           ideology = { factor = 0.2 value = progressive }
           consciousness = 2
           militancy = -1
           }
       }
      658 = {
           any_pop = {
               limit = { culture = white_anglo }
           consciousness = 6
           militancy = 4
           }
       }
       any_pop = {
limit = { OR = { is_accepted_culture = yes is_primary_culture = yes } }
scaled_consciousness = { factor = 0.4 ideology = nationalist }
scaled_consciousness = { factor = 0.3 ideology = conservative }
scaled_consciousness = { factor = 0.2 ideology = traditionalist }
scaled_consciousness = { factor = 0.2 ideology = populist }
       }

	ai_chance = { factor = 0.1 }

  }
  option = {
    name = "Arrest these men."
      658 = {
           any_pop = {
               limit = { NOT = { culture = white_anglo } }
           ideology = { factor = -0.05 value = communist }
           ideology = { factor = -0.05 value = progressive }
           consciousness = -1
           militancy = 3
           }
       }
      658 = {
           any_pop = {
               limit = { culture = white_anglo }
           consciousness = -2
           }
       }
       any_pop = {
limit = { OR = { is_accepted_culture = yes is_primary_culture = yes } }
scaled_consciousness = { factor = 0.4 ideology = communist }
scaled_consciousness = { factor = 0.3 ideology = progressive }
       }

  	ai_chance = { factor = 0.9 }
	}

}
country_event = { #cwe1954 Elections
  id = 1624
  title = "$YEAR$ Elections in Hawai'i"
  desc = EVTDESC1624
  picture = "hwi_1954_election"
  fire_only_once = yes

  trigger = {
    tag = USA
    year = 1954 NOT = { year = 1990 }
    owns = 658
    658 = { is_colonial = yes }
  }

   mean_time_to_happen = {
       months = 11
   }

  option = {
    name = "Appoint a Democratic Governor"
      658 = {
           any_pop = {
               limit = { NOT = { culture = white_anglo } }
           ideology = { factor = -0.15 value = communist }
           ideology = { factor = 0.3 value = progressive }
           consciousness = 2
           militancy = -1
           }
       }
      658 = {
           any_pop = {
               limit = { culture = white_anglo }
           consciousness = 4
           militancy = 2
           }
       }
       any_pop = {
limit = { OR = { is_accepted_culture = yes is_primary_culture = yes } }
scaled_consciousness = { factor = 0.4 ideology = nationalist }
scaled_consciousness = { factor = 0.3 ideology = conservative }
scaled_consciousness = { factor = 0.2 ideology = traditionalist }
scaled_consciousness = { factor = 0.2 ideology = populist }
       }
  ai_chance = {
       factor = 0.5
   }

}
  option = {
    name = "Appoint a Republican Governor"
      658 = {
           any_pop = {
               limit = { NOT = { culture = white_anglo } }
           ideology = { factor = -0.10 value = communist }
           ideology = { factor = 0.25 value = progressive }
           consciousness = 1
           militancy = 1
           }
       }
      658 = {
           any_pop = {
               limit = { culture = white_anglo }
           consciousness = -2
           }
       }
  ai_chance = { factor = 0.5 }
	}

}
#cweParty Discontent
country_event = {
	id = 7000099
	title = "Discontent in the Party"
	desc = EVTDESC7000099
	picture = "party_disconent_campaigning" 

	is_triggered_only = yes

	option = {
		name = "The party whip shall deal with them"
		
		#Increase militancy
		random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = nationalist } scaled_consciousness = { factor = 1 ideology = nationalist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = traditionalist } scaled_consciousness = { factor = 1 ideology = traditionalist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = conservative } scaled_consciousness = { factor = 1 ideology = conservative } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = liberal } scaled_consciousness = { factor = 1 ideology = liberal } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = big_tent } scaled_consciousness = { factor = 1 ideology = big_tent } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = progressive } scaled_consciousness = { factor = 1 ideology = progressive } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = socialist } scaled_consciousness = { factor = 1 ideology = socialist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = communist } scaled_consciousness = { factor = 1 ideology = communist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { location = { is_colonial = no } } scaled_militancy = { factor = 1 ideology = communist_social } scaled_consciousness = { factor = 1 ideology = communist_social } } } }
		
		#Reduce ideology support
		random_owned = { limit = { owner = { ruling_party_ideology = nationalist } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = nationalist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = traditionalist } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = traditionalist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = conservative } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = conservative } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = liberal } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = liberal } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = big_tent } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = big_tent } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = progressive } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = progressive } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = socialist } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = socialist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = communist } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = communist } } } }
		random_owned = { limit = { owner = { ruling_party_ideology = communist_social } } owner = { any_pop = { limit = { location = { is_colonial = no } } ideology = { factor = -0.02 value = communist_social } } } }
		
		#Chance of a party split
		random = {
			chance = 5
			country_event = 1610115
		}
		
		#Chance of a minister resigning
		random = {
			chance = 15
			country_event = 122003
		}
		
	}

}
#cweAssassinate exiled dissident, spy_medium_gp
country_event = {
	id = 68457
	title = "Assassinate Exiled Dissident?"
	desc = EVTDESC68457
	picture = "spieskilldissident"

	trigger = {
		has_country_modifier = spy_medium_gp 
		is_greater_power = yes
		war = no
		is_disarmed = no

OR = { government = presidential_dictatorship government = populist_dictatorship government = nationalist_dictatorship government = proletarian_dictatorship government = proletarian_dictatorship1 government = theocracy }

any_neighbor_country = { is_vassal = no NOT = { alliance_with = THIS } NOT = { in_sphere = THIS } }
	}

	mean_time_to_happen = {
		months = 72
	}

	option = {
		name = "Kill him (Risk of 5 infamy)"

random_country = { 
limit = { neighbour = THIS is_vassal = no NOT = { alliance_with = THIS } NOT = { in_sphere = THIS } } 
country_event = 68458
	}

	ai_chance = { 
	factor = 0.75
	modifier = { factor = 0 badboy = 0.5 } 
		}
	}

	option = {
		name = "No, thanks"

prestige = -100

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

	ai_chance = { factor = 0.25 }
	}

}
#cwePietro Badoglio War Trials
country_event = {
	id = 1410073
	title = "War Trial of Pietro Badoglio?"
	desc = EVTDESC1410073
	picture = "badoglio"
	
trigger = { 
tag = ITA
year = 1946
government = democracy
NOT = { has_country_flag = Badoglio }
NOT = { year = 1990 }
}

option = {
name = "Yes!"
prestige = 25
any_pop = { 
ideology = {
	factor = 0.2
	value = socialist
} 
ideology = {
	factor = 0.2
	value = communist
} 
	}
set_country_flag = Badoglio
ai_chance = { 
factor = 0.1
}
		}

option = {
name = "NO!"
prestige = -25
any_pop = { 
ideology = {
	factor = -0.2
	value = socialist
} 
ideology = {
	factor = -0.2
	value = communist
} 
	}
set_country_flag = Badoglio
ai_chance = { 
factor = 0.9
}
		}

}
#cweRodolfo Graziani War Trials
country_event = {
	id = 1410074
	title = "War Trial of Rodolfo Graziani"
	desc = EVTDESC1410074
	picture = "graziani"
	
trigger = { 
tag = ITA
year = 1948
government = democracy
NOT = { has_country_flag = Graziani }
NOT = { year = 1990 }
}

option = {
name = "Give him the harsh sentence!"
prestige = 25
any_pop = { 
ideology = {
	factor = 0.2
	value = socialist
} 
ideology = {
	factor = 0.2
	value = communist
} 
	}
set_country_flag = Graziani
ai_chance = { 
factor = 0.1
}
		}

option = {
name = "Give him the light sentence!"
prestige = -25
any_pop = { 
ideology = {
	factor = -0.2
	value = socialist
} 
ideology = {
	factor = -0.2
	value = communist
} 
	}
set_country_flag = Graziani
ai_chance = { 
factor = 0.9
}
		}

}
#cweOperation Moongoose - Superpower's sphere
country_event = {
	id = 1410113
	title = "Anti-$FROMCOUNTRY_ADJ$ Instigators"
	desc = EVTDESC1410113
	picture = "high_rebels"
	
	is_triggered_only = yes

	option = {
		name = "We must find those insurgents!"
		
		#Population supports ideology of rival superpower less
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = traditionalist } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = traditionalist } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = conservative } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = conservative } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = liberal } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = liberal } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = big_tent } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = big_tent } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = progressive } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = progressive } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = socialist } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = socialist } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = communist } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = communist } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = communist_social } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = communist_social } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = nationalist } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = nationalist } } } }
		random_owned = { limit = { owner = { FROM = { ruling_party_ideology = populist } } } owner = { any_pop = { militancy = 2 consciousness = 1 ideology = { factor = -0.04 value = populist } } } }

		#Rival superpower loses influence and relation in THIS
		random_country = {
			limit = { 
				NOT = { tag = FROM }
				OR = { 
					has_country_modifier = un_king1 
					has_country_modifier = un_king2 
				} 
			}
			relation = { who = THIS value = -25 }
			diplomatic_influence = { who = THIS value = -25 }
		}
		
		#Add interference modifier to rural provinces
		any_owned = {
			limit = { is_state_capital = no }
			add_province_modifier = { name = superpower_backed_rebels duration = 730 }
		}

	}
	
}
#cweCyber Attack Political
country_event = {
	id = 1412059
	title = "Cyber interference in our elections"
	desc = EVTDESC1412059
	picture = "political_cyber_attack"

is_triggered_only = yes

	option = {
		name = "This is intolerable!"
prestige = -25

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.15 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.15 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.15 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.15 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.15 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.15 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.15 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.15 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.15 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.15 value = communist_social } } }
}

poor_strata = {
	consciousness = 1
	militancy = 1
}
middle_strata = {
	consciousness = 3
	militancy = 2
}
rich_strata = {
	consciousness = 4
	militancy = 3
}

any_owned = { 
limit = {
is_colonial = no 
OR = { is_capital = yes is_state_capital = yes } 
} 
add_province_modifier = { name = cyber_political_attack duration = 180 } 
}
					}
		}


#cweFailed Outcome
country_event = {
	id = 1412155
title = "International Peace Summit in $CAPITAL$ Collapses"
	desc = "The superpowers have decided to reject our offer to host summit talks to soothe tensions between the superpowers as they are unable to reconcile their deep divisions at the moment."

	picture = "crisis_talks"

is_triggered_only = yes

option = {
name = "Terrible!"
prestige = -25
relation = { who = FROM value = -50 }

clr_country_flag = nobel_peace_prize_recipient

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

		}
}

#cweMedia Conspiracy
country_event = {
	id = 1412168
title = "Media conspiracy to influence the $YEAR$ election"
	desc = EVTDESC1412168
	picture = "media_conspiracy"

trigger = {
election = yes
war = no
social_networking = 1
OR = { publishing_rights = unregulated_publishing publishing_rights = responsible_publishing }
OR = { average_militancy = 3 average_consciousness = 3 }
NOT = { has_country_modifier = media_conspiracy1 }
NOT = { has_country_modifier = media_conspiracy2 }
}

mean_time_to_happen = { 
months = 3
}

option = {
name = "Interesting"
prestige = -10
any_pop = { militancy = 1 }
any_pop = { consciousness = 3 }
random_list = {
50 = { 
add_country_modifier = { name = media_conspiracy1 duration = 365 } 

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = 0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = 0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = 0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = 0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = 0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = 0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = 0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = 0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = 0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = 0.05 value = communist_social } } }
}

	}
50 = { 
add_country_modifier = { name = media_conspiracy2 duration = 365 } 

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

	}
}

		}

}
#cweMartial Law Future decide - Non vassals
country_event = {
	id = 1412225
title = "Illegal State of Emergency"
	desc = EVTDESC1412225
	picture = "martial_law_choice"

trigger = {

war = no

OR = { election = yes NOT = { average_militancy = 3 } }

is_vassal = no

has_country_modifier = martial_law

}

mean_time_to_happen = { 
months = 12
modifier = { factor = 0 election = yes }
	}

option = {
name = "Return to democracy"

clr_country_flag = prolonged_state_of_emergency

add_country_modifier = { name = martial_law_timer duration = 365 }

random_owned = { 
limit = { owner = { NOT = { OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = socialist_democracy } } } }
owner = { country_event = 800054 }
}

remove_country_modifier = martial_law

#What meeting laws to revert back to

random_owned = { 
limit = { owner = { has_country_flag = return_to_free_meetings } }
owner = { political_reform = free_meetings clr_country_flag = return_to_free_meetings }
}

random_owned = { 
limit = { owner = { has_country_flag = return_to_limited_meetings } }
owner = { political_reform = limited_meetings clr_country_flag = return_to_limited_meetings }
}

#What press laws to revert back to
			
random_owned = { 
limit = { owner = { has_country_flag = return_to_responsible_publishing  } }
owner = { political_reform = responsible_publishing clr_country_flag = return_to_responsible_publishing }
}

random_owned = { 
limit = { owner = { has_country_flag = return_to_unregulated_publishing} }
owner = { political_reform = unregulated_publishing clr_country_flag = return_to_unregulated_publishing }
}

random_owned = { 
limit = { owner = { has_country_flag = return_to_firewall_publishing } }
owner = { political_reform = firewall_publishing clr_country_flag = return_to_firewall_publishing }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

ai_chance = { 
factor = 1 
modifier = { 
factor = 0 
OR = { ruling_party_ideology = populist ruling_party_ideology = traditionalist ruling_party_ideology = nationalist ruling_party_ideology = communist ruling_party_ideology = communist_social } 
		} 
}

		}

option = {
name = "I'll make it legal (become a dictatorship)"
prestige_factor = -0.05

clr_country_flag = prolonged_state_of_emergency
remove_country_modifier = martial_law

#No return to old meeting reform
clr_country_flag = return_to_free_meetings
clr_country_flag = return_to_limited_meetings

#No return to old press reform
clr_country_flag = return_to_responsible_publishing
clr_country_flag = return_to_unregulated_publishing
clr_country_flag = return_to_firewall_publishing

country_event = 800050

add_country_modifier = { name = revolution_chaos duration = 3650 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = conservative } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = big_tent } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = socialist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = traditionalist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = populist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = nationalist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = progressive } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = liberal } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = communist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = communist_social } } militancy = 10 } }
}

ai_chance = { 
factor = 1 

modifier = { 
factor = 0 
NOT = { OR = { ruling_party_ideology = populist ruling_party_ideology = traditionalist ruling_party_ideology = nationalist ruling_party_ideology = communist ruling_party_ideology = communist_social } }
		} 

}
		}

}
#cweMartial Law Future decide - Vassal
country_event = {
	id = 1413225
title = "Continuation of the State of Emergency?"
	desc = EVTDESC1412225
	picture = "martial_law_choice"

trigger = {

war = no

election = no 

OR = { election = yes NOT = { average_militancy = 3 } }

is_vassal = yes

has_country_modifier = martial_law

}

mean_time_to_happen = { 
months = 3
modifier = { factor = 0 election = yes }
modifier = { factor = 3 has_country_flag = prolonged_state_of_emergency }
	}

option = {
name = "Return to normality"
remove_country_modifier = martial_law
add_country_modifier = { name = martial_law_timer duration = 365 }

clr_country_flag = prolonged_state_of_emergency

#What meeting laws to revert back to

random_owned = { 
limit = { owner = { has_country_flag = return_to_free_meetings } }
owner = { political_reform = free_meetings clr_country_flag = return_to_free_meetings }
			}

random_owned = { 
limit = { owner = { has_country_flag = return_to_limited_meetings } }
owner = { political_reform = limited_meetings clr_country_flag = return_to_limited_meetings }
			}

#What press laws to revert back to
			
random_owned = { 
limit = { owner = { has_country_flag = return_to_responsible_publishing  } }
owner = { political_reform = responsible_publishing clr_country_flag = return_to_responsible_publishing }
			}

random_owned = { 
limit = { owner = { has_country_flag = return_to_unregulated_publishing} }
owner = { political_reform = unregulated_publishing clr_country_flag = return_to_unregulated_publishing }
			}

random_owned = { 
limit = { owner = { has_country_flag = return_to_firewall_publishing } }
owner = { political_reform = firewall_publishing clr_country_flag = return_to_firewall_publishing }
			}

#Pop ideology support effects

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

ai_chance = { factor = 1 }
		}

option = {
name = "Prolong the State of emergency!"

set_country_flag = prolonged_state_of_emergency

add_country_modifier = { name = revolution_chaos duration = 365 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

ai_chance = { factor = 0 }
		}

}
#End of the Warsaw Pact - choose Gov type
country_event = {
	id = 1512137
title = "Constitutional Conference of $YEAR$"
	desc = EVTDESC1512137
	picture = "warsaw_pact_end_gov"

is_triggered_only = yes

option = {
name = "Embrace democracy!"
government = democracy
country_event = 800054
ruling_party_ideology = liberal
any_pop = { ideology = { factor = 0.25 value = liberal } }
ai_chance = { factor = 0.9 }
		}

option = {
name = "Maintain the status quo"
add_country_modifier = { name = revolution_chaos duration = 3650 }
any_pop = { ideology = { factor = -0.25 value = communist } }
ai_chance = { factor = 0.1 }
		}

}
#cweChina Land Reform, 1950
country_event = {
	id = 1512216
title = "Chinese Land Reform of 1950"
	desc = EVTDESC1512216
	picture = "1950_chi_land_reform"

fire_only_once = yes

trigger = {

tag = CHI

war = no

owns = 2221 #Owns Nanjing, won Chinese Civil War

government = proletarian_dictatorship

year = 1950

NOT = { year = 1974 }

}

mean_time_to_happen = { 
months = 6
	}

option = {
name = "Redistribute land to the peasants!"

any_pop = { limit = { OR = { type = artisans type = capitalists } } pop_type = clerks }

any_pop = { limit = { type = aristocrats } pop_type = bureaucrats }

any_pop = { 
ideology = {
	factor = 0.2
	value = communist
}
}
ai_chance = { factor = 0.9 }
		}

option = {
name = "Wait until the time is ripe"
any_pop = { 
ideology = {
	factor = -0.25
	value = communist
}
}
add_country_modifier = { name = revolution_chaos duration = 3650 }
ai_chance = { factor = 0.1 }
		}

}
#cweThe Great Leap Forward
country_event = {
	id = 1512217
title = "The Great Leap Forward"
	desc = EVTDESC1512217
	picture = "great_leap_forward_evt"

fire_only_once = yes

trigger = {

tag = CHI

war = no

owns = 2221 #Owns Nanjing, won Chinese Civil War

government = proletarian_dictatorship

year = 1958

NOT = { year = 1974 }

}

mean_time_to_happen = { 
months = 6
	}

option = {
name = "Light the backyard furnaces!"

set_country_flag = great_leap_forward_flag

add_country_modifier = { name = yugoslaveia_economic_boom duration = 1825 }

any_pop = { limit = { OR = { type = artisans type = capitalists } } pop_type = clerks }

any_pop = { limit = { type = aristocrats pop_majority_ideology = communist } pop_type = bureaucrats }

any_pop = { limit = { type = aristocrats NOT = { pop_majority_ideology = communist } } pop_type = craftsmen }

any_pop = { 
ideology = {
	factor = -0.1
	value = communist
}
}

clr_country_flag = economic_malaise

country_event = { id = 8002816 days = 365 }

any_owned = {
any_pop = { 
limit = { type = craftsmen } 
reduce_pop = 1.25 
}
}

ai_chance = { factor = 0.9 }
		}

option = {
name = "I don't want to cause the next Great Famine"
any_pop = { 
ideology = {
	factor = 0.1
	value = communist
}
}
ai_chance = { factor = 0.1 }
		}

}
#cweFormer States of the USSR
country_event = {
	id = 1512240
title = "Dissolution of the USSR"
	desc = EVTDESC1512240
	picture = "rose_revolution"

is_triggered_only = yes

option = {
name = "Embrace democracy!"
RUS = { release = THIS }
prestige = 50
RUS = { diplomatic_influence = { who = THIS value = 200 } }
government = democracy
country_event = 800054
country_event = { id = 1512137 days = 2 }
ai_chance = { factor = 0.9 }
		}

option = {
name = "Remain Communist!"
RUS = { release = THIS }
country_event = 800050
government = proletarian_dictatorship
ruling_party_ideology = communist_social
add_country_modifier = { name = revolution_chaos duration = 3650 }
any_pop = { ideology = { factor = -0.3 value = communist } }
ai_chance = { factor = 0.1 }
		}

}
#cweCalls to abolish the $COUNTRY_ADJ$ Monarchy
country_event = {
  id = 1512330
  title = "Call to Abolish the $COUNTRY_ADJ$ Monarchy"
  desc = EVTDESC1512330
  picture = "protests_to_abolish_monarchy"

	is_triggered_only = yes

  option = {
	name = "Force the Monarch to abdicate!"
	prestige_factor = -0.05
	government = democracy
	country_event = 800054

any_pop = { limit = { OR = { pop_majority_ideology = traditionalist pop_majority_ideology = conservative } } militancy = 6 }

any_pop = { limit = { OR = { pop_majority_ideology = socialist pop_majority_ideology = communist pop_majority_ideology = communist_social pop_majority_ideology = liberal pop_majority_ideology = progressive } } militancy = -6 }

	ai_chance = { factor = 0 }	
  }

  option = {
	name = "The people are misguided"

add_country_modifier = { name = revolution_chaos duration = 1825 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}
	
any_pop = { limit = { OR = { pop_majority_ideology = socialist pop_majority_ideology = communist pop_majority_ideology = communist_social pop_majority_ideology = liberal pop_majority_ideology = progressive } } militancy = 6 }

	ai_chance = { factor = 1 }	
  }

}
#cweAnger against Conscription
country_event = {
	id = 1512349
	title = "Controversy over Conscription"
	desc = EVTDESC1512349
	picture = "conscription_controversy"

	trigger = {

		OR = { 
			lgbt_rights = lgbt_promoted
			lgbt_rights = lgbt_allowed
			lgbt_rights = lgbt_equal_rights
		}

		war = no
		has_recently_lost_war = no

		average_militancy = 2

		OR = { government = democracy government = democracy1 government = socialist_democracy government = hms_government government = hms_government1 }

		OR = {
			pop_majority_ideology = liberal
			pop_majority_ideology = progressive
			has_country_modifier = massive_government_corruption
			has_country_modifier = large_government_corruption
			has_country_modifier = medium_government_corruption
		}

	}

	mean_time_to_happen = { 
		months = 60 
		modifier = { factor = 0.75 average_militancy = 2 }
		modifier = { factor = 0.75 average_militancy = 3 }
		modifier = { factor = 0.75 average_militancy = 4 }
		modifier = { factor = 0.75 average_militancy = 5 }
		modifier = { factor = 0.75 average_militancy = 6 }
	}

	option = {
		name = "Maintain our current conscription laws"

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.01 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.01 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.01 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.01 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist_social } } }
		}
		
		#Increase militancy and consciousness
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = traditionalist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = traditionalist } scaled_militancy = { factor = 2 ideology = traditionalist } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = conservative } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = conservative } scaled_militancy = { factor = 2 ideology = conservative } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = liberal } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = liberal } scaled_militancy = { factor = 2 ideology = liberal } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = big_tent } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = big_tent } scaled_militancy = { factor = 2 ideology = big_tent } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = progressive } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = progressive } scaled_militancy = { factor = 2 ideology = progressive } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = socialist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = socialist } scaled_militancy = { factor = 2 ideology = socialist } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = communist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = communist } scaled_militancy = { factor = 2 ideology = communist } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = communist_social } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = communist_social } scaled_militancy = { factor = 2 ideology = communist_social } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = nationalist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = nationalist } scaled_militancy = { factor = 2 ideology = nationalist } } } }
		random_owned = { limit = { owner = { NOT = { ruling_party_ideology = populist } } } owner = { any_pop = { scaled_consciousness = { factor = 2 ideology = populist } scaled_militancy = { factor = 2 ideology = populist } } } }

		ai_chance = { 
			factor = 0.9 
			modifier = { 
				factor = 0 
				OR = { ruling_party_ideology = liberal ruling_party_ideology = progressive } 
			} 
		}

	}

	option = {
		name = "Loosen our conscription laws"

		#Officers get angry
		any_pop = {
			limit = { type = officers }
			scaled_militancy = {
				factor = 10
				ideology = nationalist
			}
			scaled_militancy = {
				factor = 5
				ideology = populist
			}
		}

		#two_year_draft to one_year_draft
		random_owned = { 
			limit = { owner = { lgbt_rights = lgbt_equal_rights } }
			owner = { political_reform = gender_neutrallity }
		}

		#three_year_draft to two_year_draft
		random_owned = { 
			limit = { owner = { lgbt_rights = lgbt_allowed } }
			owner = { political_reform = lgbt_equal_rights }
		}

		#mandatory_service to three_year_draft
		random_owned = { 
			limit = { owner = { lgbt_rights = lgbt_promoted } }
			owner = { political_reform = lgbt_allowed }
		}

		ai_chance = { factor = 0.1 }

	}

}
#cweAnger against Conscription
country_event = {
	id = 1512350
	title = "Calls to Abolish Conscription"
	desc = EVTDESC1512349
	picture = "conscription_controversy"

	trigger = {

		lgbt_rights = gender_neutrallity

		war = no
		has_recently_lost_war = no

		NOT = { any_owned_province = { has_province_modifier = unstable_region } }

		OR = { government = democracy government = democracy1 government = socialist_democracy government = hms_government government = hms_government1 }

		OR = {
			pop_majority_ideology = liberal
			pop_majority_ideology = progressive
			has_country_modifier = massive_government_corruption
			has_country_modifier = large_government_corruption
			has_country_modifier = medium_government_corruption
		}

	}

	mean_time_to_happen = { 
		months = 60 
		modifier = { factor = 0.75 average_militancy = 2 }
		modifier = { factor = 0.75 average_militancy = 3 }
		modifier = { factor = 0.75 average_militancy = 4 }
		modifier = { factor = 0.75 average_militancy = 5 }
		modifier = { factor = 0.75 average_militancy = 6 }
	}

	option = {
		name = "Maintain our current conscription laws"

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
		}

		ai_chance = { 
			factor = 0.9 
			modifier = { 
				factor = 0 
				OR = { ruling_party_ideology = liberal ruling_party_ideology = progressive } 
			} 
		}

	}

	option = {
		name = "End conscription in $COUNTRY$"

		#Officers get angry
		any_pop = {
			limit = { type = officers }
			scaled_militancy = {
				factor = 10
				ideology = nationalist
			}
			scaled_militancy = {
				factor = 5
				ideology = populist
			}
		}

		political_reform = lgbt_outlawed

		ai_chance = { factor = 0.1 }

	}

}
#cweCivil Service Strikes 
country_event = {
	id = 1610009
	title = "Civil Service Strikes"
	desc = EVTDESC1610009
	picture = "civil_service_strikes"

	trigger = {
		ai = no
		war = no
		election = no
		OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = socialist_democracy }
		NOT = { crime_fighting = 0.6 }
	}

	mean_time_to_happen = { 
		months = 60
		modifier = { factor = 0.8 NOT = { crime_fighting = 0.5 } }
		modifier = { factor = 0.8 NOT = { crime_fighting = 0.4 } }
		modifier = { factor = 0.8 NOT = { crime_fighting = 0.3 } }
		modifier = { factor = 0.8 NOT = { crime_fighting = 0.2 } }
		modifier = { factor = 0.8 NOT = { crime_fighting = 0.1 } }
	}

	option = {
		name = "They are already over paid!"

		any_pop = { limit = { type = bureaucrats } militancy = 5 }

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.01 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.01 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.01 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.01 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist_social } } }
		}

	}
}
#cweTeacher's Strike
country_event = {
	id = 1610010
	title = "Teacher's Strike"
	desc = EVTDESC1610010
	picture = "teachers_strikes"

	trigger = {
		ai = no
		war = no
		election = no
		OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = socialist_democracy }
		NOT = { education_spending = 0.6 }
	}

	mean_time_to_happen = { 
		months = 60
		modifier = { factor = 0.8 NOT = { education_spending = 0.5 } }
		modifier = { factor = 0.8 NOT = { education_spending = 0.4 } }
		modifier = { factor = 0.8 NOT = { education_spending = 0.3 } }
		modifier = { factor = 0.8 NOT = { education_spending = 0.2 } }
		modifier = { factor = 0.8 NOT = { education_spending = 0.1 } }
	}

	option = {
		name = "They are already over paid!"
		
		any_pop = { limit = { type = clergymen } militancy = 5 }

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.01 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.01 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.01 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.01 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist_social } } }
		}

	}
}
#cweDoctor's Strike
country_event = {
	id = 1610011
	title = "Doctor's Strike"
	desc = EVTDESC1610011
	picture = "doctors_strikes"

	trigger = {
		ai = no
		war = no
		election = no
		OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = socialist_democracy }
		NOT = { social_spending = 0.6 }
	}

	mean_time_to_happen = { 
		months = 60
		modifier = { factor = 0.8 NOT = { social_spending = 0.5 } }
		modifier = { factor = 0.8 NOT = { social_spending = 0.4 } }
		modifier = { factor = 0.8 NOT = { social_spending = 0.3 } }
		modifier = { factor = 0.8 NOT = { social_spending = 0.2 } }
		modifier = { factor = 0.8 NOT = { social_spending = 0.1 } }
	}

	option = {
		name = "They are already over paid!"

		any_pop = { limit = { type = aristocrats } militancy = 2 }
		any_pop = { limit = { type = bureaucrats } militancy = 2 }

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.01 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.01 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.01 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.01 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist_social } } }
		}

	}
}
#cweImpeachment!
country_event = {
	id = 1610032
	title = "$MONARCHTITLE$ is Impeached!"
	desc = EVTDESC1610032
	picture = "impeachment"

trigger = {
OR = { government = democracy government = democracy1 government = socialist_democracy }

#Only presidential or semi-presidential republics
OR = {
	has_country_flag = presidential_system_republic
	has_country_flag = semi_presidential_system_republic
}

election = no
war = no
OR = { has_country_modifier = ruling_party_scandal has_country_modifier = party_scandal_evidence AND = { has_country_modifier = martial_law NOT = { average_militancy = 3 } } }
average_militancy = 1

NOT = { has_country_modifier = headless_chicken }
NOT = { has_country_modifier = leader_cooldown }

OR = { 

AND = { 
ruling_party_ideology = traditionalist 
NOT = { upper_house = { ideology = traditionalist value = 0.33 } }
NOT = { pop_majority_ideology = traditionalist }
}

AND = { 
ruling_party_ideology = conservative
NOT = { upper_house = { ideology = conservative value = 0.33 } }
NOT = { pop_majority_ideology = conservative }
}

AND = { 
ruling_party_ideology = big_tent 
NOT = { upper_house = { ideology = big_tent value = 0.33 } }
NOT = { pop_majority_ideology = big_tent }
}

AND = { 
ruling_party_ideology = socialist 
NOT = { upper_house = { ideology = socialist value = 0.33 } }
NOT = { pop_majority_ideology = socialist }
}

AND = { 
ruling_party_ideology = communist 
NOT = { upper_house = { ideology = communist value = 0.33 } }
NOT = { pop_majority_ideology = communist }
}

AND = { 
ruling_party_ideology = communist_social 
NOT = { upper_house = { ideology = communist_social value = 0.33 } }
NOT = { pop_majority_ideology = communist_social }
}

AND = { 
ruling_party_ideology = populist 
NOT = { upper_house = { ideology = populist value = 0.33 } }
NOT = { pop_majority_ideology = populist }
}

AND = { 
ruling_party_ideology = nationalist 
NOT = { upper_house = { ideology = nationalist value = 0.33 } }
NOT = { pop_majority_ideology = nationalist }
}

AND = { 
ruling_party_ideology = liberal 
NOT = { upper_house = { ideology = liberal value = 0.33 } }
NOT = { pop_majority_ideology = liberal }
}

AND = { 
ruling_party_ideology = progressive 
NOT = { upper_house = { ideology = progressive value = 0.33 } }
NOT = { pop_majority_ideology = progressive }
}

	}

}

mean_time_to_happen = { 
months = 3
}

option = {
name = "Damn the opposition!"
prestige_factor = -0.04
country_event = 111222

remove_country_modifier = ruling_party_scandal
remove_country_modifier = party_scandal_evidence 

any_pop = { limit = { OR = { is_primary_culture = yes is_accepted_culture = yes } } militancy = 2 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.10 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.10 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.10 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.10 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.10 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.10 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.10 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.10 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.10 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.10 value = communist_social } } }
}

#End state of emergency

clr_country_flag = prolonged_state_of_emergency

#What meeting laws to revert back to

random_owned = { 
	limit = { owner = { has_country_flag = return_to_free_meetings } }
	owner = { political_reform = free_meetings clr_country_flag = return_to_free_meetings }
	}

random_owned = { 
	limit = { owner = { has_country_flag = return_to_limited_meetings } }
	owner = { political_reform = limited_meetings clr_country_flag = return_to_limited_meetings }
	}

#What press laws to revert back to
			
random_owned = { 
	limit = { owner = { has_country_flag = return_to_responsible_publishing  } }
	owner = { political_reform = responsible_publishing clr_country_flag = return_to_responsible_publishing }
	}

random_owned = { 
	limit = { owner = { has_country_flag = return_to_unregulated_publishing} }
	owner = { political_reform = unregulated_publishing clr_country_flag = return_to_unregulated_publishing }
	}

random_owned = { 
	limit = { owner = { has_country_flag = return_to_firewall_publishing } }
	owner = { political_reform = firewall_publishing clr_country_flag = return_to_firewall_publishing }
	}

remove_country_modifier = martial_law

	}

}
#cweVote of no Confidence!
country_event = {
	id = 16100321
	title = "Vote of No Confidence!"
	desc = EVTDESC16100321
	picture = "vote_of_no_confidence"

trigger = {
OR = { government = democracy government = democracy1 government = socialist_democracy }

#Parliamentary democracy only
has_country_flag = parliamentary_system_republic

election = no
war = no
NOT = { OR = { has_country_modifier = ruling_party_scandal has_country_modifier = party_scandal_evidence } }
OR = { average_militancy = 4 AND = { has_country_modifier = martial_law NOT = { average_militancy = 3 } } }

NOT = { has_country_modifier = headless_chicken }
NOT = { has_country_modifier = leader_cooldown }
NOT = { has_country_modifier = power_vacuum }

OR = { 

AND = { 
OR = { ruling_party_ideology = traditionalist ruling_party_ideology = conservative }

NOT = { upper_house = { ideology = traditionalist value = 0.17 } }
NOT = { upper_house = { ideology = conservative value = 0.17 } }
}

AND = { 
OR = { ruling_party_ideology = socialist ruling_party_ideology = communist ruling_party_ideology = communist_social }

NOT = { upper_house = { ideology = socialist value = 0.17 } }
NOT = { upper_house = { ideology = communist value = 0.17 } }
NOT = { upper_house = { ideology = communist_social value = 0.17 } }
}

AND = { 
OR = { ruling_party_ideology = nationalist ruling_party_ideology = populist }

NOT = { upper_house = { ideology = nationalist value = 0.17 } }
NOT = { upper_house = { ideology = populist value = 0.17 } }
}

AND = { 
OR = { ruling_party_ideology = liberal ruling_party_ideology = progressive }

NOT = { upper_house = { ideology = liberal value = 0.17 } }
NOT = { upper_house = { ideology = progressive value = 0.17 } }
}

AND = { 
ruling_party_ideology = big_tent

NOT = { upper_house = { ideology = big_tent value = 0.33 } }
}

	}

}

mean_time_to_happen = { 
months = 6
}

option = {
name = "Damn the opposition!"
prestige_factor = -0.025

election = yes

remove_country_modifier = ruling_party_scandal
remove_country_modifier = party_scandal_evidence 

any_pop = { limit = { OR = { is_primary_culture = yes is_accepted_culture = yes } } militancy = -2 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

#End state of emergency

clr_country_flag = prolonged_state_of_emergency

#What meeting laws to revert back to

random_owned = { 
	limit = { owner = { has_country_flag = return_to_free_meetings } }
	owner = { political_reform = free_meetings clr_country_flag = return_to_free_meetings }
	}

random_owned = { 
	limit = { owner = { has_country_flag = return_to_limited_meetings } }
	owner = { political_reform = limited_meetings clr_country_flag = return_to_limited_meetings }
	}

#What press laws to revert back to
			
random_owned = { 
	limit = { owner = { has_country_flag = return_to_responsible_publishing  } }
	owner = { political_reform = responsible_publishing clr_country_flag = return_to_responsible_publishing }
	}

random_owned = { 
	limit = { owner = { has_country_flag = return_to_unregulated_publishing} }
	owner = { political_reform = unregulated_publishing clr_country_flag = return_to_unregulated_publishing }
	}

random_owned = { 
	limit = { owner = { has_country_flag = return_to_firewall_publishing } }
	owner = { political_reform = firewall_publishing clr_country_flag = return_to_firewall_publishing }
	}

remove_country_modifier = martial_law

	}

}
#cweGeneric Corruption Scandal
country_event = {
	id = 1610039
title = "Major Corruption Scandal"
	desc = EVTDESC1610039
	picture = "major_corruption_scandal"

trigger = {

NOT = { has_country_modifier = leadership_chaos }
NOT = { has_country_modifier = ruling_party_scandal }

OR = { 
has_country_modifier = massive_government_corruption has_country_modifier = large_government_corruption has_country_modifier = medium_government_corruption has_country_modifier = low_government_corruption 
}

OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = mandate_government government = socialist_democracy }
}

mean_time_to_happen = { 
months = 12
modifier = { factor = 2 OR = { has_country_modifier = large_government_corruption has_country_modifier = large_societal_corruption } }
modifier = { factor = 3 OR = { has_country_modifier = medium_government_corruption has_country_modifier = medium_government_corruption } }
modifier = { factor = 4 OR = { has_country_modifier = low_government_corruption has_country_modifier = low_government_corruption } }

modifier = { factor = 3 has_country_modifier = nepohigh }
modifier = { factor = 2 has_country_modifier = nepomedium }
modifier = { factor = 0.5 election = yes }

modifier = { factor = 3 publishing_rights = censored_publishing }

modifier = { factor = 2 publishing_rights = firewall_publishing }

modifier = { factor = 2 NOT = { average_militancy = 3 } }

}

option = {
name = "Cover it up!"

random = {
	chance = 35
add_country_modifier = { name = ruling_party_scandal duration = 365 }
}

add_country_modifier = { name = leadership_chaos duration = 10 }

add_tax_relative_income = -25

ai_chance = { factor = 0.75 }
		}

option = {
name = "Admit our mistake!"

prestige = -25

add_country_modifier = { name = leadership_chaos duration = 60 }

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}

ai_chance = { factor = 0.25 }
		}

}
#cweBackbencher's plot - constitutional monarchies or parliamentary republics
country_event = {
	id = 1610048
	title = "Backbencher's Plot"
	desc = EVTDESC1610048
	picture = "backbenchers_plot"

	trigger = {

		NOT = { has_country_modifier = leader_cooldown }

		NOT = { has_country_flag = leader_refuses_to_leave }

		election = no

		average_militancy = 4

		OR = { 

			has_country_modifier = ruling_party_scandal 
			average_militancy = 5

			AND = { ruling_party_ideology = traditionalist NOT = { pop_majority_ideology = traditionalist } }

			AND = { ruling_party_ideology = conservative NOT = { pop_majority_ideology = conservative } }

			AND = { ruling_party_ideology = big_tent NOT = { pop_majority_ideology = big_tent } }

			AND = { ruling_party_ideology = socialist NOT = { pop_majority_ideology = socialist } }

			AND = { ruling_party_ideology = communist NOT = { pop_majority_ideology = communist } }

			AND = { ruling_party_ideology = communist_social NOT = { pop_majority_ideology = communist_social } }

			AND = { ruling_party_ideology = populist NOT = { pop_majority_ideology = populist } }

			AND = { ruling_party_ideology = progressive NOT = { pop_majority_ideology = progressive } }

			AND = { ruling_party_ideology = liberal NOT = { pop_majority_ideology = liberal } }

		}

		OR = { government = hms_government government = hms_government1 has_country_flag = parliamentary_system_republic }

		war = no

		NOT = { has_country_modifier = nepohigh }

		OR = {
			has_country_modifier = expert_diplomat
			has_country_modifier = successful_industrialist
			has_country_modifier = ivory_tower_intellectual
			has_country_modifier = man_of_the_people
			has_country_modifier = landed_gentleman
			has_country_modifier = military_man
			has_country_modifier = lord_admiral
			has_country_modifier = raving_loon
			has_country_modifier = luddite
			has_country_modifier = great_statesman
			has_country_modifier = backroom_boy
			has_country_modifier = great_reformer
			has_country_modifier = gauche_buffoon
			has_country_modifier = administrative_genius
			has_country_modifier = visionary_thinker
			has_country_modifier = competent_placeholder
			has_country_modifier = imperious_autocrat
			has_country_modifier = prince_of_terror
			has_country_modifier = efficient_sociopath
			has_country_modifier = pig_headed_isolationist
			has_country_modifier = ambitious_union_boss
			has_country_modifier = dour_economist
			has_country_modifier = power_vacuum
		}

	}

	mean_time_to_happen = { 
		months = 6

		modifier = { factor = 2 has_country_modifier = nepomedium }
		modifier = { factor = 2 NOT = { average_militancy = 3 } }
		modifier = { factor = 2 NOT = { average_militancy = 2 } }
		modifier = { factor = 2 NOT = { average_militancy = 1 } }
	}

	option = {
		name = "Accept their demands"

		country_event = 111222

		any_pop = { militancy = -2 consciousness = -2 }

		ai_chance = { factor = 0.75 }
	}

option = {
name = "Refuse to leave!"

prestige_factor = -0.01

any_pop = { militancy = 2 consciousness = 2 }

add_country_modifier = { name = leadership_chaos duration = 100 }

set_country_flag = leader_refuses_to_leave

#Chance of starting military unrest
random_owned = {
limit = { owner = { has_country_flag = military_loyalty_low } }
owner = {
random = {
	chance = 35
	country_event = 100100
}
	}
}

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}

ai_chance = { factor = 0.25 }
		}

}
#cweCriticism by the Joint Chiefs of Staff
country_event = {
	id = 1610070
title = "Criticism by the Joint Chiefs of Staff"
	desc = EVTDESC1610070
	picture = "joint_chiefs_of_staff"

trigger = {
ai = no
invention = joint_chiefs_of_staff
is_vassal = no
war = no
NOT = { military_spending = 0.25 }
NOT = { publishing_rights = censored_publishing }
NOT = { publishing_rights = firewall_publishing }
OR = { average_militancy = 2 NOT = { OR = { has_country_modifier = low_government_corruption has_country_modifier = minimal_government_corruption } } }
	}

mean_time_to_happen = { 
months = 12
modifier = { factor = 2 has_country_modifier = nepohigh }
modifier = { factor = 1.5 has_country_modifier = nepomedium }
	}

option = {
name = "They are right!"

any_pop = { 
limit = { OR = { is_primary_culture = yes is_accepted_culture = yes } }
dominant_issue = {
	value = pro_military
	factor = 0.03
	}
}

any_pop = { 
limit = { OR = { is_primary_culture = yes is_accepted_culture = yes } }
dominant_issue = {
	value = jingoism
	factor = 0.02
	}
}

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}

ai_chance = { factor = 0.75 }
		}

option = {
name = "They don't run the country"

random_owned = { 
limit = { owner = { has_country_modifier = military_loyalty_high } } 
owner = { country_event = 1210201 }
}

random_owned = { 
limit = { owner = { has_country_modifier = military_loyalty_medium } } 
owner = { country_event = 1210202 }
}

random_owned = { 
limit = { owner = { has_country_modifier = military_loyalty_low } } 
owner = {
any_pop = { limit = { OR = { type = soldiers type = officers } } militancy = 8 }
	}
}

ai_chance = { factor = 0.25 }
		}

}
#cweCriticism by the Supreme Court
country_event = {
	id = 1610071
title = "State of Emergency Ruled Unconstitutional"
	desc = EVTDESC1610071
	picture = "supreme_court_ruling"

is_triggered_only = yes

option = {
name = "Respect the Supreme Court's decision!"

#Roll back UH boosts

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { upper_house = { ideology = conservative value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { upper_house = { ideology = big_tent value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { upper_house = { ideology = socialist value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { upper_house = { ideology = traditionalist value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { upper_house = { ideology = populist value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { upper_house = { ideology = nationalist value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { upper_house = { ideology = progressive value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { upper_house = { ideology = liberal value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { upper_house = { ideology = communist value = -0.50 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { upper_house = { ideology = communist_social value = -0.50 } }
}

#Reduce government popularity
random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

#What meeting laws to revert back to

random_owned = { 
limit = { owner = { has_country_flag = return_to_free_meetings } }
owner = { political_reform = free_meetings clr_country_flag = return_to_free_meetings }
			}

random_owned = { 
limit = { owner = { has_country_flag = return_to_limited_meetings } }
owner = { political_reform = limited_meetings clr_country_flag = return_to_limited_meetings }
			}

#What press laws to revert back to
			
random_owned = { 
limit = { owner = { has_country_flag = return_to_responsible_publishing  } }
owner = { political_reform = responsible_publishing clr_country_flag = return_to_responsible_publishing }
			}

random_owned = { 
limit = { owner = { has_country_flag = return_to_unregulated_publishing} }
owner = { political_reform = unregulated_publishing clr_country_flag = return_to_unregulated_publishing }
			}

random_owned = { 
limit = { owner = { has_country_flag = return_to_firewall_publishing } }
owner = { political_reform = firewall_publishing clr_country_flag = return_to_firewall_publishing }
			}

remove_country_modifier = martial_law

add_country_modifier = { name = martial_law_timer duration = 365 }

ai_chance = { factor = 0.9 }
		}

option = {
name = "The $MONARCHTITLE$ is the law (road to dictatorship)"
prestige_factor = -0.05

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.1 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.1 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.1 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.1 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.1 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.1 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.1 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.1 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.1 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.1 value = communist_social } } }
}

#If country is a vassal
random_owned = { limit = { owner = { is_vassal = yes } } owner = { overlord = { country_event = 1610072 } } }

ai_chance = { factor = 0.1 }
		}

}
#cweMonarch unilaterally calls off the martial law
country_event = {
	id = 1610100
	title = "The Monarch Attempts to End the State of Emergency"
	desc = "EVTDESC1610100"
	picture = "royal_intervention_martial_law"

	trigger = {
		has_country_modifier = martial_law
		
		#Monarch is not corrupt
		NOT = { 
			OR = {
				has_country_modifier = massive_government_corruption
				has_country_modifier = large_government_corruption
			}
		}
		
		OR = { 
			government = hms_government
			government = hms_government1 
		}
		
		is_vassal = no
		
		#Illegal state of emergency
		NOT = { average_militancy = 3 }
		
		#Handled by illegal state of emergency event
		election = no
		
		OR = {
		
			AND = { 
				ruling_party_ideology = traditionalist
				NOT = { pop_majority_ideology = traditionalist }
			}
			
			AND = { 
				ruling_party_ideology = conservative
				NOT = { pop_majority_ideology = conservative }
			}
			
			AND = { 
				ruling_party_ideology = big_tent
				NOT = { pop_majority_ideology = big_tent }
			}
			
			AND = { 
				ruling_party_ideology = populist
				NOT = { pop_majority_ideology = populist }
			}
			
			AND = { 
				ruling_party_ideology = nationalist
				NOT = { pop_majority_ideology = nationalist }
			}
			
			AND = { 
				ruling_party_ideology = socialist
				NOT = { pop_majority_ideology = socialist }
			}
			
			AND = { 
				ruling_party_ideology = communist
				NOT = { pop_majority_ideology = communist }
			}
			
			AND = { 
				ruling_party_ideology = communist_social
				NOT = { pop_majority_ideology = communist_social }
			}
			
			AND = { 
				ruling_party_ideology = liberal
				NOT = { pop_majority_ideology = liberal }
			}
			
			AND = { 
				ruling_party_ideology = progressive
				NOT = { pop_majority_ideology = progressive }
			}
			
		}
		
	}

	mean_time_to_happen = { 
		months = 1
		modifier = { factor = 6 has_country_modifier = medium_government_corruption }
	}

	option = {
		name = "Respect the monarch's decision"

#Remove state of emergency stuff

clr_country_flag = prolonged_state_of_emergency

clr_country_flag = i_love_democracy

add_country_modifier = { name = martial_law_timer duration = 365 }

random_owned = { 
limit = { owner = { NOT = { OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = socialist_democracy } } } }
owner = { country_event = 800054 }
}

remove_country_modifier = martial_law

#What meeting laws to revert back to

random_owned = { 
limit = { owner = { has_country_flag = return_to_free_meetings } }
owner = { political_reform = free_meetings clr_country_flag = return_to_free_meetings }
}

random_owned = { 
limit = { owner = { has_country_flag = return_to_limited_meetings } }
owner = { political_reform = limited_meetings clr_country_flag = return_to_limited_meetings }
}

#What press laws to revert back to
			
random_owned = { 
limit = { owner = { has_country_flag = return_to_responsible_publishing  } }
owner = { political_reform = responsible_publishing clr_country_flag = return_to_responsible_publishing }
}

random_owned = { 
limit = { owner = { has_country_flag = return_to_unregulated_publishing} }
owner = { political_reform = unregulated_publishing clr_country_flag = return_to_unregulated_publishing }
}

random_owned = { 
limit = { owner = { has_country_flag = return_to_firewall_publishing } }
owner = { political_reform = firewall_publishing clr_country_flag = return_to_firewall_publishing }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
}

		ai_chance = { factor = 0.9 }
	}
	
	option = {
		name = "Remove the $COUNTRY_ADJ$ Monarchy! (Become a republican dictatorship)"
		
		#Communist Dictatorship
		random_owned = {
			limit = { owner = { OR = { ruling_party_ideology = communist ruling_party_ideology = communist_social } } }
			owner = { government = proletarian_dictatorship country_event = 800052 }
		}
		
		#Theocracy
		random_owned = {
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { government = theocracy country_event = 800050 }
		}
		
		#Nationalist Dictatorship
		random_owned = {
			limit = { owner = { OR = { ruling_party_ideology = nationalist ruling_party_ideology = populist } } }
			owner = { government = populist_dictatorship country_event = 800050 }
		}
		
		#Presidential Dictatorship
		random_owned = {
			limit = { owner = { OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent ruling_party_ideology = socialist } } }
			owner = { government = presidential_dictatorship country_event = 800050 }
		}
		
		#Counter Coup risk
		add_country_modifier = { name = military_strife duration = 1825 }
		add_country_modifier = { name = coup_risk duration = 1825 }
		
		#Conservatives and traditionalists are furious
		any_pop = {
			scaled_militancy = {
				factor = 10
				ideology = conservative
			}
			scaled_militancy = {
				factor = 10
				ideology = traditionalist
			}
		}
		
prestige_factor = -0.05

#Remove martial law stuff

clr_country_flag = prolonged_state_of_emergency
remove_country_modifier = martial_law

#No return to old meeting reform
clr_country_flag = return_to_free_meetings
clr_country_flag = return_to_limited_meetings

#No return to old press reform
clr_country_flag = return_to_responsible_publishing
clr_country_flag = return_to_unregulated_publishing
clr_country_flag = return_to_firewall_publishing

add_country_modifier = { name = revolution_chaos duration = 3650 }

### Conservatives are always angry ###

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = big_tent } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = socialist } } militancy = 10 } }
}

### Traditionalists are always angry ###

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = populist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = nationalist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = progressive } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = liberal } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = communist } } militancy = 10 } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { limit = { NOT = { pop_majority_ideology = communist_social } } militancy = 10 } }
}

		ai_chance = { factor = 0.1 }
	}

}
#cweGovernment in Chaos
country_event = {
	id = 1610116
	title = "$COUNTRY_ADJ$ Government in Chaos"
	desc = EVTDESC1610116
	picture = "government_in_chaos"

	fire_only_once = yes

	trigger = {
	
		#Minority government
		OR = {

			AND = { 
				NOT = { OR = { pop_majority_ideology = traditionalist pop_majority_ideology = conservative } }
				OR = { ruling_party_ideology = traditionalist ruling_party_ideology = conservative } 
			} 

			AND = { 
				NOT = { pop_majority_ideology = big_tent }
				ruling_party_ideology = big_tent
			} 

			AND = { 
				NOT = { OR = { pop_majority_ideology = socialist pop_majority_ideology = communist pop_majority_ideology = communist_social } }
				OR = { ruling_party_ideology = socialist ruling_party_ideology = communist ruling_party_ideology = communist_social }
			} 

			AND = { 
				NOT = { OR = { pop_majority_ideology = liberal pop_majority_ideology = progressive } }
				OR = { ruling_party_ideology = liberal ruling_party_ideology = progressive }
			}

			AND = { 
				NOT = { OR = { pop_majority_ideology = nationalist pop_majority_ideology = populist } }
				OR = { ruling_party_ideology = nationalist ruling_party_ideology = populist }
			}
		
		}
		
		NOT = { publishing_rights = censored_publishing }
		
		average_militancy = 5
		average_consciousness = 4
		
		OR = {
			has_country_modifier = leadership_chaos
			
			#If there is a party scandal
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence 
			
			#Crazy leader
			has_country_modifier = raving_loon
			has_country_modifier = gauche_buffoon
			
			#Leader without control
			has_country_modifier = power_vacuum
		}
		
		NOT = { has_country_modifier = political_strife }
		
	}

	mean_time_to_happen = {
		months = 3
		modifier = { factor = 3 publishing_rights = firewall_publishing }
		modifier = { factor = 2 publishing_rights = responsible_publishing }
	}

	option = {
		name = "Admit our shortcomings"
		prestige_factor = -0.01
		any_pop = { militancy = -3 }
		
		add_country_modifier = { name = political_strife duration = 100 }
		
		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
		}
		
		ai_chance = { factor = 0.6 }
	}

	option = {
		name = "This is FAKE NEWS!"
		
		add_country_modifier = { name = political_strife duration = 365 }
		
		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.01 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.01 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.01 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.01 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.01 value = communist_social } } }
		}
		
		ai_chance = { factor = 0.4 }
	}

}
#cweIndonesian mass killings of 1965–1966
country_event = {
	id = 82990032
	title = "Indonesian mass killings of 1965–1966"
	desc = EVTDESC1412245
	picture = "ido_killings"

	fire_only_once = yes

	trigger = {
		tag = IDO
		year = 1965
		NOT = { year = 1990 }
		
		war = no
		
		#Cold War
		has_global_flag = blocsenabled
		
		#Is not the USI
		government = democracy
		is_vassal = no
		
		#Sukarno's party
		ruling_party_ideology = nationalist
	}

	mean_time_to_happen = { 
		months = 1
	}

	option = {
		name = "Unleash the massacre!"
		prestige = -100
		badboy = 5
		
		#USA gains influence over Indonesia
		USA = { 
			diplomatic_influence = { who = IDO value = 50 } 
			relation = { who = IDO value = 100 }
		}
		
		any_pop = {
			ideology = {
				factor = -0.10
				value = communist
			}
		}

		#Dirty War
		add_country_modifier = { name = dirty_war duration = 730 }
		ai_chance = { factor = 0.9 }
	}

	option = {
		name = "Leave the communists alone"
		
		#Add more communist support!
		any_pop = { 
			ideology = {
				factor = 0.10
				value = communist
			}
		}
		
		#Add more socialist support!
		any_pop = { 
			ideology = {
				factor = 0.10
				value = socialist
			}
		}
		
		#USSR gains influence over Indonesia
		RUS = { 
			diplomatic_influence = { who = IDO value = 50 } 
			relation = { who = IDO value = 100 }
		}
		
		ai_chance = { factor = 0.1 }
	}

}
#cweTogliatti assassination attempt
country_event = {
  id = 8007736
  title = EVT_8007736_NAME
  desc = EVT_8007736_DESC
  picture = "nwo2_palmiro_togliatti"
  fire_only_once = yes

	trigger = {
		tag = ITA
		year = 1948 NOT = { year = 1949 }
		OR = { government = democracy government = hms_government }
		has_country_flag  = very_moderate_ICP
		NOT = { 
			OR = { 
				ruling_party_ideology = socialist 
				ruling_party_ideology = communist 
				ruling_party_ideology = communist_social 
			} 
		}
	}

	mean_time_to_happen = { months = 2 }

	option = {
		name = EVT_8007736_A
		any_pop = { consciousness = 10 }
		ai_chance = { factor = 0.6 }
	}

	option = {
		name = EVT_8007736_B
		any_pop = { consciousness = 5 militancy = 5 }
		any_pop = {
			limit = { is_primary_culture = yes }
			ideology = { factor = 0.025 value = communist }
		}
		set_country_flag = radical_ICP
		ai_chance = { factor = 0.2 }
	}

	option = {
		name = EVT_8007736_C
		any_pop = { militancy = 10 }
		any_pop = {
			limit = { is_primary_culture = yes }
			ideology = { factor = -0.05 value = communist }
		}
		set_country_flag = very_radical_ICP
		ai_chance = { factor = 0.2 }
	}
	
}
#cweDispersion of Italian Communist Party
country_event = {
  id = 8007742
  title = EVT_8007742_NAME
  desc = EVT_8007742_DESC
  picture = "nwo2_italian_communist_party"
  is_triggered_only = yes

	option = {
		name = EVT_8007742_A
		any_pop = {
			limit = { is_primary_culture = yes }
			ideology = { factor = -0.10 value = communist }
		}
	}
	
}
#cweEnd of the dirty war and limited democratisation, 1982 [idk why in New Era mod (World War II file) is a outdated version of it]
country_event = {
	id = 8009515
	title = "End of the Mexican Dirty War"
	desc = EVTDESC8009515
	picture = "MEX_tlatelolco_massacre"
	fire_only_once = yes

	trigger = {
		tag = MEX
		year = 1978
		NOT = { year = 1990 }
		government = presidential_dictatorship
		is_vassal = no
		NOT = { has_country_modifier = dirty_war } 
		NOT = { OR = { ruling_party_ideology = socialist ruling_party_ideology = communist ruling_party_ideology = communist_social } }
		has_country_flag = MEX_dirty_war_ongoing
	}

	mean_time_to_happen = { months = 10 }

	option = {
		name = "The left wing guerillas have been crushed!"
		badboy = 5
		country_event = 800054
		clr_country_flag = MEX_dirty_war_ongoing
		any_pop = {
			ideology = { factor = -0.05 value = communist }
		}
	}
	
}
#Resignations - Economic policy
country_event = {
	id = 122000
title = "Economic Minister Resigns!"
	desc = EVTDESC122000
	picture = "minister_resignation"

fire_only_once = yes

trigger = {

ai = no

average_militancy = 2

NOT = { has_country_modifier = leadership_chaos }

OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = mandate_government government = socialist_democracy }

#Planned economy
AND = {
OR = { economic_policy = planned_economy economic_policy = planned_economy1 }
OR = {

#low taxes for rich strata
NOT = { rich_tax = 0.20 }

#No high social spending
NOT = { social_spending = 0.90 }

#High unemployment
NOT = { unemployment = 0.10 }

}
	}

#State capitalism
AND = {
economic_policy = state_capitalism
OR = {

#low taxes for rich strata
NOT = { rich_tax = 0.30 }

#No high social spending
NOT = { social_spending = 0.75 }

#High unemployment
NOT = { unemployment = 0.10 }

}
	}

#Interventionism
AND = {
economic_policy = interventionism
OR = {

#No low taxes for rich strata
rich_tax = 0.30

#No low taxes for middle strata
middle_tax = 0.40

#No low taxes for low strata
low_tax = 0.50

#No high social spending
NOT = { social_spending = 0.40 }

#High unemployment
NOT = { unemployment = 0.10 }

}
	}

#laissez faire
AND = {
economic_policy = laissez_faire
OR = {

#No low taxes for rich strata
rich_tax = 0.20

#No low taxes for middle strata
middle_tax = 0.30

#No low taxes for low strata
low_tax = 0.40

#High social spending
social_spending = 0.40

#High unemployment
NOT = { unemployment = 0.10 }

}
	}


}

mean_time_to_happen = { 
months = 4
modifier = { factor = 5 has_country_modifier = nepohigh }
modifier = { factor = 3 has_country_modifier = nepomedium }
}

option = {
name = "He wasn't that great anyway"
add_country_modifier = { name = leadership_chaos duration = 60 }
random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}
		}

}

#cweResignations - War policy
country_event = {
	id = 122001
title = "Defense Minister Resigns!"
	desc = EVTDESC122001
	picture = "minister_resignation"

fire_only_once = yes

trigger = {

ai = no

average_militancy = 2

NOT = { has_country_modifier = leadership_chaos }

OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = mandate_government government = socialist_democracy }

#Jingoism
AND = {
war_policy = jingoism

#low military spending
NOT = { military_spending = 0.75 }

	}

#Pro military
AND = {
war_policy = pro_military

#low military spending
NOT = { military_spending = 0.50 }

	}

#Pacifism
AND = {
war_policy = pacifism

#High military spending
military_spending = 0.75

	}

}

mean_time_to_happen = { 
months = 4
modifier = { factor = 5 has_country_modifier = nepohigh }
modifier = { factor = 3 has_country_modifier = nepomedium }
}

option = {
name = "He wasn't that great anyway"
add_country_modifier = { name = leadership_chaos duration = 60 }
random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}
		}

}

#cweResignations - badboy
country_event = {
	id = 122002
title = "Foreign Minister Resigns!"
	desc = EVTDESC122002
	picture = "minister_resignation"

fire_only_once = yes

trigger = {

ai = no

average_militancy = 3

NOT = { has_country_modifier = leadership_chaos }

OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = mandate_government government = socialist_democracy }

#Jingoism
AND = {
war_policy = jingoism

#high infamy
badboy = 0.8

	}

#Pro military
AND = {
war_policy = pro_military

#high infamy
badboy = 0.6

	}

#Pacifism
AND = {
war_policy = pacifism

#high infamy
badboy = 0.4

	}

}

mean_time_to_happen = { 
months = 4
modifier = { factor = 5 has_country_modifier = nepohigh }
modifier = { factor = 3 has_country_modifier = nepomedium }
}

option = {
name = "He wasn't that great anyway"
add_country_modifier = { name = leadership_chaos duration = 60 }
random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}
		}

}

#cweResignations - average militancy
country_event = {
	id = 122003
title = "Minister of State Resigns!"
	desc = EVTDESC122003
	picture = "minister_resignation"

fire_only_once = yes

trigger = {

ai = no

average_militancy = 4

NOT = { has_country_modifier = leadership_chaos }

OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 government = sar_government government = mandate_government government = socialist_democracy }

}

mean_time_to_happen = { 
months = 4
modifier = { factor = 5 has_country_modifier = nepohigh }
modifier = { factor = 3 has_country_modifier = nepomedium }
}

option = {
name = "He wasn't that great anyway"
add_country_modifier = { name = leadership_chaos duration = 60 }
random_owned = { 
limit = { owner = { ruling_party_ideology = conservative } }
owner = { any_pop = { ideology = { factor = -0.03 value = conservative } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = big_tent } }
owner = { any_pop = { ideology = { factor = -0.03 value = big_tent } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = socialist } }
owner = { any_pop = { ideology = { factor = -0.03 value = socialist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = traditionalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = traditionalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = populist } }
owner = { any_pop = { ideology = { factor = -0.03 value = populist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = nationalist } }
owner = { any_pop = { ideology = { factor = -0.03 value = nationalist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = progressive } }
owner = { any_pop = { ideology = { factor = -0.03 value = progressive } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = liberal } }
owner = { any_pop = { ideology = { factor = -0.03 value = liberal } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist } } }
}

random_owned = { 
limit = { owner = { ruling_party_ideology = communist_social } }
owner = { any_pop = { ideology = { factor = -0.03 value = communist_social } } }
}
		}

}
#cwe 880130 - Party Scandal - populist #cwe Reactionary
country_event = {
	id = 880130
	title = "EVTNAME880130"
	desc = "EVTDESC880130"
	picture = "news"
	
	trigger = {
		civilized = yes
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			populist = 10
			any_owned_province = { populist = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = populist
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = populist
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			populist = 25
		}
		modifier = {
			factor = 0.8
			populist = 50
		}
		modifier = {
			factor = 0.8
			populist = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = populist }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = populist }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = populist }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = populist }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = populist }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = populist
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = populist
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = populist
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = populist
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = populist
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = populist
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = populist
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = populist
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = populist }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				populist = 10
			}
			ideology = {
				value = populist
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = populist
				factor = 5
			}
		}
	}
}

#cwe 880140 - Party Scandal - Conservative
country_event = {
	id = 880140
	title = "EVTNAME880140"
	desc = "EVTDESC880140"
	picture = "news"
	
	trigger = {
		civilized = yes
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			conservative = 10
			any_owned_province = { conservative = 20 }
			big_tent = 10
			any_owned_province = { big_tent = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
		}
		modifier = {
			factor = 0.75
			election = no
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			OR = { conservative = 25 big_tent = 25 }
		}
		modifier = {
			factor = 0.8
			OR = { conservative = 50 big_tent = 50 }
		}
		modifier = {
			factor = 0.8
			OR = { conservative = 75 big_tent = 75 }
		}	
		modifier = {
			factor = 1.2
			NOT = {	OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } }
		}
		modifier = {
			factor = 0.7
			NOT = {OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent }
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { OR = { ruling_party_ideology = conservative ruling_party_ideology = big_tent } }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				OR = { conservative = 10 big_tent = 10 }
			}
			ideology = {
				value = conservative
				factor = -0.1
			}
			ideology = {
				value = big_tent
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = conservative
				factor = 5
			}
			scaled_consciousness = {
				ideology = big_tent
				factor = 5
			}
		}
	}
}

#cwe 880150 - Party Scandal - Liberal
country_event = {
	id = 880150
	title = "EVTNAME880150"
	desc = "EVTDESC880150"
	picture = "news"
	
	trigger = {
		civilized = yes
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			liberal = 10
			any_owned_province = { liberal = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = liberal
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = liberal
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			liberal = 25
		}
		modifier = {
			factor = 0.8
			liberal = 50
		}
		modifier = {
			factor = 0.8
			liberal = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = liberal }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = liberal }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = liberal }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = liberal }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = liberal }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = liberal
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = liberal
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = liberal
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = liberal
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = liberal
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = liberal
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = liberal
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = liberal
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = liberal }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				liberal = 10
			}
			ideology = {
				value = liberal
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = liberal
				factor = 5
			}
		}
	}
}

#cwe 880160 - Party Scandal - progressive #cwe Anarcho-Liberal
country_event = {
	id = 880160
	title = "EVTNAME880160"
	desc = "EVTDESC880160"
	picture = "news"
	
	trigger = {
		civilized = yes
		is_ideology_enabled = progressive
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			progressive = 10
			any_owned_province = { progressive = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = progressive
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = progressive
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			progressive = 25
		}
		modifier = {
			factor = 0.8
			progressive = 50
		}
		modifier = {
			factor = 0.8
			progressive = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = progressive }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = progressive }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = progressive }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = progressive }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = progressive }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = progressive
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = progressive
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = progressive
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = progressive
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = progressive
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = progressive
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = progressive
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = progressive
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = progressive }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				progressive = 10
			}
			ideology = {
				value = progressive
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = progressive
				factor = 5
			}
		}
	}
}

#cwe 880170 - Party Scandal - Socialist
country_event = {
	id = 880170
	title = "EVTNAME880170"
	desc = "EVTDESC880170"
	picture = "news"
	
	trigger = {
		civilized = yes
		is_ideology_enabled = socialist
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			socialist = 10
			any_owned_province = { socialist = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = socialist
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = socialist
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			socialist = 25
		}
		modifier = {
			factor = 0.8
			socialist = 50
		}
		modifier = {
			factor = 0.8
			socialist = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = socialist }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = socialist }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = socialist }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = socialist }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = socialist }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = socialist
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = socialist
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = socialist
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = socialist
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = socialist
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = socialist
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = socialist
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = socialist
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = socialist }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				socialist = 10
			}
			ideology = {
				value = socialist
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = socialist
				factor = 5
			}
		}
	}
}


#cwe 880180 - Party Scandal - Communist
country_event = {
	id = 880180
	title = "EVTNAME880180"
	desc = "EVTDESC880180"
	picture = "news"
	
	trigger = {
		civilized = yes
		is_ideology_enabled = communist
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			communist = 10
			any_owned_province = { communist = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = communist
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = communist
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			communist = 25
		}
		modifier = {
			factor = 0.8
			communist = 50
		}
		modifier = {
			factor = 0.8
			communist = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = communist }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = communist }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = communist }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = communist }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = communist }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = communist
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = communist
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = communist
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = communist
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = communist
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = communist
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = communist
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = communist
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = communist }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				communist = 10
			}
			ideology = {
				value = communist
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = communist
				factor = 5
			}
		}
	}
}

#cwe 880185 - Party Scandal - Market Communist
country_event = {
	id = 880185
	title = "EVTNAME880185"
	desc = "EVTDESC880185"
	picture = "news"
	
	trigger = {
		civilized = yes
		is_ideology_enabled = communist_social
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			communist_social = 10
			any_owned_province = { communist_social = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = communist_social
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = communist_social
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			communist_social = 25
		}
		modifier = {
			factor = 0.8
			communist_social = 50
		}
		modifier = {
			factor = 0.8
			communist_social = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = communist_social }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = communist_social }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = communist_social }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = communist_social }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = communist_social }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = communist_social
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = communist_social
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = communist_social
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = communist_social
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = communist_social
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = communist_social
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = communist_social
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = communist_social
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = communist_social }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				communist_social = 10
			}
			ideology = {
				value = communist_social
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = communist_social
				factor = 5
			}
		}
	}
}

#cwe 880190 - Party Scandal - Islamist #cwe Fascist
country_event = {
	id = 880190
	title = "EVTNAME880190"
	desc = "EVTDESC880190"
	picture = "news"
	
	trigger = {
		civilized = yes
		is_ideology_enabled = traditionalist
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			traditionalist = 10
			any_owned_province = { traditionalist = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = traditionalist
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = traditionalist
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			traditionalist = 25
		}
		modifier = {
			factor = 0.8
			traditionalist = 50
		}
		modifier = {
			factor = 0.8
			traditionalist = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = traditionalist }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = traditionalist }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = traditionalist }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = traditionalist }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = traditionalist }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = traditionalist
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = traditionalist
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = traditionalist
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = traditionalist
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = traditionalist
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = traditionalist
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = traditionalist
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = traditionalist
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = traditionalist }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				traditionalist = 10
			}
			ideology = {
				value = traditionalist
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = traditionalist
				factor = 5
			}
		}
	}
}

#cwe 880195 - Party Scandal - Nationalist
country_event = {
	id = 880195
	title = "EVTNAME880195"
	desc = "EVTDESC880195"
	picture = "news"
	
	trigger = {
		civilized = yes
		is_ideology_enabled = nationalist
		NOT = {
			publishing_rights = censored_publishing
			political_parties = parties_not_allowed
			has_country_modifier = ruling_party_scandal
			has_country_modifier = party_scandal_evidence
		}
		OR = {
			nationalist = 10
			any_owned_province = { nationalist = 20 }
		}
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.75
			election = yes
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = nationalist
			NOT = { publishing_rights = unregulated_publishing }
		}
		modifier = {
			factor = 0.5
			election = yes
			ruling_party_ideology = nationalist
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 2 }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 4 }
		}
		modifier = {
			factor = 0.8
			average_consciousness = 6
		}
		modifier = {
			factor = 0.8
			average_consciousness = 8
		}
		modifier = {
			factor = 0.8
			average_consciousness = 9
		}
		modifier = {
			factor = 0.8
			nationalist = 25
		}
		modifier = {
			factor = 0.8
			nationalist = 50
		}
		modifier = {
			factor = 0.8
			nationalist = 75
		}	
		modifier = {
			factor = 1.2
			NOT = {	ruling_party_ideology = nationalist }
		}
		modifier = {
			factor = 0.7
			NOT = { ruling_party_ideology = nationalist }
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 0.8
			NOT = { ruling_party_ideology = nationalist }
			political_parties = parties_allowed
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = nationalist }
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.9
			NOT = { ruling_party_ideology = nationalist }
			publishing_rights = firewall_publishing
		}
		modifier = {
			factor = 1.5
			ruling_party_ideology = nationalist
			political_parties = parties_only_nominated
		}
		modifier = {
			factor = 1.2
			ruling_party_ideology = nationalist
			political_parties = parties_allowed
		}
		modifier = {
			factor = 1.1
			ruling_party_ideology = nationalist
			political_parties = parties_promote_democratic
		}
		modifier = {
			factor = 0.5
			ruling_party_ideology = nationalist
			has_country_modifier = massive_government_corruption
		}
		modifier = {
			factor = 0.7
			ruling_party_ideology = nationalist
			has_country_modifier = large_government_corrupttion
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = nationalist
			has_country_modifier = medium_government_corruption
		}
		modifier = {
			factor = 0.9
			ruling_party_ideology = nationalist
			has_country_modifier = mnc_corruption
		}
		modifier = {
			factor = 0.8
			ruling_party_ideology = nationalist
			has_country_modifier = mnc_corrupt_leadership
		}
	}
	
	option = {
		name = "EVTOPTA880190"
		random_owned = {
			limit = {
				owner = { ruling_party_ideology = nationalist }
			}
			owner = {
				prestige = -5
				plurality = -1
				add_country_modifier = {
					name = ruling_party_scandal
					duration = 730
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
				nationalist = 10
			}
			ideology = {
				value = nationalist
				factor = -0.1
			}
		}	
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_consciousness = {
				ideology = nationalist
				factor = 5
			}
		}
	}
}
#cweCommunists in $PROVINCENAME$
province_event = {
	id = 17730
	title = "EVTNAME17730"
	desc = "EVTDESC17730"
	
	trigger = {
		is_ideology_enabled = communist
		is_colonial = no
		owner = { NOT = {	OR = { pop_majority_religion = sunni pop_majority_religion = shiite } } }
		NOT = { controlled_by = REB }
		OR = {
			socialist = 20
			communist = 10
		}
		OR = {
			has_pop_type = artisans
			has_pop_type = clerks
			has_pop_type = craftsmen
			has_pop_type = labourers
		}
		OR = {
			average_militancy = 6
			has_province_modifier = militant_trade_union
			has_province_modifier = province_strike
			NOT = { poor_strata_life_needs = 0.7 }
		}
		owner = {
			NOT = {
				government = proletarian_dictatorship
				government = proletarian_dictatorship1
				government = socialist_democracy
				government = theocracy
			}
			civilized = yes
			civil_service = elitist_service
		}
	}
	
	mean_time_to_happen = {
		months = 200
		modifier = {
			factor = 0.5
			OR = {
				has_province_modifier = militant_trade_union
				has_province_modifier = province_strike
			}
		}
		modifier = {
			factor = 1.5
			NOT = { socialist = 10 }
		}
		modifier = {
			factor = 1.5
			NOT = { communist = 5 }
		}
		modifier = {
			factor = 0.9
			socialist = 25
		}
		modifier = {
			factor = 0.9
			socialist = 30
		}
		modifier = {
			factor = 0.9
			communist = 15
		}
		modifier = {
			factor = 0.9
			communist = 20
		}
		modifier = {
			factor = 0.8
			communist = 25
		}
		modifier = {
			factor = 0.9
			average_militancy = 4
		}
		modifier = {
			factor = 0.9
			average_militancy = 5
		}
		modifier = {
			factor = 0.9
			average_militancy = 6
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 3 }
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 1.2
			owner = { economic_policy = laissez_faire }
		}
		modifier = {
			factor = 2
			owner = { war = yes }
		}
		modifier = {
			factor = 1.5
			owner = {
				check_variable = {
					which = successful_communist_rebellions
					value = 10
				}
			}
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				owner = { government = proletarian_dictatorship }
			}
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 50 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 45 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 40 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 35 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 30 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 25 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 20 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 15 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 10 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 5 }
		}
	}
	
	option = {
		name = "EVTOPTA17730"
		random_pop = {
			limit = {
				strata = poor
				OR = {
					socialist = 20
					communist = 10
				}
			}
			reduce_pop = 0.98
			militancy = 4
		}
		poor_strata = {
			militancy = 2
		}
		rich_strata = {
			ideology = {
				value = socialist
				factor = -0.1
			}
			ideology = {
				value = communist
				factor = -0.2
			}
			ideology = {
				value = populist
				factor = 0.2
			}
			militancy = -3
			consciousness = -3
		}	
	}
	
	option = {
		name = "EVTOPTB17730"
		state_scope = {
			any_pop = {
				limit = {
					OR = {
						type = artisans
						type = clerks
						type = labourers
						type = craftsmen
					}
				}
				ideology = {
					value = communist
					factor = 0.1
				}
				scaled_consciousness = {
					ideology = communist
					factor = 4
				}
			}
			rich_strata = {
				militancy = 3
			}
		}
	}
}
#cwe Virgin Lands Campaign - Poor Results
country_event = {
	id = 9001022
	title = "Virgin Lands Campaign - Poor Results"
	desc = EVT_9001022_DESC
	picture = "virgin_land_campaign_fail"
	
	trigger = {
		tag = RUS
		government = proletarian_dictatorship
		has_country_flag = virgin_lands_campaign_bad
	}
	
	mean_time_to_happen = { months = 12 }
	
	option = {
		name = "Some people thank the $MONARCHTITLE$"
		any_pop = { 
			militancy = 2
			consciousness = 2
			ideology = { factor = -0.02 value = communist }
		}
		
		add_country_modifier = {
			name = economic_malaise
			duration = 365
		}
		
		prestige = -10
		
		clr_country_flag = virgin_lands_campaign_bad
	}
}	
###cwe Khrushchev ###

country_event = { # Anti-Party Group - Khrushchev
	id = 9001212
	title = "Anti-Party Group"
	desc = EVT_9001212_DESC
	picture = "ussr_anti_party_group"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1956
		NOT = { year = 1959 }
		government = proletarian_dictatorship
		has_global_flag = de_stalinization
		has_country_flag = nikita_khrushchev
	}

	mean_time_to_happen = { months = 6 }

	option = {
		name = "Let's take out the Old Bolshevik."
		
		any_pop = { 
			consciousness = 2 militancy = 1
			ideology = { factor = -0.05 value = communist } 
		}
		
		ai_chance = { factor = 0.9 }
	}
	
	option = {
		name = "They're too strong."
		
		badboy = 2
		any_pop = { 
			consciousness = 4 militancy = 3
			ideology = { factor = -0.05 value = liberal } 
		}
		
		set_country_flag = vyacheslav_molotov
		clr_country_flag = nikita_khrushchev
		
		ai_chance = { factor = 0.1 }
	}
}
country_event = { # cweTentative Coup
	id = 9001223
	title = "Tentative Coup"
	desc = EVT_9001223_DESC
	picture = "soviet_coup_no_reformists"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1957
		NOT = { year = 1959 }
		government = proletarian_dictatorship
		OR = {
			has_country_flag = georgy_malenkov
			has_country_flag = vyacheslav_molotov
		}
	}

	mean_time_to_happen = { months = 5 }

	option = {
		name = "We're done..."
		
		prestige = -100
		set_country_flag = georgy_zhukov
		clr_country_flag = georgy_malenkov
		clr_country_flag = vyacheslav_molotov
		
		any_pop = { 
			consciousness = 2 militancy = 3
			ideology = { factor = -0.05 value = communist }
			ideology = { factor = 0.05 value = communist_social } 
		}
		
		ai_chance = { factor = 0.2 }
	}
	
	option = {
		name = "He is the enemy of the people!"
		
		prestige = -50
		set_country_flag = ussr_military_betrayal
		
		any_pop = {
			ideology = { factor = 0.05 value = communist }
			ideology = { factor = 0.05 value = nationalist } 
		}
		
		ai_chance = { factor = 0.8 }
	}
}
country_event = { # cweAnti-Party Group - Zhukov
	id = 9001245
	title = "Anti-Party Group"
	desc = EVT_9001245_DESC
	picture = "ussr_anti_party_group"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1957
		NOT = { year = 1958 }
		government = proletarian_dictatorship
		has_country_flag = georgy_zhukov
	}

	mean_time_to_happen = { months = 6 }

	option = {
		name = "Let's take out the Old Bolshevik."
		
		any_pop = { consciousness = 2 militancy = 1
		ideology = { factor = -0.05 value = communist } }
		
		ai_chance = { factor = 0.9 }
	}
	
	option = {
		name = "They're too strong."
		
		badboy = 2
		any_pop = { consciousness = 4 militancy = 3
		ideology = { factor = -0.05 value = liberal } }
		set_country_flag = vyacheslav_molotov
		clr_country_flag = georgy_zhukov
		
		ai_chance = { factor = 0.1 }
	}
}
country_event = { # cweDetermining our Economic Model - Zhukov Reform
	id = 9001300
	title = "Determining our Economic Model"
	desc = EVT_9001300_DESC
	picture = "nwo2_soviet_economy"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1986
		NOT = { year = 1989 }
		
		government = proletarian_dictatorship
		is_vassal = no
		war = no
		
		has_country_flag = sergei_sokolov
		has_country_flag = ussr_zhukov_economic_reform
	}

	mean_time_to_happen = { months = 7 }

	option = {
		name = "Keep the Ustinov Model."
		
		set_country_flag = ussr_ustinov_economic_reform
		clr_country_flag = ussr_zhukov_economic_reform
		
		any_pop = { 
			consciousness = 3 militancy = 4
			ideology = { factor = 0.10 value = nationalist }
			ideology = { factor = -0.10 value = communist } 
		}
		
		ai_chance = { factor = 0.7 }
	}
	
	option = {
		name = "Return to the Zhukov Model."
		
		set_country_flag = ussr_zhukov_economic_reform
		clr_country_flag = ussr_ustinov_economic_reform
		
		ruling_party_ideology = communist_social
		
		any_pop = { 
			consciousness = -4 militancy = -3
			ideology = { factor = 0.10 value = communist }
			ideology = { factor = 0.05 value = communist_social } 
		}
		
		ai_chance = { factor = 0.3 }
	}
}
country_event = { # cweDetermining our Economic Model - Not Zhukov Reform
	id = 9001301
	title = "Determining our Economic Model"
	desc = EVT_9001301_DESC
	picture = "nwo2_soviet_economy"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1986
		NOT = { year = 1989 }
		
		government = proletarian_dictatorship
		is_vassal = no
		war = no
		
		ruling_party_ideology = communist
		
		has_country_flag = sergei_sokolov
		
		NOT = {
			OR = {
				has_country_flag = ussr_zhukov_economic_reform
				has_country_flag = ussr_ustinov_economic_reform
			}
		}
		OR = {
			has_country_modifier = soviet_stagnation_4
			has_country_modifier = soviet_stagnation_3
			has_country_modifier = soviet_stagnation_2
			has_country_modifier = soviet_stagnation_1
		}
	}

	mean_time_to_happen = { months = 7 }

	option = {
		name = "Planned Economy."
		
		set_country_flag = ussr_ustinov_economic_reform
		
		any_pop = { 
			consciousness = 3 militancy = 4
			ideology = { factor = 0.10 value = nationalist }
			ideology = { factor = -0.10 value = communist } 
		}
		
		ai_chance = { factor = 0.7 }
	}
	
	option = {
		name = "Partial liberalization of the economy."
		
		set_country_flag = ussr_zhukov_economic_reform
		
		ruling_party_ideology = communist_social
		
		any_pop = { 
			consciousness = -4 militancy = -3
			ideology = { factor = 0.10 value = communist }
			ideology = { factor = 0.05 value = communist_social } 
		}
		
		ai_chance = { factor = 0.3 }
	}
}
#cweFull blown epidemic in $COUNTRY$ - If all cored state_capitals have the virus
country_event = {
	id = 1412015
	title = "Full Blown Epidemic in $COUNTRY$"
	desc = EVTDESC1412015
	picture = "new_virus_spreads"

	trigger = {
	
		any_owned_province = {
			OR = { 
				has_province_modifier = virus_outbreak 
				has_province_modifier = virus_outbreak_deadly 
			}
		}
	
		NOT = {
			any_owned_province = {
				is_state_capital = yes
				is_core = THIS
				NOT = {
					OR = {
						has_province_modifier = virus_outbreak 
						has_province_modifier = virus_outbreak_deadly 
					}
				}
			}
		}
		
		NOT = { has_country_flag = full_blown_epidemic }
		
	}

	option = {
		name = "This reflects badly on the government!"
		
		set_country_flag = full_blown_epidemic
		
		add_country_modifier = { name = local_epidemic duration = 1825 }
		
		prestige_factor = -0.01

		#Reduce government support

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
		}

	}

}
#cweEconomy Paralysed by Viral Epidemic!
country_event = {
	id = 1412016
	title = "Economy Paralysed by Viral Epidemic!"
	desc = EVTDESC1412016
	picture = "new_virus_spreads1"

	trigger = {
		any_owned_province = {
			OR = { 
				has_province_modifier = virus_outbreak 
				has_province_modifier = virus_outbreak_deadly 
			}
		}
		OR = { has_country_modifier = virushigh has_country_modifier = virusmedium }
		has_country_flag = full_blown_epidemic
	}

	mean_time_to_happen = {
		months = 6
		modifier = { factor = 0.5 has_country_modifier = virushigh } 
	}

	option = {
		name = "Maintain the lockdown measures until it is safe to reopen"
		
		#Economic crash
		add_country_modifier = { name = stock_market_crash duration = 183 }
		add_country_modifier = { name = great_recession duration = 365 }
		
		ai_chance = { factor = 0.6 }
	}
	option = {
		name = "The cure cannot be worse than the virus - OPEN UP!"
		prestige_factor = -0.01
		
		set_country_flag = epidemic_controlled
		
		#Reduce government support

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.025 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.025 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.025 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.025 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.025 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.025 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.025 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.025 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.025 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.025 value = communist_social } } }
		}
		
		ai_chance = { factor = 0.4 }
	}
	
}
#cwePeople angry with poor virus controls
country_event = {
	id = 1412018
	title = "Virus Epidemic Response Criticised"
	desc = EVTDESC1412018
	picture = "new_virus_spreads3"

	trigger = {
	
		#Event not already fired
		NOT = { has_country_flag = virus_response_criticised }
	
		#Has virus controls
		has_country_flag = enable_virus_controls
	
		#Has virus in country
		any_owned_province = {
			OR = { 
				has_province_modifier = virus_outbreak 
				has_province_modifier = virus_outbreak_deadly 
			}
		}
		
		OR = {
			#Do not have strong virus controls
			NOT = {
				OR = {
					has_country_modifier = virusmedium
					has_country_modifier = virushigh
				}
			}
			
			#Full blown epidemic and minimal virus controls
			AND = {
				has_country_flag = virusno
				has_country_flag = full_blown_epidemic
			}
			
			#Did not inform WHO
			NOT = { has_country_flag = who_alerted_to_new_virus }
		}
		
		has_global_flag = epidemic_start
		
	}

	mean_time_to_happen = { 
		months = 2
		modifier = { publishing_rights = firewall_publishing factor = 3 }
		modifier = { publishing_rights = censored_publishing factor = 6 }
	}

	option = {
		name = "We are already trying our best!"
		
		set_country_flag = who_alerted_to_new_virus
		
		set_country_flag = virus_response_criticised
		
		#Add war exhaustion if at war
		random_owned = {
			limit = { 
				owner = { war = yes } 
			}
			owner = { war_exhaustion = 5 }
		}
		
		prestige_factor = -0.025
		
		#Reduce government support

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
		}
		
	}

}
#cweRecently Lost War
country_event = {
	id = 1512206
	title = "Disastrous War"
	desc = EVTDESC1512206
	picture = "lost_war_party_hit"

	trigger = {

		war = no

		NOT = { has_country_flag = this_won_CB }
		has_country_flag = this_lost_CB

		has_country_flag = country_at_war

	}

	option = {
		name = "The people blame the government for the defeat!"
		clr_country_flag = country_at_war
		
		#Clear UN peace flag
		clr_country_flag = UN_demands_peace_flag
		clr_country_flag = country_that_UN_demands_peace_flag
		remove_country_modifier = called_allies_un
		remove_country_modifier = stop_un_spam
		remove_country_modifier = resolution_vetoed_unsc
		
		#Clear AI is more trigger happy with nukes flag
		clr_country_flag = more_willing_nuke_behaviour
		
		#Clear capitulation flag for the AI
		clr_country_flag = nation_has_capitulated

		#Clear Colonial Overlord markers
		clr_country_flag = colonial_overlord_at_war

		#Clear aggressor flag
		clr_country_flag = this_is_aggressor

		#Clear CB bypass flag
		clr_country_flag = bypass_normal_CB_requirements

		#Remove CB markers
		clr_country_flag = this_won_CB
		clr_country_flag = this_lost_CB

		#Remove strategic bombardment flag
		clr_country_flag = strategic_bombardment

		#Great Patriotic War gives post war war exhaustion

		random_owned = { 
			limit = { owner = { has_country_modifier = fanatic_army } }
			owner = { remove_country_modifier = fanatic_army war_exhaustion = 50 any_pop = { dominant_issue = { value = pacifism factor = 0.25 } } }
		}

		#Reset satellites
		clr_country_flag = destroy_satelllites
		
		#Remove constricting trade
		remove_country_modifier = constricting_international_trade
		remove_country_modifier = constrict_international_trade_modifier

		#Pacifism grows
		any_pop = { 
			dominant_issue = { value = pacifism factor = 0.25 } 
			scaled_militancy = {
				factor = 10
				issue = jingoism
			}
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.25 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.25 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.25 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.25 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.25 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.25 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.25 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.25 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.25 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.25 value = communist_social } } }
		}

	}

}
#cweStalemate in ongoing war - THIS is aggressor
country_event = {
	id = 1512280
	title = "Inconclusive War"
	desc = EVTDESC1512280
	picture = "draw_war_party_hit"

	trigger = {
		war = no
		has_country_flag = country_at_war
		
		#Country is an aggressor
		has_country_flag = this_is_aggressor
		
		#Country did not fulfil or accept any wargoals
		OR = { 
		
			AND = { has_country_flag = this_won_CB has_country_flag = this_lost_CB }
		
			AND = { 
				NOT = { has_country_flag = this_won_CB }
				NOT = { has_country_flag = this_lost_CB }
			}
		
		}
	}

	option = {
		name = "We will prevail eventually!"
		clr_country_flag = country_at_war
		
		#Clear UN peace flag
		clr_country_flag = UN_demands_peace_flag
		clr_country_flag = country_that_UN_demands_peace_flag
		remove_country_modifier = called_allies_un
		remove_country_modifier = stop_un_spam
		remove_country_modifier = resolution_vetoed_unsc
		
		#Clear AI is more trigger happy with nukes flag
		clr_country_flag = more_willing_nuke_behaviour
		
		#Clear capitulation flag for the AI
		clr_country_flag = nation_has_capitulated

		#Clear Colonial Overlord markers
		clr_country_flag = colonial_overlord_at_war

		#Clear aggressor flag
		clr_country_flag = this_is_aggressor

		#Clear CB bypass flag
		clr_country_flag = bypass_normal_CB_requirements

		#Remove CB markers
		clr_country_flag = this_won_CB
		clr_country_flag = this_lost_CB

		#Remove strategic bombardment flag
		clr_country_flag = strategic_bombardment

		#Great Patriotic War gives post war war exhaustion

		random_owned = { 
			limit = { owner = { has_country_modifier = fanatic_army } }
			owner = { remove_country_modifier = fanatic_army war_exhaustion = 50 any_pop = { dominant_issue = { value = pacifism factor = 0.25 } } }
		}

		#Reset Satellites
		clr_country_flag = destroy_satelllites
		
		#Remove constricting trade
		remove_country_modifier = constricting_international_trade
		remove_country_modifier = constrict_international_trade_modifier

		#Slight ideology loss
		random_owned = { 
			limit = { owner = { ruling_party_ideology = conservative } }
			owner = { any_pop = { ideology = { factor = -0.05 value = conservative } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = big_tent } }
			owner = { any_pop = { ideology = { factor = -0.05 value = big_tent } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = socialist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = socialist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = traditionalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = traditionalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = populist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = populist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = nationalist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = nationalist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = progressive } }
			owner = { any_pop = { ideology = { factor = -0.05 value = progressive } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = liberal } }
			owner = { any_pop = { ideology = { factor = -0.05 value = liberal } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist } } }
		}

		random_owned = { 
			limit = { owner = { ruling_party_ideology = communist_social } }
			owner = { any_pop = { ideology = { factor = -0.05 value = communist_social } } }
		}

	}

}

#cweThe Profumo Affair
country_event = {
  id = 8005017
  title = "The Profumo Affair"
  desc = EVTDESC8005017
  picture = "nwo2_profumo_affair"
  fire_only_once = yes

	trigger = {
		tag = ENG
		year = 1963 
		NOT = { year = 1990 }
		
		government = hms_government
		ruling_party_ideology = conservative
	}

	mean_time_to_happen = { months = 3 }

	option = {
		name = "The party takes responsibility"
		prestige = -50
		all_core = {
			any_pop = { ideology = { factor = -0.05 value = conservative } } 
		}
		ai_chance = { factor = 0.9 }
	}
	
	option = {
		name = "So what?"
		any_pop = { 
			scaled_militancy = {
				factor = 5
				ideology = conservative
			}
			scaled_militancy = {
				factor = 10
				ideology = nationalist
			}
			scaled_militancy = {
				factor = 10
				ideology = populist
			}
		}
		ai_chance = { factor = 0.1 }
	}
	
}
#De-Pillarisation
#cweEvent to depillarise the Netherlands after it has been pillarised
country_event = {
  id = 8006708
  title = EVT_8006708_NAME
  desc = EVT_8006708_DESC
  picture = "nwo2_depillarised_society"
  fire_only_once = yes

  trigger = {
    year = 1960 NOT = { year = 1980 } #60's and 70's
    pstn_network = 1 #Widespread media acces
    third_way = 1 #Economic growth
    tag = NET 
    OR = { government = democracy government = hms_government } #check if country hasn't become a dictatorship
  }
  
  mean_time_to_happen = { months = 6 }

  option = {
    name = EVT_8006708_A
    NET = {
      any_pop = { ideology = { value = traditionalist factor = -0.10 } }  
      any_pop = { ideology = { value = conservative factor = -0.10 } } 
      any_pop = { ideology = { value = liberal factor = 0.10 } }   
      any_pop = { ideology = { value = socialist factor = 0.10 } }  
    }
  }
}
#cweLabor Zionism used as a way to model Israel's politics
country_event = {
	id = 22615
	title = EVT_22615_NAME 
	desc = EVT_22615_DESC
   	picture = "independence_of_israel"
	fire_only_once = yes

  	trigger = {
		tag = ISR
		government = democracy
		year = 1946 NOT = { year = 1990 }
	}

	mean_time_to_happen = { months = 1 }

   	option = {
        name = EVT_22615_OPTA
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = 0.35 value = socialist } }
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = 0.16 value = communist_social } }
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = 0.02 value = communist } }
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = 0.04 value = liberal } }
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = 0.05 value = big_tent } }
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = 0.12 value = traditionalist } }
		any_pop = { limit = { OR = { culture = jewish culture = haredim_jewish } } ideology = { factor = -0.07 value = conservative } }
	}
}
communism^
crimeamodcountry_event = {

	id = 204018
	title = "Franz Joseph and the Bach years"
	desc = "EVTDESC204018"
	picture = "franzjoseph"

	trigger = {
		OR = {
		tag = AUS
		tag = KUK
		}
		OR = {
			government = prussian_constitutionalism 
			government = hms_government
		}
		year = 1850
		war = no
		has_country_flag = joseph
		NOT = {
		year = 1870
		}
	}

	fire_only_once = yes
	mean_time_to_happen = {
		months = 12
	}
	
	option = {
		name = "Their worry is not for naught. Austria shall usher in an era of neo-absolutism."
		plurality = -10
		clr_country_flag = tory_election_win
		clr_country_flag = socialist_election_win
		clr_country_flag = liberal_election_win
		clr_country_flag = communist_election_win
		set_country_flag = reactionary_election_win
		clr_country_flag = anarcho_liberal_election_win
		random_owned = {
			limit = { owner = { OR = { political_parties = secret_ballots political_parties = non_secret_ballots } } }
			owner = { political_reform = gerrymandering }
		}
		random_owned = {
			limit = { owner = { political_parties = gerrymandering } }
			owner = { political_reform = harassment }
		}
		random_owned = {
			limit = { owner = { press_rights = free_press } }
			owner = { political_reform = censored_press }
		}
		random_owned = {
			limit = { owner = { OR = { vote_franschise = universal_voting vote_franschise = universal_weighted_voting } } }
			owner = { political_reform = wealth_voting }
		}
		random_owned = {
			limit = { owner = { vote_franschise = wealth_voting } }
			owner = { political_reform = wealth_weighted_voting }
		}
		random_owned = {
			limit = { owner = { press_rights = wealth_weighted_voting } }
			owner = { political_reform = landed_voting }
		}
		random_owned = {
			limit = { owner = { OR = { citizens_rights = all_voting_pops citizens_rights = culture_voting_only } } }
			owner = { social_reform = primary_culture_only }
		}
		ruling_party_ideology = reactionary
		any_pop = {
			limit = {
				culture = south_german
			}
			militancy = -5
			consciousness = -5
			ideology = {
				factor = -0.1
				value = liberal
			}
			ideology = {
				factor = -0.1
				value = conservative
			}
			ideology = {
				factor = 0.1
				value = reactionary
			}
		}
		any_pop = {
			limit = {
				NOT = { culture = south_german }
			}
			ideology = {
				factor = -0.05
				value = liberal
			}
			ideology = {
				factor = 0.1
				value = conservative
			}
			scaled_consciousness = {
				factor = 2
				ideology = liberal
			}
			scaled_militancy = {
				factor = 5
				ideology = liberal
			}
		}
		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist
		remove_country_modifier = expert_diplomat
		add_country_modifier = {
			name = imperious_autocrat
			duration = 3650
		}
		ai_chance = {
			factor = 90
			modifier = {
			factor = 0.5
			ruling_party_ideology = liberal
			}
		}
	}

	option = {
		name = "It's best we don't do anything radical lest we agitate the minorities."
		plurality = 5
		prestige = 5
		any_pop = {
			limit = {
				culture = south_german
			}
			ideology = {
				factor = 0.1
				value = reactionary
			}
			scaled_consciousness = {
				factor = 9
				ideology = reactionary
			}
			scaled_militancy = {
				factor = 9
				ideology = reactionary
			}
		}
		any_pop = {
			limit = {
				NOT = { culture = south_german }
			}
			ideology = {
				factor = -0.05
				value = reactionary
			}
			scaled_consciousness = {
				factor = -5
				ideology = liberal
			}
			scaled_militancy = {
				factor = -5
				ideology = liberal
			}
		}
		rich_strata = {
			consciousness = 2
		}
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0
				ruling_party_ideology = reactionary
			}
			modifier = {
				factor = 10
				ruling_party_ideology = liberal
			}
		}
	}
}
#reactionary^
#conservativeV
	#Description: Finnish party open letter - pops gain militancy and consciousness if Finland is being Russified
	country_event = {

		id = 61000
		title = "EVTNAME61000"
		desc = "EVTDESC61000"
		picture = "senate_debate"

		trigger = {
			tag = FIN
			is_vassal = yes
			has_country_flag = FIN_russified
			average_consciousness = 1
		}

		fire_only_once = yes

		mean_time_to_happen = {
			months = 6
		}

		option = {
			name = "EVTOPTA61000"

			any_pop = {
				scaled_consciousness = {
					factor = -2
					ideology = conservative
				}
				scaled_militancy = {
					factor = -4
					ideology = conservative
				}
				ideology = {
					factor = -0.2
					value = conservative
				}
			}

			ai_chance = { factor = 1 }
		}
	}
		#Boulanger Coup Fails!
	country_event = {
		id = 99944
		title = "EVTNAME99944"
		desc = "EVTDESC99944"
		fire_only_once = yes
		major = yes

		trigger = {
			tag = FRA
			government = democracy
			election = no
			412 = { NOT = { owned_by = THIS } }
			has_country_flag = boulanger_coup_fails
			NOT = { has_country_flag = boulanger_exiled }
		}

		mean_time_to_happen = {
			days = 7
		}

		immediate = { set_country_flag = boulanger_exiled }

		option = {
			name = "EVTOPTA99944"

			any_pop = {
				limit = {
					is_primary_culture = yes
					is_accepted_culture = yes
				}
				ideology = { factor = -0.2 value = reactionary }
				ideology = { factor = -0.1 value = conservative }
			}

			any_pop = {
				limit = {
					location = { is_core = THIS }
					is_primary_culture = yes
				}
				scaled_militancy = { ideology = reactionary factor = 4 }
				scaled_militancy = { ideology = conservative factor = 4 }
				scaled_militancy = { ideology = liberal factor = -4 }
				scaled_militancy = { ideology = socialist factor = -4 }
				scaled_militancy = { ideology = communist factor = -4 }
			}
		}
	}
	#cwe #The Recruit Scandal, 1988
country_event = {
	id = 1610038
title = "The Recruit Scandal"
	desc = EVTDESC1610038
	picture = "recruit_scandal"

fire_only_once = yes

trigger = {
tag = JAP
war = no
OR = { has_country_modifier = mnchigh has_country_modifier = mncmedium }
year = 1988
NOT = { year = 1991 }
OR = { government = democracy government = democracy1 government = hms_government government = hms_government1 }
}

mean_time_to_happen = { 
months = 6
}

option = {
name = "This is massive!"

any_pop = { ideology = { factor = -0.10 value = conservative } } 
any_pop = { ideology = { factor = -0.05 value = big_tent } }
any_pop = { ideology = { factor = -0.05 value = populist } }
any_pop = { ideology = { factor = -0.05 value = progressive } }  

country_event = 111222

		}

}
	#conservative^
	#anarcho_liberalV
	#Ult #National Instability
country_event = {
	id = 100000
	title = "EVTNAME100000"
	desc = "EVTDESC100000"
	picture = "Demonstration"

	trigger = {
		tag = GER
		
		is_ideology_enabled = fascist

		OR = {
			government = democracy
			government = hms_government
		}

		# Conservative does not have majority of upper house
		NOT = { upper_house = { ideology = conservative value = 0.60 } }

		average_consciousness = 3
		average_militancy     = 3
	} #trigger

	fire_only_once = yes

	option = {
		name = "EVTOPTA100000"

		upper_house = { ideology = conservative value = 1 }

		any_pop = {
			limit = {
				location = { is_colonial = no }
			}

			ideology = { factor = -0.05 value = anarcho_liberal }
			ideology = { factor = -0.05 value = liberal }

			consciousness = -2
			militancy     = -2
		}

		political_reform = none_voting
		political_reform = party_appointed
		political_reform = censored_press
		political_reform = state_controlled

		country_event = 17600

		set_country_flag = ger_emergency
	} #OptionA

	option = {
		name = "EVTOPTB100000"
		
		set_country_flag = ger_instability
	} #OptionB
#anarcho_liberal^
#radicalV
#GFM #decisions #DIM_cultuurstelsel.txt     DIM_agrarische_wet = {
        picture = DIM_staatsblad
        alert = no
        potential = {
            OR = {
				tag = NET
				tag = BNF
			}
            owns = 1413
            has_global_flag = cultuurstelsel
            NOT = {
                OR = {
                    has_global_flag = agrarische_wet
                    has_global_flag = agrarische_wet_abandoned
                }
                has_global_flag = ethische_politiek
            }
        }

        allow = {
            owns = 1413
            has_global_flag = cultuurstelsel
            OR = {
                upper_house = { ideology = liberal value = 0.45 }
                AND = {
                    has_global_flag = regeringsregelement
                    OR = {
                        ruling_party_ideology = liberal
                        ruling_party_ideology = socialist
                        ruling_party_ideology = communist
                    }
                }
            }
        }

        effect = {
            prestige = -10
            any_owned = { remove_province_modifier = landverhuurstelsel }
            any_owned = {
                remove_province_modifier = cultuurstelsel
                remove_province_modifier = cultuurstelsel_reformed
            }
            badboy = -1
            upper_house = { ideology = conservative value = 0.20 }
            upper_house = { ideology = reactionary value = 0.15 }
            remove_country_modifier = DIM_colonial_question
            set_global_flag = cultuurstelsel_abandoned
            set_global_flag = agrarische_wet
            clr_global_flag = cultuurstelsel
            clr_global_flag = cultuurstelsel_extended
            clr_global_flag = colonial_question
            any_pop = {
                scaled_militancy = { factor = -3 ideology = liberal }
                scaled_militancy = { factor = -5 ideology = radical }
            }
            any_pop = {
                limit = {
                    OR = {
                        is_primary_culture = yes
                        is_accepted_culture = yes
                    }
                }
                ideology = { factor = 0.15 value = conservative }
                ideology = { factor = -0.1 value = radical }
            }
        }

        ai_will_do = {
            factor = 1
            modifier = {
                factor = 0
                NOT = { year = 1870 }
            }
            modifier = {
                factor = 0
                NOT = { average_militancy = 5 }
                NOT = { year = 1855 }
            }
        }
    }
#GFM #events #NETFlavor.txt #Aletta Jacob speaks out on women's suffrage.
country_event = {
    id = 211505
    title = "NET_jacobs_voting2_title"
    desc = "NET_jacobs_voting2_desc"
    picture = "DIM_jacobs_election"
    fire_only_once = yes

    trigger = {
        OR = {
			tag = NET
			tag = BNF
		}
        year = 1893
        has_global_flag = aletta_jacobs
        vote_franschise = universal_voting
        NOT = { has_country_modifier = female_suffrage }
    }

    mean_time_to_happen =  { months = 8 }

    option = {
        name = "EVTOPTA211505"
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
            }
            consciousness = 0.25
            ideology = { factor = 0.05 value = conservative }
            ideology = { factor = 0.05 value = radical }
        }

        ai_chance = { factor = 75 }
    }

    option = {
        name = "EVTOPTB211505"
        add_country_modifier = { name = female_suffrage duration = -1 }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
            }
            scaled_militancy = { factor = 5 ideology = reactionary }
            scaled_militancy = { factor = 5 ideology = conservative }
            ideology = { factor = -0.5 value = radical }
        }

        ai_chance = { factor = 20 }
    }

    option = {
        name = "EVTOPTC211505"
        plurality = -5
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
            }
            scaled_militancy = { factor = 5 ideology = radical }
            scaled_militancy = { factor = 2 ideology = liberal }
        }

        ai_chance = { factor = 5 }
    }

}
#liberal:v
#CoE #2022deeve DivExpevents Monarchy.txt country_event = {

id = 800123
title = "EVTNAME800123" # The Old Guard
desc = "EVTDESC800123"
picture = "Finepeople"

trigger = {
exists = yes
OR = {
OR = { government = absolute_monarchy government = absolute_monarchy2 government = absolute_monarchy3 }
OR = { government = hms_government government = hms_government2 government = hms_government3 }
OR = { government = prussian_constitutionalism government = prussian_constitutionalism2 government = prussian_constitutionalism3 }
}
OR = {
has_country_flag = liberal_revolution_in_progress
liberal = 20
vote_franschise = universal_voting
vote_franschise = universal_weighted_voting
}
}

mean_time_to_happen = {
months = 200
modifier = {
factor = 1.2
average_consciousness = 5
}
modifier = {
factor = 0.25
has_country_flag = liberal_revolution_in_progress
}
modifier = {
factor = 0.1
has_country_modifier = springtime_of_nations
}
modifier = {
factor = 0.9
NOT = { average_consciousness = 3 }
}
modifier = {
factor = 0.9
average_militancy = 1.0
}
modifier = {
factor = 0.9
average_militancy = 2.0
}
modifier = {
factor = 0.8
average_militancy = 3.0
}
modifier = {
factor = 0.8
average_militancy = 4.0
}
modifier = {
factor = 0.7
average_militancy = 5.0
}
modifier = {
factor = 0.9
invention = hierarchical_order
}
modifier = {
factor = 0.9
invention = traditionalism
}
modifier = {
factor = 1.1
invention = social_conscience
}
modifier = {
factor = 1.1
invention = social_justice
}
modifier = {
factor = 1.1
invention = meritocracy_vs._aristocracy
}
modifier = {
factor = 1.5
revolution_n_counterrevolution = 1
}
modifier = {
factor = 2
mass_politics = 1
}
}

option = {
name = "We support their efforts."
upper_house = {
ideology = reactionary
value = 0.2
}
rich_strata = {
limit = { is_primary_culture = yes }
ideology = {
factor = -0.2
value = liberal
}
ideology = {
factor = 0.2
value = reactionary
}
scaled_consciousness = {
factor = -6
ideology = reactionary
}
scaled_consciousness = {
factor = -3
ideology = conservative
} 
}
ai_chance = {
factor = 40
modifier = {
factor = 1.5
ruling_party_ideology = reactionary
}
modifier = {
factor = 0.1
ruling_party_ideology = liberal
}
modifier = {
factor = 1.5
OR = { government = absolute_monarchy government = absolute_monarchy2 government = absolute_monarchy3 }
}
modifier = {
factor = 0.5
OR = { government = hms_government government = hms_government2 government = hms_government3 }
}
}
}
option = {
name = "Let them be."
rich_strata = {
limit = { is_primary_culture = yes }
ideology = {
factor = -0.1
value = liberal
}
ideology = {
factor = 0.1
value = reactionary
}
scaled_consciousness = {
factor = -3
ideology = reactionary
}
scaled_consciousness = {
factor = -1.5
ideology = conservative
} 
}
ai_chance = {
factor = 40
modifier = {
factor = 0.75
OR = { government = absolute_monarchy government = absolute_monarchy2 government = absolute_monarchy3 }
}
modifier = {
factor = 0.75
OR = { government = hms_government government = hms_government2 government = hms_government3 }
}
}
}
option = {
name = "They need to be stopped."
rich_strata = {
limit = { is_primary_culture = yes }
scaled_militancy = {
factor = 5
ideology = reactionary
}
scaled_militancy = {
factor = 3
ideology = conservative
} 
}
ai_chance = {
factor = 20
modifier = {
factor = 0.1
ruling_party_ideology = reactionary
}
modifier = {
factor = 2
ruling_party_ideology = liberal
}
modifier = {
factor = 0.5
OR = { government = absolute_monarchy government = absolute_monarchy2 government = absolute_monarchy3 }
}
modifier = {
factor = 1.5
OR = { government = hms_government government = hms_government2 government = hms_government3 }
}
}
}
}


#GF #country_event
	#TGCDescription: Carlos Lopez coup
	country_event = {
		id = 700002
		title = "EVTNAME700002"
		desc = "EVTDESC700002"
		picture = "lopez_dictator"

		fire_only_once = yes

		trigger = {
			tag = PRG
			exists = yes
			year = 1844
			has_country_flag = carlos_lopez_elected
			NOT = { year = 1860 }
			NOT = { has_country_modifier = solano_lopez_industrialization }
		}

		mean_time_to_happen = { months = 2 }

		immediate = { clr_country_flag = carlos_lopez_elected }

		# Dictatorship
		option = {
			name = "EVTOPTA700002"

			add_country_modifier = { name = solano_lopez_industrialization duration = 1825 }
			set_country_flag = carlos_lopez_dictator
			ruling_party_ideology = reactionary
			government = presidential_dictatorship
			## Reforms ##
				political_reform = party_appointed
				political_reform = none_voting
				political_reform = no_meeting
				political_reform = underground_parties
				political_reform = state_press
			## Election Flags ##
				clr_country_flag = tory_election_win
				clr_country_flag = socialist_election_win
				clr_country_flag = liberal_election_win
				clr_country_flag = communist_election_win
				clr_country_flag = fascist_election_win
				clr_country_flag = reactionary_election_win
				clr_country_flag = anarcho_liberal_election_win
			## Prime Ministers ##
				remove_country_modifier = expert_diplomat
				remove_country_modifier = successful_industrialist
				remove_country_modifier = ivory_tower_intellectual
				remove_country_modifier = man_of_the_people
				remove_country_modifier = landed_gentleman
				remove_country_modifier = military_man
				remove_country_modifier = lord_admiral
				remove_country_modifier = raving_loon
				remove_country_modifier = luddite
				remove_country_modifier = great_statesman
				remove_country_modifier = backroom_boy
				remove_country_modifier = great_reformer
				remove_country_modifier = gauche_buffoon
				remove_country_modifier = administrative_genius
				remove_country_modifier = visionary_thinker
				remove_country_modifier = competent_placeholder
				remove_country_modifier = imperious_autocrat
				remove_country_modifier = prince_of_terror
				remove_country_modifier = efficient_sociopath
				remove_country_modifier = pig_headed_isolationist
				remove_country_modifier = ambitious_union_boss
				remove_country_modifier = dour_economist
			any_pop = { ideology = { factor = -0.2 value = liberal } }

			any_neighbor_country = { relation = { who = THIS value = -50 } }

			ai_chance = { factor = 100 }
		}

		# Democracy
		option = {
			name = "EVTOPTB700002"

			any_pop = {
				scaled_militancy = {
					ideology = conservative
					factor = 9
				}
				scaled_militancy = {
					ideology = reactionary
					factor = 9
				}
				ideology = {
					factor = 0.3
					value = liberal
				}
			}

			ai_chance = { factor = 0 }
		}
	}
#TGC #PRsbHPM PRGhist.txt: country_event = {
id = 700001
title = "EVTNAME700001" #Rise of Carlos Lopez
desc = "EVTDESC700001"
picture = "carlos_lopez"

fire_only_once = yes

trigger = {
tag = PRG
year = 1839
NOT = {
has_country_modifier = francia_utopia 
has_country_modifier = national_confusion
}
NOT = { year = 1860 }
}

mean_time_to_happen = { days = 5 }

option = {
name = "EVTOPT700001A"
set_country_flag = carlos_lopez_elected
ruling_party_ideology = conservative
political_reform = freedom_of_womb
political_reform = wealth_weighted_voting
political_reform = state_equal_weight
political_reform = free_press
political_reform = yes_meeting
political_reform = harassment
government = democracy  
add_country_modifier = {
name = solano_lopez_industrialization
duration = 730
}
}
}

country_event = {
id = 700002
title = "EVTNAME700002" #Carlos Lopez coup
desc = "EVTDESC700002"
picture = "lopez_dictator"

fire_only_once = yes

trigger = {
tag = PRG
year = 1844
has_country_flag = carlos_lopez_elected
NOT = { year = 1860 }
NOT = { has_country_modifier = solano_lopez_industrialization }
}

mean_time_to_happen = { months = 2 }

option = {
name = "EVTOPT700002A"
add_country_modifier = {
name = solano_lopez_industrialization
duration = 1825
}
clr_country_flag = carlos_lopez_elected
set_country_flag = carlos_lopez_dictator
ruling_party_ideology = reactionary
political_reform = party_appointed
political_reform = none_voting
political_reform = no_meeting
political_reform = underground_parties
political_reform = state_press
government = presidential_dictatorship
2367 = { secede_province = THIS add_core = PRG any_pop = { literacy = -0.99 } life_rating = 18 }
2366 = {
secede_province = THIS
add_core = PRG
any_pop = { literacy = -0.99 }
any_pop = { limit = { has_pop_culture = platinean} literacy = 0.05 }
life_rating = 18
}
2338 = { secede_province = THIS add_core = PRG any_pop = { literacy = -0.99 } life_rating = 18 }
2337 = { secede_province = THIS add_core = PRG any_pop = { literacy = -0.99 } life_rating = 18 }
2337 = { change_province_name = "Villa Occidental" }
any_pop = { ideology = { factor = -0.2 value = liberal } }

any_neighbor_country = { relation = { who = THIS value = -50 } }
ai_chance = { factor = 100 }
}

option = {
name = "EVTOPT700002B"
clr_country_flag = carlos_lopez_elected
any_pop = {
scaled_militancy = {
ideology = conservative
factor = 9
}
scaled_militancy = {
ideology = reactionary
factor = 9
}
ideology = {
factor = 0.3
value = liberal
}
}
ai_chance = {
factor = 0
}
}
}

#MDL2021 country_event = {
id = 700002
title = "EVTNAME700002" #Carlos Lopez coup
desc = "EVTDESC700002"
picture = "lopez_dictator"

fire_only_once = yes

trigger = {
tag = PRG
year = 1844
has_country_flag = carlos_lopez_elected
NOT = { year = 1860 }
NOT = { has_country_modifier = solano_lopez_industrialization }
}

mean_time_to_happen = { months = 2 }

option = {
name = "EVTOPT700002A"
add_country_modifier = {
name = solano_lopez_industrialization
duration = 1825
}
clr_country_flag = carlos_lopez_elected
set_country_flag = carlos_lopez_dictator
ruling_party_ideology = reactionary
political_reform = party_appointed
political_reform = none_voting
political_reform = no_meeting
political_reform = underground_parties
political_reform = state_press
government = presidential_dictatorship
2367 = { secede_province = THIS add_core = PRG any_pop = { literacy = -0.99 } life_rating = 20 }
2366 = {
secede_province = THIS
add_core = PRG
any_pop = { literacy = -0.99 }
any_pop = { limit = { has_pop_culture = platinean} literacy = 0.05 }
life_rating = 20
}
2338 = { secede_province = THIS add_core = PRG any_pop = { literacy = -0.99 } life_rating = 20 }
2337 = { secede_province = THIS add_core = PRG any_pop = { literacy = -0.99 } life_rating = 20 }
2337 = { change_province_name = "Villa Occidental" }
any_pop = { ideology = { factor = -0.2 value = liberal } }

any_neighbor_country = { relation = { who = THIS value = -50 } }
ai_chance = { factor = 100 }
}

option = {
name = "EVTOPT700002B"
clr_country_flag = carlos_lopez_elected
any_pop = {
scaled_militancy = {
ideology = conservative
factor = 9
}
scaled_militancy = {
ideology = reactionary
factor = 9
}
ideology = {
factor = 0.3
value = liberal
}
}
ai_chance = {
factor = 0
}
}
}

#BAI country_event = {
	id = 700002
	title = "EVTNAME700002" #Carlos Lopez coup
	desc = "EVTDESC700002"
	picture = "carlos_lopez"
	
	fire_only_once = yes
	
	trigger = {
		tag = PRG
		year = 1844
		OR = {
			government = democracy
			government = presidential_dictatorship
		}
		NOT = {
			has_country_flag = carlos_lopez_dictator
			year = 1860
		}
	}
		
	mean_time_to_happen = {
		months = 6
	}
	
	option = {
		name = "EVTOPT700002A"
		set_country_flag = carlos_lopez_dictator
		ruling_party_ideology = reactionary
		random_owned = {
			limit = { owner = { slavery = yes_slavery } }
			owner = { political_reform = abolish_slavery }
		}
		political_reform = party_appointed
		political_reform = none_voting
		political_reform = no_meeting
		political_reform = underground_parties
		political_reform = state_press
		government = presidential_dictatorship
		clr_country_flag = tory_election_win
		clr_country_flag = socialist_election_win
		clr_country_flag = liberal_election_win
		clr_country_flag = communist_election_win
		clr_country_flag = fascist_election_win
		clr_country_flag = reactionary_election_win
		clr_country_flag = anarcho_liberal_election_win
		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist
		any_pop = {
			ideology = {
				factor = -0.2
				value = liberal
			}
		}

		any_neighbor_country = {
			relation = {
				who = THIS
				value = -50
			}
		}
		ai_chance = {
			factor = 90
		}
	}
		
	option = {
		name = "EVTOPT700002B"
		ruling_party_ideology = conservative
		political_reform = yes_slavery
		political_reform = wealth_weighted_voting
		political_reform = state_equal_weight
		political_reform = free_press
		political_reform = yes_meeting
		political_reform = harassment
		government = democracy
		set_country_flag = tory_election_win
		clr_country_flag = socialist_election_win
		clr_country_flag = liberal_election_win
		clr_country_flag = communist_election_win
		clr_country_flag = fascist_election_win
		clr_country_flag = reactionary_election_win
		clr_country_flag = anarcho_liberal_election_win
		any_pop = {
			scaled_militancy = {
				ideology = conservative
				factor = 5
			}
			scaled_militancy = {
				ideology = reactionary
				factor = 5
			}
			ideology = {
				factor = 0.3
				value = liberal
			}
		}
		ai_chance = {
			factor = 10
		}
	}
}
#BAI#If the Taiping Rebellion is Defeated
country_event = {
	id = 160002
	title = "EVTNAME160002" #Taiping Rebellion Defeated
	desc = "EVTDESC160002"
	picture = "taiping_defeated"

	trigger = {
		has_global_flag = taiping_has_happened
		tag = QNG
		NOT = { exists = TPG }
		NOT = { has_global_flag = taiping_has_been_defeated }
	}

	mean_time_to_happen = {
		days = 3
	}

	immediate = {
		any_pop = {
			ideology = {
				factor = 0.6
				value = conservative
			}
			ideology = {
				factor = 0.2
				value = reactionary
			}
			ideology = {
				factor = -0.1
				value = liberal
			}
		}
	}

	option = {
		name = "Victory is ours!"
		set_global_flag = taiping_has_been_defeated
		research_points = -12000
		prestige = 10
		any_owned = {
			limit = { is_core = TPG }
			any_pop = {
				reduce_pop = 0.90
				militancy = -5
			}
		}
		TPG = {
			all_core = { remove_core = TPG }
		}
	}
}

}
	#BAI raise_the_bonnie_blue_flag = {
		potential = {
			tag = CSA
			NOT = {
				OR = {
					has_country_modifier = the_bonnie_blue_flag
					has_country_flag = 1861CSAstart
				}
				has_country_flag = bonnie_blue_flag
			}
		}
		
		allow = {
			war_with = USA
		}
		
		effect = {
		political_reform = quota_immigration
			define_general = {
				name = "Robert E.Lee"
	            personality = defence_3.1
	            background = attack_4.1
			}

			define_general = {
				name = "Thomas Jackson"
	            personality = defence_5.1
	            background = attack_1.1
			}
			define_general = {
				name = "J.E.B. Stuart"
	            personality = defence_3.1
	            background = attack_2.1
			}
			define_general = {
				name = "James Longstreet"
	            personality = defence_2.1
	            background = attack_2.1
			}
			define_general = {
				name = "Nathan Bedford Forrest"
	            personality = defence_2.1
	            background = attack_3.1
			}
			define_general = {
				name = "Pierre Beauregard"
	            personality = defence_2.1
	            background = attack_2.1
			}
			small_arms = 200
			regular_clothes = 200
			ammunition = 200
			canned_food = 200
			artillery = 200
			cotton = 550
			leadership = 80
			any_pop = {
				militancy = -2
				consciousness = -7
				dominant_issue = {
					value = yes_slavery
					factor = 0.3
				}
				ideology = {
				factor = -0.1
				value = liberal
				}
			}
			add_country_modifier = {
				name = the_bonnie_blue_flag
				duration = 730
			}
			set_country_flag = bonnie_blue_flag
		}
	}

	#crimea form_north_german_confederation = {
		potential = {
			is_greater_power = yes
			primary_culture = north_german
			NOT = {
				has_country_flag = post_colonial_country
				exists = GER
				exists = NGF
				exists = GCF
			}
		}	
		allow = {
			war = no
			nationalism_n_imperialism = 1
			GER = {
				all_core = {
					OR = {
						OR = {
							owned_by = THIS
							owner = {
								in_sphere = THIS
								OR = {
									is_vassal = no
									vassal_of = THIS
								}
								war = no
								is_greater_power = no
							}
						}
						NOT = { culture = north_german }
						is_core = AUS
						is_core = KUK
						AND = {
							is_core = RHI
							has_global_flag = rhine_crisis_won
						}
					}
					
				}
			}
		}
		
		effect = {
			any_pop = {
			limit = {
				location = { is_core = PRU }
				has_pop_culture = north_german
			}
			ideology = {
				value = liberal
				factor = -0.2
			}
			ideology = {
				value = reactionary
				factor = 0.2
			}
			}
			prestige = 15
			clr_country_flag = crown_from_the_gutter
			clr_country_flag = secondary_union_formation
			all_core = { add_core = NGF }
			any_owned = {
				limit = {
					NOT = { is_core = THIS }
					any_core = {
						exists = no
						primary_culture = north_german
						has_country_flag = wants_to_unify
						NOT = { has_country_flag = post_colonial_country }
					}
				}
				add_core = NGF
			}
			change_tag = NGF
			FRA_412 = { add_core = GER }
			any_country = {
				limit = {
					NOT = { tag = UBD }
					OR = {
						primary_culture = north_german
						tag = SCH
					}
					in_sphere = THIS 
					NOT = { tag = THIS }
					NOT = { tag = SWI }
					NOT = { tag = SIE }
					NOT = { has_country_flag = post_colonial_country }
					OR = {
						is_vassal = no
						vassal_of = THIS
					}
				}
				country_event = 11106
			}
		}
		ai_will_do = {
			factor = 1
		}
	}

	#crimea manifesto_on_unshakable_autocracy = {
		potential = {
			tag = RUS
			OR = {
				government = prussian_constitutionalism
				government = hms_government
			}
			NOT = { has_country_flag = the_manifesto }
			nationalism_n_imperialism = 1
		}
		
		allow = {
			revolution_n_counterrevolution = 1
			NOT = {
				OR = {
					ruling_party_ideology = liberal
					ruling_party_ideology = anarcho_liberal
					ruling_party_ideology = socialist
					ruling_party_ideology = communist
				}
			}
		}
		
		effect = {
			prestige = 5
			plurality = -10
			ruling_party_ideology = reactionary
			clr_country_flag = tory_election_win
			clr_country_flag = socialist_election_win
			clr_country_flag = liberal_election_win
			clr_country_flag = communist_election_win
			clr_country_flag = fascist_election_win
			clr_country_flag = reactionary_election_win
			clr_country_flag = anarcho_liberal_election_win
			remove_country_modifier = expert_diplomat
			remove_country_modifier = successful_industrialist
			remove_country_modifier = ivory_tower_intellectual
			remove_country_modifier = man_of_the_people
			remove_country_modifier = landed_gentleman
			remove_country_modifier = military_man
			remove_country_modifier = lord_admiral
			remove_country_modifier = raving_loon
			remove_country_modifier = luddite
			remove_country_modifier = great_statesman
			remove_country_modifier = backroom_boy
			remove_country_modifier = great_reformer
			remove_country_modifier = gauche_buffoon
			remove_country_modifier = administrative_genius
			remove_country_modifier = visionary_thinker
			remove_country_modifier = competent_placeholder
			remove_country_modifier = imperious_autocrat
			remove_country_modifier = prince_of_terror
			remove_country_modifier = efficient_sociopath
			remove_country_modifier = pig_headed_isolationist
			remove_country_modifier = ambitious_union_boss
			remove_country_modifier = dour_economist
			any_pop = {
				ideology = {
					value = liberal
					factor = -0.1
				}
				ideology = {
					value = conservative
					factor = 0.1
				}
				ideology = {
					value = reactionary
					factor = 0.05
				}
				scaled_militancy = {
					ideology = reactionary
					factor = -5
				}
				scaled_consciousness = {
					ideology = reactionary
					factor = -5
				}
				scaled_militancy = {
					ideology = conservative
					factor = -2
				}
				scaled_consciousness = {
					ideology = conservative
					factor = -2
				}
				scaled_militancy = {
					ideology = liberal
					factor = 1
				}
				scaled_consciousness = {
					ideology = liberal
					factor = 1
				}
				scaled_militancy = {
					ideology = anarcho_liberal
					factor = 2
				}
				scaled_consciousness = {
					ideology = anarcho_liberal
					factor = 4
				}
				scaled_militancy = {
					ideology = socialist
					factor = 4
				}
				scaled_consciousness = {
					ideology = socialist
					factor = 4
				}
				scaled_militancy = {
					ideology = communist
					factor = 4
				}
				scaled_consciousness  = {
					ideology = communist
					factor = 6
				}
			}
			set_country_flag = the_manifesto
		}
		ai_will_do = {
			factor = 1 
		}
	}

#crimeaSecessionist Sentiments (growth)
province_event = {
	id = 16250
	title = "EVTNAME16250"
	desc = "EVTDESC16250"
	
	trigger = {
		NOT = { is_core = CSA }
		is_core = USA
		continent = north_america
		owner = {
			tag = USA
			slavery = yes_slavery
			has_country_flag = the_south_will_rise
			NOT = {
				has_global_flag = american_civil_war_has_happened
				has_global_flag = american_civil_war_happening
			}
		}
		OR = {
			state_scope = {
				is_slave = yes
			}
			province_id = 129 #Oklahoma
			province_id = 130
			province_id = 131
			province_id = 132 #Texas
			province_id = 133
			province_id = 134
			province_id = 135
			province_id = 136
			province_id = 137
			province_id = 138
			province_id = 198 #Florida
			province_id = 199
			province_id = 2209
		}
		NOT = {
			OR = {
				AND = { #Nebraska without Kansas
					OR = {
						province_id = 123
						province_id = 124
						province_id = 125
					}
					127 = {
						NOT = {
							is_core = CSA
						}
					}
				}
				AND = { #Kansas without Oklahoma
					OR = {
						province_id = 126
						province_id = 127
						province_id = 128
					}
					130 = {
						NOT = {
							is_core = CSA
						}
					}
				}
			}
		}
		any_neighbor_province = { is_core = CSA }
		yes_slavery = 10
		OR = {
			average_consciousness = 5
			owner = { ruling_party_ideology = liberal }
			owner = {
				upper_house = {
					ideology = liberal
					value = 0.4
				}
			}
		}
	}
	
	mean_time_to_happen = {
		months = 3
		modifier = {
			factor = 0.5
			yes_slavery = 15
		}
		modifier = {
			factor = 0.5
			average_consciousness = 4
		}
		modifier = {
			factor = 0.5
			average_consciousness = 5
		}
	}
	
	option = {
		name = "EVTOPTA16250"
		state_scope = {
			any_owned = {
				add_core = CSA
			}
			any_pop = {
				dominant_issue = {
					value = yes_slavery
					factor = 0.2
				}
				ideology = {
				factor = -0.33
				value = liberal
				}
				ideology = {
				factor = 0.33
				value = conservative
				}
				ideology = {
				factor = 0.33
				value = reactionary
				}
				militancy = 1
			}
		}
	}
}
#crimea ACW.txt : #Secessionist Sentiments (growth)
province_event = {
id = 16250
title = "EVTNAME16250"
desc = "EVTDESC16250"

trigger = {
NOT = { is_core = CSA }
is_core = USA
continent = north_america
owner = {
tag = USA
slavery = yes_slavery
has_country_flag = the_south_will_rise
NOT = {
has_global_flag = american_civil_war_has_happened
has_global_flag = american_civil_war_happening
}
}
OR = {
state_scope = {
is_slave = yes
}
province_id = 129 #Oklahoma
province_id = 130
province_id = 131
province_id = 132 #Texas
province_id = 133
province_id = 134
province_id = 135
province_id = 136
province_id = 137
province_id = 138
province_id = 198 #Florida
province_id = 199
province_id = 2209
}
NOT = {
OR = {
AND = { #Nebraska without Kansas
OR = {
province_id = 123
province_id = 124
province_id = 125
}
127 = {
NOT = {
is_core = CSA
}
}
}
AND = { #Kansas without Oklahoma
OR = {
province_id = 126
province_id = 127
province_id = 128
}
130 = {
NOT = {
is_core = CSA
}
}
}
}
}
any_neighbor_province = { is_core = CSA }
yes_slavery = 10
OR = {
average_consciousness = 5
owner = { ruling_party_ideology = liberal }
owner = {
upper_house = {
ideology = liberal
value = 0.4
}
}
}
}

mean_time_to_happen = {
months = 3
modifier = {
factor = 0.5
yes_slavery = 15
}
modifier = {
factor = 0.5
average_consciousness = 4
}
modifier = {
factor = 0.5
average_consciousness = 5
}
}

option = {
name = "EVTOPTA16250"
state_scope = {
any_owned = {
add_core = CSA
}
any_pop = {
dominant_issue = {
value = yes_slavery
factor = 0.2
}
ideology = {
factor = -0.33
value = liberal
}
ideology = {
factor = 0.33
value = conservative
}
ideology = {
factor = 0.33
value = reactionary
}
militancy = 1
}
}
}
}

#crimea#Secessionist Sentiments (initial)
province_event = {
	id = 16251
	title = "EVTNAME16250"
	desc = "EVTDESC16250"
	
	trigger = {
		NOT = { is_core = CSA }
		continent = north_america
		owner = {
			tag = USA
			slavery = yes_slavery
			NOT = {
				has_global_flag = american_civil_war_has_happened
				has_global_flag = american_civil_war_happening
			}
		}
		state_scope = {
			is_slave = yes
		}
		NOT = {
			OR = {
				province_id = 2209
				province_id = 2210
				province_id = 2211
				province_id = 2212
				province_id = 2215
				province_id = 2213
				province_id = 2216
				province_id = 2214
			}
			AND = {
				is_core = MEX
				owner = { has_country_flag = mexico_annexation }
			}
		}
		yes_slavery = 10
		OR = {
			average_consciousness = 5
			owner = { ruling_party_ideology = liberal }
			owner = {
				upper_house = {
					ideology = liberal
					value = 0.4
				}
			}
		}
		year = 1845
	}
	
	mean_time_to_happen = {
		months = 3
		modifier = {
			factor = 0.5
			yes_slavery = 15
		}
		modifier = {
			factor = 0.5
			average_consciousness = 4
		}
		modifier = {
			factor = 0.5
			average_consciousness = 5
		}
	}
	
	option = {
		name = "EVTOPTA16250"
		state_scope = {
			any_owned = {
				add_core = CSA
			}
			any_pop = {
				dominant_issue = {
					value = yes_slavery
					factor = 0.2
				}
				ideology = {
				factor = -0.33
				value = liberal
				}
				ideology = {
				factor = 0.33
				value = conservative
				}
				ideology = {
				factor = 0.33
				value = reactionary
				}
				militancy = 1
			}
		}
		set_country_flag = the_south_will_rise
	}
}
#crimea ACW.txt : ### Fire-only-once ###
#Uncle Tom's Cabin
country_event = {
id = 16300
title = "EVTNAME16300"
desc = "EVTDESC16300"
picture = "Uncletom"

trigger = {
tag = USA
slavery = yes_slavery
year = 1852
NOT = {
has_global_flag = american_civil_war_has_happened
has_global_flag = american_civil_war_happening
}
}

fire_only_once = yes

mean_time_to_happen = {
months = 4
}

option = {
name = "EVTOPTA16300"
any_pop = {
limit = {
has_pop_culture = yankee
}
consciousness = 2
dominant_issue = {
factor = 0.1
value = abolish_slavery
}
ideology = {
value = liberal
factor = 0.05
}
}
any_pop = {
limit = {
has_pop_culture = dixie
}
consciousness = 2
dominant_issue = {
factor = 0.05
value = yes_slavery
}
ideology = {
value = conservative
factor = 0.05
}
}
}
}
#crimea# Rise of The KKK
country_event = {
	id = 16415
	title = "EVTNAME16415"
	desc = "EVTDESC16415"
	fire_only_once = yes
	picture = "kkk"
	
	trigger = {
		tag = USA
		has_global_flag = american_civil_war_has_happened
		has_country_flag = has_used_radical_reconstruction
		NOT = {
			exists = CSA
		}
		slavery = no_slavery
		owns = 211
		owns = 195
		owns = 139
	}
	
	mean_time_to_happen = {
		months = 30
	}
	
	option = {
		name = "EVTOPTA16415"
		set_country_flag = kkk
		any_pop = {
			limit = {
				has_pop_culture = dixie
			}
			militancy = 3
			consciousness = 1
			ideology = {
				value = liberal
				factor = -0.15
			}
			ideology = {
				value = conservative
				factor = 0.3
			}
			ideology = {
				value = reactionary
				factor = 0.3
			}
		}
	}
}

#crimea GSAUS.txt country_event = {
	id = 188143
	title = "EVTNAME188143"
	desc = "EVTDESC188143"
	picture = "arad_martyrs"
	
	fire_only_once = yes
	
	trigger = {
		tag = AUS
		HUN = { exists = no }
		owns = 641
		has_global_flag = hungarian_revolution_occurred
	}
		
	mean_time_to_happen = { months = 1 }
	
	option = {
		name = "EVTOPTA188143"
		prestige = 5
		badboy = 1
		clr_global_flag = hungarian_revolution_occurred
		any_owned = {
			limit = { is_core = HUN }
			}
		any_pop = { limit = { has_pop_culture = hungarian }
			random_list = {
			25 = { reduce_pop = 0.99 }
			25 = { reduce_pop = 0.985 }
			25 = { reduce_pop = 0.98 }
			25 = { reduce_pop = 0.975 }
				}
			}
		any_pop = {
			limit = {
				OR = {
					has_pop_culture = romanian
					has_pop_culture = serb
					has_pop_culture = slovak
					has_pop_culture = hungarian
				}
			}
			militancy = -6
			consciousness = -2
			ideology = {
				value = liberal
				factor = -0.15
			}
		}
		any_pop = {
			limit = {
				has_pop_culture = hungarian
				pop_type = officers
			}
			reduce_pop = 0.6
		}
		any_pop = {
			limit = {
				OR = {
					has_pop_culture = czech
					has_pop_culture = croat
					has_pop_culture = polish
					has_pop_culture = north_italian
				}
			ideology = {
				value = liberal
				factor = -0.1
			}
			}
			militancy = -2
			consciousness = -2
		}
		any_pop = {
			limit = { is_primary_culture = yes }
			militancy = -7
			consciousness = -7
			ideology = {
				value = liberal
				factor = -0.1
			}
		}
		any_owned = {
			limit = {
				is_core = CRO
			}
			remove_core = HUN
		}
		
		ai_chance = { factor = 100 }
	}
			
	option = {
		name = "EVTOPTB188143"
		prestige = 10
		clr_global_flag = hungarian_revolution_occurred
		any_owned = {
			limit = {
				is_core = CRO
			}
			remove_core = HUN
		}
		any_pop = {
			limit = {
					has_pop_culture = hungarian
			}
			consciousness = 5
		}
		any_owned = {
			limit = { is_core = HUN }
		any_pop = {
			limit = {
				OR = {
					has_pop_culture = romanian
					has_pop_culture = serb
					has_pop_culture = south_german
					has_pop_culture = slovak
				}
			}
			militancy = -6
		}
		}
		ai_chance = {
			factor = 0
			}
		}
	}
#GF PRGhist.txt: country_event = {
    id = 34612
    title = "EVTNAME34612"
    desc = "EVTDESC34612"
    picture = "prussian_constitution"
    news = yes
    news_desc_long = "EVTDESC10229_NEWS_LONG"
    news_desc_medium = "EVTDESC10229_NEWS_MEDIUM"
    news_desc_short = "EVTDESC10229_NEWS_SHORT"
    major = yes
    fire_only_once = yes

    trigger = {
        OR = {
            tag = PRU
            tag = NGF
        }
        has_country_modifier = springtime_of_nations
        militancy = 4
        OR = {
            AND = {
                NOT = { press_rights = free_press }
                NOT = { vote_franschise = wealth_voting }
                NOT = { vote_franschise = universal_weighted_voting }
            }
            ai = yes
        }
        OR = {
            government = absolute_monarchy
            government = prussian_constitutionalism
            government = absolute_empire
            government = semi_constitutional_empire
        }
    }

    mean_time_to_happen = { months = 6 }

    option = {
        name = "EVTOPTA34612"
        prestige = -5
        add_country_modifier = { name = new_constitution duration = 9125 }
        political_reform = wealth_weighted_voting
        political_reform = free_press
        political_reform = yes_meeting
        political_reform = no_trade_unions
        political_reform = mandatory_service
        social_reform = trinket_health_care
        any_owned = {
            limit = { is_colonial = no }
            any_pop = {
                limit = { is_culture_group = germanic }
                militancy = -2
                consciousness = -2
                scaled_militancy = {
                    ideology = liberal
                    factor = -8
                }
                scaled_militancy = {
                    ideology = conservative
                    factor = -6
                }
                scaled_consciousness = {
                    ideology = liberal
                    factor = -4
                }
                scaled_militancy = {
                    factor = 3
                    ideology = reactionary
                }
            }
            remove_province_modifier = liberal_agitation
        }
        any_pop = {
            limit = {
                OR = {
                    strata = rich
                    strata = middle
                }
            }
            ideology = { factor = 0.15 value = conservative }
            ideology = { factor = 0.05 value = reactionary }
            ideology = { factor = -0.15 value = liberal }
        }
        any_pop = {
            limit = { strata = poor }
            ideology = { factor = 0.05 value = conservative }
            ideology = { factor = -0.05 value = liberal }
        }

        ai_chance = { factor = 99 }
    }

    option = {
        name = "EVTOPTB34612"
        prestige = 5
        any_pop = { scaled_militancy = {
            factor = -5
            ideology = reactionary
                }
            }
        any_pop = { scaled_militancy = {
            factor = 6
            ideology = liberal
                }
            }
        ai_chance = { factor = 1 }
        }
    }
"Prussian Constitution" same topic like below:^v
#crimea LiberalRevolutions.txt : # Prussian Constitutional Reform
country_event = {
id = 10229
title = "EVTNAME10229" #The $COUNTRY_ADJ$ Uprising
desc = "EVTDESC10229"
news = yes
news_desc_long = "EVTDESC10229_NEWS_LONG"
news_desc_medium = "EVTDESC10229_NEWS_MEDIUM"
news_desc_short = "EVTDESC10229_NEWS_SHORT"
picture = "danishgovernment"
major = yes

trigger = {
OR = {
tag = PRU
tag = NGF
tag = GER
}
OR = {
government = absolute_monarchy
government = prussian_constitutionalism
}
OR = {
vote_franschise = none_voting
vote_franschise = landed_voting
vote_franschise = wealth_weighted_voting
vote_franschise = wealth_voting
political_parties = underground_parties
political_parties = harassment
}
OR = {
any_owned_province = {
is_capital = yes
controlled_by_rebels = yes
}
revolt_percentage = 0.50
}
NOT = { has_country_flag = march_revolution }
}

mean_time_to_happen = {
months = 1
modifier = {
factor = 0.1
capital_scope = { controlled_by_rebels = yes }
}
}

option = {
name = "Give them limited reforms, if it pleases them."
set_country_flag = march_revolution
prestige = -10
upper_house = {
ideology = conservative
value = 0.5
}
random_owned = {
limit = {
owner = { NOT = { vote_franschise = universal_voting } }
}
owner = {
political_reform = universal_weighted_voting
}
}
random_owned = {
limit = {
owner = { NOT = { political_parties = gerrymandering } }
}
owner = { political_reform = gerrymandering }
}
random_owned = {
limit = {
owner = { NOT = { upper_house_composition = appointed } }
}
owner = { political_reform = appointed }
}
random_owned = {
limit = {
owner = { government = absolute_monarchy }
}
owner = { government = prussian_constitutionalism }
}
election = yes
random_owned = {
limit = {
is_capital = yes
controlled_by = REB
}
change_controller = THIS
}
any_owned = {
limit = { is_colonial = no }
any_pop = {
militancy = -2
ideology = {
value = liberal
factor = -0.1
}
scaled_militancy = {
ideology = liberal
factor = -8
}
scaled_militancy = {
ideology = conservative
factor = -6
}
scaled_consciousness = {
ideology = liberal
factor = -4
}
}
remove_province_modifier = liberal_agitation
}
remove_country_modifier = global_liberal_agitation
remove_country_modifier = springtime_of_nations
clr_country_flag = liberal_revolution_in_progress
clr_country_flag = liberal_revolution_fired
set_country_flag = had_liberal_revolution
ai_chance = { factor = 50 }
}

option = {
name = "Make promises, but work to undermine them."
set_country_flag = march_revolution
plurality = -5
political_reform = no_meeting
upper_house = {
ideology = reactionary
value = 0.3
}
random_owned = {
limit = {
is_capital = yes
controlled_by = REB
}
change_controller = THIS
}
any_owned = {
limit = { is_colonial = no }
any_pop = {
ideology = {
value = liberal
factor = -0.1
}
scaled_militancy = {
ideology = liberal
factor = -4
}
scaled_militancy = {
ideology = conservative
factor = -8
}
scaled_consciousness = {
ideology = liberal
factor = 4
}
}
remove_province_modifier = liberal_agitation
}
ai_chance = { factor = 50 }
}
}
#crimea LiberalRevolutions.txt : # Liberals capitalise on the Cholera Epidemic
country_event = {
title = "EVTNAME10250"
desc = "EVTDESC10250"
id = 10250
picture = "Cholera"

trigger = {
has_country_flag = liberal_revolution_in_progress
any_owned_province = {
OR = {
has_province_modifier = cholera_epidemic_big
has_province_modifier = cholera_epidemic_small
}
}
}

mean_time_to_happen = {
months = 12
modifier = {
factor = 0.9
average_consciousness = 4
}
modifier = {
factor = 0.9
liberal = 20
}
modifier = {
factor = 0.9
average_militancy = 4
}
modifier = {
factor = 0.9
political_reform_want = 0.05
}
modifier = {
factor = 2
NOT = {
liberal = 10
}
}
modifier = {
factor = 0.75
OR = {
nationalvalue = nv_liberty
nationalvalue = nv_equality
}
}
modifier = {
factor = 1.25
OR = {
nationalvalue = nv_order
nationalvalue = nv_might
}
}
}

option = {
name = "EVTOPTA10250" # Say Nothing
random_state = {
limit = { is_colonial = no }
any_pop = {
ideology = {
value = liberal
factor = 0.1
}
consciousness = 1
}
any_owned = {
add_province_modifier = {
name = liberal_agitation
duration = 730
}
}
}
}

option = {
name = "EVTOPTB10250" # Accuse them of opportunism
random_state = {
limit = { is_colonial = no }
any_pop = {
ideology = {
value = liberal
factor = 0.05
}
ideology = {
value = reactionary
factor = 0.05
}
consciousness = 0.5
}
}
}
}

#cwe #Impeachment of Bill Clinton - Start
country_event = {
	id = 8015860
	title = "Clinton–Lewinsky Scandal"
	desc = EVTDESC8015860
	picture = "clinton_lewinsky_scandal"

	fire_only_once = yes

	trigger = {
		tag = USA
		year = 1998
		NOT = { year = 2004 }
		
		government = democracy

		is_vassal = no
		war = no
		
		#Democrat party
		ruling_party_ideology = liberal
	}

	mean_time_to_happen = { 
		months = 8
	}

	option = {
		name = "I did not have sexual relations with that woman!"
		any_pop = { ideology = { factor = -0.02 value = liberal } }
		
		#Republican are furious
		any_pop = {
			scaled_militancy = {
				factor = 5
				ideology = conservative
			}
			scaled_militancy = {
				factor = 5
				ideology = traditionalist
			}
		}
		
		set_country_flag = bill_clinton_impeachment_trial
		ai_chance = { factor = 0.9 }
	}

	option = {
		name = "Okay, I did do it"
		any_pop = { ideology = { factor = -0.05 value = liberal } }

		#Change leader
		country_event = 111222

		remove_country_modifier = ruling_party_scandal
		remove_country_modifier = party_scandal_evidence 

		ai_chance = { factor = 0.1 }
	}

}

#TGCLiberal blackmail for a new constitution
country_event = {
	id = 993530
	title = "EVTNAME993530"
	desc = "EVTDESC993530"
	picture = "DIM_willem_ii"
	fire_only_once = yes

	trigger = {
		tag = NET
		OR = {
			government = prussian_constitutionalism
			government = absolute_monarchy
		}
		has_country_flag = negenmannen
		has_country_modifier = springtime_of_nations
		average_militancy = 3
		OR = {
			NOT = { has_country_flag = had_liberal_revolution }
			has_country_modifier = willem_i_legacy
		}
	}

	mean_time_to_happen = {
		months = 8

		modifier = {
			factor = 0.9
			average_militancy = 3.5
		}

		modifier = {
			factor = 0.8
			average_militancy = 4
		}

		modifier = {
			factor = 0.6
			average_militancy = 5
		}
	}

	option = {
		name = "EVTOPTB993530"
		set_country_flag = DIM_schoolstrijd
		set_country_flag = thorbecke_reforms
		upper_house = { ideology = liberal value = 0.1 }
		prestige = -10
		add_country_modifier = { name = thorbecke_reforms duration = 7300 }
		random_owned = {
			limit = {	owner = {	government = prussian_constitutionalism }	}
			owner = {
				political_reform = yes_meeting
				political_reform = free_press
				political_reform = wealth_weighted_voting
				political_reform = state_equal_weight
			}
		}
		random_owned = {
			limit = { owner = { government = absolute_monarchy } }
			owner = {
				government = prussian_constitutionalism
				political_reform = yes_meeting
				political_reform = free_press
				political_reform = landed_voting
				political_reform = state_equal_weight
			}
		}
		ruling_party_ideology = liberal
		political_reform = open_borders
		remove_country_modifier = global_liberal_agitation
		remove_country_modifier = willem_i_legacy
		any_owned = {
			limit = { is_colonial = no }
			remove_province_modifier = liberal_agitation
			any_pop = {
				ideology = { factor = 0.1 value = reactionary }
				scaled_militancy = { ideology = liberal factor = -8 }
				scaled_consciousness = { ideology = liberal factor = -8 }
				scaled_militancy = { ideology = conservative factor = -6 }
			}
			any_pop = {
				limit = {
					OR = {
						strata = rich
						strata = middle
					}
				}
				ideology = { factor = 0.1 value = conservative }
				ideology = { factor = 0.05 value = reactionary }
				ideology = { factor = -0.25 value = liberal }
			}
			any_pop = {
				limit = { strata = poor }
				ideology = { factor = 0.05 value = conservative }
				ideology = { factor = -0.05 value = liberal }
			}
		}
		random_country = {
			limit = {
			tag = THIS
			OR = {
				has_country_flag = liberal_revolution_in_progress
				has_country_flag = liberal_revolution_fired
				}
			}
			country_event = 10051
		}

		ai_chance = { factor = 90 }
	}

	option = {
		name = "EVTOPTA993530"
		prestige = -5
		plurality = -5
		set_country_flag = DIM_willem_ii_outed
		upper_house = { ideology = liberal value = 0.1 }
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes
					is_accepted_culture = yes
				}
			}
			militancy = 2
			consciousness = 3
			ideology = { factor = 0.05 value = liberal }
		}

		ai_chance = { factor = 10 }
	}
}
#GF #TGC Mahdist War in the Sudan
country_event = {
	id = 97170
	title = "EVTNAME97170" #The Mahdist Uprising
	desc = "EVTDESC97170"
	news = yes
	news_desc_long = "EVTDESC96170_NEWS_LONG"
	news_desc_medium = "EVTDESC96170_NEWS_MEDIUM"
	news_desc_short = "EVTDESC96170_NEWS_SHORT"
	picture = "mahdist_rule"

	trigger = {
		owns = 1827
		SUD = { exists = no }
		year = 1875
		OR = {
			civilized = yes
			civilization_progress = 0.75
		}
		NOT = {
			has_global_flag = mahdist_uprising
			tag = ARU
		}
	}

	fire_only_once = yes

	mean_time_to_happen = {
		months = 40
		modifier = {
			factor = 1.5
			NOT = { revolution_n_counterrevolution = 1 }
		}
		modifier = {
			factor = 0.9
			invention = separatism
		}
		modifier = {
			factor = 0.8
			any_state = {
				any_owned_province = { is_core = SUD }
				average_militancy = 3
			}
		}
		modifier = {
			factor = 0.8
			any_state = {
				any_owned_province = { is_core = SUD }
				average_militancy = 4
			}
		}
		modifier = {
			factor = 0.8
			any_state = {
				any_owned_province = { is_core = SUD }
				average_militancy = 5
			}
		}
		modifier = {
			factor = 0.8
			any_state = {
				any_owned_province = { is_core = SUD }
				average_militancy = 6
			}
		}
		modifier = {
			factor = 0.5
			is_greater_power = yes
		}
	}

	option = {
		name = "EVTOPTA97170"

		set_global_flag = mahdist_uprising
		SUD = {
			all_core = {
				remove_core = EGY
				remove_core = TUR
			}
		}

		1834 = { add_core = EGY }

		any_pop = {
			limit = {
				has_pop_culture = sudanese
				has_pop_religion = sunni
			}
			militancy = 3
			dominant_issue = { value = moralism factor = 0.7 }
			ideology = { factor = -0.1 value = liberal }
			ideology = { factor = 0.3 value = reactionary }
		}

		1827 = { any_pop = { limit = { has_pop_religion = sunni } militancy = 7 } }

		any_owned = {
			limit = { is_core = SUD }
			random_list = {
				25 = {
					poor_strata = {
						limit = { has_pop_culture = sudanese has_pop_religion = sunni }
						militancy = 4
					}
					add_province_modifier = {
						name = fundamentalist_sympathies
						duration = 1095
					}
				}
				50 = {
					poor_strata = {
						limit = { has_pop_culture = sudanese has_pop_religion = sunni }
						militancy = 6
					}
					add_province_modifier = {
						name = fundamentalist_sympathies
						duration = 2190
					}
				}
				25 = {
					any_pop = {
						limit = { has_pop_culture = sudanese has_pop_religion = sunni }
						militancy = 6
					}
					add_province_modifier = {
						name = fundamentalist_sympathies
						duration = 2190
					}
				}
			}
		}
	}
}
#IPM MostlyHarmless.txt
#triple alianza first
country_event = {
	id = 3
	title = "EVTNAME3"
	desc = "EVTDESC3"
	picture = "meeting3"

	trigger = {
		tag = PRG
		AND = {
			exists = URU
			exists = BRZ
			exists = ARG
		}
		URU = {
			NOT = { has_country_flag = triple_war_has_happened }
		}
		OR = {
			NOT = { has_country_flag = triple_first }
			NOT = { has_country_flag = triple_step_aside }
		}
		NOT = { owns = 2420 } #parte de brasil
		NOT = { owns = 2377 } #chaco
		NOT = { owns = 2338 } #altoparaguay de bolivia
		NOT = { owns = 2357 } #corrientes
		URU = { NOT = { government = absolute_monarchy } }
	}

	mean_time_to_happen = {
		months = 12
		modifier = {
			factor = 100
			NOT = { year = 1850 }
		}
		modifier = {
			factor = 15
			year = 1850
			NOT = { year = 1855 }
		}
		modifier = {
			factor = 10
			year = 1855
			NOT = { year = 1860 }
		}
		modifier = {
			factor = 2
			year = 1860
			NOT = { year = 1864 }
		}
		modifier = {
			factor = 0.2
			year = 1864
		}
		modifier = {
			factor = 0.8
			average_militancy = 3
		}
		modifier = {
			factor = 0.8
			average_militancy = 4
		}
		modifier = {
			factor = 0.8
			average_militancy = 5
		}
	}

	option = {
		name = "EVTOPTA3"
		set_country_flag = triple_first
		prestige = 10
		money = 20000
		government = presidential_dictatorship
		political_reform = yes_slavery
		political_reform = party_appointed
		political_reform = none_voting
		political_reform = yes_meeting
		political_reform = state_press
		political_reform = no_trade_unions
		political_reform = first_past_the_post
		political_reform = underground_parties
		2420 = {
			remove_core = BRZ
			secede_province = PRG
		}
		BRZ = {
			money = -20000
			relation = {
				who = ARG
				value = 200
			}
			relation = {
				who = URU
				value = 200
			}
		}
		ai_chance = {
			factor = 95
		}
	}

	option = {
		name = "EVTOPTB3"
		set_country_flag = triple_step_aside
		prestige = -20
		badboy = 5
		relation = {
			who = URU
			value = -200
		}
		any_pop = {
			ideology = {
				factor = 0.35
				value = liberal }
		}
		any_pop = {
			scaled_militancy = {
				ideology = liberal
				factor = 3 }
		}
		URU = {
			any_pop = {
				ideology = {
					factor = 0.35
					value = liberal }
			}
		}
		ai_chance = {
			factor = 5
		}
		
	}
}
#CoE country_event = {
id = 198260504
title = "TIT198260504"
desc = "DSC198260504"
picture = "Administration"
#fire_only_once = yes
trigger = {exists = yes
OR = {
tag = CHL
tag = PEU
tag = PBC
tag = BOL
tag = ARG
tag = ECU
}
#ruling_party_ideology = liberal
has_country_flag = chl_anarquia
NOT = {
has_country_modifier = national_instability
has_country_flag = chl_constitucion
}
}

mean_time_to_happen = {
months = 1
}
option = {

name = "We need a strong president with high authority."
set_country_flag = chl_constitucion
government = presidential_dictatorship
any_pop = {
ideology = {
value = reactionary
factor = 0.10}
}
scaled_militancy = {
factor = -10
ideology = reactionary
}
scaled_militancy = {
factor = -5
ideology = conservative
}
scaled_militancy = {
factor = -3
ideology = liberal
}
}
option = {

name = "We will be ruled by our brightest."
set_country_flag = chl_constitucion
political_reform = wealth_weighted_voting
any_pop = {
ideology = {
value = conservative
factor = 0.15}
}
scaled_militancy = {
factor = -7
ideology = reactionary
}
scaled_militancy = {
factor = -7
ideology = conservative
}
scaled_militancy = {
factor = -7
ideology = liberal
}
}
option = {

name = "We will return the power to the people."
set_country_flag = chl_constitucion
political_reform = universal_voting
any_pop = {
ideology = {
value = liberal
factor = 0.15}
}
scaled_militancy = {
factor = 2
ideology = reactionary
}
scaled_militancy = {
factor = -4
ideology = conservative
}
scaled_militancy = {
factor = -10
ideology = liberal
}
}
}
#PDM country_event = {
	id = 198260502
	title = "TIT198260502"
	desc = "DSC198260502"
	picture = "Estrup"
	fire_only_once = yes	
	trigger = {	exists = yes
	tag = CHL
	NOT = {	year = 1839 }
	has_country_modifier = great_statesman
	OR = {
	war_with = PBC
	war_with = BOL}
	has_country_flag = DiegoPortales
	}
	
	mean_time_to_happen = {
		months = 2
	}
	option = {
		name = "Declare Portales a Martyr and rally support."
		remove_country_modifier = great_statesman
		prestige = 1
		any_pop = {
			militancy = -5
			consciousness = -5
			}		
		add_country_modifier = {
			name = national_tragedy
			duration = 365
		}
		add_country_modifier = {
			name = small_country_draft
			duration = 365
		}		
		}		
	option = {
		name = "Openly persecute the liberals!"
		any_pop = {
			militancy = 1
			consciousness = 5
			}
				any_pop = {
					ideology = {
						value = reactionary
						factor = 0.05}
						}
				any_pop = {
					ideology = {
						value = liberal
						factor = -0.05}
						}						
		remove_country_modifier = great_statesman
		add_country_modifier = {
			name = national_instability
			duration = 365
		}
		}	
	option = {
		name = "Use this as an excuse to go to war."
		remove_country_modifier = great_statesman
		add_core = 2305
		add_core = 2307
		add_core = 2308
		add_core = 2309
		badboy = 10
		any_pop = {
			militancy = 2
			consciousness = 2
			}		
				add_country_modifier = {
			name = national_instability
			duration = 365
		}
		}
	option = {
		name = "Make vague accusations but do nothing."
		remove_country_modifier = great_statesman
		prestige = -5
		badboy = -1
		any_pop = {
			militancy = -2
			consciousness = -2
			}		
		add_country_modifier = {
			name = national_instability
			duration = 365
		}
		}		
}
#PDM 	DIM_ethische_politiek = {
		picture = DIM_staatsblad
		potential = {
			tag = NET
			owns = 1413
			has_country_flag = cultuurstelsel
			has_country_flag = agrarische_wet
			NOT = { has_country_flag = ethische_politiek }
		}

		allow = {
			NOT = { ruling_party_ideology = reactionary }
			}


		effect = {
			set_country_flag = ethische_politiek
			prestige = 10
			add_country_modifier = DIM_colonial_question
			clr_country_flag = cultuurstelsel
			clr_country_flag = agrarische_wet
			clr_global_flag = cultuurstelsel
			clr_global_flag = agrarische_wet
			clr_country_flag = colonial_question
			upper_house = {
				ideology = reactionary
				value = 0.25
			}
			any_pop = {
				scaled_militancy = {
					factor = -5
					ideology = communist
				}
			}
			any_pop = {
				limit = {
					OR = {
						is_primary_culture = yes
						is_accepted_culture = yes
					}
				}
				ideology = {
					factor = -0.1
					value = liberal
				}
			}
			any_pop = {
				limit = {
					OR = {
						is_primary_culture = yes
						is_accepted_culture = yes
					}
				}
				ideology = {
					factor = -0.1
					value = socialist
				}
			}
			}
			ai_will_do = {
				factor = 1
				modifier = {
					factor = 0
					NOT = { year = 1901 }
				}
			}
		}
#PDM #The End of Thorbecke?
country_event = {
	id = 211563
	trigger = {
		tag = NET
		exists = yes
		has_country_modifier = DIM_aprilbeweging
		NOT = {
			OR = {
				government = absolute_monarchy
				government = prussian_constitutionalism
			}
			OR = {
				ruling_party_ideology = liberal
				ruling_party_ideology = anarcho_liberal
			}
		}
	}

	mean_time_to_happen = {
		months = 3
	}
	
	title = "DIM_NET_the_end_of_thorbecke_title"
	desc = "DIM_NET_the_end_of_thorbecke_desc"
	picture = "DIM_aprilbeweging_cartoon"
	fire_only_once = yes

	option = {
		name = "The government falls"
		election = yes
		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes 
					is_accepted_culture = yes
				}
				has_pop_religion = catholic
			}
			militancy = 2
			consciousness = 2
			ideology = {
				factor = 0.2
				value = liberal
			}
		}
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes 
					is_accepted_culture = yes
				}
				has_pop_religion = protestant
			}
			ideology = {
				factor = 0.1
				value = conservative
			}
			militancy = -1
			consciousness = -1
		}
		ai_chance = {
			factor = 0.8
		}
	}
	
	option = {
		name = "The king retracts"
		prestige = -5
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes 
					is_accepted_culture = yes
				}
				has_pop_religion = catholic
			}
			militancy = -1
			consciousness = -1
			ideology = {
				factor = -0.1
				value = liberal
			}
		}
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes 
					is_accepted_culture = yes
				}
				has_pop_religion = protestant
			}
			ideology = {
				factor = 0.1
				value = reactionary
			}
			militancy = 1
			consciousness = 1
		}
	}
}
#crimea ACW.txt : raise_the_bonnie_blue_flag = {
potential = {
tag = CSA
NOT = {
OR = {
has_country_modifier = the_bonnie_blue_flag
has_country_flag = 1861CSAstart
}
has_country_flag = bonnie_blue_flag
}
}

allow = {
war_with = USA
}

effect = {
define_general = {
name = "Robert E.Lee"
            personality = defence_3.1
            background = attack_4.1
}

define_general = {
name = "Thomas Jackson"
            personality = defence_5.1
            background = attack_1.1
}
define_general = {
name = "J.E.B. Stuart"
            personality = defence_3.1
            background = attack_2.1
}
define_general = {
name = "James Longstreet"
            personality = defence_2.1
            background = attack_2.1
}
define_general = {
name = "Nathan Bedford Forrest"
            personality = defence_2.1
            background = attack_3.1
}
define_general = {
name = "Pierre Beauregard"
            personality = defence_2.1
            background = attack_2.1
}
small_arms = 200
regular_clothes = 200
ammunition = 200
canned_food = 200
artillery = 200
cotton = 550
leadership = 80
any_pop = {
militancy = -2
consciousness = -7
dominant_issue = {
value = yes_slavery
factor = 0.3
}
ideology = {
factor = -0.1
value = liberal
}
}
add_country_modifier = {
name = the_bonnie_blue_flag
duration = 730
}
set_country_flag = bonnie_blue_flag
}
}
#crimea NationalUnification.txt : fight_for_germany = {
picture = military_parade
potential = {
is_greater_power = yes
tag = SGF
NOT = { has_country_flag = fight_for_germany }
}
allow = {
war = no
}
effect = {
add_country_modifier = {
name = drive_to_reunify
duration = 10950
}
years_of_research = 1
set_country_flag = fight_for_germany
any_pop = {
limit = {
OR = {
culture = south_german
}
}
ideology = {
factor = -0.1
value = liberal
}
ideology = {
factor = 0.1
value = conservative
}
ideology = {
factor = 0.1
value = reactionary
}
militancy = -9
consciousness = -9
}
any_pop = {
limit = {
NOT = { culture = south_german }
}
ideology = {
factor = -0.01
value = liberal
}
ideology = {
factor = 0.05
value = conservative
}
militancy = -3
consciousness = -3
}
}
ai_will_do = {
factor = 1
}
}
#CWE soviet_union - After August Coup.txt: ### AFTER AUGUST COUP ###

country_event = { # Condemnation of Gobachev's legacy - Kryuchkov
id = 9001347
title = "Condemnation of Gobachev's legacy"
desc = EVT_9001347_DESC
picture = "ussr_gorbatchev_legacy"

fire_only_once = yes

trigger = {
tag = RUS
year = 1992
government = proletarian_dictatorship
has_country_flag = vladimir_kryuchkov
}

mean_time_to_happen = { months = 1 }

option = {
name = "Remove Gorbachev's Reforms and make him a traitor."

set_country_flag = ussr_gorbatchev_traitor

any_pop = {
consciousness = 2 militancy = 3
ideology = { factor = -0.1 value = liberal }
}

ai_chance = { factor = 0.9 }
}

option = {
name = "Just remove the Gorbachev Reforms."

any_pop = {
consciousness = 1 militancy = 2
ideology = { factor = -0.05 value = liberal }
}

ai_chance = { factor = 0.1 }
}

}
#CWE soviet_union - After August Coup.txt : country_event = { # Condemnation of Gobachev's legacy - Pugo & Pavlov
id = 9001349
title = "Condemnation of Gobachev's legacy"
desc = EVT_9001349_DESC
picture = "ussr_gorbatchev_legacy"

fire_only_once = yes

trigger = {
tag = RUS
year = 1992
government = proletarian_dictatorship
OR = {
has_country_flag = boris_pugo
has_country_flag = valentin_pavlov
}
}

mean_time_to_happen = { months = 1 }

option = {
name = "Remove Gorbachev's Reforms and make him a traitor."

set_country_flag = ussr_gorbatchev_traitor

any_pop = {
consciousness = 2 militancy = 3
ideology = { factor = -0.1 value = liberal }
}

ai_chance = { factor = 0.1 }
}

option = {
name = "Just Eliminate Glasnost."

any_pop = {
consciousness = 1 militancy = 2
ideology = { factor = -0.05 value = liberal }
}

ai_chance = { factor = 0.2 }
}

option = {
name = "Eliminate Glasnost and Propose a New Economic Model."

any_pop = {
consciousness = 1 militancy = 2
ideology = { factor = 0.05 value = communist_social }
}

ai_chance = { factor = 0.7 }
}
}

#CWE soviet_union - After August Coup.txt : country_event = { # Death of Kryuchkov
id = 9001362
title = "Death of Kryuchkov"
desc = EVT_9001362_DESC
picture = "communist_death"

fire_only_once = yes

trigger = {
tag = RUS
year = 2006
NOT = { year = 2010 }

government = proletarian_dictatorship

has_country_flag = vladimir_kryuchkov
}

mean_time_to_happen = { months = 11 }

option = {
name = "We have become a bigger North Korea..."

clr_country_flag = vladimir_kryuchkov

any_pop = {
consciousness = -3 militancy = -4
ideology = { factor = -0.05 value = liberal }
}
}

}
#CWE soviet_union - Stalin's Succession.txt: "###cwe Khrushchev ###

country_event = { # Anti-Party Group - Khrushchev" & "Zhukov"

#GF FlavourMod_NET.txt:
    appoint_thorbecke = {
        alert = no
        picture = thorbecke_reforms
        potential = {
            OR = {
tag = NET
tag = BNF
}
            NOT = { year = 1860 }
            OR = {
                government = prussian_constitutionalism
                government = semi_constitutional_empire
                government = absolute_monarchy
                government = absolute_empire
            }
            has_global_flag = thorbecke
            has_global_flag = liberal_revolutions_should_now_fire
            NOT = { has_global_flag = thorbecke_reforms }
        }

        allow = {
            war = no
            OR = {
                average_militancy = 3
                num_of_revolts = 1
                average_consciousness = 5
            }
        }

        effect = {
            set_global_flag = thorbecke_reforms
            prestige = -5
            add_country_modifier = {
                name = thorbecke_reforms
                duration = 7300
            }
            random_owned = {
                limit = {
                    owner = {
                        OR = {
                            government = prussian_constitutionalism
                            government = semi_constitutional_empire
                        }
                    }
                }
                owner = {
                    political_reform = universal_weighted_voting
                    political_reform = yes_meeting
                    political_reform = free_press
                }
            }
            random_owned = {
                limit = {
                    owner = { government = absolute_monarchy }
                }
                owner = {
                    government = prussian_constitutionalism
                    political_reform = landed_voting
                    political_reform = yes_meeting
                    political_reform = free_press
                }
            }
            random_owned = {
                limit = {
                    owner = { government = absolute_empire }
                }
                owner = {
                    government = semi_constitutional_empire
                    political_reform = landed_voting
                    political_reform = yes_meeting
                    political_reform = free_press
                }
            }
            political_reform = open_borders
            remove_country_modifier = global_liberal_agitation
            any_owned = {
                limit = { is_colonial = no }
                remove_province_modifier = liberal_agitation
                any_pop = {
                    ideology = { factor = 0.1 value = reactionary }
                    scaled_militancy = { ideology = liberal factor = -8 }
                    scaled_consciousness = { ideology = liberal factor = -8 }
                    scaled_militancy = { ideology = conservative factor = -6 }
                }
                any_pop = {
                    limit = {
                        OR = {
                            strata = rich
                            strata = middle
                        }
                    }
                    ideology = { factor = 0.1 value = conservative }
                    ideology = { factor = 0.05 value = reactionary }
                    ideology = { factor = -0.25 value = liberal }
                }
                any_pop = {
                    limit = { strata = poor }
                    ideology = { factor = 0.05 value = conservative }
                    ideology = { factor = -0.05 value = liberal }
                }
            }
        }

        ai_will_do = { factor = 0 }
    }
#GF NETFlavor.txt: #Ex Qua Die
country_event = {
    id = 211560
    title = "DIM_NET_herstel_bisschoppen_title"
    desc = "DIM_NET_herstel_bisschoppen_desc"
    picture = "DIM_pope_pius_ix"
    news = yes
major = yes
    news_title = "NEWS_dutch_bishops_title"
    news_desc_long = "NEWS_dutch_bishops_long"
    news_desc_medium = "NEWS_dutch_bishops_medium"
    news_desc_short = "NEWS_dutch_bishops_short"
    is_triggered_only = yes

    option = {
        name = "EVTOPTA211560"
        relation = { who = PAP value = 20 }
        any_pop = {
            limit = { has_pop_religion = catholic }
            militancy = -0.5
            consciousness = -0.5
        }
        any_pop = {
            limit = { has_pop_religion = protestant }
            ideology = { factor = 0.1 value = reactionary }
            ideology = { factor = 0.1 value = conservative }
            ideology = { factor = -0.05 value = liberal }
            militancy = 1
            consciousness = 1
        }
    }

}

#Ex Qua Die
country_event = {
    id = 211560
    title = "DIM_NET_herstel_bisschoppen_title"
    desc = "DIM_NET_herstel_bisschoppen_desc"
    picture = "DIM_pope_pius_ix"
    news = yes
major = yes
    news_title = "NEWS_dutch_bishops_title"
    news_desc_long = "NEWS_dutch_bishops_long"
    news_desc_medium = "NEWS_dutch_bishops_medium"
    news_desc_short = "NEWS_dutch_bishops_short"
    is_triggered_only = yes

    option = {
        name = "EVTOPTA211560"
        relation = { who = PAP value = 20 }
        any_pop = {
            limit = { has_pop_religion = catholic }
            militancy = -0.5
            consciousness = -0.5
        }
        any_pop = {
            limit = { has_pop_religion = protestant }
            ideology = { factor = 0.1 value = reactionary }
            ideology = { factor = 0.1 value = conservative }
            ideology = { factor = -0.05 value = liberal }
            militancy = 1
            consciousness = 1
        }
    }

}
#GF NETFlavour.txt:#Aprilbeweging
country_event = {
    id = 211561
    title = "DIM_NET_aprilbeweging_title"
    desc = "DIM_NET_aprilbeweging_desc"
    picture = "DIM_aprilbeweging"
    fire_only_once = yes
    news = yes
major = yes
    news_title = "NEWS_aprilbeweging_title"
    news_desc_long = "NEWS_aprilbeweging_long"
    news_desc_medium = "NEWS_aprilbeweging_medium"
    news_desc_short = "NEWS_aprilbeweging_short"

    trigger = {
        OR = {
tag = NET
tag = BNF
}
        has_global_flag = DIM_restored_bishops
    }

    mean_time_to_happen = { months = 2 }

    option = {
        name = "EVTOPTA211561"
        set_global_flag = DIM_aprilbeweging
        prestige = -5
        add_country_modifier = { name = DIM_aprilbeweging duration = 180 }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
                has_pop_religion = catholic
            }
            militancy = -1
            consciousness = -1
        }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
                has_pop_religion = protestant
            }
            militancy = 1
            consciousness = 2
            ideology = { factor = 0.15 value = reactionary }
            ideology = { factor = 0.05 value = conservative }
            ideology = { factor = -0.05 value = liberal }
        }

        ai_chance = { factor = 90 }
    }

    option = {
        name = "EVTOPTB211561"
        badboy = 1
        plurality = -5
        prestige = 5
        relation = { who = PAP value = -20 }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
                has_pop_religion = catholic
            }
            militancy = 3
            consciousness = 3
            ideology = { factor = 0.1 value = liberal }
        }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
            }
            scaled_militancy = { factor = 0.5 ideology = liberal }
            scaled_militancy = { factor = 0.75 ideology = radical }
        }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
                has_pop_religion = protestant
            }
            ideology = { factor = 0.05 value = conservative }
            militancy = -1
            consciousness = -1
        }

        ai_chance = { factor = 5 }
    }
}
#GF NETFlavour: #A Visit to Utrecht
country_event = {
    id = 211562
    title = "DIM_NET_a_visit_to_Utrecht_title"
    desc = "DIM_NET_a_visit_to_Utrecht_desc"
    picture = "DIM_aprilbeweging_utrecht"
    fire_only_once = yes

    trigger = {
        OR = {
tag = NET
tag = BNF
}
        has_global_flag = DIM_aprilbeweging
    }

    mean_time_to_happen = { months = 1 }

    option = {
        name = "EVTOPTA211562"
        any_pop = {
            limit = { has_pop_religion = catholic }
            consciousness = 1
        }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
                has_pop_religion = protestant
            }
            ideology = { factor = 0.10 value = reactionary }
            ideology = { factor = 0.05 value = conservative }
            ideology = { factor = -0.05 value = liberal }
        }

        ai_chance = { factor = 70 }
    }

    option = {
        name = "EVTOPTB211562"
        any_pop = {
            limit = { has_pop_religion = catholic }
            militancy = 2
            consciousness = 2
            ideology = { factor = 0.1 value = liberal }
        }
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
                has_pop_religion = protestant
            }
            ideology = { factor = 0.1 value = conservative }
            ideology = { factor = 0.15 value = reactionary }
            ideology = { factor = -0.05 value = liberal }
            militancy = 1
            consciousness = 1
        }

        ai_chance = { factor = 30 }
    }
}

#Ult Axis.txt : # Nazi Germany
#
# Event IDs 100000 - 100099
#
###########################################################################

# National Instability

#liberal:^
	#BAI #crimea #NEM fukoku_kyohei = {
		potential = {
			OR = {
				tag = JAP
				tag = TKG
			}
			OR = {
				has_global_flag = boshin_war_has_happened
				has_country_flag = made_peace_with_emperor
			}
			NOT = { has_country_flag = fukoku_kyohei_enacted }
		}
		
		allow = {
			NOT = { has_country_modifier = fukoku_kyohei }
		}
		
		effect = {
			set_country_flag = fukoku_kyohei_enacted
			years_of_research = 1
			prestige = 10
			add_country_modifier = {
				name = fukoku_kyohei
				duration = -1
			}
			random_owned = {
				limit = {
					1654 = { empty = yes }
				}
				1654 = { secede_province = THIS }
			}
			JAP_1088 = { add_core = THIS }
			random_owned = {
				limit = { province_id = 1089 }
				add_core = THIS
			}
			any_pop = {
				limit = { is_primary_culture = yes }
				ideology = {
					value = liberal
					factor = 0.05
				}
				ideology = {
					value = reactionary
					factor = -0.10
				}
				scaled_consciousness = {
					ideology = liberal
					factor = 4
				}
			}
		}
		
		ai_will_do = {
			factor = 1
		}
	}
	#BAI #crimea	peace_with_the_emperor = {
		picture = order_to_expel_barbarians
		potential = {
			tag = TKG
			OR = {
				JAP = {
					ai = yes
					exists = yes
					substate_of = TKG
				}
				owns = 1657
			}
			NOT = { has_global_flag = boshin_war }
			NOT = { has_country_flag = made_peace_with_emperor }
		}
		
		allow = {
			war = no
			civilized = yes
			NOT = { has_country_modifier = kobu_gattai }
			state_n_government = 1
			idealism = 1
		}
		
		effect = {
			set_country_flag = made_peace_with_emperor
			remove_country_modifier = ansei_purge
			remove_country_modifier = kobu_gattai
			JAP = { all_core = { remove_core = JAP } }
			random_country = {
				limit = {
					tag = JAP
					exists = yes
				}
				annex_to = THIS
			}
			any_pop = {
				limit = { is_primary_culture = yes }
				ideology = {
					value = liberal
					factor = 0.10
				}
				ideology = {
					value = reactionary
					factor = -0.20
				}
				scaled_consciousness = {
					ideology = liberal
					factor = 5
				}
			}
		}
	}
	#BAI #CoE country_event = {
	id = 160025
	title = "EVTNAME160025" #The Death of Hong Xiuquan
	desc = "EVTDESC160025"
	news = yes
	news_desc_long = "EVTDESC160025_NEWS_LONG"
	news_desc_medium = "EVTDESC160025_NEWS_MEDIUM"
	news_desc_short = "EVTDESC160025_NEWS_SHORT"
	picture = "hong_xiuquan"
	major = yes
	
	fire_only_once = yes
	
	trigger = {
		tag = TPG
		civilized = no
		government = absolute_monarchy
		has_global_flag = taiping_victorious
		war = no
	}
	
	mean_time_to_happen = {
		months = 120
	}
	
	immediate = {
		clr_country_flag = tory_election_win
		clr_country_flag = socialist_election_win
		clr_country_flag = liberal_election_win
		clr_country_flag = communist_election_win
		clr_country_flag = fascist_election_win
		clr_country_flag = reactionary_election_win
		clr_country_flag = anarcho_liberal_election_win
	}
	
	option = {
		name = "Establish a new dynasty under Hong Tianguifu."
		prestige = -20
		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist
		add_country_modifier = {
			name = national_confusion
			duration = 1095
		}
		rich_strata = { militancy = 6 }
		any_owned = {
			limit = {
				any_core = {
					NOT = {
						primary_culture = nanfaren
						tag = CHI
					}
					exists = no
				}
			}
			remove_province_modifier = nationalist_agitation
			add_province_modifier = {
				name = nationalist_agitation
				duration = 1095
			}
		}
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes
					is_accepted_culture = yes
				}
			}
			ideology = {
				value = liberal
				factor = 0.05
			}
		}
		any_pop = {
			scaled_militancy = {
				ideology = reactionary
				factor = 4
			}
		}
		any_pop = {
			limit = {
				is_primary_culture = no
				is_accepted_culture = no
			}
			militancy = 4
			consciousness = 2
		}
		add_country_modifier = {
			name = gauche_buffoon
			duration = 3650
		}
		ai_chance = {
			factor = 50
		}
	}
	
	option = {
		name = "The Qing Dynasty must rule once more."
		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist
		add_country_modifier = {
			name = national_confusion
			duration = 1095
		}
		all_core = {
			remove_core = TPG
			add_core = QNG
		}
		any_pop = { militancy = 6 }
		random_owned = {
			limit = {
				exists = QNG
			}
			QNG = { inherit = TPG }
		}
		random_owned = {
			limit = {
				NOT = { exists = QNG }
			}
			owner = {
				prestige = 10
				change_tag = QNG
				add_accepted_culture = manchu
			}
		}
		ai_chance = {
			factor = 20
			modifier = {
				factor = 0
				QNG = { exists = no }
			}
		}
	}
	
	option = {
		name = "Let the army rule Taiping."
		remove_country_modifier = expert_diplomat
		remove_country_modifier = successful_industrialist
		remove_country_modifier = ivory_tower_intellectual
		remove_country_modifier = man_of_the_people
		remove_country_modifier = landed_gentleman
		remove_country_modifier = military_man
		remove_country_modifier = lord_admiral
		remove_country_modifier = raving_loon
		remove_country_modifier = luddite
		remove_country_modifier = great_statesman
		remove_country_modifier = backroom_boy
		remove_country_modifier = great_reformer
		remove_country_modifier = gauche_buffoon
		remove_country_modifier = administrative_genius
		remove_country_modifier = visionary_thinker
		remove_country_modifier = competent_placeholder
		remove_country_modifier = imperious_autocrat
		remove_country_modifier = prince_of_terror
		remove_country_modifier = efficient_sociopath
		remove_country_modifier = pig_headed_isolationist
		remove_country_modifier = ambitious_union_boss
		remove_country_modifier = dour_economist
		add_country_modifier = {
			name = national_confusion
			duration = 1095
		}
		prestige = 20
		any_pop = {
			limit = {
				OR = {
					is_primary_culture = yes
					is_accepted_culture = yes
				}
			}
			ideology = {
				value = liberal
				factor = 0.05
			}
			ideology = {
				value = reactionary
				factor = -0.10
			}
		}
		any_pop = {
			scaled_militancy = {
				ideology = reactionary
				factor = 9
			}
		}
		any_pop = {
			limit = {
				is_primary_culture = no
				is_accepted_culture = no
			}
			militancy = 8
			consciousness = 4
		}
		any_owned = {
			limit = {
				any_core = {
					NOT = {
						primary_culture = nanfaren
						tag = CHI
					}
					exists = no
				}
			}
			remove_province_modifier = nationalist_agitation
			add_province_modifier = {
				name = nationalist_agitation
				duration = 2920
			}
		}
		years_of_research = 0.5
		government = presidential_dictatorship
		ruling_party_ideology = conservative
		clr_country_flag = tory_election_win
		clr_country_flag = socialist_election_win
		clr_country_flag = liberal_election_win
		clr_country_flag = communist_election_win
		clr_country_flag = fascist_election_win
		clr_country_flag = reactionary_election_win
		clr_country_flag = anarcho_liberal_election_win
		ai_chance = {
			factor = 30
			modifier = {
				factor = 0.5
				QNG = { exists = no }
			}
		}
	}
}
#CoE #Sol Hachuel
country_event = {
	id = 290100
	trigger = {
		tag = MOR
		year = 1834
		war = no
	}
	
	fire_only_once = yes
	
	mean_time_to_happen = {
		months = 12
	}

	title = "EVTNAME290100"
	desc = "EVTDESC290100"
	picture = "sol_hachuel"

	news = yes
	news_title = EVTNEWS290100_title
	news_desc_short = EVTNEWS290100_short
	news_desc_medium = EVTNEWS290100_medium
	news_desc_long = EVTNEWS290100_long
	
	option = {
		name = "Regrettable, but the law is clear: Death to apostates"
		prestige = -3
		any_pop = {
			limit = {
				religion = jewish
			}
			consciousness = 2
			militancy = 1
			ideology = {
				factor = 0.05
				value = liberal
			}
		}
		any_pop = {
			limit = {
				religion = sunni
			}
			consciousness = -1
			ideology = {
				factor = -0.02
				value = reactionary
			}
		}
		ai_chance = {
			factor = 90
		}
	}
	
	option = {
		name = "Perhaps she never converted in the first place?"
		any_pop = {
			limit = {
				religion = jewish
			}
			consciousness = 2
			militancy = -1
		}
		any_pop = {
			limit = {
				religion = sunni
			}
			consciousness = 1
			scaled_militancy = {
				factor = 1
				ideology = reactionary
			}
			ideology = {
				factor = 0.05
				value = reactionary
			}
		}
		1680 = {
			any_pop = {
				limit = {
					religion = sunni
				}
				consciousness = 1
				scaled_militancy = {
					factor = 2
					ideology = reactionary
				}
				ideology = {
					factor = 0.05
					value = reactionary
				}
			}
		}
		ai_chance = {
			factor = 10
			
		}
	}
}
#CoE #The Death of Alexander Griboyedov, 1
country_event = {
	id = 301022
	is_triggered_only = yes

	title = "EVTNAME301022"
	desc = "EVTDESC301022"
	picture = "persia_dark"

	option = {
		name = "Gifts! Gifts solve all the world's problems"
		RUS = {
			country_event = { 
			id = 301025 
			#days = 10 
			}
			diplomatic_influence = {
				who = PER
				value = 15
			}
		}
		prestige = -2
		any_pop = {
			scaled_militancy = {
				factor = 2
				ideology = reactionary
			}
		}
		aristocrats = {
			consciousness = 2
		}
		ai_chance = {
			factor = 60
		}
	}

	option = {
		name = "Heads. Spikes. Walls."
		RUS = {
			country_event = { 
			id = 301024 
			#days = 10 
			}
			diplomatic_influence = {
				who = PER
				value = 25
			}
		}
		ENG = {
			diplomatic_influence = {
				who = PER
				value = -15
			}
		}
		1121 = {
			clergymen = {
				reduce_pop = 0.80
			}
			any_pop = {
				ideology = {
					factor = -0.03
					value = reactionary
				}
				scaled_militancy = {
					factor = 4
					ideology = reactionary
				}
			}
		}
		clergymen = {
			reduce_pop = 0.90
			consciousness = 5
		}
		any_pop = {
			ideology = {
				factor = -0.02
				value = reactionary
			}
			scaled_militancy = {
				factor = 2
				ideology = reactionary
			}
		}
		ai_chance = {
			factor = 20
		}
	}
	option = {
		name = "We will not bow to the Russians!"
		RUS = {
			country_event = { 
			id = 301026 
			#days = 10 
			}
			diplomatic_influence = {
				who = PER
				value = -30
			}
		}
		relation = {
			who = RUS
			value = -25
		}
		prestige = 1
		any_pop = {
			scaled_militancy = {
				factor = -2
				ideology = reactionary
			}
		}
		ai_chance = {
			factor = 10
			modifier = {
				RUS = { war = yes }
				factor = 5
			}
		}
	}
}
#CoE #The Death of Alexander Griboyedov, 2
country_event = {
	id = 301023
	is_triggered_only = yes

	title = "EVTNAME301022"
	desc = "EVTDESC301023"
	picture = "persia_dark"

	option = {
		name = "Gifts! Gifts solve all the world's problems"
		RUS = {
			country_event = { id = 301025 
			#days = 10 
			}
			diplomatic_influence = {
				who = PER
				value = 20
			}
		}
		prestige = -2
		any_pop = {
			scaled_militancy = {
				factor = 2
				ideology = reactionary
			}
		}
		aristocrats = {
			consciousness = 2
		}
		ai_chance = {
			factor = 25
		}
	}

	option = {
		name = "Concessions! Please the Russians with concessions! [Azerbaijan -> Russian sphereling]"
		RUS = {
			country_event = { 
			id = 301030 
			#days = 10 
			}
			diplomatic_influence = {
				who = PER
				value = 30
			}
		}
		any_pop = {
			ideology = {
				factor = 0.05
				value = reactionary
			}
			scaled_militancy = {
				factor = 3
				ideology = reactionary
			}
		}
		ai_chance = {
			factor = 25
		}
	}
	option = {
		name = "Perhaps the British will help...?"
		ENG = {
			country_event = { 
			id = 301032 
			#days = 5 
			}
			diplomatic_influence = {
				who = PER
				value = 15
			}
		}
		any_pop = {
			ideology = {
				factor = 0.02
				value = reactionary
			}
			scaled_militancy = {
				factor = 1
				ideology = reactionary
			}
		}
		ai_chance = {
			factor = 45
		}
	}
	option = {
		name = "We will not bow to the Russians!"
		RUS = {
			country_event = { 
			id = 301026 
			#days = 10 
			}
			diplomatic_influence = {
				who = PER
				value = -25
			}
		}
		relation = {
			who = RUS
			value = -20
		}
		prestige = 2
		any_pop = {
			ideology = {
				factor = -0.01
				value = reactionary
			}
			scaled_militancy = {
				factor = -2
				ideology = reactionary
			}
		}
		ai_chance = {
			factor = 10
			modifier = {
				RUS = { war = yes }
				factor = 5
			}
		}
	}
}

#CoE # Breaking the ulama
country_event = {
	id = 190366
	title = "EVTNAME190366"
	desc = "EVTDESC190366"
	picture = "persia_ulama_reigned_in"
	
	trigger = {
		tag = PER
		exists = yes
		has_country_flag = amir_kabir_attending
		TUR = {
			has_country_modifier = tanzimat_era
		}
	}
	
	mean_time_to_happen = {
		months = 48
		modifier = {
			ruling_party_ideology = liberal
			factor = 0.25
		}
		modifier = {
			average_consciousness = 3
			factor = 0.5
		}
		modifier = {
			average_consciousness = 6
			factor = 0.5
		}
	}
	
	fire_only_once = yes
	
	option = {
		name = "We cannot oppose the ulama..."
		plurality = -3
		any_pop = {
			limit = {
				OR = {
					has_pop_religion = shiite
					has_pop_religion = sunni
					has_pop_religion = ibadi
				}			
			}
			ideology = {
				factor = 0.1
				value = reactionary
			}
			scaled_consciousness = {
				factor = -5
				ideology = reactionary
			}
			scaled_militancy = {
				factor = -5
				ideology = reactionary
			}
			scaled_consciousness = {
				factor = -2
				ideology = liberal
			}
			scaled_militancy = {
				factor = 5
				ideology = liberal
			}
		}
		ai_chance = {
			factor = 90
			modifier = {
				factor = 0.75
				NOT = { average_militancy = 4 }
			}
			modifier = {
				factor = 0.75
				NOT = { average_consciousness = 4 }
			}
		}
	}
	
	option = {
		name = "We need to reign in the ulama"
		set_country_flag = ulama_reigned_in
		add_country_modifier = {
			name = national_instability
			duration = 750
		}
		years_of_research = 0.75
		plurality = 5
		prestige = -10
		any_pop = {
			limit = {
				OR = {
					has_pop_religion = shiite
					has_pop_religion = sunni
					has_pop_religion = ibadi
				}			
			}
			ideology = {
				factor = 0.1
				value = liberal
			}
			ideology = {
				factor = -0.05
				value = reactionary
			}
			scaled_consciousness = {
				factor = 8
				ideology = reactionary
			}
			scaled_militancy = {
				factor = 8
				ideology = reactionary
			}
			scaled_consciousness = {
				factor = 6
				ideology = conservative
			}
			scaled_militancy = {
				factor = 5
				ideology = conservative
			}
			scaled_consciousness = {
				factor = 5
				ideology = liberal
			}
			scaled_militancy = {
				factor = -6
				ideology = liberal
			}
		}
		any_pop = {
			limit = {
				OR = {
					NOT = { has_pop_religion = shiite }
					NOT = { has_pop_religion = sunni }
					NOT = { has_pop_religion = ibadi }
				}			
			}
			ideology = {
				factor = 0.05
				value = liberal
			}
			militancy = -5
			consciousness = -5
		}
		ai_chance = {
			factor = 10
			modifier = {
				factor = 0.5
				average_militancy = 4
			}
			modifier = {
				factor = 0.5
				average_consciousness = 4
			}
		}
	}
}
#CoE #Blundering in $PROVINCENAME$
province_event = {
	id = 301110
	title = "EVTNAME301110"
	desc = "EVTDESC301110"
	picture = "persia_dark"
	
	news = yes
	news_title = "EVTNEWS301110_title"
	news_desc_long = "EVTNEWS301110_long"
	news_desc_medium = "EVTNEWS301110_medium"
	news_desc_short = "EVTNEWS301110_short"
	
	fire_only_once = yes
	
	trigger = {
        owned_by = PER
		controlled_by = PER
		OR = {
			province_id = 1098 #Erivan
			province_id = 1108 #Tabriz
			province_id = 1127 #Isfahan
			province_id = 1135 #Shiraz
		}
		average_militancy = 4
		year = 1840
		NOT = {
			PER = { 
				diplomatic_reform = isolationism
				disciplinary_reform = rehabilitation
				war = no
			}
		}
		PER = {
			has_country_modifier = western_influences
		}	
    }
	
	mean_time_to_happen = {
		months = 16
		modifier = {
			factor = 8
			PER = { diplomatic_reform = balanced_diplomacy }
		}
		modifier = {
			factor = 8
			PER = { admin_reform = advanced_admin_reform }
		}
		modifier = {
			factor = 0.5
			PER = { admin_reform = no_admin_reform }
		}
		modifier = {
			factor = 0.75
			average_militancy = 7
		}
		modifier = {
			factor = 0.75
			average_militancy = 8
		}
		modifier = {
			factor = 0.5
			PER = { in_sphere = RUS }
		}
		modifier = {
			factor = 0.75
			has_province_modifier = western_presence
		}
		modifier = {
			factor = 0.75
			has = legation_quarter
		}
	}
	
	option = {
		name = "Let the cavalry deal with this rabble."
		any_pop = {
			limit = {
				has_pop_culture = armenian	
			}
			reduce_pop = 0.95
			money = -10
			consciousness = -3
			militancy = 1
		}
		any_pop = {
			limit = {
				has_pop_religion = shiite	
			}
			reduce_pop = 0.98
			money = 2
			consciousness = 2
			militancy = -3
		}
		
		ai_chance = {
			factor = 70
			modifier = {
				PER = { has_country_modifier = efficient_sociopath }
				factor = 1.25
			}
			modifier = {
				PER = { has_country_modifier = efficient_sociopath }
				factor = 1.5
			}
		}
	}
	option = {
		name = "Demand the Russians give up this Armenian."
		RUS = {
			country_event = {
				id = 301111
				#days = 3
			}
			relation = {
				who = PER
				value = -25
			}
			diplomatic_influence = {
				who = PER
				value = -15
			}
		}
		any_pop = {
			limit = {
				has_pop_culture = armenian	
			}
			reduce_pop = 0.95
			money = -10
			consciousness = 4
			militancy = 2
		}
		any_pop = {
			limit = {
				has_pop_religion = shiite	
			}
			money = 2
			consciousness = -2
			militancy = -2
		}
		owner = {
			any_pop = {
				limit = {
					OR = {
						NOT = {
							has_pop_religion = shiite
							has_pop_religion = sunni
							has_pop_religion = ibadi
						}					
					}			
				}
				consciousness = 1
			}
			change_variable = {
				which = persian_ulama
				value = 1
			}
		}
		add_province_modifier = {
			name = futile
			duration = 30
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				RUS = { war = yes }
				factor = 3
			}
			modifier = {
				RUS = { ai = no }
				factor = 3
			}
			modifier = {
				PER = { average_militancy = 5 }
				factor = 2
			}
		}
	}
	option = {
		name = "Take out the Ulama instigators."
		any_pop = {
			limit = {
				has_pop_culture = armenian	
			}
			money = -10
			reduce_pop = 0.95
			consciousness = -1
			militancy = -2
		}
		clergymen = {
			reduce_pop = 0.75
			militancy = 7
			consciousness = 5
		}
		any_pop = {
			limit = {
				OR = {
					has_pop_religion = shiite
					has_pop_religion = sunni
					has_pop_religion = ibadi
				}
			}
			money = 2
			ideology = {
				factor = -0.1
				value = reactionary
			}
			scaled_militancy = {
				factor = 2
				ideology = conservative
			}
			scaled_militancy = {
				factor = 5
				ideology = reactionary
			}
		}
		owner = {
			any_pop = {
				limit = {
					OR = {
						has_pop_religion = shiite
						has_pop_religion = sunni
						has_pop_religion = ibadi
					}
				}
				ideology = {
					factor = -0.01
					value = reactionary
				}
				scaled_consciousness = {
					factor = 1
					ideology = conservative
				}
				scaled_consciousness = {
					factor = 2
					ideology = reactionary
				}
			}
			change_variable = {
				which = persian_ulama
				value = -1
			}
		}
		
		ai_chance = {
			factor = 10
			modifier = {
				PER = { has_country_modifier = great_reformer }
				factor = 3
			}
			modifier = {
				PER = { has_country_modifier = visionary_thinker }
				factor = 3
			}
			modifier = {
				PER = { average_militancy = 5 }
				factor = 0.5
			}
		}
	}
}
#CoE #Russia returned the Armenian
country_event = {
	id = 301112
	title = "EVTNAME301112"
	desc = "EVTDESC301112"
	picture = "persia_tehran"
	
	is_triggered_only = yes
	
	option = {
		name = "In the interest of justice, no doubt..."
		any_pop = {
			limit = {
				OR = {
					has_pop_religion = shiite
					has_pop_religion = sunni
					has_pop_religion = ibadi
				}
			}
			ideology = {
				factor = -0.01
				value = reactionary
			}
			militancy = -2
			consciousness = -2
		}
		owner = {
			prestige = 5
			any_pop = {
				limit = {
					OR = {
						has_pop_religion = shiite
						has_pop_religion = sunni
						has_pop_religion = ibadi
					}
				}
				consciousness = -1
			}
			change_variable = {
				which = persian_ulama
				value = 3
			}
		}
	}
}
#CoE #Russia did not return the Armenian
country_event = {
	id = 301113
	title = "EVTNAME301113"
	desc = "EVTDESC301113"
	picture = "persia_tehran"
	
	is_triggered_only = yes
	
	option = {
		name = "Sent in the cavalry to deal with the rioters!"
		RUS = {
			country_event = {
				id = 301114
				#days = 5
			}
		}
		any_pop = {
			limit = {
				has_pop_religion = shiite	
			}
			reduce_pop = 0.95
			consciousness = 3
			militancy = -2
		}
		owner = {
			change_variable = {
				which = persian_ulama
				value = -1
			}
		}
		ai_chance = {
			factor = 35
			modifier = {
				PER = { has_country_modifier = efficient_sociopath }
				factor = 1.1
			}
			modifier = {
				PER = { has_country_modifier = efficient_sociopath }
				factor = 1.25
			}
		}
	}
	option = {
		name = "Take the Armenian by force..."
		badboy = 8
		RUS = {
			country_event = {
				id = 301115
				#days = 5
			}
			diplomatic_influence = {
				who = PER
				value = -50
			}
		}
		any_pop = {
			limit = {
				has_pop_religion = shiite	
			}
			consciousness = -2
			militancy = -2
		}
		any_country = {
			limit = {
				rank = 16
				NOT = {
					tag = TUR
				}
			}
			relation = {
				who = PER
				value = -50
			}
		}
		ai_chance = {
			factor = 10
			modifier = {
				RUS = { war = yes }
				factor = 3
			}
			modifier = {
				PER = { average_militancy = 5 }
				factor = 1.5
			}
			modifier = {
				factor = 0.1
				badboy = 0.4
			}
		}
	}
	option = {
		name = "Take out the Ulama instigators."
		RUS = {
			country_event = {
				id = 301114
				#days = 5
			}
		}
		clergymen = {
			reduce_pop = 0.6
			militancy = 9
			consciousness = 9
		}
		any_pop = {
			limit = {
				OR = {
					has_pop_religion = shiite
					has_pop_religion = sunni
					has_pop_religion = ibadi
				}
			}
			ideology = {
				factor = -0.025
				value = reactionary
			}
			scaled_militancy = {
				factor = 3
				ideology = conservative
			}
			scaled_militancy = {
				factor = 6
				ideology = reactionary
			}
		}
		owner = {
			any_pop = {
				limit = {
					OR = {
						has_pop_religion = shiite
						has_pop_religion = sunni
						has_pop_religion = ibadi
					}
				}
				scaled_militancy = {
					factor = 2
					ideology = reactionary
				}
				scaled_consciousness = {
					factor = 1
					ideology = reactionary
				}
			}
			change_variable = {
				which = persian_ulama
				value = -2
			}
		}
		
		ai_chance = {
			factor = 20
			modifier = {
				PER = { has_country_modifier = great_reformer }
				factor = 3
			}
			modifier = {
				PER = { has_country_modifier = visionary_thinker }
				factor = 3
			}
			modifier = {
				PER = { average_militancy = 5 }
				factor = 0.5
			}
		}
	}
}
#PRHPM country_event = {
	id = 600057
	title = "EVTNAME600057" #Colorados won
	desc = "EVTDESC600057"
	picture = "33orientals"

	is_triggered_only = yes

	option = {
		name = "EVTOPT600057A"
			set_country_flag = colorado_victory
			political_reform = wealth_weighted_voting
			political_reform = population_equal_weight
			ruling_party_ideology = liberal
			ARC = { country_event = 600058 }
			2344 = {
				remove_province_modifier = colorado_sympathies
				add_province_modifier = { name = rivera_reforms duration = 365 }
				any_pop = {
					militancy = -9
					consciousness = -9
					ideology = { factor = 0.4 value = liberal }
					ideology = { factor = -0.4 value = reactionary }
				}
			}
			
			any_owned = {
				limit = { NOT = { province_id = 2344 } }
				any_pop = {
					ideology = { factor = 0.6 value = liberal }
					ideology = { factor = -0.2 value = reactionary }
				}
			}
			
			relation = {
				who = BRZ
				value = 150
			}
			
			relation = {
				who = ARC
				value = -150
			}
			
			relation = {
				who = FRA
				value = 100
			}
			
			relation = {
				who = ENG
				value = 100
			}
			relation = {
				who = PRG
				value = -200
			}
			treasury = 1500
			small_arms = 20
			ammunition = 20
			canned_food = 20
			election = yes
			neutrality = yes
		}
	}
	
	#PRHPM country_event = {
	id = 600072
	title = "EVTNAME600072" #Uruguay parties share power
	desc = "EVTDESC600072"
	picture = "33orientals"
	
	fire_only_once = yes
	
	trigger = {
		tag = URU
		OR = {
			government = democracy  
			government = parliamentary_republic
		}
		year = 1870
		OR = {
			voting_system = first_past_the_post
			voting_system = jefferson_method
		}
		NOT = {
			OR = {
				has_country_flag = sharing_power
				has_country_flag = refuse_to_share_power
			}
		}
	}
	
	mean_time_to_happen = { months = 5 }

	option = {
		name = "EVTOPT600072A"
		any_pop = {
			militancy = -9
			consciousness = -9
			ideology = {
				factor = 0.4
				value = liberal
					}
			ideology = {
					factor = -0.3
					value = reactionary
					}
				}
		treasury = -1500
		2345 = { rich_strata = { money = 500 } }
		2346 = { rich_strata = { money = 500 } }
		2347 = { rich_strata = { money = 500 } }
		2344 = { rich_strata = { ideology = { factor = 0.3 value = liberal } } }
		clr_country_flag = colorado_rule
		clr_country_flag = blanco_rule
		clr_country_flag = war_on_rosas
		clr_country_flag = garibaldi_italian_legion
		set_country_flag = sharing_power
		political_reform = proportional_representation
		political_reform = secret_ballots
		political_reform = population_equal_weight
		ai_chance = {
			factor = 0.99
				}
		}
		
	option = {
		name = "EVTOPT600072B"
		set_country_flag = uruguay_refuse_to_share_power
		clr_country_flag = garibaldi_italian_legion
		any_pop = {
			consciousness = 6
			militancy = 4
			}
		
		ai_chance = {
			factor = 0
				}
			}
		}
		#PRHPM country_event = {
	id = 600073
	title = "EVTNAME600073" #Uruguay parties share power without event
	desc = "EVTDESC600073"
	picture = "33orientals"
	
	fire_only_once = yes
	
	trigger = {
		tag = URU
		OR = {
		government = democracy 
		government = parliamentary_republic 
		}
		voting_system = proportional_representation
			NOT = {
				AND = {
					OR = {
					upper_house_composition = party_appointed
					upper_house_composition = appointed
						}
					OR = {
					political_parties = underground_parties
					political_parties = harassment
					political_parties = gerrymandering
						}
					OR = {
					has_country_flag = sharing_power
					has_country_flag = refuse_to_share_power
						}
					}
				}
			}
	
	mean_time_to_happen = { days = 10 }

	option = {
		name = "EVTOPT600073A"
		any_pop = {
			militancy = -9
			consciousness = -9
			ideology = {
				factor = 0.4
				value = liberal
					}
			ideology = {
					factor = -0.3
					value = reactionary
					}
				}
		clr_country_flag = colorado_rule
		clr_country_flag = blanco_rule
		clr_country_flag = war_on_rosas
		clr_country_flag = garibaldi_italian_legion
		set_country_flag = sharing_power
		}
	}
	#GF country_event = { 
	id = 21144 
	title =  "EVTNAME21144" #Morrison Incident, OPTA USA popup
	desc = "EVTDESC21144"
	picture = "morrison_incident" 
	
	is_triggered_only = yes 
	
	option = { 
		name = "EVT21144OPTA" 
		diplomatic_influence = { who = FROM value = -50 } 
		move_issue_percentage = {
            from = pro_military
            to = jingoism
            value = 0.10
        }
		move_issue_percentage = {
            from = anti_military
            to = pro_military
            value = 0.10
        }
		move_issue_percentage = {
            from = pacifism
            to = pro_military
            value = 0.10
        }
		any_pop = {
			ideology = { 
				value = conservative 
				factor = 0.002
			} 
		} 	
		any_pop = {
			ideology = { 
				value = reactionary
				factor = 0.002
			} 
		}			
	} 

	option = {
		name = "EVT21144OPTB"
		diplomatic_influence = { who = FROM value = -50 } 
		move_issue_percentage = {
            from = jingoism
            to = pro_military
            value = 0.10
        }
		move_issue_percentage = {
            from = pro_military
            to = anti_military
            value = 0.10
        }
		move_issue_percentage = {
            from = anti_military
            to = pacifism 
            value = 0.10
        }
		any_pop = {
			ideology = { 
				value = conservative 
				factor = -0.002
			} 
		} 	
		any_pop = {
			ideology = { 
				value = reactionary
				factor = -0.002
			} 
		}	
	} 
} 
#reactionary^
#traditionalistV
#CWE #Essential Events 8.txt #Ouster of Morsi - Egpyt
country_event = {
	id = 1512238
title = "Islamist Constitution of Egypt"
	desc = EVTDESC1512238
	picture = "morsi_coup"

fire_only_once = yes

trigger = {
tag = EGY
government = democracy
ruling_party_ideology = traditionalist
election = no
year = 2013
}

mean_time_to_happen = { 
months = 7
	}

option = {
name = "Purge the Muslim Brotherhood!"
country_event = 800050
government = presidential_dictatorship
ruling_party_ideology = conservative
any_pop = {
ideology = {
	factor = -0.25
	value = traditionalist
	} 
}
ai_chance = { factor = 0.8 }
		}

option = {
name = "Leave it be"
add_country_modifier = { name = revolution_chaos duration = 3650 }
ai_chance = { factor = 0.2 }
		}

}

#CWE #netherlands.txt #De-Pillarisation
#Event to depillarise the Netherlands after it has been pillarised

#fascistV
#NEMNuremberg trials
country_event = {

	id = 330013
	title = "EVTNAME330013" #Nuremberg trials
	desc = "EVTDESC330013"
	picture = "nuremberg_trials"
	major = yes

	fire_only_once = yes
	
	trigger = {
		tag = GER
		war = no
		government = fascist_dictatorship
		OR = {
			has_country_modifier = great_war
			has_country_modifier = great_war2
			has_country_modifier = great_war3
			has_country_flag = in_great_war
			has_country_flag = ultimatum_accepted
			has_country_flag = dismantling_treaty
		}
		OR = {
			has_country_flag = ultimatum_accepted
			has_country_flag = dismantling_treaty
		}
		OR = {
			truce_with = RUS
			truce_with = USA
			truce_with = ENG
			truce_with = FRA
		}
	}

	mean_time_to_happen = {
		days = 1
	}

	option = {
		name = "EVT330013OPTA" #Condemn the Nazis!
		set_country_flag = nuremberg_trials
		country_event = 60050
		ruling_party_ideology = conservative
		political_reform = wealth_voting
		political_reform = appointed
		political_reform = free_press
		political_reform = non_secret_ballots
		political_reform = non_socialist
		any_pop = {
        		ideology = {
        			value = fascist
        			factor = -0.4
        		}
		}
		any_pop = {
        		ideology = {
        			value = conservative
        			factor = 0.2
        		}
        		consciousness = 2
		}
	ai_chance = { factor = 1 }
	}
}
#fascist^
#0anarchistV^
#progressiveV
#The Recruit Scandal, 1988
#progressive^
#socialistV
#BAI #CoE,#CWE#crimea#GF#NEM#PRsbHPM-TGC too # Demonstration Turned Sour
country_event = {
	id = 17510
	title = "EVTNAME17510"
	desc = "EVTDESC17510"
	picture = "Revolution"
	
	trigger = {
		is_ideology_enabled = socialist
		civilized = yes
		socialist = 5
		OR = {
			government = prussian_constitutionalism
			government = democracy
			government = hms_government
			government = absolute_monarchy
		}
		OR = {
			trade_unions = non_socialist
			trade_unions = all_trade_unions
		}
		NOT = {
			ruling_party_ideology = socialist
		}
	}
	
	mean_time_to_happen = {
		months = 375
		modifier = {
			factor = 1.2
			poor_strata_everyday_needs = 1.0
		}
		modifier = {
			factor = 0.9
			NOT = { poor_strata_everyday_needs = 0.5 }
		}
		modifier = {
			factor  = 0.9
			NOT = { poor_strata_everyday_needs = 0.3 }
		}	
		modifier = {
			factor = 0.9
			socialist = 10
		}
		modifier = {
			factor = 0.9
			socialist = 15
		}
		modifier = {
			factor = 1.5
			NOT = { social_reform_want = 0.05 }
		}
		modifier = {
			factor = 0.9
			social_reform_want = 0.05
		}
		modifier = {
			factor = 0.9
			social_reform_want = 0.1
		}
		modifier = {
			factor = 0.9
			average_militancy = 4
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 0.9
			OR = {
				nationalvalue = nv_equality
				nationalvalue = nv_unity
				nationalvalue = nv_prosperity
				nationalvalue = nv_fraternity
			}
		}
		modifier = {
			factor = 1.2
			OR = {
				nationalvalue = nv_liberty
				nationalvalue = nv_freedom
			}
		}
		modifier = {
			factor = 1.1
			OR = {
				nationalvalue = nv_order
				nationalvalue = nv_productivity
				nationalvalue = nv_dominion
			}
			NOT = {
				ruling_party_ideology = socialist
				ruling_party_ideology = communist
			}
		}
		modifier = {
			factor = 1.1
			economic_policy = laissez_faire
		}
		modifier = {
			factor = 2
			war = yes
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 3 }
		}
	}
	
	option = {
		name = "EVTOPTA17510"
		random_state = {
			limit = {
				is_colonial = no
				OR = {
					has_pop_type = craftsmen
					has_pop_type = labourers
				}
			}
			craftsmen = {
				ideology = {
					value = socialist
					factor = 0.1
				}
				consciousness = 2
			}
			labourers = {
				ideology = {
					value = socialist
					factor = 0.1
				}
				consciousness = 2
			}
			rich_strata = {
				militancy = 2
			}
		}
	}
	
	option = {
		name = "EVTOPTB17510"
		plurality = -2
		random_state = {
			limit = {
				is_colonial = no
				OR = {
					has_pop_type = craftsmen
					has_pop_type = labourers
				}
			}
			rich_strata = {
				ideology = {
					value = socialist
					factor = -0.2
				}
				ideology = {
					value = reactionary
					factor = 0.2
				}
				consciousness = -4
			}
			craftsmen = {
				militancy = 2
			}
			labourers = {
				militancy = 2
			}
		}
	}
}
#BAI #Sabotage
province_event = {
	id = 17520
	title = "EVTNAME17520"
	desc = "EVTDESC17520"
	picture = "Factoryattack"
	
	trigger = {
		is_ideology_enabled = socialist
		civilized = yes
		socialist = 10
		owner = {
			OR = {
				government = prussian_constitutionalism
				government = democracy
				government = hms_government
				government = absolute_monarchy
			}
			OR = {
				trade_unions = non_socialist
				trade_unions = all_trade_unions
			}
			NOT = {
				ruling_party_ideology = socialist
			}
		}
		NOT = {
			has_province_modifier = militant_trade_union
			has_province_modifier = worker_union
		}
		state_scope = {
			has_building = factory
		}
	}
	
	mean_time_to_happen = {
		months = 275
		modifier = {
			factor = 1.2
			owner = {
				OR = {
					nationalvalue = nv_liberty
					nationalvalue = nv_freedom
				}
			}
		}
		modifier = {
			factor = 1.1
			owner = {
				OR = {
					nationalvalue = nv_order
					nationalvalue = nv_productivity
					nationalvalue = nv_dominion
				}
			}
		}
		modifier = {
			factor = 1.5
			poor_strata_everyday_needs = 1.0
		}
		modifier = {
			factor = 0.9
			NOT = { poor_strata_everyday_needs = 0.9 }
		}
		modifier = {
			factor  = 0.9
			NOT = { poor_strata_everyday_needs = 0.8 }
		}	
		modifier = {
			factor = 0.9
			socialist = 15
		}
		modifier = {
			factor = 0.9
			socialist = 20
		}
		modifier = {
			factor = 1.5
			NOT = { any_pop = { social_reform_want = 0.05 } }
		}
		modifier = {
			factor = 0.9
			any_pop = {social_reform_want = 0.05 }
		}
		modifier = {
			factor = 0.9
			any_pop = { social_reform_want = 0.1 }
		}
		modifier = {
			factor = 0.9
			average_militancy = 4
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 0.9
			owner = {
				OR = {
					nationalvalue = nv_equality
					nationalvalue = nv_unity
					nationalvalue = nv_prosperity
					nationalvalue = nv_fraternity
				}
			}
		}
		modifier = {
			factor = 1.1
			owner = { economic_policy = laissez_faire }
		}
		modifier = {
			factor = 2
			owner = { war = yes }
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 3 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 50 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 45 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 40 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 35 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 30 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 25 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 20 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 15 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 10 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 5 }
		}
	}
	
	option = {
		name = "EVTOPTA17520"
		owner = { plurality = -2 }
		state_scope = {
			any_owned = {
				add_province_modifier = {
					name = militant_trade_union
					duration = 3650
				}
			}
			craftsmen = {
				militancy = 2
			}
			labourers = {
				militancy = 2
			}
			rich_strata = {
				militancy = -2
				consciousness = -4
				ideology = {
					value = socialist
					factor = -0.2
				}
			}
		}
	}
	
	option = {
		name = "EVTOPTB17520"
		state_scope = {
			any_owned = {
				add_province_modifier = {
					name = worker_union
					duration = 3650
				}
			}
			craftsmen = {
				militancy = -2
				consciousness = 2
			}
			labourers = {
				militancy = -2
				consciousness = 2
			}
			rich_strata = {
				militancy = 4
			}
		}
	}
}
#BAI #Union Busting
country_event = {
	id = 17580
	title = "EVTNAME17580"
	desc = "EVTDESC17580"
	picture = "Spies"
	
	trigger = {
		is_ideology_enabled = socialist
		civilized = yes
		OR = {
			government = prussian_constitutionalism
			government = democracy
			government = hms_government
			government = absolute_monarchy
		}
		any_owned_province = {
			OR = {
				has_province_modifier = labor_union
				has_province_modifier = militant_trade_union
				has_province_modifier = worker_union
				has_province_modifier = province_strike
			}
		}
	}
	
	mean_time_to_happen = {
		months = 300
		modifier = {
			factor = 1.5
			poor_strata_everyday_needs = 1.0
		}
		modifier = {
			factor = 0.9
			NOT = { poor_strata_everyday_needs = 0.9 }
		}
		modifier = {
			factor  = 0.9
			NOT = { poor_strata_everyday_needs = 0.8 }
		}
		modifier = {
			factor = 0.8
			any_owned_province = {
				has_province_modifier = province_strike
			}
		}
		modifier = {
			factor = 0.7
			any_owned_province = {
				has_province_modifier = militant_trade_union
			}
		}
		modifier = {
			factor = 0.8
			average_militancy = 4
		}					
		modifier = {
			factor = 0.9
			socialist = 5
		}
		modifier = {
			factor = 0.9
			socialist = 10
		}
		modifier = {
			factor = 0.9
			socialist = 15
		}
		modifier = {
			factor = 1.2
			NOT = { social_reform_want = 0.05 }
		}
		modifier = {
			factor = 0.9
			social_reform_want = 0.05
		}
		modifier = {
			factor = 0.9
			social_reform_want = 0.1
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 0.9
			OR = {
				nationalvalue = nv_equality
				nationalvalue = nv_unity
				nationalvalue = nv_prosperity
				nationalvalue = nv_fraternity
			}
		}
		modifier = {
			factor = 1.2
			OR = {
				nationalvalue = nv_liberty
				nationalvalue = nv_freedom
			}
		}
		modifier = {
			factor = 1.1
			OR = {
				nationalvalue = nv_order
				nationalvalue = nv_productivity
				nationalvalue = nv_dominion
			}
			NOT = {
				ruling_party_ideology = socialist
				ruling_party_ideology = communist
			}
		}
		modifier = {
			factor = 1.1
			economic_policy = laissez_faire
		}
		modifier = {
			factor = 2
			war = yes
		}
		modifier = {
			factor = 1.5
			NOT = {
				average_consciousness = 3
			}
		}
	}
	
	option = {
		name = "EVTOPTA17580"
		plurality = -2
		random_state = {
			limit = {
				any_owned_province = {
					OR = {
						has_province_modifier = labor_union
						has_province_modifier = militant_trade_union
						has_province_modifier = worker_union
						has_province_modifier = province_strike
					}
				}
			}
			any_owned = {
				remove_province_modifier = labor_union
				remove_province_modifier = militant_trade_union
				remove_province_modifier = worker_union
				remove_province_modifier = strike_solution
				remove_province_modifier = province_strike
			}
			rich_strata = {
				militancy = -4
				ideology = {
					value = socialist
					factor = -0.2
				}
				ideology = {
					value = reactionary
					factor = 0.2
				}
			}
			any_pop = {
				scaled_consciousness = {
					ideology = socialist
					factor = -2
				}
				scaled_militancy = {
					ideology = socialist
					factor = 4
				}
			}
		}
	}
	
	option = {
		name = "EVTOPTB17580"
		random_owned = {
			limit = {
				OR = {
					has_province_modifier = labor_union
					has_province_modifier = militant_trade_union
					has_province_modifier = worker_union
				}
			}
			state_scope = {
				rich_strata = {
					militancy = 2
					consciousness = 2
				}
				any_pop = {
					ideology = {
						value = socialist
						factor = 0.1
					}
					scaled_militancy = {
						ideology = socialist
						factor = -2
					}
				}
			}
		}
	}
}
#BAI # Lockout
country_event = {
	id = 17590
	title = "EVTNAME17590"
	desc = "EVTDESC17590"
	picture = "Strike"
	
	trigger = {
		is_ideology_enabled = socialist
		civilized = yes
		socialist = 5
		OR = {
			government = prussian_constitutionalism
			government = democracy
			government = hms_government
			government = absolute_monarchy
		}
		any_state = {
			has_building = factory
		}
	}
	
	mean_time_to_happen = {
		months = 300
		modifier = {
			factor = 1.5
			poor_strata_everyday_needs = 1.0
		}
		modifier = {
			factor = 0.9
			NOT = { poor_strata_everyday_needs = 0.9 }
		}
		modifier = {
			factor  = 0.8
			NOT = { poor_strata_everyday_needs = 0.8 }
		}	
		modifier = {
			factor = 0.9
			socialist = 15
		}
		modifier = {
			factor = 0.9
			socialist = 20
		}
		modifier = {
			factor = 1.5
			NOT = { social_reform_want = 0.05 }
		}
		modifier = {
			factor = 0.9
			social_reform_want = 0.05
		}
		modifier = {
			factor = 0.9
			social_reform_want = 0.1
		}
		modifier = {
			factor = 0.8
			average_militancy = 4
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 0.9
			OR = {
				nationalvalue = nv_equality
				nationalvalue = nv_unity
				nationalvalue = nv_prosperity
				nationalvalue = nv_fraternity
			}
		}
		modifier = {
			factor = 1.2
			OR = {
				nationalvalue = nv_liberty
				nationalvalue = nv_freedom
			}
		}
		modifier = {
			factor = 1.1
			OR = {
				nationalvalue = nv_order
				nationalvalue = nv_productivity
				nationalvalue = nv_dominion
			}
			NOT = {
				ruling_party_ideology = socialist
				ruling_party_ideology = communist
			}
		}
		modifier = {
			factor = 1.1
			economic_policy = laissez_faire
		}
		modifier = {
			factor = 2
			war = yes
		}
		modifier = {
			factor = 1.2
			trade_unions = state_controlled
		}
		modifier = {
			factor = 0.9
			trade_unions = all_trade_unions
		}
		modifier = {
			factor = 3
			trade_unions = no_trade_unions
		}
		modifier = {
			factor = 1.5
			NOT = {
				average_consciousness = 3
			}
		}
	}
	
	option = {
		name = "EVTOPTA17590"
		plurality = -2
		random_state = {
			limit = { has_building = factory }
			craftsmen = {
				ideology = {
					value = socialist
					factor = 0.1
				}
				consciousness = 1
				militancy = 2
			}
			labourers = {
				ideology = {
					value = socialist
					factor = 0.1
				}
				consciousness = 1
				militancy = 2
			}
			rich_strata = {
				consciousness = -2
				militancy = -2
			}
		}
	}
	
	option = {
		name = "EVTOPTB17590"
		random_state = {
			limit = { has_building = factory }
			craftsmen = {
				consciousness = -1
				militancy = -2
			}
			labourers = {
				consciousness = -1
				militancy = -2
			}
			rich_strata = {
				ideology = {
					value = socialist
					factor = -0.2
				}
				ideology = {
					value = reactionary
					factor = 0.2
				}
				militancy = 2
			}
		}
	}
}
#BAI #Communists in $PROVINCENAME$ #alsocommunist
province_event = {
	id = 17730
	title = "EVTNAME17730"
	desc = "EVTDESC17730"
	
	trigger = {
		is_ideology_enabled = communist
		is_colonial = no
		NOT = { controlled_by = REB }
		OR = {
			socialist = 20
			communist = 10
		}
		OR = {
			has_pop_type = artisans
			has_pop_type = clerks
			has_pop_type = craftsmen
			has_pop_type = labourers
		}
		OR = {
			average_militancy = 6
			has_province_modifier = militant_trade_union
			has_province_modifier = province_strike
			NOT = { poor_strata_life_needs = 0.7 }
		}
		owner = {
			NOT = {
				government = proletarian_dictatorship
				government = fascist_dictatorship
			}
			civilized = yes
			public_meetings = yes_meeting
		}
	}
	
	mean_time_to_happen = {
		months = 200
		modifier = {
			factor = 0.5
			OR = {
				has_province_modifier = militant_trade_union
				has_province_modifier = province_strike
			}
		}
		modifier = {
			factor = 1.5
			NOT = { socialist = 10 }
		}
		modifier = {
			factor = 1.5
			NOT = { communist = 5 }
		}
		modifier = {
			factor = 0.9
			socialist = 25
		}
		modifier = {
			factor = 0.9
			socialist = 30
		}
		modifier = {
			factor = 0.9
			communist = 15
		}
		modifier = {
			factor = 0.9
			communist = 20
		}
		modifier = {
			factor = 0.8
			communist = 25
		}
		modifier = {
			factor = 2
			NOT = { any_pop = { social_reform_want = 0.05 } }
		}
		modifier = {
			factor = 0.9
			any_pop = { social_reform_want = 0.1 }
		}
		modifier = {
			factor = 0.9
			any_pop = { social_reform_want = 0.2 }
		}
		modifier = {
			factor = 0.9
			average_militancy = 4
		}
		modifier = {
			factor = 0.9
			average_militancy = 5
		}
		modifier = {
			factor = 0.9
			average_militancy = 6
		}
		modifier = {
			factor = 1.5
			NOT = { average_consciousness = 3 }
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 7
		}
		modifier = {
			factor = 1.2
			owner = { economic_policy = laissez_faire }
		}
		modifier = {
			factor = 2
			owner = { war = yes }
		}
		modifier = {
			factor = 1.5
			owner = {
				check_variable = {
					which = successful_communist_rebellions
					value = 10
				}
			}
		}
		modifier = {
			factor = 0.8
			any_neighbor_province = {
				owner = { government = proletarian_dictatorship }
			}
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 50 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 45 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 40 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 35 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 30 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 25 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 20 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 15 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 10 }
		}
		modifier = {
			factor = 1.5
			owner = { num_of_cities = 5 }
		}
	}
	
	option = {
		name = "Crack down on the communists."
		owner = { plurality = -2 }
		random_pop = {
			limit = {
				strata = poor
				OR = {
					socialist = 20
					communist = 10
				}
			}
			reduce_pop = 0.98
			militancy = 4
		}
		poor_strata = {
			militancy = 2
		}
		rich_strata = {
			ideology = {
				value = socialist
				factor = -0.1
			}
			ideology = {
				value = communist
				factor = -0.2
			}
			ideology = {
				value = reactionary
				factor = 0.2
			}
			militancy = -3
			consciousness = -3
		}	
	}
	
	option = {
		name = "Let them demonstrate."
		state_scope = {
			any_pop = {
				limit = {
					OR = {
						type = artisans
						type = clerks
						type = labourers
						type = craftsmen
					}
				}
				ideology = {
					value = communist
					factor = 0.1
				}
				scaled_consciousness = {
					ideology = communist
					factor = 4
				}
			}
			rich_strata = {
				militancy = 3
			}
		}
	}
}
#CoE ##### HEALTH CARE #####
#Squalid Slums
country_event = {
	id = 3000
	title = "EVTNAME3000"
	desc = "EVTDESC3000"
	picture = "slums"
	
	trigger = {
		exists = yes
		civilized = yes
		health_care = no_health_care
		is_ideology_enabled = socialist
		NOT = {
			poor_strata_life_needs = 0.9
		}
	}
	
	mean_time_to_happen = {
		months = 300
		
		modifier = {
			factor = 0.9
			average_militancy = 5
		}
		modifier = {
			factor = 0.9
			average_consciousness = 4
		}
		modifier = {
			factor = 0.9
			average_consciousness = 5
		}
		modifier = {
			factor = 0.9
			average_militancy = 4
		}
		modifier = {
			factor = 1.5
			NOT = {
				average_consciousness = 3
			}	
		}
	}
	
	option = {
		name = "EVTOPTA3000"
		upper_house = {
			ideology = socialist
			value = 0.15
		}
		random_state = {
			limit = {
				is_colonial = no
			}
			any_pop = {
				consciousness = 1
			}
		}
	}
	
	option = {
		name = "EVTOPTB3000"
		random_state = {
			limit = {
				is_colonial = no
			}
			any_pop = {
				dominant_issue = {
					value = trinket_health_care
					factor = 0.3
				}
				consciousness = 2
			}
		}
	}
	
	option = {
		name = "EVTOPTC3000"
		random_state = {
			limit = {
				is_colonial = no
			}
			any_pop = {
				ideology = {
					value = socialist
					factor = -0.10
				}
			}
		}
		any_pop = {
			limit = {
				location = { is_colonial = no }
			}
			scaled_militancy = {
				ideology = socialist
				factor = 1
			}
		}
	}
}
#CoE #IssueSuggestion.txt #Friends' Almshouse
country_event = {
	id = 3004
	title = "EVTNAME3004"
	desc = "EVTDESC3004"
	picture = "Poor"
	
	trigger = {
		exists = yes
		civilized = yes
		health_care = low_health_care
		is_ideology_enabled = socialist
		NOT = {
			social_reform_want = 0.2
		}
	}
	
	mean_time_to_happen = {
		months = 400 # Common
		modifier = {
			factor = 0.9
			NOT = {
				social_reform_want = 0.1
			}
		}
		
		modifier = {
			factor = 1.1
			poor_strata_militancy = 5
		}
	}
	
	option = {
		name = "EVTOPTA3004"
		random_state = {
			limit = { is_colonial = no }
			poor_strata = {
				militancy = -2
			}
		}
	}
	
	option = {
		name = "EVTOPTB3004"
		random_state = {
			limit = { is_colonial = no }
			poor_strata = {
				consciousness = 1
				dominant_issue = {
					value = acceptable_health_care
					factor = 0.3
				}
			}
		}
	}

	option = {
		name = "EVTOPTC3004"
		prestige = 4
		random_state = {
			limit = { is_colonial = no }
			middle_strata = {
				ideology = {
					value = socialist
					factor = -0.2
				}
			}
			rich_strata = {
				ideology = {
					value = socialist
					factor = -0.2
				}
			}
		}
	}
}
#CoE #Gruel and Gruelling Work
country_event = {
	id = 3303
	title = "EVTNAME3303"
	desc = "EVTDESC3303"
	picture = "Poor"
	
	trigger = {
		exists = yes
		civilized = yes
		pensions = acceptable_pensions
		is_ideology_enabled = socialist
	}
	
	mean_time_to_happen = {
		months = 400
		modifier = {
			factor = 0.9
			good_pensions = 20
		}
		modifier = {
			factor = 0.8
			good_pensions = 30
		}
		
		modifier = {
			factor = 1.5
			average_militancy = 6
		}
			
	}
	
	option = {	
		name = "EVTOPTA3303"
		random_state = {
			limit = { is_colonial = no }
			any_pop = {
				consciousness = 2
				dominant_issue = {
					value = good_pensions
					factor = 0.2
				}
			}
		}
	}
	
	option = {
		name = "EVTOPTB3303"
		social_reform = good_pensions
		scaled_militancy = {
			ideology = conservative
			factor = 4
		}
	}
	
	option = {
		name = "EVTOPTC3303"
		random_state = {
			limit = { is_colonial = no }
			any_pop = {
				ideology = {
					value = socialist
					factor = -0.10
				}
				militancy = -2
			}
		}
	}
}
#CWE #bantustan.txt #Operation Katzen Successful
country_event = {
	id = 5075
	title = "Operation Katzen Successful"
	desc = EVTDESC5075
	picture = "xhosaland"
	fire_only_once = yes
	
	trigger = {
		tag = TRK
		
		#TRK is a bantustan of SAF
		vassal_of = SAF
		
		#SAF annexed CIS in the war
		SAF = { is_possible_vassal = CIS }
		
		has_global_flag = operation_katzen_flag
	}
	
	option = {
		name = "A Bright Future awaits Xhosaland and the Union of South Africa!" 
		relation = { who = SAF value = 200 }
		any_pop = { ideology = { factor = -0.5 value = socialist } } 
	    prestige = 25
		
		#TRK annexes CIS territory
		SAF = { release = CIS }
		TRK = { inherit = CIS }
		
		change_tag = XHO

		2098 = { add_core = XHO }
		2100 = { add_core = XHO }
		2672 = { add_core = XHO }
		
		#SAF releases XHO territories
		SAF = {
			any_owned = {
				limit = { 
					OR = { 
						province_id = 2098 
						province_id = 2672 
					}
				}
				secede_province = XHO
			}
		}
	}
	
}
#CWE #brazil.txt #Dilma Rousseff Scandal (2016)
country_event = {
  id = 8002020
  title = "Impeachment of Dilma Rousseff"
  desc = "EVTDESC8002020"
  picture = "dilma_rousseff_scandal"
  fire_only_once = yes

	trigger = {
		tag = BRZ
		year = 2016
		government = democracy
		is_vassal = no
		has_country_flag = dilma_rousseff
		NOT = { year = 2020 }
	}

	mean_time_to_happen = { months = 5 }

	option = {
		name = "Off she goes!"
		prestige = -50
		any_pop = { ideology = { factor = -0.1 value = socialist } }
		clr_country_flag = dilma_rousseff
		ai_chance = { factor = 0.75 }
	}

	option = {
		name = "Whitewash the whole thing"
		add_country_modifier = { name = revolution_chaos duration = 1825 }
		clr_country_flag = dilma_rousseff
		ai_chance = { factor = 0.25 }
	}

}
#CWE #Essential Events 8.txt #Latin American debt crisis
country_event = {
  id = 1512317
  title = "$YEAR$ Latin American Debt Crisis"
  desc = EVTDESC1512317
  picture = "latin_debt_crisis"

	trigger = {
		OR = { tag = MEX capital_scope = { continent = south_america } }
		war = no
		is_vassal = no
		
		year = 1977
		NOT = { year = 1992 }

		NOT = { government = proletarian_dictatorship }
		NOT = { government = proletarian_dictatorship1 }

		NOT = { has_country_flag = latin_debt_crisis }

		NOT = { has_country_modifier = financial_crisis }

		OR = { has_country_flag = south_american_isi has_country_flag = importfocus }

	}

	immediate = { remove_country_modifier = economic_boom }

	mean_time_to_happen = { 
		months = 60
		modifier = { 
			factor = 0.1 
			any_neighbor_country = { has_country_modifier = financial_crisis } 
		}
	}

	option = {
		name = "Look to the IMF"
		prestige_factor = -0.025
		set_country_flag = latin_debt_crisis
		money = -500000
		ruling_party_ideology = big_tent

		set_country_flag = imf_option_latin_america

		add_country_modifier = { name = imf_loan duration = 3650 }

		add_country_modifier = { name = financial_crisis duration = 3650 }

		any_pop = { 
			ideology = {
				factor = -0.25
				value = socialist
			} 
		}

		ai_chance = { factor = 0.8 }	
	}

	option = {
		name = "Unleash a bailout"
		set_country_flag = latin_debt_crisis
		set_country_flag = latin_debt_crisis_no_imf_option
		add_tax_relative_income = -100
		money = -2000000
		add_country_modifier = { name = liquidity_trap duration = 1825 }
		ai_chance = { factor = 0.1 }	
	}

	option = {
		name = "Let the market self correct"
		set_country_flag = latin_debt_crisis
		prestige_factor = -0.05	
		add_country_modifier = { name = financial_crisis duration = 7300 }

		any_pop = { 
			ideology = {
				factor = -0.5
				value = socialist
			} 
		}

		ai_chance = { factor = 0.1 }	
	}

}
#GF #decisions #DIM_cultuurstelsel.txt     DIM_ethische_politiek = {
        picture = ethische_politiek
        potential = {
            OR = {
				tag = NET
				tag = BNF
			}
            owns = 1413
            colonial_nation = yes
            OR = {
                has_global_flag = cultuurstelsel
                has_global_flag = cultuurstelsel_extended
                has_global_flag = agrarische_wet
            }
            NOT = {
                has_global_flag = ethische_politiek
                has_global_flag = ethische_politiek_abandoned
            }
        }

        allow = {
            owns = 1413
            invention = the_dark_continent
            invention = mission_to_civilize
            OR = {
                upper_house = { ideology = liberal value = 0.45 }
                upper_house = { ideology = socialist value = 0.45 }
                year = 1902
            }
            NOT = {
                OR = {
                    ruling_party_ideology = conservative
                    ruling_party_ideology = reactionary
                }
            }
        }

        effect = {
            set_global_flag = ethische_politiek
            political_reform = civilizing
            prestige = 15
            badboy = -1
            plurality = 1
            any_owned = {
                remove_province_modifier = landverhuurstelsel
                remove_province_modifier = cultuurstelsel
                remove_province_modifier = cultuurstelsel_reformed
            }
            remove_country_modifier = DIM_colonial_question
            set_global_flag = cultuurstelsel_abandoned
            set_global_flag = agrarische_wet_abandoned
            clr_global_flag = cultuurstelsel_extended
            clr_global_flag = agrarische_wet
            clr_global_flag = cultuurstelsel
            clr_global_flag = colonial_question
            any_pop = {
                scaled_militancy = { factor = -5 ideology = socialist }
                scaled_militancy = { factor = -5 ideology = communist }
                scaled_militancy = { factor = -5 ideology = radical }
            }
            upper_house = { ideology = conservative value = 0.15 }
            upper_house = { ideology = reactionary value = 0.10 }
            any_pop = {
                limit = {
                    OR = {
                        is_primary_culture = yes
                        is_accepted_culture = yes
                    }
                }
                ideology = { factor = 0.15 value = conservative }
                ideology = { factor = 0.15 value = liberal }
                ideology = { factor = -0.1 value = radical }
                ideology = { factor = -0.1 value = socialist }
            }
        }

        ai_will_do = {
            factor = 1
            modifier = {
                factor = 0
                NOT = { year = 1901 }
            }
            modifier = {
                factor = 0
                NOT = { average_militancy = 5 }
                NOT = { year = 1870 }
            }
        }
    }
#GF #events #NETFlavor.txt
#NHM expands in the banking
country_event = {
    id = 211545
    title = "DIM_NHM_banking_title"
    desc = "DIM_NHM_banking2_desc"
    picture = "DIM_NHM"
    fire_only_once = yes

    trigger = {
        OR = {
			tag = NET
			tag = BNF
		}
        year = 1880
        has_global_flag = NHM_banking
        NOT = {
            ruling_party_ideology = communist
            has_global_flag = no_NHM
            has_global_flag = NHM_overinvested
            has_global_flag = NHM_sold
        }
    }

    mean_time_to_happen = {
        months = 500
        modifier = {
            has_global_flag = agrarische_wet
            factor = 0.5
        }
        modifier = {
            has_country_modifier = great_depression
            factor = 3
        }
        modifier = {
            has_country_modifier = stock_market_crash
            factor = 3
        }
        modifier = {
            has_global_flag = NHM_overstretched
            factor = 100
        }
        modifier = {
            ruling_party_ideology = reactionary
            factor = 4
        }
        modifier = {
            ruling_party_ideology = conservative
            factor = 2
        }
        modifier = {
            ruling_party_ideology = socialist
            factor = 10
        }
        modifier = {
            ruling_party_ideology = liberal
            factor = 0.5
        }
    }

    option = {
        name = "Banking does seem more profitable"
        set_global_flag = NHM_banking
        any_pop = {
            limit = {
                type = capitalists
                has_pop_culture = dutch
            }
            money = 500
        }
    }

    option = {
        name = "Limit their banking activities"
        any_pop = {
            limit = {
                OR = {
                    is_primary_culture = yes
                    is_accepted_culture = yes
                }
            }
            scaled_consciousness = {
                ideology = liberal
                factor = 1
            }
            scaled_consciousness = {
                ideology = radical
                factor = 1.5
            }
            scaled_militancy = {
                ideology = liberal
                factor = 2
            }
            scaled_militancy = {
                ideology = radical
                factor = 4
            }
            ideology = {
                factor = -0.2
                value = socialist
            }
        }
    }
}
#socialist^
#communist_socialV
#CWE#event #Soviet_union - After August Coup.txt
country_event = { # Condemnation of Gobachev's legacy - Yanayev
	id = 9001348
	title = "Condemnation of Gobachev's legacy"
	desc = EVT_9001348_DESC
	picture = "ussr_gorbatchev_legacy"

	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1992
		government = proletarian_dictatorship
		has_country_flag = gennady_yanayev
	}
	
	mean_time_to_happen = { months = 1 }

	option = {
		name = "Remove Gorbachev's Reforms and make him a traitor."
		
		set_country_flag = ussr_gorbatchev_traitor
		
		any_pop = {
			consciousness = 2 militancy = 3
			ideology = { factor = -0.1 value = liberal }
		}
		
		ai_chance = { factor = 0.1 }
	}
	
	option = {
		name = "Limiting Gorbachev's Reforms."
		
		any_pop = {
			consciousness = 2 militancy = 2
			ideology = { factor = 0.05 value = liberal }
			ideology = { factor = 0.05 value = communist_social }
		}
		
		ai_chance = { factor = 0.6 }
	}
	
	option = {
		name = "Eliminate Glasnost."
		
		any_pop = {
			consciousness = 1 militancy = 2
			ideology = { factor = -0.05 value = liberal }
		}
		
		ai_chance = { factor = 0.2 }
	}
	
	option = {
		name = "Eliminate Perestroika."
		
		any_pop = {
			consciousness = 1 militancy = 2
			ideology = { factor = -0.05 value = communist_social }
		}
		
		ai_chance = { factor = 0.1 }
	}
	
}
#communist_social^
#nationalistV
#CWE #canada.txt #Quebec Independence Referendum of 1980
country_event = {
  id = 8002630
  title = "$YEAR$ Quebec Independence Referendum"
  desc = EVT_8002630_DESC
  picture = "nwo2_quebec_independence_1980"
  fire_only_once = yes
  
	trigger = {
		tag = CAN
		year = 1980 
		NOT = { year = 1990 }
		war = no
		is_vassal = no
		
		OR = { 
			government = democracy 
			government = democracy1 
			government = hms_government 
			government = hms_government1 
		}
		
		#Owns Quebec
		is_possible_vassal = QUE
		
		has_country_flag = quebec_october_crisis_flag
	}
  
	mean_time_to_happen = { months = 5 }
  
	option = {
		name = "Let the people decide!"
		
		#80% chance of staying with Canada
		random_list = {
			80 = { 
				prestige = 50
				any_pop = {
					limit = { culture = french_canadian }
					ideology = { factor = -0.05 value = nationalist }
				}
			}
			20 = { QUE = { country_event = 1540333 } } #Independence of Quebec
		}

	}

}
#CWE 'canada.txt #1995 Quebec Independence Referendum
country_event = {
  id = 8002631
  title = "$YEAR$ Quebec Independence Referendum"
  desc = EVT_8002631_DESC
  picture = "nwo2_quebec_independence_1995"
  fire_only_once = yes
  
	trigger = {
		tag = CAN
		year = 1995
		NOT = { year = 2005 }
		war = no
		is_vassal = no
		
		OR = { 
			government = democracy
			government = democracy1
			government = hms_government
			government = hms_government1
		}
		
		#Owns Quebec
		is_possible_vassal = QUE
		
		has_country_flag = quebec_october_crisis_flag
	}
  
	mean_time_to_happen = { months = 10 }
  
	option = {
		name = "Let the people decide!"
		
		#70% chance of staying with Canada
		random_list = {
			70 = { 
				prestige = 50
				any_pop = {
					limit = { culture = french_canadian }
					ideology = { factor = -0.05 value = nationalist }
				}
			}
			30 = { QUE = { country_event = 1540333 } } #Independence of Quebec
		}

	}

}
#CWE #cb_and_cores.txt province_event = {
	id = 2620
	title = "EVT_2620_NAME" #Flags Flying in $PROVINCENAME$
	desc = "EVT_2620_DESC"
	
	trigger = {
		is_core = THIS
		any_core = {
			exists = yes
			NOT = { tag = THIS }
			NOT = { is_cultural_union = THIS }
		}
		has_province_modifier = national_assimilation
		NOT = {
			has_province_modifier = national_assimilation_acceptance
			has_province_modifier = nationalist_agitation
		}
		controlled_by = THIS
		owned_by = THIS
		is_colonial = no
		owner = {
			civilized = yes
			war = no
			NOT = { citizenship_policy = full_citizenship }
		}
	}
	
	mean_time_to_happen = {
		months = 180
		modifier = {
			factor = 1.5
			is_primary_culture = no
			is_accepted_culture = no
		}
		modifier = {
			factor = 0.5
			is_primary_culture = yes
		}
		modifier = {
			factor = 0.75
			is_accepted_culture = yes
		}
		modifier = {
			factor = 1.5
			any_neighbor_province = { has_province_modifier = nationalist_agitation }
		}
		modifier = {
			factor = 1.5
			has_province_modifier = national_assimilation_rejection
		}
		modifier = {
			factor = 1.25
			NOT = { has_province_modifier = national_assimilation_rejection }
			any_neighbor_province = { has_province_modifier = national_assimilation_rejection }
		}
		modifier = {
			factor = 0.75
			any_neighbor_province = { has_province_modifier = national_assimilation_acceptance }
		}
		modifier = {
			factor = 1.2
			average_militancy = 2
		}
		modifier = {
			factor = 1.2
			average_militancy = 3
		}
		modifier = {
			factor = 1.2
			average_militancy = 4
		}
		modifier = {
			factor = 1.2
			average_militancy = 5
		}
	}
	
	option = {
		name = EVT_2620_A
		remove_province_modifier = national_assimilation_rejection
		add_province_modifier = {
			name = national_assimilation_acceptance
			duration = -1
		}
		any_pop = {
			consciousness = -3
			militancy = -2
		}
		any_pop = {
			limit = {
				is_primary_culture = no
				is_accepted_culture = no
			}
			ideology = {
				value = nationalist
				factor = -0.25
			}
		}
	}
}

#CWE #Devolution.txt #Referendum Fails
country_event = {
	id = 10014
title = "Referendum on Devolution Fails"
	desc = EVTDESC10013
	picture = "devolution_continues"

is_triggered_only = yes

option = {
name = "Our country grows stronger!"
any_pop = { 
limit = { is_primary_culture = no }
ideology = {
	factor = -0.05
	value = nationalist
	}
}
		}

}
#CWE #events #Essential Events 8.txt #Post Colonial Political fragmentation
country_event = {
	id = 1512094
title = "Post Colonial Politics"
	desc = EVTDESC1512094
	picture = "post_colonial_politics"

trigger = {
is_vassal = no
war = no
pop_majority_ideology = nationalist
has_country_flag = former_colonial_nation
has_country_modifier = newly_independent_country
NOT = { has_country_flag = post_colonial_politics }
}

mean_time_to_happen = { 
months = 1
	}

option = {
name = "The political scene of $COUNTRY$ will diversify"

election = yes

set_country_flag = post_colonial_politics

add_country_modifier = { name = post_colonial_chaos duration = 1825 }

any_pop = { 

limit = { OR = { is_accepted_culture = yes is_primary_culture = yes } }

ideology = {
	factor = -0.75
	value = nationalist
}

	}
		}

}
#CWE #soviet_union - After Khrushchev Stuff.txt country_event = { # Recentralization
	id = 9001169
	title = "Recentralization of the USSR"
	desc = EVT_9001169_DESC
	picture = "ussr_fake_federation"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1967
		NOT = { year = 1975 }
		government = proletarian_dictatorship
		has_country_flag = alexender_shelepin
	}

	mean_time_to_happen = { months = 4 }

	option = {
		name = "Our control over the Union is greater!"
		
		any_pop = {
			limit = { NOT = { is_culture_group = THIS } }
			militancy = -2 
			consciousness = -2 
			ideology = { factor = -0.10 value = nationalist }
			ideology = { factor = 0.10 value = communist }
		}
	}
}
#CWE #soviet_union - After Khrushchev Stuff.txt country_event = { # The Case of the Katyn Massacre
	id = 9001201
	title = "The Case of the Katyn Massacre"
	desc = EVT_9001201_DESC
	picture = "katyn_massacre"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1968
		NOT = { year = 1981 }
		government = proletarian_dictatorship
		has_country_flag = alexender_shelepin
	}

	mean_time_to_happen = { months = 6 }

	option = {
		name = "Let's get rid of those annoying files!"
		
		badboy = 4
		relation = { who = POL value = -50 }
		any_pop = {
			limit = { NOT = { is_culture = polish } }
			militancy = -3 
			consciousness = -3
			ideology = { factor = -0.10 value = nationalist }
		}
		
		ai_chance = { factor = 0.9 }
	}
	
	option = {
		name = "Do nothing."
		
		any_pop = {
			limit = { NOT = { is_culture = polish } }
			militancy = 4
			consciousness = 4
			ideology = { factor = 0.10 value = nationalist }
			
			ai_chance = { factor = 0.1 }
		}
	}
}
#CWE #soviet_union - Brezhnev´s Resignation.txt 
country_event = { # Resignation of Leonid Brezhnev?
	id = 9001475
	title = "Resignation of Leonid Brezhnev?"
	desc = EVT_9001475_DESC
	picture = "brezhnev_doctrine"
  
	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 1974
		NOT = { year = 1976 }
		
		government = proletarian_dictatorship
		is_vassal = no
		war = no
		
		has_country_flag = leonid_brezhnev
	}

	mean_time_to_happen = { months = 5 }

	option = {
		name = "Continue despite everything."
		
		poor_strata = { consciousness = 3 }
		
		ai_chance = { factor = 0.9 }
	}
	
	option = {
		name = "Select Dinmukhamed Kunaev (Conservative-Moderate)."
		
		set_country_flag = dinmukhamed_kunaev
		clr_country_flag = leonid_brezhnev
		
		#Party elites are happy & rise of reformism
		any_pop = { limit = { strata = rich } ideology = { factor = 0.05 value = communist } militancy = -3 consciousness = -3 }
		any_pop = { limit = { strata = poor } ideology = { factor = 0.05 value = communist_social } militancy = 2 consciousness = 2 }
		
		#Reduction of nationalism
		any_pop = { limit = { NOT = { culture = russian } } ideology = { factor = -0.05 value = nationalist } consciousness = -5 militancy = -5 }
		
		ai_chance = { factor = 0.05 }
	}
	
	option = {
		name = "Select Yuri Andropov (Reformist)."
		
		set_country_flag = yuri_andropov
		set_country_flag = brezhnev_resignation
		clr_country_flag = leonid_brezhnev
		clr_country_flag = yuri_andropov_3
		
		#Rise of reformism & instability from early reforms
		any_pop = { limit = { strata = rich } ideology = { factor = 0.10 value = communist_social } militancy = 5 consciousness = 5 }
		any_pop = { limit = { strata = middle } ideology = { factor = 0.10 value = progressive } }
		any_pop = { limit = { strata = poor } ideology = { factor = 0.10 value = socialist } }
		add_country_modifier = { name = military_strife duration = 3650 }
		add_country_modifier = { name = political_strife duration = 3650 }
		
		ai_chance = { factor = 0.05 }
	}
	
}
#CWE#soviet_union - Post 1990.txt country_event = { # 100 years of the Great Patriotic War
	id = 9001369
	title = "100 years of the Great Patriotic War"
	desc = EVT_9001369_DESC
	picture = "ussr_100_great_patriotic_war"

	fire_only_once = yes

	trigger = {
		tag = RUS
		year = 2041
		NOT = { year = 2043 }
		
		OR = {
			government = proletarian_dictatorship
			government = socialist_democracy
		}
	}
	
	mean_time_to_happen = { months = 6 }

	option = {
		name = "The sacrifice of the Soviet people."
		prestige = 300
		
		any_pop = { 
			consciousness = -2 
			militancy = -3
			ideology = { factor = 0.05 value = communist }
			ideology = { factor = 0.05 value = nationalist } 
		}
		
		ai_chance = { factor = 0.6 }
	}
	
	option = {
		name = "Showing the horror of Fascism"
		prestige = 300
		
		any_pop = { 
			consciousness = -3 
			militancy = -3
			ideology = { factor = -0.05 value = nationalist }
			ideology = { factor = -0.05 value = populist } 
		}
		
		ai_chance = { factor = 0.3 }
	}
	
	option = {
		name = "The inflexibility of Stalin."
		
		badboy = 1.5	
		prestige = 300
		
		any_pop = { 
			consciousness = -2 
			militancy = -2
			ideology = { factor = 0.05 value = communist }
			ideology = { factor = 0.05 value = socialist } 
		}
		
		ai_chance = { factor = 0.1 }
	}
	
}
#CWEevent#soviet_union - Rise of Lebed.txt country_event = { # Death of Lebed - Bad Ending
	id = 9001450
	title = "Death of Lebed"
	desc = EVT_9001450_DESC
	picture = "communist_death"

	is_triggered_only = yes

	option = {
		name = "He left too soon..."
		
		any_pop = {
			consciousness = -2
			ideology = { factor = -0.1 value = nationalist }
		}
		
		election = yes
	}
	
}
nationalist^
big_tentV
#The Recruit Scandal, 1988
big_tent^
populistV
#cwe #The Recruit Scandal, 1988
#cwe #soviet_union - Post 1990.txt # 100 years of the Great Patriotic War
	option = {
		name = "The sacrifice of the Soviet people."
		prestige = 300
		
		any_pop = { 
			consciousness = -2 
			militancy = -3
			ideology = { factor = 0.05 value = communist }
			ideology = { factor = 0.05 value = nationalist } 
		}
		
		ai_chance = { factor = 0.6 }
	}