add_namespace = france_md
add_namespace = France_news
add_namespace = FRA_corporate_systems_events

# International Space Research - NASA
country_event = {
	id = france_md.11
	title = france_md.11.t
	desc = france_md.11.d
	picture = GFX_astronauts
	is_triggered_only = yes

	option = {
		name = france_md.11.a
		log = "[GetDateText]: [This.GetName]: france_md.11.a executed"
		add_opinion_modifier = { target = FRA modifier = space_partners }
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = space_partners }
			add_ideas = FRA_idea_nasa_partnership
			set_temp_variable = { treasury_change = -10 }
			modify_treasury_effect = yes
			country_event = diplomatic_response.1
		}
		add_ideas = FRA_idea_nasa_partnership
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		custom_effect_tooltip = FRA_international_space_nasa_TT
		ai_chance = {
			base = 60
			modifier = {
				is_historical_focus_on = yes
				factor = 80
			}
		}
	}

	option = {
		name = france_md.11.b
		log = "[GetDateText]: [This.GetName]: france_md.11.b executed"
		add_opinion_modifier = { target = FRA modifier = denied_us }
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
		}
		ai_chance = {
			base = 40
			modifier = {
				is_historical_focus_on = yes
				factor = 20
			}
		}
	}
}

# Armenia
country_event = {
	id = france_md.100
	title = france_md.100.t
	desc = france_md.100.d
	picture = GFX_armenia_france
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = ARM
	}

	# Support Armenia Politically
	option = {
		name = france_md.100.a
		log = "[GetDateText]: [This.GetName]: france_md.100.a executed"
		set_country_flag = FRA_send_arm_political
		effect_tooltip = {
			ARM = { add_political_power = 250 }
			FRA = { add_political_power = -75 }
		}
		ARM = { country_event = { id = france_md.101 days = 5 } }
	}

	option = {
		name = france_md.100.b
		log = "[GetDateText]: [This.GetName]: france_md.100.b executed"
		set_country_flag = FRA_send_arm_financially
		effect_tooltip = {
			ARM = {
				set_temp_variable = { debt_change = debt }
				multiply_temp_variable = { debt_change = 0.25 }
				clamp_temp_variable = { var = debt_change max = 50 }
				modify_debt_effect = yes
			}
			FRA = {
				set_temp_variable = { treasury_change = debt_change }
				multiply_temp_variable = { treasury_change = -0.85 }
				modify_treasury_effect = yes
			}
		}
		ARM = { country_event = { id = france_md.101 days = 5 } }
	}

	option = {
		name = france_md.100.c
		log = "[GetDateText]: [This.GetName]: france_md.100.c executed"
		set_country_flag = FRA_send_arm_military
		effect_tooltip = {
			FRA = {
				send_equipment = {
					equipment = infantry_weapons_1
					amount = 1000
					target = ARM
				}
			}
		}
		ARM = { country_event = { id = france_md.101 days = 5 } }
	}
}

# Armenia's event
country_event = {
	id = france_md.101
	title = france_md.101.t
	desc = france_md.101.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = ARM
		country_exists = FRA
	}

	option = {
		name = france_md.101.a
		log = "[GetDateText]: [This.GetName]: france_md.101.a executed"
		if = { limit = { FROM = { has_country_flag = FRA_send_arm_political } }
			ARM = { add_political_power = 250 }
			FRA = { add_political_power = -75 }
		}
		if = { limit = { FROM = { has_country_flag = FRA_send_arm_financially } }
			ARM = {
				set_temp_variable = { debt_change = debt }
				multiply_temp_variable = { debt_change = 0.25 }
				clamp_temp_variable = { var = debt_change max = 50 }
				modify_debt_effect = yes
			}
			FRA = {
				set_temp_variable = { treasury_change = debt_change }
				multiply_temp_variable = { treasury_change = -0.85 }
				modify_treasury_effect = yes
			}
		}
		if = { limit = { FROM = { has_country_flag = FRA_send_arm_military } }
			FRA = {
				send_equipment = {
					equipment = infantry_weapons_1
					amount = 1000
					target = ARM
				}
			}
		}
		ai_chance = { base = 1 }
	}
}

# The First Ivorian Civil War
country_event = {
	id = france_md.102
	title = france_md.102.t
	desc = france_md.102.t
	picture = GFX_france_operation_liconre
	is_triggered_only = yes

	# Back Laurent Gbagbo
	option = {
		name = france_md.102.a
		log = "[GetDateText]: [This.GetName]: france_md.102.a executed"
		if = {
			limit = { CDI = { has_country_leader = { name = "Laurent Gbagbo" ruling_only = yes } } }
			add_relation_modifier = {
				target = CDI
				modifier = generic_increased_military_support
			}
		}
		else = {
			random_country_with_original_tag = {
				original_tag_to_check = CDI
				limit = {
					has_country_leader = { name = "Laurent Gbagbo" ruling_only = yes }
				}
				FRA = {
					add_relation_modifier = {
						target = PREV
						modifier = generic_increased_military_support
					}
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.102.b
		log = "[GetDateText]: [This.GetName]: france_md.102.b executed"
		add_relation_modifier = {
			target = FNC
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.102.c
		log = "[GetDateText]: [This.GetName]: france_md.102.c executed"
		trigger = {
			any_country_with_original_tag = {
				original_tag_to_check = CDI
				has_war_with = CDI
				NOT = { tag = FNC }
			}
		}
		random_country_with_original_tag = {
			original_tag_to_check = CDI
			limit = {
				has_war_with = CDI
				NOT = { has_country_leader = { name = "Laurent Gbagbo" ruling_only = yes } }
			}
			FRA = {
				add_relation_modifier = {
					target = PREV
					modifier = generic_increased_military_support
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

# The Second Ivorian Civil War
country_event = {
	id = france_md.103
	title = france_md.103.t
	desc = france_md.103.t
	picture = GFX_french_troops_africa
	is_triggered_only = yes

	# Back Laurent Gbagbo
	option = {
		name = france_md.103.a
		log = "[GetDateText]: [This.GetName]: france_md.103.a executed"
		add_relation_modifier = {
			target = CDI
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.103.b
		log = "[GetDateText]: [This.GetName]: france_md.103.b executed"
		add_relation_modifier = {
			target = FNC
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 2
				is_historical_focus_on = yes
			}
		}
	}
}

# Operation Artemis
country_event = {
	id = france_md.104
	title = france_md.104.t
	desc = france_md.104.d
	picture = GFX_france_special_forces
	is_triggered_only = yes

	# Support Congo DR
	option = {
		name = france_md.104.a
		log = "[GetDateText]: [This.GetName]: france_md.104.a executed"
		add_relation_modifier = {
			target = DRC
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 0 }
	}

	option = {
		name = france_md.104.b
		log = "[GetDateText]: [This.GetName]: france_md.104.b executed"
		add_relation_modifier = {
			target = UGA
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = france_md.104.c
		log = "[GetDateText]: [This.GetName]: france_md.104.c executed"
		add_relation_modifier = {
			target = RWA
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 0 }
	}
}

# Senegalese Civil War
country_event = {
	id = france_md.105
	title = france_md.105.t
	desc = france_md.105.d
	picture = GFX_french_troops_africa
	is_triggered_only = yes

	trigger = {
		country_exists = SEN
		SEN = {
			OR = {
				has_war_with = CSM
				has_civil_war = yes
			}
		}
	}

	# Support Senegal
	option = {
		name = france_md.105.a
		log = "[GetDateText]: [This.GetName]: france_md.105.a executed"
		add_relation_modifier = {
			target = SEN
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = france_md.105.b
		log = "[GetDateText]: [This.GetName]: france_md.105.b executed"
		random_other_country = {
			limit = {
				original_tag = SEN
				NOT = { tag = SEN }
				has_war_with = SEN
			}
			FRA = {
				add_relation_modifier = {
					target = PREV
					modifier = generic_increased_military_support
				}
			}
		}
		ai_chance = { base = 0 }
	}

	option = {
		name = france_md.105.c
		log = "[GetDateText]: [This.GetName]: france_md.105.c executed"
		trigger = {
			country_exists = SEN
			CSM = { has_war_with = SEN }
		}
		add_relation_modifier = {
			target = CSM
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 0 }
	}
}

# Opération Sangaris
country_event = {
	id = france_md.106
	title = france_md.106.t
	desc = france_md.106.d
	picture = GFX_france_operation_sangaris
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Support the CAR
	option = {
		name = france_md.106.a
		log = "[GetDateText]: [This.GetName]: france_md.106.a executed"
		add_relation_modifier = {
			target = CAR
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 5 }
	}

	option = {
		name = france_md.106.b
		log = "[GetDateText]: [This.GetName]: france_md.106.b executed"
		trigger = {
			has_global_flag = GLOBAL_central_african_bush_war_escalated
			NOT = { has_global_flag = GLOBAL_central_african_bush_war_cleanup_complete }
		}
		random_other_country = {
			limit = {
				original_tag = CAR
				NOT = { tag = CAR }
			}
			FRA = {
				add_relation_modifier = {
					target = PREV
					modifier = generic_increased_military_support
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.106.c
		log = "[GetDateText]: [This.GetName]: france_md.106.c executed"
		trigger = {
			has_global_flag = GLOBAL_central_african_civil_war
			country_exists = SEL
			SEL = { has_war_with = CAR }
		}
		add_relation_modifier = {
			target = SEL
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.106.d1
		log = "[GetDateText]: [This.GetName]: france_md.106.d1 executed"
		trigger = {
			has_global_flag = GLOBAL_central_african_civil_war
			country_exists = LGN
			"LGN" = { has_war_with = CAR }
		}
		add_relation_modifier = {
			target = LGN
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.106.e
		log = "[GetDateText]: [This.GetName]: france_md.106.e executed"
		trigger = {
			has_global_flag = GLOBAL_central_african_civil_war
			country_exists = BAL
			BAL = { has_war_with = CAR }
		}
		add_relation_modifier = {
			target = BAL
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

# Opération Serval
country_event = {
	id = france_md.107
	title = france_md.107.t
	desc = france_md.107.d
	picture = GFX_french_troops_africa
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Support the Malian Government
	option = {
		name = france_md.107.a
		log = "[GetDateText]: [This.GetName]: france_md.107.a executed"
		add_relation_modifier = {
			target = MAL
			modifier = generic_increased_military_support
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = france_md.107.b
		log = "[GetDateText]: [This.GetName]: france_md.107.b executed"
		add_relation_modifier = {
			target = TUA
			modifier = generic_increased_military_support
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

# Takuba Task Force
country_event = {
	id = france_md.108
	title = france_md.108.t
	desc = france_md.108.d
	picture = GFX_french_troops_africa
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Support the Malian Government
	option = {
		name = france_md.108.a
		log = "[GetDateText]: [This.GetName]: france_md.108.a executed"
		trigger = { country_exists = MAL }
		if = {
			limit = {
				NOT = {
					has_relation_modifier = {
						target = MAL
						modifier = generic_increased_military_support
					}
				}
			}
			add_relation_modifier = {
				target = MAL
				modifier = generic_increased_military_support
			}
		}
		if = {
			limit = {
				has_relation_modifier = {
					target = TUA
					modifier = generic_increased_military_support
				}
			}
			recall_volunteers_from = TUA
			remove_relation_modifier = {
				target = TUA
				modifier = generic_increased_military_support
			}
		}
		send_equipment = {
			equipment = infantry_weapons_1
			target = MAL
			amount = 500
		}
		ai_chance = { base = 1 }
	}

	option = {
		name = france_md.108.b
		log = "[GetDateText]: [This.GetName]: france_md.108.b executed"
		trigger = { country_exists = TUA }
		if = {
			limit = {
				NOT = {
					has_relation_modifier = {
						target = TUA
						modifier = generic_increased_military_support
					}
				}
			}
			add_relation_modifier = {
				target = TUA
				modifier = generic_increased_military_support
			}
		}
		if = {
			limit = {
				has_relation_modifier = {
					target = MAL
					modifier = generic_increased_military_support
				}
			}
			recall_volunteers_from = MAL
			remove_relation_modifier = {
				target = MAL
				modifier = generic_increased_military_support
			}
		}
		send_equipment = {
			equipment = infantry_weapons_1
			target = TUA
			amount = 500
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.108.c
		log = "[GetDateText]: [This.GetName]: france_md.108.c executed"
		if = {
			limit = {
				has_relation_modifier = {
					target = MAL
					modifier = generic_increased_military_support
				}
			}
			recall_volunteers_from = MAL
			remove_relation_modifier = {
				target = MAL
				modifier = generic_increased_military_support
			}
		}
		if = {
			limit = {
				has_relation_modifier = {
					target = TUA
					modifier = generic_increased_military_support
				}
			}
			recall_volunteers_from = TUA
			remove_relation_modifier = {
				target = TUA
				modifier = generic_increased_military_support
			}
		}
		random_other_country = {
			limit = {
				original_tag = MAL
				has_cosmetic_tag = MAL_ANSAR_DINE
			}
			FRA = {
				add_relation_modifier = {
					target = PREV
					modifier = generic_increased_military_support
				}
				send_equipment = {
					equipment = infantry_weapons_1
					target = PREV
					amount = 500
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
		}
	}
}

# Haitian Coup
country_event = {
	id = france_md.109
	title = france_md.109.t
	desc = france_md.109.d
	picture = GFX_france_special_forces
	is_triggered_only = yes

	# Instigate the Coup
	option = {
		name = france_md.109.a
		log = "[GetDateText]: [This.GetName]: france_md.109.a executed"
		trigger = {
			NOT = { has_global_flag = GLOBAL_haitian_civil_war }
		}
		random_list = {
			60 = {
				# USA Supporting us makes this easier
				modifier = {
					factor = 2
					USA = { has_country_flag = USA_intervene_in_haiti }
				}
				HAI = {
					set_temp_variable = { rul_party_temp = 3 }
					change_ruling_party_effect = yes
					set_politics = {
						ruling_party = democratic
						last_election = "2000.11.1"
						election_frequency = 60
						elections_allowed = yes
					}
					create_country_leader = {
						name = "Boniface Alexandre"
						picture = "boniface_alexander.dds"
						ideology = socialism
						traits = {
							western_socialism
							lawyer
							judiciary
						}
					}
				}
			}
			40 = {
				HAI = {
					start_civil_war = {
						ideology = democratic
						size = 0.3
						states = { 859 }
					}
					hidden_effect = {
						set_temp_variable = { rul_party_temp = 13 }
						change_ruling_party_effect = yes
						set_politics = {
							ruling_party = neutrality
							last_election = "2000.11.1"
							election_frequency = 60
							elections_allowed = yes
						}
						create_country_leader = {
							name = "Buteur Métayer"
							picture = "buteur_metayer.dds"
							ideology = Neutral_Autocracy
							traits = {
								neutrality_Neutral_Autocracy
							}
						}
						FRA = {
							add_relation_modifier = {
								target = HAI
								modifier = generic_increased_military_support
							}
						}
						division_template = {
							name = "Rebel Forces"
							is_locked = yes
							regiments = {
								Militia_Bat = { x = 0 y = 0 }
								Militia_Bat = { x = 0 y = 1 }
								Militia_Bat = { x = 0 y = 2 }
								Militia_Bat = { x = 0 y = 3 }
							}
						}
						860 = {
							create_unit = {
								division = "name = \"1. Rebel Forces\" division_template = \"Rebel Forces\" start_experience_factor = 0.5 start_equipment_factor = 1"
								owner = HAI
							}
							create_unit = {
								division = "name = \"2. Rebel Forces\" division_template = \"Rebel Forces\" start_experience_factor = 0.5 start_equipment_factor = 1"
								owner = HAI
							}
						}
						random_other_country = {
							limit = {
								original_tag = HAI
								has_government = democratic
							}
							create_country_leader = {
								name = "Jean-Bertrand Aristide"
								picture = "jean-bertrand_artistide.dds"
								ideology = socialism
								traits = {
									western_socialism
									cleric
								}
							}
							division_template = {
								name = "Police Forces"
								is_locked = yes
								regiments = {
									Militia_Bat = { x = 0 y = 0 }
									Militia_Bat = { x = 0 y = 1 }
									Militia_Bat = { x = 0 y = 2 }
									Militia_Bat = { x = 0 y = 3 }
								}
							}
							859 = {
								create_unit = {
									division = "name = \"1. Police Forces\" division_template = \"Police Forces\" start_experience_factor = 0.5 start_equipment_factor = 1"
									owner = PREV
								}
								create_unit = {
									division = "name = \"2. Police Forces\" division_template = \"Police Forces\" start_experience_factor = 0.5 start_equipment_factor = 1"
									owner = PREV
								}
							}
						}
					}
				}
			}
		}
		ai_chance = {
			base = 1
		}
	}

	option = {
		name = france_md.109.b
		log = "[GetDateText]: [This.GetName]: france_md.109.b executed"
		trigger = { has_global_flag = GLOBAL_haitian_civil_war }
		add_relation_modifier = {
			target = HAI
			modifier = generic_increased_military_support
		}
		send_equipment = {
			equipment = infantry_weapons_1
			target = HAI
			amount = 500
		}
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = france_md.509
	title = france_md.509.t
	desc = france_md.509.d
	picture = GFX_euro_investments
	is_triggered_only = yes

	option = { #Adopt the ECO
		name = france_md.509.a
		log = "[GetDateText]: [This.GetName]: france_md.509.a executed"
		if = {
			limit = { has_idea = cfa_franc }
			swap_ideas = {
				remove_idea = cfa_franc
				add_idea = the_eco
			}
		}
		else_if = {
			limit = { has_idea = cfa_franc_2 }
			swap_ideas = {
				remove_idea = cfa_franc_2
				add_idea = the_eco
			}
		}
		add_opinion_modifier = {
			target = FROM
			modifier = FRA_supported_financial_independence
		}
		set_temp_variable = { percent_change = 0.5 }
		set_temp_variable = { tag_index = FROM.id }
		change_influence_percentage = yes
		ai_chance = {
			base = 10
			modifier = {
				add = 10
				has_opinion = { target = FROM value > 25 }
			}
			modifier = {
				factor = 0
				has_opinion = { target = FROM value < -25 }
			}
		}
	}

	option = { #Decline the offer
		name = france_md.509.b
		log = "[GetDateText]: [This.GetName]: france_md.509.b executed"
		add_opinion_modifier = {
			target = FROM
			modifier = FRA_rejected_financial_independence
		}
		ai_chance = {
			base = 5
			modifier = {
				add = 10
				has_opinion = { target = FROM value < 0 }
			}
		}
	}
}

country_event = {
	id = france_md.110
	title = france_md.110.t
	desc = france_md.110.d
	picture = GFX_country_brexit_referendum
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Allow the Referendum
	option = {
		name = france_md.110.a
		log = "[GetDateText]: [This.GetName]: france_md.110.a executed"
		effect_tooltip = {
			activate_mission = COM_mayotte_referendum_mission
		}
		hidden_effect = {
			set_country_flag = COM_mayotte_referendum_active
			COM = {
				set_country_flag = COM_mayotte_referendum_active
				# Current Expected Vote Share
				if = { limit = { NOT = { has_completed_focus = COM_anti_colonialist_propaganda } }
					set_variable = { COM.mayotte_referendum_france = 75 }
					set_variable = { COM.mayotte_referendum_comoros = 10 }
					set_variable = { COM.mayotte_referendum_independence = 15 }
				}
				else = {
					set_variable = { COM.mayotte_referendum_france = 60 }
					set_variable = { COM.mayotte_referendum_comoros = 25 }
					set_variable = { COM.mayotte_referendum_independence = 15 }
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 10
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.110.b
		log = "[GetDateText]: [This.GetName]: france_md.110.b executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.04 }
		set_temp_variable = { temp_outlook_increase = 0.04 }
		change_relative_party_popularity = yes
		ai_chance = { base = 0 }
	}

	option = {
		name = france_md.110.c
		log = "[GetDateText]: [This.GetName]: france_md.110.c executed"
		set_country_flag = FRA_MTE_overseas_department
		release = MTE
		set_autonomy = {
			target = MTE
			autonomous_state = autonomy_french_overseas_department
			end_wars = no
			end_civil_wars = no
		}
		ai_chance = { base = 0 }
	}
}

country_event = {
	id = france_md.111
	title = france_md.111.t
	desc = france_md.111.d
	picture = GFX_country_brexit_referendum
	is_triggered_only = yes

	trigger = {
		OR = {
			original_tag = FRA
			original_tag = COM
		}
	}

	# Perfection
	option = {
		name = france_md.111.a
		log = "[GetDateText]: [This.GetName]: france_md.111.a executed"
		if = {
			limit = { original_tag = FRA }
			FRA = { add_stability = 0.02 }
		}
		else = {
			effect_tooltip = {
			}
		}
	}
}
country_event = {
	id = france_md.504
	title = france_md.504.t
	desc = france_md.504.d
	picture = GFX_france_mcdonalds_bombing
	is_triggered_only = yes

	# Unfortunate
	option = {
		name = france_md.504.a
		log = "[GetDateText]: [This.GetName]: france_md.504.a executed"
		set_temp_variable = { party_popularity_increase = -0.01 }
		set_temp_variable = { temp_outlook_increase = -0.01 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.500
	title = france_md.500.t
	desc = france_md.500.d
	picture = GFX_france_bombing
	is_triggered_only = yes

	# Unfortunate
	option = {
		name = france_md.500.a
		log = "[GetDateText]: [This.GetName]: france_md.500.a executed"
		add_stability = -0.01
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.501
	title = france_md.501.t
	desc = france_md.501.d
	picture = GFX_france_bombing
	is_triggered_only = yes

	# Unfortunate
	option = {
		name = france_md.501.a
		log = "[GetDateText]: [This.GetName]: france_md.501.a executed"
		add_stability = -0.01
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.350
	title = france_md.350.t
	desc = france_md.350.d
	picture = GFX_saudi_taif
	is_triggered_only = yes

	trigger = {
		original_tag = SYR
		LEB = { is_subject_of = SYR }
	}

	# Release Lebanon
	option = {
		name = france_md.350.a
		log = "[GetDateText]: [This.GetName]: france_md.350.a executed"
		SYR = {
			release = LEB
			add_stability = 0.05
			add_war_support = -0.05
		}
	}

	option = {
		name = france_md.350.b
		log = "[GetDateText]: [This.GetName]: france_md.350.b executed"
		release = LEB
		set_temp_variable = { wargoal_on = LEB }
		set_temp_variable = { wargoal_type = 1 }
		add_threat_from_wargoal_effect = yes
		create_wargoal = {
			type = topple_government
			target = LEB
		}
	}
}

# FRA - Damascus Spring
country_event = {
	id = france_md.355
	title = france_md.355.t
	desc = france_md.355.d
	picture = GFX_syria_damascus_spring
	is_triggered_only = yes

	option = {
		name = france_md.355.a
		log = "[GetDateText]: [This.GetName]: france_md.355.a executed"
		add_popularity = { ideology = democratic popularity = 0.05 }
		recalculate_party = yes
		add_stability = -0.05
		add_war_support = -0.05
	}
}

# Investments in Gas & Oil
country_event = {
	id = france_md.360
	title = france_md.360.t
	desc = france_md.360.d
	picture = GFX_generic_oil_field
	is_triggered_only = yes

	# Yes, please!
	option = {
		name = france_md.360.a
		log = "[GetDateText]: [This.GetName]: france_md.360.a executed"
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = SYR.id }
		change_influence_percentage = yes
		FRA = {
			set_temp_variable = { treasury_change = -20 }
			modify_treasury_effect = yes
		}
		SYR = {
			add_resource = {
				type = oil
				amount = 5
				state = 561
			}
			561 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = fuel_silo
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = fossil_powerplant
					level = 1
					instant_build = yes
				}
			}
		}
		ai_chance = {
			base = 85
			modifier = {
				factor = 0.5
				is_historical_focus_on = yes
			}
		}
	}

	option = {
		name = france_md.360.b
		log = "[GetDateText]: [This.GetName]: france_md.360.b executed"
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
		}
		ai_chance = { base = 15 }
	}
}

#invest infrastructure north
country_event = {
	id = france_md.400
	title = france_md.400.t
	desc = france_md.400.d
	picture = GFX_united_states_dollar
	is_triggered_only = yes

	option = {
		name = france_md.400.a
		log = "[GetDateText]: [This.GetName]: france_md.400.a executed"
		add_political_power = 25
		set_temp_variable = { treasury_change = -3.50 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = LEB.id }
		change_influence_percentage = yes
		LEB = {
			add_opinion_modifier = {
				target = ROOT
				modifier = recently_invest
			}
			if = {
				limit = {
					has_full_control_of_state = 203
					203 = { infrastructure < 5 }
				}
				203 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
		ai_chance = { base = 85 }
	}

	option = {
		name = france_md.400.b
		log = "[GetDateText]: [This.GetName]: france_md.400.b executed"
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
		}
		ai_chance = { base = 15 }
	}
}

# Invest infrastructure south
country_event = {
	id = france_md.401
	title = france_md.401.t
	desc = france_md.401.d
	picture = GFX_united_states_dollar
	is_triggered_only = yes

	option = {
		name = france_md.401.a
		log = "[GetDateText]: [This.GetName]: france_md.401.a executed"
		add_political_power = 25
		set_temp_variable = { treasury_change = -3.50 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 1 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = LEB.id }
		change_influence_percentage = yes
		LEB = {
			add_opinion_modifier = {
				target = ROOT
				modifier = recently_invest
			}
			if = {
				limit = {
					has_full_control_of_state = 202
					202 = { infrastructure < 5 }
				}
				202 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
					}
				}
			}
		}
		ai_chance = { base = 85 }
	}

	option = {
		name = france_md.401.b
		log = "[GetDateText]: [This.GetName]: france_md.401.b executed"
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
		}
		ai_chance = { base = 15 }
	}
}

# Invest Civilian Factory
country_event = {
	id = france_md.402
	title = france_md.402.t
	desc = france_md.402.d
	picture = GFX_united_states_dollar
	is_triggered_only = yes

	option = {
		name = france_md.402.a
		log = "[GetDateText]: [This.GetName]: france_md.402.a executed"
		add_political_power = 25
		set_temp_variable = { treasury_change = -7.50 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = LEB.id }
		change_influence_percentage = yes
		LEB = {
			add_opinion_modifier = {
				target = ROOT
				modifier = recently_invest
			}
			if = {
				limit = { has_full_control_of_state = 203 }
				203 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
		}
		ai_chance = { base = 200 }
	}

	option = {
		name = france_md.402.b
		log = "[GetDateText]: [This.GetName]: france_md.402.b executed"
		add_opinion_modifier = { target = FRA modifier = denied_us }
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
		}
		ai_chance = { base = 15 }
	}
}

# Send Humanitarian
country_event = {
	id = france_md.403
	title = france_md.403.t
	desc = france_md.403.d
	picture = GFX_united_states_dollar
	is_triggered_only = yes

	option = {
		name = france_md.403.a
		log = "[GetDateText]: [This.GetName]: france_md.403.a executed"
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = LEB.id }
		change_influence_percentage = yes
		add_political_power = 25
		LEB = {
			set_temp_variable = { treasury_change = 15 }
			modify_treasury_effect = yes
		}
		ai_chance = { base = 200 }
	}

	option = {
		name = france_md.403.b
		log = "[GetDateText]: [This.GetName]: france_md.403.b executed"
		add_opinion_modifier = { target = FRA modifier = denied_us }
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
		}
		ai_chance = { base = 15 }
	}
}
country_event = {
	id = france_md.505
	title = france_md.505.t
	desc = france_md.505.d
	picture = GFX_FRA_knds_merger
	is_triggered_only = yes

	option = {
		name = france_md.505.a
		log = "[GetDateText]: [This.GetName]: france_md.505.a executed"
		set_country_flag = FRA_nexter_merge
		unlock_military_industrial_organization_tooltip = mio:FRA_knds_manufacturer
		custom_effect_tooltip = TT_FRA_knds_merge_carry_traits
		hidden_effect = {
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_leclerc_programme } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_leclerc_programme }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_leclerc_mk2 } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_leclerc_mk2 }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_leclerc_xlr } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_leclerc_xlr }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_vbci } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_vbci }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_famas } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_famas }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_scorpion_core } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_scorpion_core }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_griffon } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_griffon }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_jaguar } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_jaguar }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_serval } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_serval }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_40cta } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_40cta }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_caesar } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_caesar }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_eurenco } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_eurenco }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_nbc_sys } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_nbc_sys }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_lu_family } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_lu_family }
			}
			if = {
				limit = { mio:FRA_nexter_manufacturer = { is_mio_trait_completed = FRA_nexter_bonus } }
				mio:FRA_knds_manufacturer = { complete_mio_trait = FRA_nexter_bonus }
			}
		}
		ai_chance = { base = 80 }
	}

	option = {
		name = france_md.505.b
		log = "[GetDateText]: [This.GetName]: france_md.505.b executed"
		set_country_flag = FRA_nexter_merge_refused
		ai_chance = { base = 10 }
	}
}

country_event = {
	id = france_md.506
	title = france_md.506.t
	desc = france_md.506.d
	picture = GFX_FRA_arquus
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = france_md.506.a
		log = "[GetDateText]: [This.GetName]: france_md.506.a executed"
		unlock_military_industrial_organization_tooltip = mio:FRA_arquus_manufacturer
		newline = yes
		custom_effect_tooltip = france_md.506_tt
		set_country_flag = FRA_arguus_established
	}
}
country_event = {
	id = france_md.507
	title = france_md.507.t
	desc = france_md.507.d
	picture = GFX_FRA_airbus_helicopters
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = france_md.507.a
		log = "[GetDateText]: [This.GetName]: france_md.507.a executed"
		set_country_flag = FRA_airbus_change
		unlock_military_industrial_organization_tooltip = mio:FRA_airbus_manufacturer
		custom_effect_tooltip = TT_FRA_airbus_change_carry_traits
		hidden_effect = {
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_marignane_rotorworks } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_marignane_rotorworks }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_pah2_programme } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_pah2_programme }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_hap_gerfaut } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_hap_gerfaut }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_had_bloc } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_had_bloc }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_standard3_upgrade } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_standard3_upgrade }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_donauworth_plant } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_donauworth_plant }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_nh90_programme } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_nh90_programme }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_nfh_variant } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_nfh_variant }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_tth_variant } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_tth_variant }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_caracal_h225m } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_caracal_h225m }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_aerospatiale_heritage } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_aerospatiale_heritage }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_cadre_vert_engineering } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_cadre_vert_engineering }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_common_architecture } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_common_architecture }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_modular_avionics } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_modular_avionics }
			}
			if = {
				limit = { mio:FRA_eurocopter_manufacturer = { is_mio_trait_completed = FRA_eurocopter_manufacturer_helibras_partnership } }
				mio:FRA_airbus_manufacturer = { complete_mio_trait = FRA_eurocopter_manufacturer_helibras_partnership }
			}
		}
	}
}
country_event = {
	id = france_md.508
	title = france_md.508.t
	desc = france_md.508.d
	picture = GFX_FRA_naval_group
	is_triggered_only = yes
	fire_only_once = yes

	option = {
		name = france_md.508.a
		log = "[GetDateText]: [This.GetName]: france_md.508.a executed"
		set_country_flag = FRA_naval_takeover
		unlock_military_industrial_organization_tooltip = mio:FRA_naval_group_naval_manufacturer
		newline = yes
		custom_effect_tooltip = TT_FRA_naval_takeover_carry_traits
		hidden_effect = {
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_force_oceanique } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_force_oceanique }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_surface_heritage } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_surface_heritage }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_thales_naval_integration } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_thales_naval_integration }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_redoutable_ssbn } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_redoutable_ssbn }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_triomphant_ssbn } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_triomphant_ssbn }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_rubis_ssn } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_rubis_ssn }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_lafayette_stealth } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_lafayette_stealth }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_floreal_surveillance } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_floreal_surveillance }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_cassard_programme } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_cassard_programme }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_sea_fire_aesa } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_sea_fire_aesa }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_combat_cloud } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_combat_cloud }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_vigile_d_ew } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_vigile_d_ew }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_cherbourg_yard } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_cherbourg_yard }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_suffren_ssn } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_suffren_ssn }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_indret_propulsion } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_indret_propulsion }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_lorient_yard } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_lorient_yard }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_fremm_aquitaine } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_fremm_aquitaine }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_horizon_aaw } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_horizon_aaw }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_sonar_suite } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_sonar_suite }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_artemis_irst } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_artemis_irst }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_f21_torpedo } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_f21_torpedo }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_subtics_combat } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_subtics_combat }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_m51_strategic } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_m51_strategic }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_gowind_corvette } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_gowind_corvette }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_fdi_programme } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_fdi_programme }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_100mm_gun } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_100mm_gun }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_clemenceau_heritage } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_clemenceau_heritage }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_charles_de_gaulle } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_charles_de_gaulle }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_brest_yard } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_brest_yard }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_scorpene_ssk } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_scorpene_ssk }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_mu90_torpedo } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_mu90_torpedo }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_agosta_ssk } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_agosta_ssk }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_pa2_programme } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_pa2_programme }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_pang_programme } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_pang_programme }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_mdcn_missile } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_mdcn_missile }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_mistral_lhd } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_mistral_lhd }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_tripartite_mines } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_tripartite_mines }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_foudre_lsd } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_foudre_lsd }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_force_de_frappe } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_force_de_frappe }
			}
			if = {
				limit = { mio:FRA_dcn_manufacturer = { is_mio_trait_completed = FRA_dcn_sawari_heritage } }
				mio:FRA_naval_group_naval_manufacturer = { complete_mio_trait = FRA_dcn_sawari_heritage }
			}
		}
	}
}

#France political paths
#UDF/LREM
country_event = {
	id = france_md.20
	title = france_md.20.t
	desc = france_md.20.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.20.a
		ai_chance = { base = 1 }
	}
}
#war reparation to vietnam
country_event = {
	id = france_md.170
	title = france_md.170.t
	desc = france_md.170.d
	picture = GFX_FRA_indochina_war
	is_triggered_only = yes

	option = {
		name = france_md.170.a
		log = "[GetDateText]: [This.GetName]: france_md.170.a executed"
		set_temp_variable = { treasury_change = 5 }
			modify_treasury_effect = yes
			add_political_power = 150
			add_stability = 0.05
		ai_chance = { factor = 200 }
	}
}
#war reparation to algeria
country_event = {
	id = france_md.171
	title = france_md.171.t
	desc = france_md.171.d
	picture = GFX_FRA_algerian_war
	is_triggered_only = yes

	option = {
		name = france_md.171.a
		log = "[GetDateText]: [This.GetName]: france_md.171.a executed"
		set_temp_variable = { treasury_change = 5 }
			modify_treasury_effect = yes
			add_political_power = 150
			add_stability = 0.05
		ai_chance = { factor = 200 }
	}
}
#proposing nuclear expert to eu
country_event = {
	id = france_md.172
	title = france_md.172.t
	desc = france_md.172.d
	picture = GFX_european_union_flag
	is_triggered_only = yes

	option = {
		name = france_md.172.a
		log = "[GetDateText]: [This.GetName]: france_md.172.a executed"
		add_ideas = french_nuclear_expert
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 10 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		FRA = {
			set_temp_variable = { treasury_change = 10 }
			modify_treasury_effect = yes
		}
		ai_chance = {
			factor = 25
			modifier = {
				western_liberals_are_in_power = yes
				factor = 50
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 40
			}
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 40
			}
		}
	}

	option = {
		name = france_md.172.b
		log = "[GetDateText]: [This.GetName]: france_md.172.b executed"
		add_political_power = 50
		add_stability = 0.15
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 25
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 50
			}
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 40
			}
		}
	}
}
#Propose protection to eu member
country_event = {
	id = france_md.173
	title = france_md.173.t
	desc = france_md.173.d
	picture = GFX_airbus_transport_airplane_event_picture
	is_triggered_only = yes

	option = {
		name = france_md.173.a
		log = "[GetDateText]: [This.GetName]: france_md.173.a executed"
		add_ideas = french_dissuasion
		set_temp_variable = { percent_change = 15 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		FRA = {
			add_political_power = 50
			diplomatic_relation = {
				country = ROOT
				relation = guarantee
			}
		}
		ai_chance = {
			factor = 25
			modifier = {
				western_liberals_are_in_power = yes
				factor = 50
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 40
			}
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 40
			}
		}
	}

	option = {
		name = france_md.173.b
		log = "[GetDateText]: [This.GetName]: france_md.173.b executed"
		add_political_power = 50
		add_stability = 0.15
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 25
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 40
			}
		}
	}
}
#LR
country_event = {
	id = france_md.21
	title = france_md.21.t
	desc = france_md.21.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.21.a
		ai_chance = { base = 1 }
	}
}
#event so when 2008 crisis pop up if you have the regulation idea or its equivalent you suffer least
country_event = {
	id = france_md.165
	title = france_md.165.t
	desc = france_md.165.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { #this provent a little market crashs
		name = france_md.165.a
		log = "[GetDateText]: [This.GetName]: france_md.165.a executed"
		add_ideas = FRA_regulation
		add_political_power = -100
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.10 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_lr_econ_policy }
		add_to_variable = { FRA_lr_econ_growth = -0.015 tooltip = production_factory_efficiency_gain_factor_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_lr_social_balance }
		add_to_variable = { FRA_lr_social_stab = 0.05 tooltip = stability_factor_tt }
		ai_chance = {
			base = 1
		}
	}

	option = {
		name = france_md.165.b
		log = "[GetDateText]: [This.GetName]: france_md.165.b executed"
		add_political_power = 150
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_lr_econ_policy }
		add_to_variable = { FRA_lr_econ_tax_revenue = 0.05 tooltip = population_tax_income_multiplier_modifier_tt }
		add_to_variable = { FRA_lr_econ_cycle_multi = 0.05 tooltip = econ_cycle_upg_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_lr_econ_interest = -1 tooltip = interest_rate_multiplier_modifier_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_lr_social_balance }
		add_to_variable = { FRA_lr_social_stab = -0.1 tooltip = stability_factor_tt }
		ai_chance = { base = 2 }
	}
}
#PS-EELV nuclear accord
country_event = {
	id = france_md.404
	title = france_md.404.t
	desc = france_md.404.d
	picture = GFX_nuclear_power_plant
	is_triggered_only = yes

	option = {
		name = france_md.404.a
		log = "[GetDateText]: [This.GetName]: france_md.404.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_ps_econ_policy }
		add_to_variable = { FRA_ps_econ_nuke_reactor_construction_speed = -0.2 tooltip = production_speed_nuclear_reactor_factor_tt }
		add_to_variable = { FRA_ps_nuclear_energy_prod = -0.15 tooltip = nuclear_energy_generation_modifier_tt }
		add_to_variable = { FRA_ps_econ_eco_prod = 0.15 tooltip = renewable_energy_gain_multiplier_tt }
		add_to_variable = { FRA_ps_econ_eco_speed = 0.1 tooltip = production_speed_synthetic_refinery_factor_tt }
		newline = yes
		set_temp_variable = { temp_opinion = -5 }
		change_labour_unions_opinion = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.05
		ai_chance = { base = 5 }
	}

	option = {
		name = france_md.404.b
		log = "[GetDateText]: [This.GetName]: france_md.404.b executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_ps_econ_policy }
		add_to_variable = { FRA_ps_nuclear_energy_prod = 0.1 tooltip = nuclear_energy_generation_modifier_tt }
		add_to_variable = { FRA_ps_econ_nuke_reactor_construction_speed = 0.1 tooltip = production_speed_nuclear_reactor_factor_tt }
		newline = yes
		set_temp_variable = { temp_opinion = 5 }
		change_labour_unions_opinion = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = -0.05
		ai_chance = { base = 5 }
	}
}
#reaction to the same-sex marriage law
country_event = {
	id = france_md.405
	title = france_md.405.t
	desc = france_md.405.d
	picture = GFX_FRA_manif_pour_tous
	is_triggered_only = yes

	option = {
		name = france_md.405.a
		log = "[GetDateText]: [This.GetName]: france_md.405.a executed"
		add_ideas = FRA_manif_pour_tous
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_ps_social_balance }
		add_to_variable = { FRA_ps_social_influence_power = 0.05 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { FRA_ps_migration_rate = 0.03 tooltip = migration_rate_value_factor_tt }
		newline = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 8 }
	}

	option = {
		name = france_md.405.b
		log = "[GetDateText]: [This.GetName]: france_md.405.b executed"
		add_stability = 0.05
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}
}
#gilets jaunes response
country_event = {
	id = france_md.406
	title = france_md.406.t
	desc = france_md.406.d
	picture = GFX_FRA_gilets_jaunes
	is_triggered_only = yes

	option = {
		name = france_md.406.a
		log = "[GetDateText]: [This.GetName]: france_md.406.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_udf_social_balance }
		add_to_variable = { FRA_udf_soc_police_cost = 0.1 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_udf_social_stab = 0.15 tooltip = stability_factor_tt }
		add_to_variable = { FRA_udf_soc_party_attack = 0.1 tooltip = popularity_attack_modifier_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_udf_political_balance }
		add_to_variable = { FRA_udf_balance_drift_defense = 0.1 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_udf_balance_domestic_nationalist_drift = 0.03 tooltip = nationalist_drift_tt }
		newline = yes
		add_political_power = -100
		ai_chance = { base = 5 }
	}

	option = {
		name = france_md.406.b
		log = "[GetDateText]: [This.GetName]: france_md.406.b executed"
		add_ideas = FRA_grand_debat
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_udf_social_balance }
		add_to_variable = { FRA_udf_social_stab = 0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_udf_soc_social_cost = 0.05 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		set_temp_variable = { temp_opinion = 10 }
		change_labour_unions_opinion = yes
		newline = yes
		set_temp_variable = { treasury_change = -40 }
		modify_treasury_effect = yes
		ai_chance = {
			base = 5
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}
}
#RPF
country_event = {
	id = france_md.22
	title = france_md.22.t
	desc = france_md.22.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.22.a
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.175
	title = france_md.175.t
	desc = france_md.175.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = {
		name = france_md.175.a
		log = "[GetDateText]: [This.GetName]: france_md.175.a executed"
		add_political_power = 50
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 1
			modifier = {
				has_stability < 0.5
				factor = 30
			}
		}
	}

	option = {
		name = france_md.175.b
		log = "[GetDateText]: [This.GetName]: france_md.175.b executed"
		add_political_power = -200
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		add_stability = -0.1
		add_war_support = 0.05
		GER = {
			add_opinion_modifier = { target = ROOT modifier = major_breach_of_trust }
		}
		BEL = {
			add_opinion_modifier = { target = ROOT modifier = major_breach_of_trust }
		}
		set_temp_variable = { modify_europeanism = -0.1 }
		set_temp_variable = { modify_europeanism_target = GER }
		europeanism_change = yes
		set_temp_variable = { modify_europeanism = -0.1 }
		set_temp_variable = { modify_europeanism_target = BEL }
		europeanism_change = yes
		ai_chance = {
			base = 2
			modifier = {
				check_variable = { FRA.europeanism < 0.70 }
				factor = 40
			}
		}
	}
}
country_event = {
	id = france_md.180
	title = france_md.180.t
	desc = france_md.180.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	option = {
		name = france_md.180.a
		log = "[GetDateText]: [This.GetName]: france_md.180.a executed"
		add_ideas = withdrawal_treaty
		leaving_EU = yes
		add_ideas = FRA_EU_Retaliate
		add_war_support = 0.15
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				country_event = france_md.181
			}
		}
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.181
	title = france_md.181.t
	desc = france_md.181.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	option = {
		name = france_md.181.a
		log = "[GetDateText]: [This.GetName]: france_md.181.a executed"
		set_temp_variable = { modify_europeanism = -0.15 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		ai_chance = { base = 1 }
	}
}

#FN
country_event = {
	id = france_md.23
	title = france_md.23.t
	desc = france_md.23.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.23.a
		ai_chance = { base = 1 }
	}
}
#Socialist
country_event = {
	id = france_md.24
	title = france_md.24.t
	desc = france_md.24.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.24.a
		ai_chance = { base = 1 }
	}
}
#Choice between macron and ferrand economical policy
country_event = {
	id = france_md.30
	title = france_md.30.t
	desc = france_md.30.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	option = {
		name = france_md.30.a
		log = "[GetDateText]: [This.GetName]: france_md.30.a executed"
		set_temp_variable = { add_col_one = 2 }
		add_coalition_members_effect = yes
		update_government_coalition_strength = yes
		add_ideas = FRA_Macron_eco
		ai_chance = {
			base = 2
			modifier = {
				is_historical_focus_on = yes
				add = 20
			}
		}
	}

	option = {
		name = france_md.30.b
		log = "[GetDateText]: [This.GetName]: france_md.30.b executed"
		add_ideas = FRA_Ferrand_eco
		ai_chance = { base = 1 }
	}
}
#Propose investment to greece
country_event = {
	id = france_md.150
	title = france_md.150.t
	desc = france_md.150.d
	picture = GFX_euro
	is_triggered_only = yes

	option = {
		name = france_md.150.a
		log = "[GetDateText]: [This.GetName]: france_md.150.a executed"
		set_temp_variable = { treasury_change = -30 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = GRE.id }
		change_influence_percentage = yes
		GRE = {
			set_temp_variable = { treasury_change = 30 }
			modify_treasury_effect = yes
		}
		ai_chance = { factor = 50 }
	}

	option = {
		name = france_md.150.b
		log = "[GetDateText]: [This.GetName]: france_md.150.b executed"
		FRA = { country_event = diplomatic_response.2 }
		ai_chance = {
			factor = 15
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 50
			}
		}
	}
}
country_event = {
	id = france_md.151
	title = france_md.151.t
	desc = france_md.151.d
	picture = GFX_politics_left_wing
	is_triggered_only = yes

	option = {
		name = france_md.151.a
		log = "[GetDateText]: [This.GetName]: france_md.151.a executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		FRA = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = ROOT
			}
		}
		ai_chance = { factor = 50 }
	}

	option = {
		name = france_md.151.b
		log = "[GetDateText]: [This.GetName]: france_md.150.b executed"
		FRA = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = ROOT
			}
		}
		ai_chance = { factor = 15 }
	}
}
#Downfall of socialist party
country_event = {
	id = france_md.162
	title = france_md.162.t
	desc = france_md.162.d
	picture = GFX_political_deal
	is_triggered_only = yes

	# picture = GFX_economic_crisis
	option = {
		name = france_md.162.a
		log = "[GetDateText]: [This.GetName]: france_md.162.a executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_ineluctable_collapse days = 365 }
		unlock_decision_category_tooltip = FRA_french_socialist_downfall_decision_category
		country_event = { id = france_md.520 days = 3 }
		ai_chance = { factor = 1 }
	}
}
#decrease your support during the crisis
country_event = {
	id = france_md.161
	title = france_md.161.t
	desc = france_md.161.d
	picture = GFX_internal_faction_political_conflict
	is_triggered_only = yes

	option = {
		name = france_md.161.a
		log = "[GetDateText]: [This.GetName]: france_md.161.a executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		change_relative_party_popularity = yes
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.160
	title = france_md.160.t
	desc = france_md.160.d
	picture = GFX_FRA_socialist_collapse
	is_triggered_only = yes

	option = {
		name = france_md.160.a
		log = "[GetDateText]: [This.GetName]: france_md.160.a executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.163
	title = france_md.163.t
	desc = france_md.163.d
	picture = GFX_politics_surveillence
	is_triggered_only = yes

	option = {
		name = france_md.163.a
		log = "[GetDateText]: [This.GetName]: france_md.163.a executed"
		add_political_power = -50
		add_stability = 0.1
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = { factor = 1 }
	}

	option = {
		name = france_md.163.b
		log = "[GetDateText]: [This.GetName]: france_md.163.b executed"
		add_political_power = -50
		add_stability = 0.1
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { factor = 4 }
	}
}
country_event = {
	id = france_md.164
	title = france_md.164.t
	desc = france_md.164.d
	picture = GFX_military_exercise
	is_triggered_only = yes

	option = {
		name = france_md.164.a
		log = "[GetDateText]: [This.GetName]: france_md.164.a executed"
		add_war_support = 0.05
		add_timed_idea = {
			idea = FRA_ps_EUtrain
			days = 730
		}
		ai_chance = { factor = 100 }
	}

	option = {
		name = france_md.164.b
		log = "[GetDateText]: [This.GetName]: france_md.164.b executed"
		add_political_power = 50
		add_stability = 0.1
		ai_chance = {
			factor = 25
			modifier = {
				factor = 100
				has_idea = no_military
			}
		}
	}
}
#LFI
country_event = {
	id = france_md.25
	title = france_md.25.t
	desc = france_md.25.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.25.a
		ai_chance = { base = 1 }
	}
}
#EELV
country_event = {
	id = france_md.26
	title = france_md.26.t
	desc = france_md.26.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.26.a
		ai_chance = { base = 1 }
	}
}
#PCF
country_event = {
	id = france_md.27
	title = france_md.27.t
	desc = france_md.27.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.27.a
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.183
	title = france_md.183.t
	desc = france_md.183.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.183.a
		log = "[GetDateText]: [This.GetName]: france_md.183.a executed"
		FRA = { country_event = france_md.184 }
		SOV = { add_ideas = FRA_russian_cooperation1 }
		add_stability = 0.1
		ai_chance = { factor = 3 }
	}

	option = {
		name = france_md.183.b
		log = "[GetDateText]: [This.GetName]: france_md.183.b executed"
		FRA = { news_event = france_md.185 }
		SOV = { add_ideas = FRA_russian_cooperation2 }
		add_war_support = 0.075
		ai_chance = { factor = 4 }
	}

	option = {
		name = france_md.183.c
		log = "[GetDateText]: [This.GetName]: france_md.183.c executed"
		add_stability = 0.1
		add_political_power = 150
		FRA = { country_event = france_md.187 }
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.184
	title = france_md.184.t
	desc = france_md.184.d
	picture = GFX_oil_refinery
	is_triggered_only = yes

	option = {
		name = france_md.184.a
		log = "[GetDateText]: [This.GetName]: france_md.184.a executed"
		add_ideas = FRA_russian_cooperation1
		ai_chance = { base = 1 }
	}
}
news_event = {
	id = france_md.185
	title = france_md.185.t
	desc = france_md.185.d
	picture = GFX_news_generic_soldiers
	is_triggered_only = yes

	option = {
		name = france_md.185.a
		log = "[GetDateText]: [This.GetName]: france_md.185.a executed"
		add_ideas = FRA_russian_cooperation2
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.187
	title = france_md.187.t
	desc = france_md.187.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.187.a
		log = "[GetDateText]: [This.GetName]: france_md.187.a executed"
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = SOV
		}
		add_political_power = -100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.188
	title = france_md.188.t
	desc = france_md.188.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	option = {
		name = france_md.188.a
		log = "[GetDateText]: [This.GetName]: france_md.188.a executed"
		FRA = { country_event = france_md.189 }
		add_political_power = -100
		ai_chance = {
			factor = 2
			modifier = {
				factor = 4
				western_liberals_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_social_democrats_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism < 0.70 }
			}
		}
	}

	option = {
		name = france_md.188.b
		log = "[GetDateText]: [This.GetName]: france_md.188.b executed"
		FRA = { country_event = france_md.190 }
		add_timed_idea = { idea = FRA_blocade days = 1825 }
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = FRA
		}
		add_war_support = 0.05
		ai_chance = {
			base = 1
			modifier = {
				factor = 4
				nationalist_right_wing_populists_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_conservatism_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism > 0.95 }
			}
		}
	}
}
country_event = {
	id = france_md.189
	title = france_md.189.t
	desc = france_md.189.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	option = {
		name = france_md.189.a
		log = "[GetDateText]: [This.GetName]: france_md.189.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_rpf_econ_policy }
		add_to_variable = { FRA_rpf_econ_interest = -1 tooltip = interest_rate_multiplier_modifier_tt }
		add_to_variable = { FRA_rpf_econ_civ_speed = 0.075 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_rpf_econ_mils_speed = 0.06 tooltip = production_speed_arms_factory_factor_tt }
		newline = yes
		add_political_power = 100
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.190
	title = france_md.190.t
	desc = france_md.190.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.190.a
		log = "[GetDateText]: [This.GetName]: france_md.190.a executed"
		add_opinion_modifier = {
				modifier = recent_actions_negative
				target = GER
		}
		add_war_support = 0.075
		add_political_power = -25
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.191
	title = france_md.191.t
	desc = france_md.191.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	option = {
		name = france_md.191.a
		log = "[GetDateText]: [This.GetName]: france_md.191.a executed"
		FRA = { country_event = france_md.192 }
		add_political_power = -100
		ai_chance = {
			factor = 2
			modifier = {
				factor = 4
				western_liberals_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_social_democrats_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism < 0.70 }
			}
		}
	}

	option = {
		name = france_md.191.b
		log = "[GetDateText]: [This.GetName]: france_md.191.b executed"
		FRA = { country_event = france_md.193 }
		add_timed_idea = { idea = FRA_blocade days = 1825 }
		add_war_support = 0.05
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = FRA
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 4
				nationalist_right_wing_populists_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_conservatism_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism > 0.95 }
			}
		}
	}
}
country_event = {
	id = france_md.192
	title = france_md.192.t
	desc = france_md.192.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	option = {
		name = france_md.192.a
		log = "[GetDateText]: [This.GetName]: france_md.192.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_rpf_social_balance }
		add_to_variable = { FRA_rpf_soc_police_cost = -0.075 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_rpf_social_stab = 0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_rpf_migration_rate = -0.05 tooltip = migration_rate_value_factor_tt }
		newline = yes
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.193
	title = france_md.193.t
	desc = france_md.193.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.193.a
		log = "[GetDateText]: [This.GetName]: france_md.193.a executed"
		add_opinion_modifier = {
				modifier = recent_actions_negative
				target = ITA
		}
		add_war_support = 0.075
		add_political_power = -100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.194
	title = france_md.194.t
	desc = france_md.194.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	option = {
		name = france_md.194.a
		log = "[GetDateText]: [This.GetName]: france_md.194.a executed"
		FRA = { country_event = france_md.195 }
		add_political_power = -100
		ai_chance = {
			factor = 2
			modifier = {
				factor = 4
				western_liberals_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_social_democrats_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism < 0.70 }
			}
		}
	}

	option = {
		name = france_md.194.b
		log = "[GetDateText]: [This.GetName]: france_md.194.b executed"
		FRA = { country_event = france_md.196 }
		add_timed_idea = { idea = FRA_blocade days = 1825 }
		add_war_support = 0.05
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = FRA
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 4
				nationalist_right_wing_populists_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_conservatism_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism > 0.95 }
			}
		}
	}
}
country_event = {
	id = france_md.195
	title = france_md.195.t
	desc = france_md.195.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	option = {
		name = france_md.195.a
		log = "[GetDateText]: [This.GetName]: france_md.195.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_rpf_social_balance }
		add_to_variable = { FRA_rpf_soc_bp = 0.1 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_rpf_soc_bureaucracy_cost = -0.08 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		newline = yes
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.196
	title = france_md.196.t
	desc = france_md.196.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.196.a
		log = "[GetDateText]: [This.GetName]: france_md.196.a executed"
		add_opinion_modifier = {
				modifier = recent_actions_negative
				target = BEL
		}
		add_war_support = 0.075
		add_political_power = -100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.197
	title = france_md.197.t
	desc = france_md.197.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	option = {
		name = france_md.197.a
		log = "[GetDateText]: [This.GetName]: france_md.197.a executed"
		FRA = { country_event = france_md.198 }
		add_political_power = -100
		ai_chance = {
			factor = 2
			modifier = {
				factor = 4
				western_liberals_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_social_democrats_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism < 0.70 }
			}
		}
	}

	option = {
		name = france_md.197.b
		log = "[GetDateText]: [This.GetName]: france_md.197.b executed"
		FRA = { country_event = france_md.199 }
		add_timed_idea = { idea = FRA_blocade days = 1825 }
		add_war_support = 0.05
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = FRA
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 4
				nationalist_right_wing_populists_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_conservatism_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism > 0.95 }
			}
		}
	}
}
country_event = {
	id = france_md.198
	title = france_md.198.t
	desc = france_md.198.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	option = {
		name = france_md.198.a
		log = "[GetDateText]: [This.GetName]: france_md.198.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_rpf_econ_policy }
		add_to_variable = { FRA_rpf_econ_tax_revenue = 0.1 tooltip = population_tax_income_multiplier_modifier_tt }
		add_to_variable = { FRA_rpf_econ_office_revenue = 0.075 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { FRA_rpf_econ_tax_efficiency = 0.05 tooltip = corporate_tax_income_multiplier_modifier_tt }
		newline = yes
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.199
	title = france_md.199.t
	desc = france_md.199.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.199.a
		log = "[GetDateText]: [This.GetName]: france_md.199.a executed"
		add_opinion_modifier = {
				modifier = recent_actions_negative
				target = LUX
		}
		add_war_support = 0.075
		add_political_power = -100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.200
	title = france_md.200.t
	desc = france_md.200.d
	picture = GFX_broken_infrastructure
	is_triggered_only = yes

	option = {
		name = france_md.200.a
		log = "[GetDateText]: [This.GetName]: france_md.200.a executed"
		FRA = { country_event = france_md.201 }
		add_political_power = -100
		ai_chance = {
			factor = 2
			modifier = {
				factor = 4
				western_liberals_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_social_democrats_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism < 0.70 }
			}
		}
	}

	option = {
		name = france_md.200.b
		log = "[GetDateText]: [This.GetName]: france_md.200.b executed"
		FRA = { country_event = france_md.202 }
		add_timed_idea = { idea = FRA_blocade days = 1825 }
		add_war_support = 0.05
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = FRA
		}
		ai_chance = {
			base = 1
			modifier = {
				factor = 4
				nationalist_right_wing_populists_are_in_power = yes
			}
			modifier = {
				factor = 3
				western_conservatism_are_in_power = yes
			}
			modifier = {
				factor = 10
				check_variable = { FRA.europeanism > 0.95 }
			}
		}
	}
}
country_event = {
	id = france_md.201
	title = france_md.201.t
	desc = france_md.201.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	option = {
		name = france_md.201.a
		log = "[GetDateText]: [This.GetName]: france_md.201.a executed"
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_rpf_econ_policy }
		add_to_variable = { FRA_rpf_econ_tax_farm = 0.08 tooltip = agriculture_tax_modifier_tt }
		add_to_variable = { FRA_rpf_econ_monthly_pop = 0.075 tooltip = monthly_population_tt }
		newline = yes
		set_temp_variable = { temp_opinion = 10 }
		change_farmers_opinion = yes
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.202
	title = france_md.202.t
	desc = france_md.202.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.202.a
		log = "[GetDateText]: [This.GetName]: france_md.202.a executed"
		add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SPR
		}
		add_war_support = 0.075
		add_political_power = -100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.203
	title = france_md.203.t
	desc = france_md.203.d
	picture = GFX_FRA_sixth_republic
	is_triggered_only = yes

	option = {
		name = france_md.203.a
		log = "[GetDateText]: [This.GetName]: france_md.203.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.6 } }
			country_event = { id = france_md.204 days = 10 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.25 } }
			country_event = { id = france_md.205 days = 10 }
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.204 days = 10 }
				}
				30 = {
					country_event = { id = france_md.205 days = 10 }
				}
			}
		}
		ai_chance = { factor = 10 }
	}

	option = {
		name = france_md.203.b
		log = "[GetDateText]: [This.GetName]: france_md.203.b executed"
		add_stability = -0.25
		add_political_power = -300
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.3 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_timed_idea = {
			idea = FRA_shocking
			days = 365
		}
		ai_chance = {
			factor = 1
			modifier = {
				factor = 8
				NOT = { neutrality_neutral_social_are_in_power = yes }
			}
		}
	}
}
country_event = {
	id = france_md.204
	title = france_md.204.t
	desc = france_md.204.d
	picture = GFX_FRA_sixth_republic
	is_triggered_only = yes

	option = {
		name = france_md.204.a
		log = "[GetDateText]: [This.GetName]: france_md.204.a executed"
		add_stability = 0.1
		add_political_power = 100
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		add_dynamic_modifier = { modifier = FRA_6th_rep }
		remove_ideas = FRA_5th_republic
		add_ideas = FRA_sixth_republic_idea
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.205
	title = france_md.205.t
	desc = france_md.205.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = {
		name = france_md.205.a
		log = "[GetDateText]: [This.GetName]: france_md.205.a executed"
		add_stability = -0.15
		add_political_power = -200
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.13 }
		set_temp_variable = { temp_outlook_increase = -0.13 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.206
	title = france_md.206.t
	desc = france_md.206.d
	picture = GFX_jury
	is_triggered_only = yes

	option = {
		name = france_md.206.a
		log = "[GetDateText]: [This.GetName]: france_md.206.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.35 } }
			country_event = { id = france_md.207 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.2 } }
			country_event = { id = france_md.208 days = 5 }
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.207 days = 5 }
				}
				30 = {
					country_event = { id = france_md.208 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 10
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.206.b
		log = "[GetDateText]: [This.GetName]: france_md.206.b executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.35 } }
			country_event = { id = france_md.208 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.2 } }
			country_event = { id = france_md.207 days = 5 }
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.208 days = 5 }
				}
				30 = {
					country_event = { id = france_md.207 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.206.c
		log = "[GetDateText]: [This.GetName]: france_md.206.c executed"
		if = {
			limit = { check_variable = { party_pop_array^1 > 0.3 } }
			country_event = { id = france_md.207 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.3 } }
			country_event = { id = france_md.207 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.3 } }
			country_event = { id = france_md.207 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				60 = {
					country_event = { id = france_md.207 days = 5 }
				}
				40 = {
					country_event = { id = france_md.208 days = 5 }
				}
			}
		}
		add_political_power = 50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				neutrality < 0.15
			}
		}
	}
}
country_event = {
	id = france_md.207
	title = france_md.207.t
	desc = france_md.207.d
	picture = GFX_political_deal
	is_triggered_only = yes

	option = {
		name = france_md.207.a
		log = "[GetDateText]: [This.GetName]: france_md.207.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		set_temp_variable = { temp_outlook_increase = -0.01 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_BP = 0.05 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_6th_STAB = 0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6offensewar = 0.075 tooltip = MODIFIER_STABILITY_OFFENSIVE_WAR_FACTOR }
		add_to_variable = { FRA_wargoal_6 = -0.05 tooltip = justify_war_goal_time_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = -0.025 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_driftdef = -0.075 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_commandpower_6 = -5 tooltip = max_command_power_tt }
		newline = yes
		country_event = { id = france_md.209 days = 7 }
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.208
	title = france_md.208.t
	desc = france_md.208.d
	picture = GFX_political_deal
	is_triggered_only = yes

	option = {
		name = france_md.208.a
		log = "[GetDateText]: [This.GetName]: france_md.208.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_BP = 0.015 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_6th_STAB = -0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6offensewar = 0.075 tooltip = MODIFIER_STABILITY_OFFENSIVE_WAR_FACTOR }
		add_to_variable = { FRA_wargoal_6 = -0.1 tooltip = justify_war_goal_time_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = -0.05 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_driftdef = -0.1 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_commandpower_6 = -10 tooltip = max_command_power_tt }
		newline = yes
		country_event = { id = france_md.209 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.209
	title = france_md.209.t
	desc = france_md.209.d
	picture = GFX_FRA_dgsi
	is_triggered_only = yes

	option = {
		name = france_md.209.a
		log = "[GetDateText]: [This.GetName]: france_md.209.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.35 } }
			country_event = { id = france_md.210 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.2 } }
			country_event = { id = france_md.211 days = 5 }
		}
		else = {
			random_list = {
				60 = {
					country_event = { id = france_md.210 days = 5 }
				}
				40 = {
					country_event = { id = france_md.211 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 10
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.209.b
		log = "[GetDateText]: [This.GetName]: france_md.209.b executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.35 } }
			country_event = { id = france_md.211 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.2 } }
			country_event = { id = france_md.210 days = 5 }
		}
		else = {
			random_list = {
				60 = {
					country_event = { id = france_md.211 days = 5 }
				}
				40 = {
					country_event = { id = france_md.210 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.209.c
		log = "[GetDateText]: [This.GetName]: france_md.209.c executed"
		if = {
			limit = { check_variable = { party_pop_array^1 > 0.25 } }
			country_event = { id = france_md.210 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.25 } }
			country_event = { id = france_md.210 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.25 } }
			country_event = { id = france_md.210 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				50 = {
					country_event = { id = france_md.210 days = 5 }
				}
				50 = {
					country_event = { id = france_md.210 days = 5 }
				}
			}
		}
		add_political_power = 50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				neutrality < 0.15
			}
		}
	}
}
country_event = {
	id = france_md.210
	title = france_md.210.t
	desc = france_md.210.d
	picture = GFX_politics_surveillence
	is_triggered_only = yes

	option = {
		name = france_md.210.a
		log = "[GetDateText]: [This.GetName]: france_md.210.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		if = { limit = { has_dlc = "La Resistance" }
			add_to_variable = { FRA_6threp_enemy_operative_detection_chance_factor = 0.05 tooltip = enemy_operative_detection_chance_factor_tt }
		}
		else = {
			add_to_variable = { FRA_6threp_encryption_factor = 0.05 tooltip = encryption_factor_tt }
			add_to_variable = { FRA_6threp_decryption_factor = 0.05 tooltip = decryption_factor_tt }
		}
		add_to_variable = { FRA_6threp_foreiginf = 0.075 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { FRA_6threp_resistance_growth = -0.1 tooltip = resistance_growth_tt }
		add_to_variable = { FRA_6th_STAB = -0.15 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_war_support_factor = -0.075 tooltip = war_support_factor_tt }
		add_to_variable = { FRA_6threp_personnel_cost = 0.025 tooltip = personnel_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6threp_policecost = 0.025 tooltip = police_cost_multiplier_modifier_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.211
	title = france_md.211.t
	desc = france_md.211.d
	picture = GFX_politics_eye
	is_triggered_only = yes

	option = {
		name = france_md.211.a
		log = "[GetDateText]: [This.GetName]: france_md.211.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = -0.015 }
		set_temp_variable = { temp_outlook_increase = -0.015 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		if = { limit = { has_dlc = "La Resistance" }
			add_to_variable = { FRA_6threp_enemy_operative_detection_chance_factor = -0.025 tooltip = enemy_operative_detection_chance_factor_tt }
		}
		else = {
			add_to_variable = { FRA_6threp_encryption_factor = -0.025 tooltip = encryption_factor_tt }
			add_to_variable = { FRA_6threp_decryption_factor = -0.025 tooltip = decryption_factor_tt }
		}
		add_to_variable = { FRA_6threp_foreiginf = -0.075 tooltip = foreign_influence_modifier_tt }
		add_to_variable = { FRA_6threp_resistance_growth = 0.1 tooltip = resistance_growth_tt }
		add_to_variable = { FRA_6th_STAB = 0.2 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_war_support_factor = 0.1 tooltip = war_support_factor_tt }
		add_to_variable = { FRA_6threp_personnel_cost = -0.05 tooltip = personnel_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6threp_policecost = -0.05 tooltip = police_cost_multiplier_modifier_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.212
	title = france_md.212.t
	desc = france_md.212.d
	picture = GFX_politics_protest
	is_triggered_only = yes

	option = {
		name = france_md.212.a
		log = "[GetDateText]: [This.GetName]: france_md.212.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.3 } }
			country_event = { id = france_md.213 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.15 } }
			country_event = { id = france_md.214 days = 5 }
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.213 days = 5 }
				}
				30 = {
					country_event = { id = france_md.214 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 10
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.212.b
		log = "[GetDateText]: [This.GetName]: france_md.212.b executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.55 } }
			country_event = { id = france_md.214 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.35 } }
			country_event = { id = france_md.213 days = 5 }
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.214 days = 5 }
				}
				30 = {
					country_event = { id = france_md.213 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.212.c
		log = "[GetDateText]: [This.GetName]: france_md.212.c executed"
		if = {
			limit = { check_variable = { party_pop_array^1 > 0.3 } }
			country_event = { id = france_md.214 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.3 } }
			country_event = { id = france_md.214 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.3 } }
			country_event = { id = france_md.214 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.213 days = 5 }
				}
				30 = {
					country_event = { id = france_md.214 days = 5 }
				}
			}
		}
		add_political_power = 50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				neutrality < 0.15
			}
		}
	}
}
country_event = {
	id = france_md.213
	title = france_md.213.t
	desc = france_md.213.d
	picture = GFX_politics_demands
	is_triggered_only = yes

	option = {
		name = france_md.213.a
		log = "[GetDateText]: [This.GetName]: france_md.213.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_BP = -0.075 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_6th_STAB = 0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_war_support_factor = 0.075 tooltip = war_support_factor_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = 0.25 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_driftdef = -0.05 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_6th_bureaucracy_cost = -0.1 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6theducost = -0.075 tooltip = education_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_social_cost = 0.025 tooltip = social_cost_multiplier_modifier_tt }
		newline = yes
		country_event = { id = france_md.215 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.214
	title = france_md.214.t
	desc = france_md.214.d
	picture = GFX_court
	is_triggered_only = yes

	option = {
		name = france_md.214.a
		log = "[GetDateText]: [This.GetName]: france_md.214.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.04 }
		set_temp_variable = { temp_outlook_increase = -0.04 }
		newline = yes
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_BP = -0.05 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_6th_STAB = 0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_war_support_factor = 0.05 tooltip = war_support_factor_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = 0.1 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_driftdef = -0.025 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_6th_bureaucracy_cost = -0.05 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6theducost = -0.025 tooltip = education_cost_multiplier_modifier_tt }
		newline = yes
		country_event = { id = france_md.215 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.215
	title = france_md.215.t
	desc = france_md.215.d
	picture = GFX_FRA_police_regulation
	is_triggered_only = yes

	option = {
		name = france_md.215.a
		log = "[GetDateText]: [This.GetName]: france_md.215.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.45 } }
			country_event = { id = france_md.216 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.35 } }
			country_event = { id = france_md.217 days = 5 }
		}
		else = {
			random_list = {
				50 = {
					country_event = { id = france_md.216 days = 5 }
				}
				50 = {
					country_event = { id = france_md.217 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.215.b
		log = "[GetDateText]: [This.GetName]: france_md.215.b executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.45 } }
			country_event = { id = france_md.217 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.35 } }
			country_event = { id = france_md.216 days = 5 }
		}
		else = {
			random_list = {
				50 = {
					country_event = { id = france_md.217 days = 5 }
				}
				50 = {
					country_event = { id = france_md.216 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 10
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.215.c
		log = "[GetDateText]: [This.GetName]: france_md.215.c executed"
		if = {
			limit = { check_variable = { party_pop_array^1 > 0.2 } }
			country_event = { id = france_md.217 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.2 } }
			country_event = { id = france_md.217 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.2 } }
			country_event = { id = france_md.217 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				50 = {
					country_event = { id = france_md.216 days = 5 }
				}
				50 = {
					country_event = { id = france_md.217 days = 5 }
				}
			}
		}
		add_political_power = 50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				neutrality < 0.15
			}
		}
	}
}
country_event = {
	id = france_md.216
	title = france_md.216.t
	desc = france_md.216.d
	picture = GFX_court
	is_triggered_only = yes

	option = {
		name = france_md.216.a
		log = "[GetDateText]: [This.GetName]: france_md.216.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_BP = -0.025 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_6th_STAB = 0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_war_support_factor = -0.05 tooltip = war_support_factor_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = 0.075 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_driftdef = -0.075 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_6th_health_cost = -0.075 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6threp_policecost = 0.15 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_neutrality_drift = 0.05 tooltip = neutrality_drift_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.217
	title = france_md.217.t
	desc = france_md.217.d
	picture = GFX_politics_surveillence
	is_triggered_only = yes

	option = {
		name = france_md.217.a
		log = "[GetDateText]: [This.GetName]: france_md.217.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.06 }
		set_temp_variable = { temp_outlook_increase = -0.06 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.06 }
		set_temp_variable = { temp_outlook_increase = 0.06 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_BP = 0.05 tooltip = political_power_factor_tt }
		add_to_variable = { FRA_6th_STAB = -0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_war_support_factor = 0.075 tooltip = war_support_factor_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = -0.05 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_driftdef = 0.075 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_6th_health_cost = 0.075 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6threp_policecost = -0.05 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_natio_drift = 0.02 tooltip = nationalist_drift_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.218
	title = france_md.218.t
	desc = france_md.218.d
	picture = GFX_euro
	is_triggered_only = yes

	option = {
		name = france_md.218.a
		log = "[GetDateText]: [This.GetName]: france_md.218.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.30 } }
			country_event = { id = france_md.219 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^17 > 0.2 } }
			country_event = { id = france_md.220 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.15 } }
			country_event = { id = france_md.221 days = 5 }
		}
		else = {
			random_list = {
				60 = {
					country_event = { id = france_md.219 days = 5 }
				}
				20 = {
					country_event = { id = france_md.220 days = 5 }
				}
				20 = {
					country_event = { id = france_md.221 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				communism > 0.15
			}
		}
	}

	option = {
		name = france_md.218.b
		log = "[GetDateText]: [This.GetName]: france_md.218.b executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.35 } }
			country_event = { id = france_md.220 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.20 } }
			country_event = { id = france_md.219 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^19 > 0.20 } }
			country_event = { id = france_md.219 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.2 } }
			country_event = { id = france_md.221 days = 5 }
		}
		else = {
			random_list = {
				40 = {
					country_event = { id = france_md.220 days = 5 }
				}
				30 = {
					country_event = { id = france_md.219 days = 5 }
				}
				30 = {
					country_event = { id = france_md.221 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.218.c
		log = "[GetDateText]: [This.GetName]: france_md.218.c executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.40 } }
			country_event = { id = france_md.221 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.20 } }
			country_event = { id = france_md.219 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^19 > 0.20 } }
			country_event = { id = france_md.219 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^17 > 0.20 } }
			country_event = { id = france_md.220 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.2 } }
			country_event = { id = france_md.219 days = 5 }
		}
		else = {
			random_list = {
				40 = {
					country_event = { id = france_md.221 days = 5 }
				}
				30 = {
					country_event = { id = france_md.219 days = 5 }
				}
				30 = {
					country_event = { id = france_md.220 days = 5 }
				}
			}
		}
		add_political_power = 75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 10
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.218.e
		log = "[GetDateText]: [This.GetName]: france_md.218.e executed"
		if = {
			limit = { check_variable = { party_pop_array^2 > 0.2 } }
			country_event = { id = france_md.221 days = 5 }
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.2 } }
			country_event = { id = france_md.221 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.2 } }
			country_event = { id = france_md.221 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.20 } }
			country_event = { id = france_md.219 days = 5 }
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^19 > 0.20 } }
			country_event = { id = france_md.219 days = 5 }
			set_temp_variable = { party_index = 19 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^17 > 0.20 } }
			country_event = { id = france_md.220 days = 5 }
			set_temp_variable = { party_index = 17 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				42 = {
					country_event = { id = france_md.219 days = 5 }
				}
				34 = {
					country_event = { id = france_md.220 days = 5 }
				}
				34 = {
					country_event = { id = france_md.221 days = 5 }
				}
			}
		}
		add_political_power = 25
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				neutrality < 0.15
			}
		}
	}
}
country_event = {
	id = france_md.219
	title = france_md.219.t
	desc = france_md.219.d
	picture = GFX_internal_faction_labour_dispute
	is_triggered_only = yes

	option = {
		name = france_md.219.a
		log = "[GetDateText]: [This.GetName]: france_md.219.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = 0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_civ_speed = 0.075 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_6th_mils_speed = 0.075 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { FRA_6th_office_speed = 0.075 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_6thned_civ = 0.05 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_ned_mil = 0.05 tooltip = mil_facs_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_ned_office = 0.05 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_construction_speed = 0.05 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { FRA_6th_efficiency_cap = 0.075 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { FRA_6th_interest = 1 tooltip = interest_rate_multiplier_modifier_tt }
		add_to_variable = { FRA_6thoffice_revenue = -0.05 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { FRA_6thcivs_revenue = -0.075 tooltip = civilian_industry_tax_modifier_tt }
		newline = yes
		country_event = { id = france_md.222 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.220
	title = france_md.220.t
	desc = france_md.220.d
	picture = GFX_generic_land_wind_farm
	is_triggered_only = yes

	option = {
		name = france_md.220.a
		log = "[GetDateText]: [This.GetName]: france_md.220.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_civ_speed = -0.025 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_6th_mils_speed = -0.025 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { FRA_6th_office_speed = -0.025 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_6th_construction_speed = -0.05 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { FRA_6thned_civ = -0.025 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_ned_mil = -0.025 tooltip = mil_facs_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_ned_office = -0.025 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_health_cost = -0.1 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_efficiency_cap = 0.05 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { FRA_6th_monthly_pop = 0.1 tooltip = monthly_population_tt }
		add_to_variable = { FRA_6thenergy_cons = -0.075 tooltip = energy_use_modifier_civs_tt }
		newline = yes
		country_event = { id = france_md.222 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.221
	title = france_md.221.t
	desc = france_md.221.d
	picture = GFX_internal_faction_business_purchase
	is_triggered_only = yes

	option = {
		name = france_md.221.a
		log = "[GetDateText]: [This.GetName]: france_md.221.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = -0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_civ_speed = -0.05 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_6th_mils_speed = 0.05 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { FRA_6th_office_speed = 0.05 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_6th_construction_speed = -0.025 tooltip = production_speed_buildings_factor_tt }
		add_to_variable = { FRA_6thned_civ = -0.025 tooltip = civ_facs_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_ned_mil = 0.025 tooltip = mil_facs_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_ned_office = 0.025 tooltip = offices_worker_requirement_modifier_tt }
		add_to_variable = { FRA_6th_health_cost = 0.15 tooltip = health_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_social_cost = -0.075 tooltip = social_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_efficiency_cap = -0.05 tooltip = production_factory_max_efficiency_factor_tt }
		add_to_variable = { FRA_6th_interest = -1 tooltip = interest_rate_multiplier_modifier_tt }
		add_to_variable = { FRA_6thoffice_revenue = 0.05 tooltip = office_park_income_tax_modifier_tt }
		add_to_variable = { FRA_6thcivs_revenue = 0.025 tooltip = civilian_industry_tax_modifier_tt }
		newline = yes
		country_event = { id = france_md.222 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.222
	title = france_md.222.t
	desc = france_md.222.desc
	picture = GFX_internal_faction_tax_cut
	is_triggered_only = yes

	option = {
		name = france_md.222.a
		log = "[GetDateText]: [This.GetName]: france_md.222.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.15 } }
			country_event = { id = france_md.223 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^2 > 0.35 } }
			country_event = { id = france_md.224 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.1 } }
			country_event = { id = france_md.225 days = 5 }
		}
		else = {
			random_list = {
				70 = {
					country_event = { id = france_md.223 days = 5 }
				}
				15 = {
					country_event = { id = france_md.224 days = 5 }
				}
				15 = {
					country_event = { id = france_md.225 days = 5 }
				}
			}
		}
		add_political_power = -75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.222.b
		log = "[GetDateText]: [This.GetName]: france_md.222.b executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.3 } }
			country_event = { id = france_md.224 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.20 } }
			country_event = { id = france_md.223 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^19 > 0.20 } }
			country_event = { id = france_md.223 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.15 } }
			country_event = { id = france_md.225 days = 5 }
		}
		else = {
			random_list = {
				40 = {
					country_event = { id = france_md.224 days = 5 }
				}
				40 = {
					country_event = { id = france_md.213 days = 5 }
				}
				20 = {
					country_event = { id = france_md.225 days = 5 }
				}
			}
		}
		add_political_power = 75
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 10
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.222.c
		log = "[GetDateText]: [This.GetName]: france_md.222.c executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.25 } }
			country_event = { id = france_md.225 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.20 } }
			country_event = { id = france_md.223 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^19 > 0.20 } }
			country_event = { id = france_md.223 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^2 > 0.20 } }
			country_event = { id = france_md.224 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.15 } }
			country_event = { id = france_md.223 days = 5 }
		}
		else = {
			random_list = {
				40 = {
					country_event = { id = france_md.225 days = 5 }
				}
				40 = {
					country_event = { id = france_md.223 days = 5 }
				}
				20 = {
					country_event = { id = france_md.224 days = 5 }
				}
			}
		}
		add_political_power = -50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 3
			modifier = {
				factor = 12
				democratic > 0.45
			}
		}
	}

	option = {
		name = france_md.222.d
		log = "[GetDateText]: [This.GetName]: france_md.222.d executed"
		if = {
			limit = { check_variable = { party_pop_array^2 > 0.25 } }
			country_event = { id = france_md.224 days = 5 }
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.25 } }
			country_event = { id = france_md.223 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.25 } }
			country_event = { id = france_md.225 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.25 } }
			country_event = { id = france_md.223 days = 5 }
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^19 > 0.25 } }
			country_event = { id = france_md.223 days = 5 }
			set_temp_variable = { party_index = 5 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^1 > 0.25 } }
			country_event = { id = france_md.224 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				45 = {
					country_event = { id = france_md.223 days = 5 }
				}
				25 = {
					country_event = { id = france_md.224 days = 5 }
				}
				30 = {
					country_event = { id = france_md.225 days = 5 }
				}
			}
		}
		add_political_power = 25
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				neutrality < 0.15
			}
		}
	}
}
country_event = {
	id = france_md.223
	title = france_md.223.t
	desc = france_md.223.d
	picture = GFX_report_event_Money_ITA_1
	is_triggered_only = yes

	option = {
		name = france_md.223.a
		log = "[GetDateText]: [This.GetName]: france_md.223.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.12 }
		set_temp_variable = { temp_outlook_increase = 0.12 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = 0.15 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_civ_speed = -0.025 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_6th_mils_speed = -0.025 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { FRA_6th_office_speed = -0.05 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_6th_social_cost = -0.1 tooltip = social_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_monthly_pop = 0.075 tooltip = monthly_population_tt }
		add_to_variable = { FRA_6th_tax_corpo = 0.05 tooltip = corporate_tax_income_multiplier_modifier_tt }
		add_to_variable = { FRA_6thcons_goo = 0.075 tooltip = consumer_goods_factor_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.224
	title = france_md.224.t
	desc = france_md.224.d
	picture = GFX_internal_faction_money
	is_triggered_only = yes

	option = {
		name = france_md.224.a
		log = "[GetDateText]: [This.GetName]: france_md.224.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = -0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_civ_speed = 0.05 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_6th_mils_speed = 0.05 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { FRA_6th_office_speed = 0.05 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_6th_social_cost = 0.075 tooltip = social_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_monthly_pop = 0.05 tooltip = monthly_population_tt }
		add_to_variable = { FRA_6thcons_goo = -0.05 tooltip = consumer_goods_factor_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.225
	title = france_md.225.t
	desc = france_md.225.d
	picture = GFX_hospital
	is_triggered_only = yes

	option = {
		name = france_md.225.a
		log = "[GetDateText]: [This.GetName]: france_md.225.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = -0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_civ_speed = 0.025 tooltip = production_speed_industrial_complex_factor_tt }
		add_to_variable = { FRA_6th_mils_speed = 0.025 tooltip = production_speed_arms_factory_factor_tt }
		add_to_variable = { FRA_6th_office_speed = 0.025 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_6th_social_cost = -0.05 tooltip = social_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6thcons_goo = -0.05 tooltip = consumer_goods_factor_tt }
		add_to_variable = { FRA_6th_bureaucracy_cost = -0.075 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_monthly_pop = -0.025 tooltip = monthly_population_tt }
		add_to_variable = { FRA_6th_research = -0.075 tooltip = research_speed_factor_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.226
	title = france_md.226.t
	desc = france_md.226.d
	picture = GFX_political_activist
	is_triggered_only = yes

	option = {
		name = france_md.226.a
		log = "[GetDateText]: [This.GetName]: france_md.226.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.5 } }
			country_event = { id = france_md.227 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.3 } }
			country_event = { id = france_md.228 days = 5 }
		}
		else = {
			random_list = {
				45 = {
					country_event = { id = france_md.227 days = 5 }
				}
				65 = {
					country_event = { id = france_md.228 days = 5 }
				}
			}
		}
		add_political_power = -100
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.226.b
		log = "[GetDateText]: [This.GetName]: france_md.226.b executed"
		if = {
			limit = { check_variable = { party_pop_array^1 > 0.25 } }
			country_event = { id = france_md.228 days = 5 }
			set_temp_variable = { party_index = 2 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^2 > 0.25 } }
			country_event = { id = france_md.228 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^3 > 0.25 } }
			country_event = { id = france_md.228 days = 5 }
			set_temp_variable = { party_index = 3 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.25 } }
			country_event = { id = france_md.228 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.25 } }
			country_event = { id = france_md.228 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = 0.05 }
			set_temp_variable = { temp_outlook_increase = 0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				25 = {
					country_event = { id = france_md.227 days = 5 }
				}
				75 = {
					country_event = { id = france_md.228 days = 5 }
				}
			}
		}
		add_political_power = 25
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality < 0.05
			}
		}
	}
}
country_event = {
	id = france_md.227
	title = france_md.227.t
	desc = france_md.227.d
	picture = GFX_handshake_black
	is_triggered_only = yes

	option = {
		name = france_md.227.a
		log = "[GetDateText]: [This.GetName]: france_md.227.a executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.15 }
		set_temp_variable = { temp_outlook_increase = -0.15 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = -0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_opinion = 0.075 tooltip = opinion_gain_monthly_factor_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = -0.05 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6th_research = 0.075 tooltip = research_speed_factor_tt }
		add_to_variable = { FRA_6threp_policecost = -0.05 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_bureaucracy_cost = 0.1 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_migrantrate = 0.075 tooltip = migration_rate_value_factor_tt }
		newline = yes
		country_event = { id = france_md.229 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.228
	title = france_md.228.t
	desc = france_md.228.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = {
		name = france_md.228.a
		log = "[GetDateText]: [This.GetName]: france_md.228.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = 0.1 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_foreign_influence_defense = 0.1 tooltip = foreign_influence_defense_modifier_tt }
		add_to_variable = { FRA_6threp_resistance_growth = 0.05 tooltip = resistance_growth_tt }
		add_to_variable = { FRA_6threp_policecost = 0.05 tooltip = police_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_bureaucracy_cost = -0.05 tooltip = bureaucracy_cost_multiplier_modifier_tt }
		add_to_variable = { FRA_6th_migrantrate = -0.075 tooltip = migration_rate_value_factor_tt }
		newline = yes
		country_event = { id = france_md.229 days = 7 }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.229
	title = france_md.229.t
	desc = france_md.229.d
	picture = GFX_FRA_secularism
	is_triggered_only = yes

	option = {
		name = france_md.229.a
		log = "[GetDateText]: [This.GetName]: france_md.229.a executed"
		if = {
			limit = { check_variable = { party_pop_array^18 > 0.35 } }
			country_event = { id = france_md.230 days = 5 }
		}
		else_if = {
			limit = { check_variable = { party_pop_array^18 < 0.15 } }
			country_event = { id = france_md.231 days = 5 }
		}
		else = {
			random_list = {
				45 = {
					country_event = { id = france_md.230 days = 5 }
				}
				55 = {
					country_event = { id = france_md.231 days = 5 }
				}
			}
		}
		add_political_power = -50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality > 0.3
			}
		}
	}

	option = {
		name = france_md.229.b
		log = "[GetDateText]: [This.GetName]: france_md.229.b executed"
		if = {
			limit = { check_variable = { party_pop_array^1 > 0.25 } }
			country_event = { id = france_md.231 days = 5 }
			set_temp_variable = { party_index = 1 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^3 > 0.25 } }
			country_event = { id = france_md.230 days = 5 }
			set_temp_variable = { party_index = 3 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^4 > 0.25 } }
			country_event = { id = france_md.230 days = 5 }
			set_temp_variable = { party_index = 4 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^20 > 0.15 } }
			country_event = { id = france_md.231 days = 5 }
			set_temp_variable = { party_index = 20 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else_if = {
			limit = { check_variable = { party_pop_array^14 > 0.25 } }
			country_event = { id = france_md.230 days = 5 }
			set_temp_variable = { party_index = 14 }
			set_temp_variable = { party_popularity_increase = -0.05 }
			set_temp_variable = { temp_outlook_increase = -0.05 }
			change_relative_party_popularity = yes
		}
		else = {
			random_list = {
				40 = {
					country_event = { id = france_md.227 days = 5 }
				}
				60 = {
					country_event = { id = france_md.228 days = 5 }
				}
			}
		}
		add_political_power = 25
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = {
			factor = 5
			modifier = {
				factor = 10
				neutrality < 0.05
			}
		}
	}
}
country_event = {
	id = france_md.230
	title = france_md.230.t
	desc = france_md.230.d
	picture = GFX_internal_faction_religion
	is_triggered_only = yes

	option = {
		name = france_md.230.a
		log = "[GetDateText]: [This.GetName]: france_md.230.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = -0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6th_corrupt = 0.05 tooltip = corruption_cost_factor_tt }
		add_to_variable = { FRA_6th_driftdef = -0.1 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_6th_research = 0.075 tooltip = research_speed_factor_tt }
		add_to_variable = { FRA_6threp_resistance_growth = -0.075 tooltip = resistance_growth_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.231
	title = france_md.231.t
	desc = france_md.231.d
	picture = GFX_FRA_secularism
	is_triggered_only = yes

	option = {
		name = france_md.231.a
		log = "[GetDateText]: [This.GetName]: france_md.231.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		newline = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_6th_rep }
		add_to_variable = { FRA_6th_STAB = -0.05 tooltip = stability_factor_tt }
		add_to_variable = { FRA_6threp_resistance_growth = 0.05 tooltip = resistance_growth_tt }
		add_to_variable = { FRA_6th_driftdef = 0.1 tooltip = drift_defence_factor_tt }
		add_to_variable = { FRA_6th_research = -0.05 tooltip = research_speed_factor_tt }
		add_to_variable = { FRA_6thcoredef = 0.075 tooltip = army_core_defence_factor_tt }
		add_to_variable = { FRA_6thcoreatta = 0.05 tooltip = army_core_attack_factor_tt }
		add_to_variable = { FRA_6th_corrupt = -0.075 tooltip = corruption_cost_factor_tt }
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.235
	title = france_md.235.t
	desc = france_md.235.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.235.a
		log = "[GetDateText]: [This.GetName]: france_md.235.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_draft6threp days = 730 }
		custom_effect_tooltip = FRA_6threp_tt
		hidden_effect = {
			set_variable = { FRA_6th_STAB = 0 }
			set_variable = { FRA_6th_foreign_influence_defense = 0 }
			set_variable = { FRA_6th_BP = 0 }
			set_variable = { FRA_6th_driftdef = 0 }
			set_variable = { FRA_6offensewar = 0 }
			set_variable = { FRA_wargoal_6 = 0 }
			set_variable = { FRA_commandpower_6 = 0 }
			set_variable = { FRA_6threp_foreiginf = 0 }
			set_variable = { FRA_6threp_encryption_factor = 0 }
			set_variable = { FRA_6threp_decryption_factor = 0 }
			set_variable = { FRA_6threp_personnel_cost = 0 }
			set_variable = { FRA_6th_war_support_factor = 0 }
			set_variable = { FRA_6threp_policecost = 0 }
			set_variable = { FRA_6threp_enemy_operative_detection_chance_factor = 0 }
			set_variable = { FRA_6threp_resistance_damage_to_garrison = 0 }
			set_variable = { FRA_6threp_resistance_growth = 0 }
			set_variable = { FRA_6theducost = 0 }
			set_variable = { FRA_6th_bureaucracy_cost = 0 }
			set_variable = { FRA_6th_social_cost = 0 }
			set_variable = { FRA_6th_health_cost = 0 }
			set_variable = { FRA_6th_neutrality_drift = 0 }
			set_variable = { FRA_6th_natio_drift = 0 }
			set_variable = { FRA_6thned_civ = 0 }
			set_variable = { FRA_6th_ned_mil = 0 }
			set_variable = { FRA_6th_ned_office = 0 }
			set_variable = { FRA_tax_6th = 0 }
			set_variable = { FRA_6th_efficiency_cap = 0 }
			set_variable = { FRA_6th_civ_speed = 0 }
			set_variable = { FRA_6th_mils_speed = 0 }
			set_variable = { FRA_6th_office_speed = 0 }
			set_variable = { FRA_6th_construction_speed = 0 }
			set_variable = { FRA_6th_interest = 0 }
			set_variable = { FRA_6thoffice_revenue = 0 }
			set_variable = { FRA_6thcivs_revenue = 0 }
			set_variable = { FRA_6thenergy_cons = 0 }
			set_variable = { FRA_6thenergy_cons = 0 }
			set_variable = { FRA_6thenergy_cons = 0 }
			set_variable = { FRA_6th_monthly_pop = 0 }
			set_variable = { FRA_6thcons_goo = 0 }
			set_variable = { FRA_6th_research = 0 }
			set_variable = { FRA_6th_opinion = 0 }
			set_variable = { FRA_6th_corrupt = 0 }
			set_variable = { FRA_6thcoredef = 0 }
			set_variable = { FRA_6thcoreatta = 0 }
			set_variable = { FRA_6th_migrantrate = 0 }
			set_variable = { FRA_6th_taxgain = 0 }
			set_variable = { FRA_6th_tax_pop = 0 }
			set_variable = { FRA_6th_tax_corpo = 0 }
		}
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.236
	title = france_md.236.t
	desc = france_md.236.d
	picture = GFX_generic_education_event_picture
	is_triggered_only = yes

	option = {
		name = france_md.236.a
		log = "[GetDateText]: [This.GetName]: france_md.236.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.2 }
		set_temp_variable = { temp_outlook_increase = -0.2 }
		change_relative_party_popularity = yes
		add_political_power = -300
		add_ideas = FRA_fail6threp
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.244
	title = france_md.244.t
	desc = france_md.244.d
	picture = GFX_politics_dem_socialist
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.244.a
		log = "[GetDateText]: [This.GetName]: france_md.244.a executed"
		add_ideas = FRA_eu_social_climate
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		add_stability = 0.1
		add_political_power = -175
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		ai_chance = { base = 3 }
	}

	#refuse
	option = {
		name = france_md.244.b
		log = "[GetDateText]: [This.GetName]: france_md.244.b executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = -0.025
		add_political_power = 25
		ai_chance = {
			base = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				add = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				add = 6
			}
		}
	}
}
country_event = {
	id = france_md.238
	title = france_md.238.t
	desc = france_md.238.d
	picture = GFX_FRA_embargo
	is_triggered_only = yes

	option = {
		name = france_md.238.a
		log = "[GetDateText]: [This.GetName]: france_md.238.a executed"
		add_stability = -0.05
		add_political_power = -150
		FRA = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				send_embargo = ISR
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				country_event = france_md.239
			}
		}
		ai_chance = { factor = 1 }
	}
}
#embargo on israel
country_event = {
	id = france_md.239
	title = france_md.239.t
	desc = france_md.239.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.239.a
		log = "[GetDateText]: [This.GetName]: france_md.239.a executed"
		add_stability = 0.02
		add_political_power = -50
		if = {
			limit = { has_dlc = "By Blood Alone" }
			send_embargo = ISR
		}
		ISR = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = PREV
			}
		}
		ai_chance = { factor = 4 }
	}

	#refuse
	option = {
		name = france_md.239.b
		log = "[GetDateText]: [This.GetName]: france_md.239.b executed"
		FRA = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = ROOT
			}
		}
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_political_power = 50
		ISR = {
			add_opinion_modifier = {
					modifier = recent_actions_positive
					target = PREV
			}
		}
		ai_chance = {
			factor = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
			modifier = {
				has_opinion = { target = ISR value > 50 }
				add = 20
			}
		}
	}
}
country_event = {
	id = france_md.240
	title = france_md.240.t
	desc = france_md.240.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.240.a
		log = "[GetDateText]: [This.GetName]: france_md.240.a executed"
		add_stability = 0.15
		add_war_support = -0.05
		add_political_power = 200
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { percent_change = -2 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_opinion_modifier = {
			modifier = supports_us
			target = FRA
		}
		ai_chance = { base = 3 }
	}

	#refuse
	option = {
		name = france_md.240.b
		log = "[GetDateText]: [This.GetName]: france_md.240.b executed"
		add_war_support = 0.05
		add_political_power = 50
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		set_temp_variable = { percent_change = -15 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		ai_chance = {
			factor = 2
			modifier = {
				factor = 3
				has_government = nationalist
			}
		}
	}
}
#green agenda in eu
country_event = {
	id = france_md.245
	title = france_md.245.t
	desc = france_md.245.d
	picture = GFX_politics_green
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.245.a
		log = "[GetDateText]: [This.GetName]: france_md.245.a executed"
		add_ideas = FRA_eu_green_reform
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.025
		add_political_power = -150
		ai_chance = {
			factor = 3
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.245.b
		log = "[GetDateText]: [This.GetName]: france_md.245.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_stability = -0.025
		add_political_power = 50
		ai_chance = {
			factor = 2
			modifier = {
				has_government = nationalist
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.246
	title = france_md.246.t
	desc = france_md.246.d
	picture = GFX_european_council
	is_triggered_only = yes

	option = {
		name = france_md.246.a
		log = "[GetDateText]: [This.GetName]: france_md.246.a executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = 0.15 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.248
	title = france_md.248.t
	desc = france_md.248.d
	picture = GFX_european_parliament
	is_triggered_only = yes

	option = {
		name = france_md.248.a
		log = "[GetDateText]: [This.GetName]: france_md.248.a executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = 0.1 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		ai_chance = { base = 1 }
	}
}
#transition to green
country_event = {
	id = france_md.249
	title = france_md.249.t
	desc = france_md.249.d
	picture = GFX_generic_solar_farms
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.249.a
		log = "[GetDateText]: [This.GetName]: france_md.249.a executed"
		add_timed_idea = {
				idea = FRA_EU_transit
				days = 1460
		}
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.1
		set_temp_variable = { modify_europeanism = 0.15 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.249.b
		log = "[GetDateText]: [This.GetName]: france_md.249.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		change_relative_party_popularity = yes
		add_stability = -0.025
		add_political_power = 175
		ai_chance = {
			factor = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.250
	title = france_md.250.t
	desc = france_md.250.d
	picture = GFX_oil_refinery
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.250.a
		log = "[GetDateText]: [This.GetName]: france_md.250.a executed"
		add_ideas = FRA_eu_ban_fossile
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_political_power = 100
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.250.b
		log = "[GetDateText]: [This.GetName]: france_md.250.b executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		add_political_power = 50
		ai_chance = {
			factor = 4
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
			modifier = {
				western_liberals_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.251
	title = france_md.251.t
	desc = france_md.251.d
	picture = GFX_internal_faction_energy
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.251.a
		log = "[GetDateText]: [This.GetName]: france_md.251.a executed"
		add_ideas = FRA_regulation_agra
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_political_power = 100
		set_temp_variable = { temp_opinion = -5 }
		change_farmers_opinion = yes
		ai_chance = {
			factor = 3
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.251.b
		log = "[GetDateText]: [This.GetName]: france_md.251.b executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_political_power = 150
		add_war_support = 0.1
		set_temp_variable = { temp_opinion = 5 }
		change_farmers_opinion = yes
		FRA = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				send_embargo = BRA
			}
			for_each_scope_loop = {
				array = global.EU_member
				if = {
					limit = { NOT = { tag = ROOT } }
					country_event = france_md.252
				}
			}
		}
		ai_chance = {
			factor = 4
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.252
	title = france_md.252.t
	desc = france_md.252.d
	picture = GFX_FRA_embargo
	is_triggered_only = yes

	option = {
		name = france_md.252.a
		log = "[GetDateText]: [This.GetName]: france_md.252.a executed"
		add_stability = 0.1
		add_political_power = -50
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { temp_opinion = 5 }
		change_farmers_opinion = yes
		if = {
			limit = { has_dlc = "By Blood Alone" }
			send_embargo = BRA
		}
		BRA = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = PREV
			}
		}
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.252.b
		log = "[GetDateText]: [This.GetName]: france_md.252.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		FRA = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = PREV
			}
		}
		set_temp_variable = { percent_change = -5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_political_power = 50
		ai_chance = {
			factor = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
			modifier = {
				western_liberals_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = { #manufactured and raw ressources
	id = france_md.253
	title = france_md.253.t
	desc = france_md.253.d
	picture = GFX_internal_faction_energy
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.253.a
		log = "[GetDateText]: [This.GetName]: france_md.253.a executed"
		add_ideas = FRA_regulation_indus
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_political_power = -50
		set_temp_variable = { temp_opinion = -5 }
		change_industrial_conglomerates_opinion = yes
		ai_chance = {
			factor = 3
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.253.b
		log = "[GetDateText]: [This.GetName]: france_md.253.b executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_political_power = 150
		add_war_support = 0.1
		FRA = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				send_embargo = CHI
			}
			for_each_scope_loop = {
				array = global.EU_member
				if = {
					limit = { NOT = { tag = ROOT } }
					country_event = france_md.254
				}
			}
		}
		set_temp_variable = { temp_opinion = 5 }
		change_industrial_conglomerates_opinion = yes
		ai_chance = {
			factor = 4
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.254
	title = france_md.254.t
	desc = france_md.254.d
	picture = GFX_FRA_embargo
	is_triggered_only = yes

	option = {
		name = france_md.254.a
		log = "[GetDateText]: [This.GetName]: france_md.254.a executed"
		add_stability = 0.1
		add_political_power = -75
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		if = {
			limit = { has_dlc = "By Blood Alone" }
			send_embargo = CHI
		}
		set_temp_variable = { temp_opinion = 5 }
		change_labour_unions_opinion = yes
		change_small_medium_business_owners_opinion = yes
		change_industrial_conglomerates_opinion = yes
		CHI = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = PREV
			}
		}
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.254.b
		log = "[GetDateText]: [This.GetName]: france_md.254.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		FRA = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = PREV
			}
		}
		set_temp_variable = { percent_change = -5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_political_power = 50
		ai_chance = {
			factor = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
			modifier = {
				western_liberals_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = { #fuel
	id = france_md.255
	title = france_md.255.t
	desc = france_md.255.d
	picture = GFX_internal_faction_energy
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.255.a
		log = "[GetDateText]: [This.GetName]: france_md.255.a executed"
		add_ideas = FRA_regulation_fuel
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_political_power = -150
		set_temp_variable = { temp_opinion = -5 }
		change_fossil_fuel_industry_opinion = yes
		ai_chance = {
			factor = 3
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.255.b
		log = "[GetDateText]: [This.GetName]: france_md.255.b executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_political_power = 150
		add_war_support = 0.1
		set_temp_variable = { temp_opinion = 5 }
		change_fossil_fuel_industry_opinion = yes
		FRA = {
			if = {
				limit = { has_dlc = "By Blood Alone" }
				send_embargo = SOV
			}
			for_each_scope_loop = {
				array = global.EU_member
				if = {
					limit = { NOT = { tag = ROOT } }
					country_event = france_md.256
				}
			}
		}
		ai_chance = {
			factor = 4
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.256
	title = france_md.256.t
	desc = france_md.256.d
	picture = GFX_FRA_embargo
	is_triggered_only = yes

	option = {
		name = france_md.256.a
		log = "[GetDateText]: [This.GetName]: france_md.256.a executed"
		add_stability = 0.15
		add_political_power = -50
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		if = {
			limit = { has_dlc = "By Blood Alone" }
			send_embargo = SOV
		}
		SOV = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = ROOT
			}
		}
		set_temp_variable = { temp_opinion = 5 }
		change_fossil_fuel_industry_opinion = yes
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.256.b
		log = "[GetDateText]: [This.GetName]: france_md.256.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		FRA = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = ROOT
			}
		}
		set_temp_variable = { percent_change = -5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_political_power = 75
		ai_chance = {
			factor = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
			modifier = {
				western_liberals_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.257
	title = france_md.257.t
	desc = france_md.257.d
	picture = GFX_generic_train_event
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.257.a
		log = "[GetDateText]: [This.GetName]: france_md.257.a executed"
		add_timed_idea = {
				idea = FRA_EU_rail
				days = 1460
		}
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_stability = 0.05
		set_temp_variable = { modify_europeanism = 0.1 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { treasury_change = -30 }
		modify_treasury_effect = yes
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				neutrality_neutral_green_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.257.b
		log = "[GetDateText]: [This.GetName]: france_md.257.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_stability = -0.05
		add_political_power = 75
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		ai_chance = {
			factor = 2
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.258
	title = france_md.258.t
	desc = france_md.258.d
	picture = GFX_politics_communism_lenin
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.258.a
		log = "[GetDateText]: [This.GetName]: france_md.258.a executed"
		add_ideas = FRA_eu_pcf_reform
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		add_stability = 0.05
		add_political_power = -50
		ai_chance = {
			factor = 4
			modifier = {
				western_social_democrats_are_in_power = yes
				factor = 6
			}
			modifier = {
				emerging_communist_state_are_in_power = yes
				factor = 8
			}
		}
	}

	#refuse
	option = {
		name = france_md.258.b
		log = "[GetDateText]: [This.GetName]: france_md.258.b executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_stability = -0.025
		add_political_power = 50
		ai_chance = {
			factor = 3
			modifier = {
				nationalist_right_wing_populists_are_in_power = yes
				factor = 8
			}
			modifier = {
				western_conservatism_are_in_power = yes
				factor = 6
			}
		}
	}
}
country_event = {
	id = france_md.259
	title = france_md.259.t
	desc = france_md.259.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = {
		name = france_md.259.a
		log = "[GetDateText]: [This.GetName]: france_md.259.a executed"
		FRA = {
			give_military_access = UKR
			diplomatic_relation = {
				country = SOV
				relation = docking_rights
				active = yes
			}
		}
		UKR = {
			give_military_access = FRA
			diplomatic_relation = {
				country = FRA
				relation = docking_rights
				active = yes
			}
		}
		add_stability = 0.1
		FRA = {
			send_equipment = {
				equipment = infantry_weapons_type
				amount = 1000
				target = UKR
			}
			send_equipment = {
				equipment = Anti_tank_2
				amount = 100
				target = UKR
			}
		}
		SOV = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = UKR
			}
		}
		ai_chance = { base = 4 }
	}

	option = {
		name = france_md.259.b
		log = "[GetDateText]: [This.GetName]: france_md.259.b executed"
		FRA = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = UKR
			}
		}
		add_war_support = 0.15
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.260
	title = france_md.260.t
	desc = france_md.260.desc
	picture = GFX_FRA_war_preparations
	is_triggered_only = yes

	option = {
		name = france_md.260.a
		log = "[GetDateText]: [This.GetName]: france_md.260.a executed"
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_stability = 0.1
		FRA = {
			send_equipment = {
				equipment = infantry_weapons_type
				amount = 2000
				target = ROOT
			}
			send_equipment = {
				equipment = Anti_tank_2
				amount = 150
				target = ROOT
			}
			send_equipment = {
				equipment = APC_1
				amount = 50
				target = ROOT
			}
		}
		SOV = {
			add_opinion_modifier = {
				modifier = major_breach_of_trust
				target = ROOT
			}
		}
		ai_chance = { base = 5 }
	}

	option = {
		name = france_md.260.b
		log = "[GetDateText]: [This.GetName]: france_md.260.b executed"
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		add_stability = 0.1
		add_ideas = FRA_fr_military_assistance
		add_doctrine_cost_reduction = {
			name = france_md.260.t
			cost_reduction = 0.15
			uses = 2
			category = land_doctrine
		}
		SOV = {
			add_opinion_modifier = {
				modifier = major_breach_of_trust
				target = ROOT
			}
		}
		ai_chance = { base = 4 }
	}

	option = {
		name = france_md.260.c
		log = "[GetDateText]: [This.GetName]: france_md.260.c executed"
		set_temp_variable = { percent_change = 10 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
			}
		}
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		FRA = {
			set_temp_variable = { treasury_change = -5 }
			modify_treasury_effect = yes
		}
		SOV = {
			add_opinion_modifier = {
				modifier = major_breach_of_trust
				target = ROOT
			}
		}
		ai_chance = { base = 3 }
	}

	option = {
		name = france_md.260.d
		log = "[GetDateText]: [This.GetName]: france_md.260.d executed"
		FRA = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = ROOT
			}
		}
		add_war_support = 0.15
		set_temp_variable = { percent_change = -5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		SOV = {
				add_opinion_modifier = {
					modifier = recent_actions_positive
					target = ROOT
				}
			}
		ai_chance = { base = 1 }
	}
}
country_event = { #faction with russia
	id = france_md.261
	title = france_md.261.t
	desc = france_md.261.desc
	picture = GFX_politics_communism
	is_triggered_only = yes

	option = {
		name = france_md.261.a
		log = "[GetDateText]: [This.GetName]: france_md.261.a executed"
		FRA = { country_event = france_md.262 }
		SOV = { add_ideas = FRA_russian_cooperation1 }
		add_stability = 0.1
		ai_chance = { factor = 3 }
	}

	option = {
		name = france_md.261.b
		log = "[GetDateText]: [This.GetName]: france_md.261.b executed"
		FRA = { news_event = france_md.263 }
		SOV = { add_ideas = FRA_russian_cooperation2 }
		add_war_support = 0.15
		ai_chance = { factor = 4 }
	}

	option = {
		name = france_md.261.c
		log = "[GetDateText]: [This.GetName]: france_md.261.c executed"
		FRA = { country_event = france_md.264 }
		SOV = { add_ideas = FRA_european_internationale }
		add_war_support = 0.2
		add_political_power = -100
		ai_chance = { factor = 3 }
	}

	option = {
		name = france_md.261.d
		log = "[GetDateText]: [This.GetName]: france_md.261.d executed"
		add_stability = 0.15
		add_political_power = 150
		FRA = { country_event = france_md.265 }
		ai_chance = {
			factor = 1
			modifier = {
				factor = 200
				has_government = nationalist
			}
		}
	}
}
country_event = {
	id = france_md.262
	title = france_md.262.t
	desc = france_md.262.d
	picture = GFX_oil_refinery
	is_triggered_only = yes

	option = {
		name = france_md.262.a
		log = "[GetDateText]: [This.GetName]: france_md.262.a executed"
		add_ideas = FRA_russian_cooperation1
		ai_chance = { factor = 1 }
	}
}
news_event = {
	id = france_md.263
	title = france_md.263.t
	desc = france_md.263.d
	picture = GFX_news_generic_soldiers
	is_triggered_only = yes

	option = {
		name = france_md.263.a
		log = "[GetDateText]: [This.GetName]: france_md.263.a executed"
		add_ideas = FRA_russian_cooperation2
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.264
	title = france_md.264.t
	desc = france_md.264.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = france_md.264.a
		log = "[GetDateText]: [This.GetName]: france_md.264.a executed"
		add_ideas = FRA_european_internationale
		SOV = {
			add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty }
			reverse_add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty }
			diplomatic_relation = {
				country = FRA
				relation = guarantee
			}
		}
		diplomatic_relation = {
			country = SOV
			relation = guarantee
		}
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.265
	title = france_md.265.t
	desc = france_md.265.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.265.a
		log = "[GetDateText]: [This.GetName]: france_md.265.a executed"
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = SOV
		}
		add_war_support = 0.3
		add_political_power = -100
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.266
	title = france_md.266.t
	desc = france_md.266.d
	picture = GFX_european_migrant_crisis
	is_triggered_only = yes

	option = {
		name = france_md.266.a
		log = "[GetDateText]: [This.GetName]: france_md.266.a executed"
		set_temp_variable = { modify_europeanism = -0.075 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		add_political_power = 50
		add_stability = 0.05
		ai_chance = { factor = 1 }
	}
}
country_event = {
	id = france_md.267
	title = france_md.267.t
	desc = france_md.267.d
	picture = GFX_european_migrant_crisis
	is_triggered_only = yes

	option = {
		name = france_md.267.a
		log = "[GetDateText]: [This.GetName]: france_md.267.a executed"
		set_temp_variable = { modify_europeanism = -0.1 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		add_political_power = 50
		ai_chance = { factor = 1 }
	}

	option = { #anger from nationalist
		name = france_md.267.b
		log = "[GetDateText]: [This.GetName]: france_md.267.b executed"
		set_temp_variable = { modify_europeanism = 0.075 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_political_power = -100
		add_stability = -0.1
		ai_chance = {
			factor = 1
		}
	}
}
country_event = {
	id = france_md.268
	title = france_md.268.t
	desc = france_md.268.d
	picture = GFX_eurojail
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.268.a
		log = "[GetDateText]: [This.GetName]: france_md.268.a executed"
		add_ideas = FRA_eu_FN_reform
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = -0.025 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_war_support = 0.075
		add_political_power = -150
		ai_chance = { base = 4 }
	}

	#refuse
	option = {
		name = france_md.268.b
		log = "[GetDateText]: [This.GetName]: france_md.268.b executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = 0.025 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_stability = 0.025
		add_political_power = 100
		ai_chance = {
			factor = 2
			modifier = {
				factor = 8
				nationalist_right_wing_populists_are_in_power = yes
			}
			modifier = {
				factor = 6
				western_conservatism_are_in_power = yes
			}
		}
	}
}
#infiltration of nationalist ideas in eu
country_event = {
	id = france_md.269
	title = france_md.269.t
	desc = france_md.269.d
	picture = GFX_european_union_flag
	is_triggered_only = yes

	option = {
		name = france_md.269.a
		log = "[GetDateText]: [This.GetName]: france_md.269.a executed"
		set_temp_variable = { modify_europeanism = 0.075 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		add_stability = 0.025
		add_war_support = -0.05
		add_political_power = 50
		ai_chance = { factor = 2 }
	}

	option = {
		name = france_md.269.b
		log = "[GetDateText]: [This.GetName]: france_md.269.b executed"
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_stability = -0.025
		add_war_support = 0.075
		ai_chance = { factor = 4 }
	}
}
country_event = {
	id = france_md.270
	title = france_md.270.t
	desc = france_md.270.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = {
		name = france_md.270.a
		log = "[GetDateText]: [This.GetName]: france_md.270.a executed"
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		set_temp_variable = { percent_change = 10 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		random_owned_state = {
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = arms_factory
				level = 2
			}
		}
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		ai_chance = { base = 15 }
	}

	option = {
		name = france_md.270.b
		log = "[GetDateText]: [This.GetName]: france_md.270.b executed"
		add_political_power = 35
		add_stability = 0.1
		add_war_support = 0.05
		ai_chance = { base = 2 }
	}
}
country_event = {
	id = france_md.271
	title = france_md.271.t
	desc = france_md.271.d
	picture = GFX_ukr_federalisation_dumbass
	is_triggered_only = yes

	option = {
		name = france_md.271.a
		log = "[GetDateText]: [This.GetName]: france_md.271.a executed"
		FRA = {
			give_military_access = SOV
			diplomatic_relation = {
				country = SOV
				relation = docking_rights
				active = yes
			}
		}
		SOV = {
			add_opinion_modifier = { target = ROOT modifier = recent_actions_positive }
			reverse_add_opinion_modifier = { target = ROOT modifier = recent_actions_positive }
			give_military_access = FRA
			diplomatic_relation = {
				country = FRA
				relation = docking_rights
				active = yes
			}
		}
		UKR = {
			add_stability = -0.05
			add_opinion_modifier = {
				modifier = major_breach_of_trust
				target = SOV
			}
		}
		add_war_support = 0.075
		ai_chance = { factor = 6 }
	}

	option = {
		name = france_md.271.b
		log = "[GetDateText]: [This.GetName]: france_md.271.b executed"
		FRA = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = SOV
			}
		}
		UKR = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = SOV
			}
		}
		add_war_support = -0.05
		add_stability = 0.1
		ai_chance = {
			factor = 2
			modifier = {
				factor = 8
				has_government = communism
			}
		}
	}
}
country_event = {
	id = france_md.272
	title = france_md.272.t
	desc = france_md.272.desc
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.272.a
		log = "[GetDateText]: [This.GetName]: france_md.272.a executed"
		FRA = { country_event = france_md.273 }
		SOV = { add_ideas = FRA_russian_cooperation1 }
		add_stability = 0.1
		ai_chance = { factor = 6 }
	}

	option = {
		name = france_md.272.b
		log = "[GetDateText]: [This.GetName]: france_md.272.b executed"
		FRA = { news_event = france_md.274 }
		SOV = { add_ideas = FRA_russian_cooperation2 }
		add_war_support = 0.15
		ai_chance = { factor = 6 }
	}

	option = {
		name = france_md.272.c
		log = "[GetDateText]: [This.GetName]: france_md.272.c executed"
		FRA = { country_event = france_md.275 }
		SOV = { add_ideas = FRA_Boreal_Space }
		add_war_support = 0.2
		add_political_power = -100
		ai_chance = { factor = 6 }
	}

	option = {
		name = france_md.272.d
		log = "[GetDateText]: [This.GetName]: france_md.272.d executed"
		add_stability = 0.15
		add_political_power = 150
		FRA = { country_event = france_md.276 }
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				has_government = communism
			}
		}
	}
}
country_event = {
	id = france_md.273
	title = france_md.273.t
	desc = france_md.273.d
	picture = GFX_oil_refinery
	is_triggered_only = yes

	option = {
		name = france_md.273.a
		log = "[GetDateText]: [This.GetName]: france_md.273.a executed"
		add_ideas = FRA_russian_cooperation1
		ai_chance = { base = 1 }
	}
}
news_event = {
	id = france_md.274
	title = france_md.274.t
	desc = france_md.274.d
	picture = GFX_news_generic_soldiers
	is_triggered_only = yes

	option = {
		name = france_md.274.a
		log = "[GetDateText]: [This.GetName]: france_md.274.a executed"
		add_ideas = FRA_russian_cooperation2
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.275
	title = france_md.275.t
	desc = france_md.275.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.275.a
		log = "[GetDateText]: [This.GetName]: france_md.275.a executed"
		add_ideas = FRA_Boreal_Space
		SOV = {
			add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty }
			reverse_add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty }
			diplomatic_relation = {
				country = FRA
				relation = guarantee
			}
		}
		diplomatic_relation = {
			country = SOV
			relation = guarantee
		}
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.276
	title = france_md.276.t
	desc = france_md.276.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = {
		name = france_md.276.a
		log = "[GetDateText]: [This.GetName]: france_md.276.a executed"
		add_opinion_modifier = {
			modifier = recent_actions_negative
			target = SOV
		}
		add_stability = 0.05
		add_political_power = 50
		ai_chance = { base = 1 }
	}
}
country_event = { #propose help to africa to kick russia out
	id = france_md.277
	title = france_md.277.t
	desc = france_md.277.d
	picture = GFX_french_troops_africa
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.277.a
		log = "[GetDateText]: [This.GetName]: france_md.277.a executed"
		add_stability = 0.1
		add_war_support = -0.05
		set_temp_variable = { percent_change = 5 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = -10 }
		set_temp_variable = { tag_index = SOV.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		FRA = {
			add_opinion_modifier = {
				modifier = supports_us
				target = ROOT
			}
		}
		SOV = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = ROOT
			}
		}
		ai_chance = { factor = 4 }
	}

	#refuse
	option = {
		name = france_md.277.b
		log = "[GetDateText]: [This.GetName]: france_md.277.b executed"
		add_war_support = 0.15
		add_political_power = 50
		set_temp_variable = { percent_change = -15 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		set_temp_variable = { percent_change = 7 }
		set_temp_variable = { tag_index = SOV.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		SOV = {
			add_opinion_modifier = {
				modifier = supports_us
				target = ROOT
			}
		}
		FRA = {
			add_opinion_modifier = {
					modifier = recent_actions_negative
					target = ROOT
			}
		}
		ai_chance = {
			factor = 2
			modifier = {
				factor = 10
				has_government = nationalist
			}
			modifier = {
				factor = 200
				is_subject_of = SOV
			}
		}
	}
}
country_event = { #communist frexit reaction
	id = france_md.278
	title = france_md.278.t
	desc = france_md.278.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	option = {
		name = france_md.278.a
		log = "[GetDateText]: [This.GetName]: france_md.278.a executed"
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.279
	title = france_md.279.t
	desc = france_md.279.d
	picture = GFX_politics_protest
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.279.a
		log = "[GetDateText]: [This.GetName]: france_md.279.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_stability = -0.05
		add_war_support = 0.1
		add_political_power = -50
		ai_chance = {
			base = 2
			modifier = {
				add = 10
				has_government = communism
			}
		}
	}

	#refuse
	option = {
		name = france_md.279.b
		log = "[GetDateText]: [This.GetName]: france_md.279.b executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = 0.075 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_war_support = -0.05
		add_stability = 0.1
		add_political_power = 50
		ai_chance = { base = 6 }
	}
}
country_event = { #call for world revolution
	id = france_md.280
	title = france_md.280.t
	desc = france_md.280.d
	picture = GFX_politics_communism_lenin
	is_triggered_only = yes

	#agree
	option = {
		name = france_md.280.a
		log = "[GetDateText]: [This.GetName]: france_md.280.a executed"
		add_opinion_modifier = {
			modifier = supports_us
			target = FRA
		}
		FRA = {
			add_opinion_modifier = {
				modifier = supports_us
				target = ROOT
			}
		}
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		add_stability = -0.05
		add_war_support = 0.15
		add_political_power = 100
		ai_chance = { base = 4 }
	}

	#refuse
	option = {
		name = france_md.280.b
		log = "[GetDateText]: [This.GetName]: france_md.280.b executed"
		FRA = {
			add_opinion_modifier = {
				modifier = recent_actions_negative
				target = ROOT
			}
		}
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_war_support = -0.1
		add_stability = 0.15
		add_political_power = 50
		ai_chance = { base = 3 }
	}
}
country_event = { #military reform
	id = france_md.281
	title = france_md.281.t
	desc = france_md.281.d
	picture = GFX_FRA_napoleon_army
	is_triggered_only = yes

	#infantry
	option = {
		name = france_md.281.a
		log = "[GetDateText]: [This.GetName]: france_md.281.a executed"
		add_timed_idea = {
			idea = FRA_bonapart_military_reform
			days = 250
		}
		hidden_effect = {
			country_event = { id = france_md.282 days = 250 }
		}
		ai_chance = { base = 1 }
	}
}
country_event = { #military reform end
	id = france_md.282
	title = france_md.282.t
	desc = france_md.282.d
	picture = GFX_france_leclerc
	is_triggered_only = yes

	#infantry
	option = {
		name = france_md.282.a
		log = "[GetDateText]: [This.GetName]: france_md.282.a executed"
		add_ideas = FRA_army_reformed_1
		set_variable = { FRA_grande_armee_reforms_completed = 1 }
		ai_chance = { base = 1 }
	}
}
country_event = { #infantry or cavalry
	id = france_md.283
	title = france_md.283.t
	desc = france_md.283.d
	picture = GFX_FRA_napoleon_army
	is_triggered_only = yes

	#infantry
	option = {
		name = france_md.283.a
		log = "[GetDateText]: [This.GetName]: france_md.283.a executed"
		if = {
			limit = { has_idea = FRA_army_reformed_1 }
			swap_ideas = {
				remove_idea = FRA_army_reformed_1
				add_idea = FRA_army_reformed_infantry
			}
			set_variable = { FRA_grande_armee_reforms_completed = 2 }
		}
		ai_chance = { base = 1 }
	}

	#cavalry
	option = {
		name = france_md.283.b
		log = "[GetDateText]: [This.GetName]: france_md.283.b executed"
		if = {
			limit = { has_idea = FRA_army_reformed_1 }
			swap_ideas = {
				remove_idea = FRA_army_reformed_1
				add_idea = FRA_army_reformed_cavalry
			}
			set_variable = { FRA_grande_armee_reforms_completed = 2 }
		}
		ai_chance = { base = 1 }
	}
}
country_event = { #artillery or aircraft
	id = france_md.284
	title = france_md.284.t
	desc = france_md.284.d
	picture = GFX_FRA_napoleon_army
	is_triggered_only = yes

	#artillery
	option = {
		name = france_md.284.a
		log = "[GetDateText]: [This.GetName]: france_md.284.a executed"
		if = {
			limit = { has_idea = FRA_army_reformed_infantry }
			swap_ideas = {
				remove_idea = FRA_army_reformed_infantry
				add_idea = FRA_army_reformed_artillery_infantry
			}
			set_variable = { FRA_grande_armee_reforms_completed = 3 }
		}
		if = {
			limit = { has_idea = FRA_army_reformed_cavalry }
			swap_ideas = {
				remove_idea = FRA_army_reformed_cavalry
				add_idea = FRA_army_reformed_artillery_cavalry
			}
			set_variable = { FRA_grande_armee_reforms_completed = 3 }
		}
		ai_chance = { base = 2 }
	}

	#air
	option = {
		name = france_md.284.b
		log = "[GetDateText]: [This.GetName]: france_md.284.b executed"
		if = {
			limit = { has_idea = FRA_army_reformed_infantry }
			swap_ideas = {
				remove_idea = FRA_army_reformed_infantry
				add_idea = FRA_army_reformed_air_infantry
			}
			set_variable = { FRA_grande_armee_reforms_completed = 3 }
		}
		if = {
			limit = { has_idea = FRA_army_reformed_cavalry }
			swap_ideas = {
				remove_idea = FRA_army_reformed_cavalry
				add_idea = FRA_army_reformed_air_cavalry
			}
			set_variable = { FRA_grande_armee_reforms_completed = 3 }
		}
		ai_chance = { base = 3 }
	}
}
country_event = { #frexit or scam
	id = france_md.285
	title = france_md.285.t
	desc = france_md.285.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	#scam the BCE  TODO renegociat the budget share
	option = {
		name = france_md.285.a
		log = "[GetDateText]: [This.GetName]: france_md.285.a executed"
		random_list = {
				70 = {
					country_event = { id = france_md.287 days = 5 }
				}
				30 = {
					country_event = { id = france_md.288 days = 5 }
				}
			}
		ai_chance = {
			base = 2
			modifier = {
				add = 1
				check_variable = { FRA.europeanism > 0.7 }
			}
		}
	}

	#exit
	option = {
		name = france_md.285.b
		log = "[GetDateText]: [This.GetName]: france_md.285.b executed"
		add_ideas = withdrawal_treaty
		add_timed_idea = { idea = FRA_EU_LEAVE days = 1095 }
			leaving_EU = yes
			for_each_scope_loop = {
				array = global.EU_member
				if = {
					limit = { NOT = { tag = ROOT } }
					country_event = france_md.286
				}
			}
		ai_chance = { base = 3 }
	}
}
country_event = { #same frexit but napoleon
	id = france_md.286
	title = france_md.286.t
	desc = france_md.286.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	option = {
		name = france_md.286.a
		log = "[GetDateText]: [This.GetName]: france_md.286.a executed"
		set_temp_variable = { modify_europeanism = -0.15 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = { # BCE scam give money
	id = france_md.287
	title = france_md.287.t
	desc = france_md.287.d
	picture = GFX_eurozone_reforms
	is_triggered_only = yes

	option = {
		name = france_md.287.a
		log = "[GetDateText]: [This.GetName]: france_md.287.a executed"
		add_timed_idea = { idea = FRA_BCE_money days = 730 }
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
							country_event = france_md.289
			}
		}
		set_temp_variable = { treasury_change = 100 }
		modify_treasury_effect = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = { # BCE refuse
	id = france_md.288
	title = france_md.288.t
	desc = france_md.288.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { #so we stay
		name = france_md.288.a
		log = "[GetDateText]: [This.GetName]: france_md.288.a executed"
		set_temp_variable = { modify_europeanism = -0.2 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_political_power = -50
		ai_chance = {
			base = 2
			modifier = {
				add = 1
				check_variable = { FRA.europeanism > 0.9 }
			}
		}
	}

		#exit
	option = { #so we leave
		name = france_md.288.b
		log = "[GetDateText]: [This.GetName]: france_md.288.b executed"
		add_ideas = withdrawal_treaty
		add_timed_idea = { idea = FRA_EU_LEAVE days = 1095 }
		leaving_EU = yes
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				country_event = france_md.286
			}
		}
		set_temp_variable = { modify_europeanism = 0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_political_power = -50
		ai_chance = {
			base = 4
		}
	}
}
country_event = { #EU member scam
	id = france_md.289
	title = france_md.289.t
	desc = france_md.289.d
	picture = GFX_eurozone_reforms
	is_triggered_only = yes

	option = {
		name = france_md.289.a
		log = "[GetDateText]: [This.GetName]: france_md.289.a executed"
		set_temp_variable = { modify_europeanism = -0.1 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		add_political_power = -50
		ai_chance = { base = 1 }
	}
}
country_event = { #proclamation empire
	id = france_md.290
	title = france_md.290.t
	desc = france_md.290.d
	picture = GFX_FRA_napoleon_coronation
	is_triggered_only = yes

	option = { #TODO change flag
		name = france_md.290.a
		log = "[GetDateText]: [This.GetName]: france_md.290.a executed"
		add_ideas = FRA_4th_empire
		set_cosmetic_tag = FRA_AUTH_S_NAP
		set_variable = { dynamic_flag_variant = 8 }
		clr_country_flag = dynamic_flag
		every_other_country = {
			country_event = france_md.523
		}
		ai_chance = {
			base = 1
		}
	}
}
country_event = {
	id = france_md.523
	title = france_md.523.t
	desc = france_md.523.d
	picture = GFX_FRA_napoleon_coronation
	is_triggered_only = yes

	trigger = { NOT = { original_tag = FRA } }

	# difficult times are coming
	option = {
		name = france_md.523.a
		log = "[GetDateText]: [This.GetName]: france_md.523.a executed"
		add_war_support = 0.025
		ai_chance = { base = 3 }
	}

	# who cares
	option = {
		name = france_md.523.b
		log = "[GetDateText]: [This.GetName]: france_md.523.b executed"
		add_stability = 0.05
		ai_chance = { base = 1 }
	}
}
country_event = { #boost nationalism
	id = france_md.291
	title = france_md.291.t
	desc = france_md.291.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes

	option = {
		name = france_md.291.a
		log = "[GetDateText]: [This.GetName]: france_md.291.a executed"
		set_temp_variable = { modify_europeanism = -0.15 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_timed_idea = { idea = FRA_nationalism_in_europe days = 365 }
		add_war_support = 0.15
		add_stability = -0.05
		add_political_power = 150
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = has_expressed_loyalty }
		}
		add_opinion_modifier = { target = FRA modifier = has_expressed_loyalty }
		ai_chance = {
			base = 4
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 10 }
			}
		}
	}

	option = {
		name = france_md.291.b
		log = "[GetDateText]: [This.GetName]: france_md.291.b executed"
		set_temp_variable = { modify_europeanism = 0.05 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_timed_idea = { idea = FRA_nationalism_in_europe days = 365 }
		add_war_support = 0.05
		add_stability = 0.05
		add_political_power = 150
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = major_breach_of_trust }
		}
		ai_chance = { base = 2 }
	}
}
country_event = { #debuff non nationalism
	id = france_md.292
	title = france_md.292.t
	desc = france_md.292.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes

	option = {
		name = france_md.292.a
		log = "[GetDateText]: [This.GetName]: france_md.292.a executed"
		set_temp_variable = { modify_europeanism = 0.1 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		add_timed_idea = { idea = FRA_nationalism_in_europe days = 365 }
		add_war_support = -0.1
		add_stability = -0.15
		ai_chance = { base = 1 }
	}
}
country_event = { #surrounded by ennemy
	id = france_md.293
	title = france_md.293.t
	desc = france_md.293.d
	picture = GFX_german_army
	is_triggered_only = yes

	option = { #thanks
		name = france_md.293.a
		log = "[GetDateText]: [This.GetName]: france_md.293.a executed"
		add_war_support = 0.2
		add_stability = -0.1
		add_ideas = FRA_surrounded
		every_other_country = {
			limit = {
				OR = {
					is_in_faction_with = ENG
					original_tag = ENG
				}
			}
			FRA = {
				diplomatic_relation = {
					country = FROM
					relation = military_access
					active = no
				}
			}
		}
		if = {
			limit = { has_idea = slightly_regulated_immigration }
			swap_ideas = {
				remove_idea = slightly_regulated_immigration
				add_idea = closed_borders
			}
		}
		else_if = {
			limit = { has_idea = heavily_regulated_immigration }
			swap_ideas = {
				remove_idea = heavily_regulated_immigration
				add_idea = closed_borders
			}
		}
		else_if = {
			limit = { has_idea = regulated_immigration }
			swap_ideas = {
				remove_idea = regulated_immigration
				add_idea = closed_borders
			}
		}
		else = {
			add_political_power = 150
		}
		ai_chance = {
			base = 1
		}
	}
}
country_event = {
	id = france_md.294
	title = france_md.294.t
	desc = france_md.294.d
	picture = GFX_bonaparte_restoration
	is_triggered_only = yes

	option = {
		name = france_md.294.a
		log = "[GetDateText]: [This.GetName]: france_md.294.a executed"
		add_war_support = 0.1
		add_stability = -0.05
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
				limit = { is_faction_leader = yes }
				FRA = { add_to_faction = ROOT }
			}
			else = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
				}
				ROOT = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = {
		name = france_md.294.b
		log = "[GetDateText]: [This.GetName]: france_md.294.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.1
		ENG = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = ROOT
			}
		}
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = major_breach_of_trust }
		}
		ai_chance = { base = 1 }
	}
}
country_event = { #propose alliance to all communist state
	id = france_md.295
	title = france_md.295.t
	desc = france_md.295.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = { #we join
		name = france_md.295.a
		log = "[GetDateText]: [This.GetName]: france_md.295.a executed"
		add_war_support = 0.05
		add_stability = 0.05
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
					limit = { is_faction_leader = yes }
					FRA = { add_to_faction = PREV }
			}
			else = {
				diplomatic_relation = {
					country = PREV
					relation = guarantee
				}
				PREV = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = { #no
		name = france_md.295.b
		log = "[GetDateText]: [This.GetName]: france_md.295.b executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.05
		FRA = {
			add_opinion_modifier = { target = PREV modifier = betrayed_our_cause }
		}
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #attack rival countries
	id = france_md.296
	title = france_md.296.t
	desc = france_md.296.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	option = { #the time has come
		name = france_md.296.a
		log = "[GetDateText]: [This.GetName]: france_md.296.a executed"
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		set_country_flag = FRA_fast_expansion
		custom_effect_tooltip = FRA_awaited_war_tt
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		every_other_country = {
			limit = {
				is_in_europe = yes
				is_neighbor_of = FRA
				NOT = {
					OR = {
						is_in_faction_with = ENG
						is_in_faction_with = FRA
						original_tag = ENG
					}
				}
			}
			country_event = { id = france_md.298 days = 25 }
			add_opinion_modifier = {
				target = FRA
				modifier = violated_territorial_sovereignty
			}
			FRA = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
					active = no
				}
				diplomatic_relation = {
					country = ROOT
					relation = military_access
					active = no
				}
				diplomatic_relation = {
					country = ROOT
					relation = non_aggression_pact
					active = no
				}
			}
		}
		ENG = {
			country_event = { id = france_md.297 days = 10 }
			add_opinion_modifier = {
				target = FRA
				modifier = violated_territorial_sovereignty
			}
			diplomatic_relation = {
				country = FRA
				relation = guarantee
				active = no
			}
			FRA = {
				diplomatic_relation = {
					country = ENG
					relation = guarantee
					active = no
				}
				diplomatic_relation = {
					country = ENG
					relation = military_access
					active = no
				}
			}
			diplomatic_relation = {
				country = FRA
				relation = military_access
				active = no
			}
			diplomatic_relation = {
				country = FRA
				relation = non_aggression_pact
				active = no
			}
			FRA = {
				diplomatic_relation = {
					country = ENG
					relation = non_aggression_pact
					active = no
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 2
				OR = {
					has_idea = great_power
					has_idea = large_power
					has_idea = super_power
				}
			}
		}
	}

	option = { #we shall remain cautious
		name = france_md.296.b
		log = "[GetDateText]: [This.GetName]: france_md.296.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.15
		add_war_support = -0.05
		add_timed_idea = { #our time will come
				idea = FRA_prepare_to_fight
				days = 1825
		}
		ai_chance = {
			base = 4
		}
	}
}
country_event = { #UK react to french attack make a faction rule
	id = france_md.297
	title = france_md.297.t
	desc = france_md.297.d
	picture = GFX_terrorist_attack
	is_triggered_only = yes

	option = { #we will guarantee them
		name = france_md.297.a
		log = "[GetDateText]: [This.GetName]: france_md.297.a executed"
		add_war_support = 0.1
		add_stability = -0.15
		add_political_power = -150
		add_manpower = -20
		every_other_country = {
			limit = {
				is_in_europe = yes
				is_neighbor_of = FRA
				NOT = {
					OR = {
						is_in_faction_with = FRA
						original_tag = FRA
					}
				}
			}
			ENG = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
					active = yes
				}
			}
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 2
				OR = {
					has_idea = great_power
					has_idea = large_power
					has_idea = super_power
				}
			}
		}
	}

	option = { #we will prepare our defense
		name = france_md.297.b
		log = "[GetDateText]: [This.GetName]: france_md.297.b executed"
		add_war_support = 0.1
		add_stability = -0.15
		add_political_power = -150
		add_manpower = -20
		add_timed_idea = { #defensive preparedness
				idea = FRA_defense_napoleon
				days = 365
		}
		ai_chance = {
			base = 4
		}
	}
}
country_event = { #other react to french attack
	id = france_md.298
	title = france_md.298.t
	desc = france_md.298.d
	picture = GFX_ecu_army
	is_triggered_only = yes

	option = { #we will join britain
		name = france_md.298.a
		log = "[GetDateText]: [This.GetName]: france_md.298.a executed"
		add_war_support = 0.1
		add_stability = -0.15
		add_political_power = -150
		add_manpower = -15
		diplomatic_relation = {
			country = FRA
			relation = military_access
			active = no
		}
		diplomatic_relation = {
			country = FRA
			relation = non_aggression_pact
			active = no
		}
		diplomatic_relation = {
			country = FRA
			relation = guarantee
			active = no
		}
		diplomatic_relation = {
			country = ENG
			relation = guarantee
			active = yes
		}
		ENG = {
			country_event = france_md.299
		}
		ai_chance = {
			base = 1
		}
	}

	option = {
		name = france_md.298.b
		log = "[GetDateText]: [This.GetName]: france_md.298.b executed"
		add_war_support = 0.1
		add_stability = -0.15
		add_political_power = -150
		add_manpower = -15
		diplomatic_relation = {
			country = FRA
			relation = military_access
			active = no
		}
		diplomatic_relation = {
			country = FRA
			relation = non_aggression_pact
			active = no
		}
		diplomatic_relation = {
			country = FRA
			relation = guarantee
			active = no
		}
		add_timed_idea = {
				idea = FRA_defense_napoleon
				days = 365
		}
		ai_chance = { base = 4 }
	}

	option = { #its fine
		name = france_md.298.c
		log = "[GetDateText]: [This.GetName]: france_md.298.c executed"
		add_war_support = 0.1
		add_stability = -0.05
		add_political_power = -150
		add_manpower = -15
		ai_chance = {
			base = 2
		}
	}
}
country_event = {
	id = france_md.299
	title = france_md.299.t
	desc = france_md.299.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.299.a
		log = "[GetDateText]: [This.GetName]: france_md.299.a executed"
		if = { limit = { is_faction_leader = yes }
			add_to_faction = FROM
		}
		else = {
			diplomatic_relation = {
				country = FROM
				relation = guarantee
				active = yes
			}
		}
		ai_chance = {
			base = 2
			modifier = {
				add = 1
				has_opinion = { target = FROM value > 80 }
			}
		}
	}

	option = {
		name = france_md.299.b
		log = "[GetDateText]: [This.GetName]: france_md.299.b executed"
		FROM = {
			add_opinion_modifier = { target = ENG modifier = major_breach_of_trust }
		}
		add_political_power = 50
		ai_chance = {
			base = 1.1
			modifier = {
				add = 1
				has_government = nationalist
			}
		}
	}
}
country_event = {
	id = france_md.300
	title = france_md.300.t
	desc = france_md.300.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = { #we join
		name = france_md.300.a
		log = "[GetDateText]: [This.GetName]: france_md.300.a executed"
		add_war_support = 0.1
		add_stability = -0.025
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
				limit = { is_faction_leader = yes }
				FRA = { add_to_faction = FROM }
			}
			else = {
				diplomatic_relation = {
					country = FROM
					relation = guarantee
				}
				FROM = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 2
				has_government = nationalist
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = {
		name = france_md.300.b
		log = "[GetDateText]: [This.GetName]: france_md.300.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_stability = 0.05
		ENG = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = ROOT
			}
		}
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = major_breach_of_trust }
		}
		ai_chance = { base = 2 }
	}
}
country_event = {
	id = france_md.301
	title = france_md.301.t
	desc = france_md.301.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.301.a
		log = "[GetDateText]: [This.GetName]: france_md.301.a executed"
		add_war_support = 0.1
		add_stability = -0.025
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
					limit = { is_faction_leader = yes }
					add_to_faction = FROM
			}
			else = {
				diplomatic_relation = {
					country = FROM
					relation = guarantee
				}
				ROOT = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 2
				has_government = nationalist
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = {
		name = france_md.301.b
		log = "[GetDateText]: [This.GetName]: france_md.301.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_stability = 0.05
		ENG = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = FROM
			}
		}
		FRA = {
			add_opinion_modifier = { target = FROM modifier = major_breach_of_trust }
		}
		ai_chance = { base = 2 }
	}
}
country_event = {
	id = france_md.302
	title = france_md.302.t
	desc = france_md.302.desc
	picture = GFX_USA_generic
	is_triggered_only = yes

	option = { #invite to alliance
		name = france_md.302.a
		log = "[GetDateText]: [This.GetName]: france_md.302.a executed"
		add_stability = 0.075
		add_war_support = -0.05
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		USA = {
			country_event = france_md.303
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 1
				USA = { has_government = nationalist }
			}
			modifier = {
				add = 1
				has_opinion = { target = USA value > 50 }
			}
		}
	}

	option = {
		name = france_md.302.b
		log = "[GetDateText]: [This.GetName]: france_md.302.b executed"
		add_stability = 0.05
		USA = { country_event = france_md.304 }
		ai_chance = {
			base = 3
			modifier = {
				add = 1
				USA = { has_government = nationalist }
			}
			modifier = {
				add = 1
				has_opinion = { target = USA value > 50 }
			}
		}
	}

	option = {
		name = france_md.302.c
		log = "[GetDateText]: [This.GetName]: france_md.302.c executed"
		add_stability = -0.05
		add_war_support = 0.15
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		add_timed_idea = { idea = FRA_thousands_planes days = 730 }
		USA = {
			add_opinion_modifier = { target = FRA modifier = major_breach_of_trust }
		}
		ai_chance = {
			base = 4
			modifier = {
				add = 2
				OR = {
					has_idea = great_power
					has_idea = large_power
					has_idea = super_power
				}
			}
		}
	}

	option = {
		name = france_md.302.d
		log = "[GetDateText]: [This.GetName]: france_md.302.d executed"
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.303
	title = france_md.303.t
	desc = france_md.303.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	option = {
		name = france_md.303.a
		log = "[GetDateText]: [This.GetName]: france_md.303.a executed"
		add_war_support = 0.15
		add_stability = -0.1
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
				limit = { is_faction_leader = yes }
				add_to_faction = PREV
			}
			else = {
				diplomatic_relation = {
					country = PREV
					relation = guarantee
				}
				PREV = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		ENG = {
			add_opinion_modifier = { target = USA modifier = major_breach_of_trust }
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 2
				has_government = nationalist
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = { #no
		name = france_md.303.b
		log = "[GetDateText]: [This.GetName]: france_md.303.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.15
		ENG = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = USA
			}
		}
		FRA = {
			add_opinion_modifier = { target = USA modifier = major_breach_of_trust }
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 1
				has_government = democratic
			}
		}
	}
}
country_event = {
	id = france_md.304
	title = france_md.304.t
	desc = france_md.304.d
	picture = GFX_paris_convention
	is_triggered_only = yes

	option = {
		name = france_md.304.a
		log = "[GetDateText]: [This.GetName]: france_md.304.a executed"
		add_war_support = 0.05
		add_stability = 0.05
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.025 }
		set_temp_variable = { temp_outlook_increase = 0.025 }
		change_relative_party_popularity = yes
		FRA = { add_ideas = FRA_trade_USA }
		add_ideas = FRA_trade_USA
		ENG = {
			add_opinion_modifier = { target = USA modifier = major_breach_of_trust }
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 2
				has_government = nationalist
			}
		}
	}

	option = {
		name = france_md.304.b
		log = "[GetDateText]: [This.GetName]: france_md.304.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_stability = 0.1
		ENG = {
			add_opinion_modifier = {
				modifier = recent_actions_positive
				target = USA
			}
		}
		FRA = {
			add_opinion_modifier = { target = USA modifier = major_breach_of_trust }
		}
		ai_chance = {
			base = 2
			modifier = {
				add = 1
				has_government = democratic
			}
		}
	}
}
country_event = { #react frexit royalist
	id = france_md.305
	title = france_md.305.t
	desc = france_md.305.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	option = {
		name = france_md.305.a
		log = "[GetDateText]: [This.GetName]: france_md.305.a executed"
		set_temp_variable = { modify_europeanism = -0.15 }
		set_temp_variable = { modify_europeanism_target = THIS.id }
		europeanism_change = yes
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = { #boost monarch families nice
	id = france_md.306
	title = france_md.306.t
	desc = france_md.306.d
	picture = GFX_proposition_of_the_monarch
	is_triggered_only = yes

	option = {
		name = france_md.306.a
		log = "[GetDateText]: [This.GetName]: france_md.306.a executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		add_stability = 0.1
		add_political_power = 150
		ai_chance = { base = 1 }
	}
}
country_event = { #boost monarch families uncool
	id = france_md.307
	title = france_md.307.t
	desc = france_md.307.d
	picture = GFX_proposition_of_the_monarch
	is_triggered_only = yes

	option = {
		name = france_md.307.a
		log = "[GetDateText]: [This.GetName]: france_md.307.a executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_stability = -0.075
		add_political_power = -50
		ai_chance = { base = 1 }
	}
}
country_event = { #propose alliance to all eu christian
	id = france_md.308
	title = france_md.308.t
	desc = france_md.308.d
	picture = GFX_FRA_crusade
	is_triggered_only = yes

	option = { #we join
		name = france_md.308.a
		log = "[GetDateText]: [This.GetName]: france_md.308.a executed"
		add_stability = 0.1
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
					limit = { is_faction_leader = yes }
					add_to_faction = PREV
			}
			else = {
				diplomatic_relation = {
					country = PREV
					relation = guarantee
				}
				PREV = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		set_temp_variable = { temp_opinion = 5 }
		change_the_clergy_opinion = yes
		ai_chance = {
			base = 4
			modifier = {
				add = 2
				has_government = nationalist
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = { #no
		name = france_md.308.b
		log = "[GetDateText]: [This.GetName]: france_md.308.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = -0.05
		FRA = {
			add_opinion_modifier = { target = PREV modifier = betrayed_our_cause }
		}
		set_temp_variable = { temp_opinion = -5 }
		change_the_clergy_opinion = yes
		ai_chance = {
			base = 3
		}
	}
}
country_event = { #plan to reach jerusalem
	id = france_md.309
	title = france_md.309.t
	desc = france_md.309.d
	picture = GFX_FRA_crusade
	is_triggered_only = yes

	option = { #diplomacy_first and ground invasion
		name = france_md.309.a
		log = "[GetDateText]: [This.GetName]: france_md.309.a executed"
		LEB = {
			country_event = france_md.310
		}
		ai_chance = {
			base = 5
		}
	}

	option = { #buildup navy
		name = france_md.309.b
		log = "[GetDateText]: [This.GetName]: france_md.309.b executed"
		add_war_support = 0.05
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		set_country_flag = FRA_crusade_prepared_navy
		custom_effect_tooltip = FRA_crusade_prepared_navy_tt
		set_temp_variable = { temp_opinion = 10 }
		change_maritime_industry_opinion = yes
		ai_chance = {
			base = 3
		}
	}
}
country_event = { #france ask us to be puppet
	id = france_md.310
	title = france_md.310.t
	desc = france_md.310.d
	picture = GFX_FRA_intervention
	is_triggered_only = yes

	option = { #yes
		name = france_md.310.a
		log = "[GetDateText]: [This.GetName]: france_md.310.a executed"
		custom_effect_tooltip = FRA_crusade_prepared_tt
		FRA = {
			country_event = france_md.311
		}
		ai_chance = {
			base = 5
			modifier = {
				add = 1
				FRA = {
					OR = {
						has_idea = great_power
						has_idea = large_power
						has_idea = super_power
					}
				}
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 80 }
			}
		}
	}

	option = { #no
		name = france_md.310.b
		log = "[GetDateText]: [This.GetName]: france_md.310.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_stability = -0.15
		add_war_support = 0.1
		FRA = {
			country_event = france_md.312
		}
		ai_chance = {
			base = 3
		}
	}
}
country_event = { #leb accept
	id = france_md.311
	title = france_md.311.t
	desc = france_md.311.d
	picture = GFX_israeli_soldier_lebanon
	is_triggered_only = yes

	option = { #cool
		name = france_md.311.a
		log = "[GetDateText]: [This.GetName]: france_md.311.a executed"
			if = {
				limit = { NOT = { LEB = { is_subject_of = FRA } } }
				puppet = LEB
			}
			set_temp_variable = { treasury_change = -25 }
			modify_treasury_effect = yes
			set_country_flag = FRA_crusade_prepared
			custom_effect_tooltip = FRA_crusade_prepared_tt
			set_temp_variable = { temp_opinion = 5 }
			change_defense_industry_opinion = yes
			LEB = {
				set_country_flag = FRA_crusade_prepared
			}
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #leb said no
	id = france_md.312
	title = france_md.312.t
	desc = france_md.312.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { #navy buildup goes once you have Jerusalem
		name = france_md.312.a
		log = "[GetDateText]: [This.GetName]: france_md.312.a executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_war_support = 0.05
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		set_country_flag = FRA_crusade_prepared_navy
		custom_effect_tooltip = FRA_crusade_prepared_navy_tt
		set_temp_variable = { temp_opinion = 10 }
		change_maritime_industry_opinion = yes
		ai_chance = {
			base = 3
		}
	}

	option = { #political preassure goes if syria and leb dont exist or puppet
		name = france_md.312.b
		log = "[GetDateText]: [This.GetName]: france_md.312.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = 0.1
		add_ideas = FRA_political_preassure
		ai_chance = {
			base = 2
		}
	}
}
country_event = { #france ask us to be puppet and red
	id = france_md.313
	title = france_md.313.t
	desc = france_md.313.d
	picture = GFX_FRA_intervention
	is_triggered_only = yes

	option = { #yes
		name = france_md.313.a
		log = "[GetDateText]: [This.GetName]: france_md.313.a executed"
		FRA = {
			country_event = france_md.314
		}
		ai_chance = {
			base = 2
			modifier = {
				add = 2
				has_government = communism
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 80 }
			}
		}
	}

	option = { #no
		name = france_md.313.b
		log = "[GetDateText]: [This.GetName]: france_md.313.b executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_stability = -0.15
		add_war_support = 0.1
		FRA = {
			country_event = france_md.315
		}
		ai_chance = {
			base = 3
		}
	}
}
country_event = { #target accept
	id = france_md.314
	title = france_md.314.t
	desc = france_md.314.d
	picture = GFX_april_revolution_10
	is_triggered_only = yes

	option = { #cool
		name = france_md.314.a
		log = "[GetDateText]: [This.GetName]: france_md.314.a executed"
			if = {
				limit = { NOT = { FROM = { is_subject_of = FRA } } }
				puppet = FROM
			}
			FROM = {
				hidden_effect = {
					clear_array = gov_coalition_array
					set_variable = { ruling_party = 4 }
					update_government_coalition_strength = yes
					set_leader = yes
					set_politics = {
						ruling_party = communism
						elections_allowed = no
					}
				}
			}
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #target said no
	id = france_md.315
	title = france_md.315.t
	desc = france_md.315.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { #wargoal
		name = france_md.315.a
		log = "[GetDateText]: [This.GetName]: france_md.315.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_war_support = 0.05
		create_wargoal = {
			type = puppet_wargoal_focus
			target = FROM
		}
		ai_chance = {
			base = 5
		}
	}

	option = { #nothing
		name = france_md.315.b
		log = "[GetDateText]: [This.GetName]: france_md.315.b executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_political_power = -50
		ai_chance = {
			base = 3
		}
	}
}
country_event = { #european_commonwealth
	id = france_md.316
	title = france_md.316.t
	desc = france_md.316.d
	picture = GFX_FRA_communist_europe
	is_triggered_only = yes

	option = { #wargoal
		name = france_md.316.a
		log = "[GetDateText]: [This.GetName]: france_md.316.a executed"
		add_ideas = FRA_commie_europe_integration
		set_cosmetic_tag = FRA_internationale_worker
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #attack benelux
	id = france_md.317
	title = france_md.317.t
	desc = france_md.317.d
	picture = GFX_FRA_war_preparations
	is_triggered_only = yes

	option = {
		name = france_md.317.a
		log = "[GetDateText]: [This.GetName]: france_md.317.a executed"
		add_manpower = 10000
		add_war_support = 0.05
		add_timed_idea = { idea = FRA_attack_benelux days = 70 }
		ai_chance = { base = 1 }
	}
}
country_event = { #attack iberia
	id = france_md.318
	title = france_md.318.t
	desc = france_md.318.d
	picture = GFX_FRA_mountain_exercises
	is_triggered_only = yes

	option = {
		name = france_md.318.a
		log = "[GetDateText]: [This.GetName]: france_md.318.a executed"
		add_manpower = 15000
		add_war_support = 0.075
		add_timed_idea = { idea = FRA_attack_iberia days = 100 }
		add_ideas = FRA_counter_insurgency
		ai_chance = { base = 1 }
	}
}
country_event = { #attack germany
	id = france_md.319
	title = france_md.319.t
	desc = france_md.319.d
	picture = GFX_FRA_war_preparations
	is_triggered_only = yes

	option = {
		name = france_md.319.a
		log = "[GetDateText]: [This.GetName]: france_md.319.a executed"
		add_manpower = 20000
		add_war_support = 0.1
		add_timed_idea = { idea = FRA_attack_germany days = 130 }
		ai_chance = { base = 1 }
	}
}
country_event = { #attack mid europe
	id = france_md.320
	title = france_md.320.t
	desc = france_md.320.d
	picture = GFX_FRA_mountain_exercises
	is_triggered_only = yes

	option = {
		name = france_md.320.a
		log = "[GetDateText]: [This.GetName]: france_md.320.a executed"
		add_manpower = 15000
		add_war_support = 0.1
		add_timed_idea = { idea = FRA_attack_holy_roman days = 150 }
		ai_chance = { base = 1 }
	}
}
country_event = { #french provide support
	id = france_md.321
	title = france_md.321.t
	desc = france_md.321.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = {
		name = france_md.321.a
		log = "[GetDateText]: [This.GetName]: france_md.321.a executed"
		add_manpower = 15000
		add_war_support = 0.1
		add_timed_idea = { idea = FRA_BON_support_allies days = 300 }
		ai_chance = { base = 1 }
	}
}
country_event = { #attack eastern
	id = france_md.322
	title = france_md.322.t
	desc = france_md.322.d
	picture = GFX_FRA_war_preparations
	is_triggered_only = yes

	option = {
		name = france_md.322.a
		log = "[GetDateText]: [This.GetName]: france_md.322.a executed"
		add_manpower = 20000
		add_war_support = 0.12
		add_timed_idea = { idea = FRA_attack_east days = 200 }
		ai_chance = { base = 1 }
	}
}
country_event = { #attack russia and neightbor
	id = france_md.475
	title = france_md.475.t
	desc = france_md.475.d
	picture = GFX_FRA_russian_campaign
	is_triggered_only = yes

	option = {
		name = france_md.475.a
		log = "[GetDateText]: [This.GetName]: france_md.475.a executed"
		add_manpower = 50000
		add_war_support = 0.15
		add_timed_idea = { idea = FRA_attack_russia_fast days = 150 }
		ai_chance = { base = 5 }
	}

	option = {
		name = france_md.475.b
		log = "[GetDateText]: [This.GetName]: france_md.475.b executed"
		add_manpower = 50000
		add_war_support = 0.15
		add_timed_idea = { idea = FRA_attack_russia_slow days = 365 }
		ai_chance = {
			base = 4
			modifier = {
				add = 2
				SOV = {
					has_idea = large_power
					has_idea = super_power
				}
			}
		}
	}
}
country_event = { #attack UK
	id = france_md.476
	title = france_md.476.t
	desc = france_md.476.d
	picture = GFX_carrier
	is_triggered_only = yes

	option = {
		name = france_md.476.a
		log = "[GetDateText]: [This.GetName]: france_md.476.a executed"
		add_manpower = 20000
		add_war_support = 0.1
		add_timed_idea = { idea = FRA_attack_UK_naval days = 130 }
		ai_chance = { base = 5 }
	}

	option = {
		name = france_md.476.b
		log = "[GetDateText]: [This.GetName]: france_md.476.b executed"
		add_manpower = 20000
		add_war_support = 0.1
		add_timed_idea = { idea = FRA_attack_UK_air days = 130 }
		ai_chance = {
			base = 6
			modifier = {
				add = 2
				OR = {
					has_idea = FRA_army_reformed_air_cavalry
					has_idea = FRA_army_reformed_air_infantry
				}
			}
		}
	}
}
country_event = { #victory napoleon
	id = france_md.477
	title = france_md.477.t
	desc = france_md.477.d
	picture = GFX_FRA_napoleonic_empire
	is_triggered_only = yes

	option = {
		name = france_md.477.a
		log = "[GetDateText]: [This.GetName]: france_md.477.a executed"
		add_stability = 0.3
		add_war_support = 0.2
		add_ideas = FRA_BON_victory
		ai_chance = { base = 1 }
	}
}
#TODO give king some traits about their model
country_event = { #choose expansion policy
	id = france_md.478
	title = france_md.478.t
	desc = france_md.478.d
	picture = GFX_FRA_eldest_daughter_of_the_church
	is_triggered_only = yes

	option = { #become charlemagne attack europe
		name = france_md.478.a
		log = "[GetDateText]: [This.GetName]: france_md.478.a executed"
		add_ideas = FRA_expansion_europe
		ai_chance = {
			base = 4
		}
	}

	option = { #become saint louis start crusadind around
		name = france_md.478.b
		log = "[GetDateText]: [This.GetName]: france_md.478.b executed"
		add_ideas = FRA_expansion_crusades
		ai_chance = {
			base = 3
		}
	}
}
country_event = { #france demand annexation
	id = france_md.479
	title = france_md.479.t
	desc = france_md.479.d
	picture = GFX_FRA_intervention
	is_triggered_only = yes

	option = { #yes
		name = france_md.479.a
		log = "[GetDateText]: [This.GetName]: france_md.479.a executed"
		FRA = {
			country_event = france_md.480
		}
		ai_chance = {
			base = 3
			modifier = {
				add = 10
				is_subject_of = FRA
			}
		}
	}

	option = { #no
		name = france_md.479.b
		log = "[GetDateText]: [This.GetName]: france_md.479.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_stability = -0.15
		add_war_support = 0.1
		FRA = {
			country_event = france_md.481
		}
		ai_chance = {
			base = 6
		}
	}
}
country_event = { #target accept
	id = france_md.480
	title = france_md.480.t
	desc = france_md.480.d
	picture = GFX_FRA_coup
	is_triggered_only = yes

	option = { #cool
		name = france_md.480.a
		log = "[GetDateText]: [This.GetName]: france_md.480.a executed"
			annex_country = {
				target = FROM
				transfer_troops = yes
			}
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #target said no
	id = france_md.481
	title = france_md.481.t
	desc = france_md.481.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { #wargoal
		name = france_md.481.a
		log = "[GetDateText]: [This.GetName]: france_md.481.a executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_war_support = 0.05
		create_wargoal = {
			type = annex_everything
			target = FROM
		}
		ai_chance = {
			base = 3
		}
	}

	option = { #nothing
		name = france_md.481.b
		log = "[GetDateText]: [This.GetName]: france_md.481.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		add_political_power = -25
		add_stability = 0.05
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #france demand we fold italy
	id = france_md.482
	title = france_md.482.t
	desc = france_md.482.d
	picture = GFX_FRA_intervention
	is_triggered_only = yes

	option = { #yes
		name = france_md.482.a
		log = "[GetDateText]: [This.GetName]: france_md.482.a executed"
		effect_tooltip = {
			1060 = { transfer_state_to = FRA }
			1059 = { transfer_state_to = FRA }
			77 = { transfer_state_to = FRA }
			80 = { transfer_state_to = FRA }
			78 = { transfer_state_to = FRA }
			285 = { transfer_state_to = FRA }
			265 = { transfer_state_to = FRA }
			1061 = { transfer_state_to = FRA }
			79 = { transfer_state_to = FRA }
		}
		FRA = {
			IF = {
				limit = { NOT = { ITA = { is_subject_of = FRA } } }
				puppet = ITA
			}
		}
		hidden_effect = {
			clear_array = gov_coalition_array
			set_variable = { ruling_party = 23 }
			update_government_coalition_strength = yes
			set_leader = yes
			set_politics = {
				ruling_party = nationalist
				elections_allowed = no
				}
			}
		ai_chance = {
			base = 1
			modifier = {
				add = 5
				is_subject_of = FRA
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 90 }
			}
		}
	}

	option = { #no
		name = france_md.482.b
		log = "[GetDateText]: [This.GetName]: france_md.482.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_stability = -0.15
		add_war_support = 0.1
		FRA = {
			country_event = france_md.481
		}
		ai_chance = {
			base = 4
		}
	}
}
country_event = { #target said no fold or alliance
	id = france_md.483
	title = france_md.483.t
	desc = france_md.483.d
	picture = GFX_declined_offer_no
	is_triggered_only = yes

	option = { #wargoal
		name = france_md.483.a
		log = "[GetDateText]: [This.GetName]: france_md.483.a executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_war_support = 0.02
		create_wargoal = {
			target = FROM
			type = puppet_wargoal_focus
		}
		ai_chance = {
			base = 3
		}
	}

	option = { #nothing
		name = france_md.483.b
		log = "[GetDateText]: [This.GetName]: france_md.483.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		set_temp_variable = { temp_outlook_increase = -0.01 }
		change_relative_party_popularity = yes
		add_political_power = -25
		add_stability = 0.05
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #france demand puppet
	id = france_md.484
	title = france_md.484.t
	desc = france_md.484.d
	picture = GFX_FRA_intervention
	is_triggered_only = yes

	option = { #yes
		name = france_md.484.a
		log = "[GetDateText]: [This.GetName]: france_md.484.a executed"
		FRA = {
			if = {
				limit = { NOT = { FROM = { is_subject_of = FRA } } }
				puppet = FROM
			}
		}
		hidden_effect = {
			clear_array = gov_coalition_array
			set_variable = { ruling_party = 23 }
			update_government_coalition_strength = yes
			set_leader = yes
			set_politics = {
				ruling_party = nationalist
				elections_allowed = no
				}
			}
		ai_chance = {
			base = 2
		}
	}

	option = { #no
		name = france_md.484.b
		log = "[GetDateText]: [This.GetName]: france_md.484.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_stability = -0.15
		add_war_support = 0.1
		FRA = {
			country_event = france_md.483
		}
		ai_chance = {
			base = 4
		}
	}
}
country_event = { #victory charlemagne empire of occident
	id = france_md.485
	title = france_md.485.t
	desc = france_md.485.d
	picture = GFX_FRA_franks_unification
	is_triggered_only = yes

	option = {
		name = france_md.485.a
		log = "[GetDateText]: [This.GetName]: france_md.485.a executed"
		add_stability = 0.3
		add_war_support = 0.2
		add_ideas = FRA_EMPIRE_occident
		set_cosmetic_tag = FRA_Occident_Empire
		remove_ideas = FRA_expansion_europe
		ai_chance = { base = 3 }
	}

	option = {
		name = france_md.485.b
		log = "[GetDateText]: [This.GetName]: france_md.485.a executed"
		add_war_support = 0.1
		add_ideas = FRA_EMPIRE_occident
		remove_ideas = FRA_expansion_europe
		add_ideas = FRA_expansion_europe_crusades
		ai_chance = { base = 2 }
	}
}
country_event = { #france demand road to jerusalem
	id = france_md.486
	title = france_md.486.t
	desc = france_md.486.d
	picture = GFX_FRA_intervention
	is_triggered_only = yes

	option = { #yes
		name = france_md.486.a
		log = "[GetDateText]: [This.GetName]: france_md.486.a executed"
		effect_tooltip = {
			81 = { transfer_state_to = FRA }
			84 = { transfer_state_to = FRA }
			83 = { transfer_state_to = FRA }
		}
		FRA = {
			if = {
				limit = { NOT = { ITA = { is_subject_of = FRA } } }
				puppet = ITA
			}
		}
		hidden_effect = {
			clear_array = gov_coalition_array
			set_variable = { ruling_party = 23 }
			update_government_coalition_strength = yes
			set_leader = yes
			set_politics = {
				ruling_party = nationalist
				elections_allowed = no
				}
			}
		ai_chance = {
			base = 1
			modifier = {
				add = 5
				is_subject_of = FRA
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 80 }
			}
		}
	}

	option = { #no
		name = france_md.486.b
		log = "[GetDateText]: [This.GetName]: france_md.486.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		add_stability = -0.15
		add_war_support = 0.1
		FRA = {
			country_event = france_md.483
		}
		ai_chance = {
			base = 3
		}
	}
}
# add a trait instead of idea for victors
country_event = { #victory saint louis kingdom of jerusalem
	id = france_md.487
	title = france_md.487.t
	desc = france_md.487.d
	picture = GFX_FRA_crusade
	is_triggered_only = yes

	option = { #call for 11th crusade over protestantism and orthodox
		name = france_md.487.a
		log = "[GetDateText]: [This.GetName]: france_md.487.a executed"
		add_stability = 0.15
		add_war_support = 0.15
		add_ideas = FRA_crusade_done_jerusalem
		remove_ideas = FRA_expansion_crusades
		add_ideas = FRA_expansion_crusades_plus
		ai_chance = {
			base = 3
		}
	}

	option = { #im fine for now
		name = france_md.487.b
		log = "[GetDateText]: [This.GetName]: france_md.487.b executed"
		add_stability = 0.3
		add_war_support = 0.2
		add_ideas = FRA_crusade_done_jerusalem
		remove_ideas = FRA_expansion_crusades
		ai_chance = {
			base = 1
		}
	}
}
country_event = { #alliance or war
	id = france_md.488
	title = france_md.488.t
	desc = france_md.488.d
	picture = GFX_politics_autocracy
	is_triggered_only = yes

	option = { #we join
		name = france_md.488.a
		log = "[GetDateText]: [This.GetName]: france_md.488.a executed"
		add_stability = 0.15
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		set_temp_variable = { temp_outlook_increase = 0.15 }
		change_relative_party_popularity = yes
		FRA = {
			if = {
					limit = { is_faction_leader = yes }
					FRA = { add_to_faction = ROOT }
			}
			else = {
				diplomatic_relation = {
					country = ROOT
					relation = guarantee
				}
				ROOT = {
					diplomatic_relation = {
						country = FRA
						relation = guarantee
					}
				}
			}
		}
		set_temp_variable = { temp_opinion = 5 }
		change_the_clergy_opinion = yes
		ai_chance = {
			base = 3
			modifier = {
				add = 1
				has_government = nationalist
			}
			modifier = {
				add = 1
				has_opinion = { target = FRA value > 50 }
			}
		}
	}

	option = { #no
		name = france_md.488.b
		log = "[GetDateText]: [This.GetName]: france_md.488.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_stability = -0.05
		FRA = {
			add_opinion_modifier = { target = FROM modifier = betrayed_our_cause }
			country_event = france_md.483
		}
		set_temp_variable = { temp_opinion = -5 }
		change_the_clergy_opinion = yes
		ai_chance = {
			base = 2
			modifier = {
				add = 2
				OR = {
					has_idea = great_power
					has_idea = large_power
					has_idea = super_power
				}
			}
		}
	}
}
#same give a trait instead of an idea for victory
country_event = { #victory saint louis on europe
	id = france_md.489
	title = france_md.489.t
	desc = france_md.489.d
	picture = GFX_FRA_eldest_daughter_of_the_church
	is_triggered_only = yes

	option = { #convert europe
		name = france_md.489.a
		log = "[GetDateText]: [This.GetName]: france_md.489.a executed"
		add_stability = 0.2
		add_war_support = 0.1
		remove_ideas = FRA_expansion_crusades_plus
		add_ideas = FRA_victory_crusade_2_conversion
		every_subject_country = {
			add_ideas = FRA_harsh_subjugation
		}
		ai_chance = {
			base = 4
		}
	}

	option = { #they will see the light
		name = france_md.489.b
		log = "[GetDateText]: [This.GetName]: france_md.489.b executed"
		add_stability = 0.2
		add_war_support = 0.1
		remove_ideas = FRA_expansion_crusades
		add_ideas = FRA_victory_crusade_2_freedom_light
		every_subject_country = {
			add_ideas = FRA_enlightment
		}
		ai_chance = {
			base = 3
		}
	}
}
#TODO give cosmetic tag and change color
country_event = { #integration of natural border
	id = france_md.490
	title = france_md.490.t
	desc = france_md.490.d
	picture = GFX_FRA_natural_borders
	is_triggered_only = yes

	option = {
		name = france_md.490.a
		log = "[GetDateText]: [This.GetName]: france_md.490.a executed"
		add_war_support = 0.15
		47 = { add_core_of = FRA }
		50 = { add_core_of = FRA }
		51 = { add_core_of = FRA }
		52 = { add_core_of = FRA }
		965 = { add_core_of = FRA }
		53 = { add_core_of = FRA }
		40 = { add_core_of = FRA }
		966 = { add_core_of = FRA }
		967 = { add_core_of = FRA }
		ai_chance = { base = 1 }
	}
}
country_event = { #integration of frank
	id = france_md.491
	title = france_md.491.t
	desc = france_md.491.d
	picture = GFX_FRA_franks_unification
	is_triggered_only = yes

	option = {
		name = france_md.491.a
		log = "[GetDateText]: [This.GetName]: france_md.491.a executed"
		add_stability = 0.2
		47 = { add_core_of = FRA }
		50 = { add_core_of = FRA }
		51 = { add_core_of = FRA }
		52 = { add_core_of = FRA }
		965 = { add_core_of = FRA }
		53 = { add_core_of = FRA }
		40 = { add_core_of = FRA }
		966 = { add_core_of = FRA }
		72 = { add_core_of = FRA }
		ai_chance = { base = 1 }
	}
}
country_event = { #integration of carolingian empire
	id = france_md.492
	title = france_md.492.t
	desc = france_md.492.d
	picture = GFX_FRA_carolingian_empire
	is_triggered_only = yes

	option = {
		name = france_md.492.a
		log = "[GetDateText]: [This.GetName]: france_md.492.a executed"
		add_war_support = 0.15
		add_stability = 0.3
		48 = { add_core_of = FRA }
		46 = { add_core_of = FRA }
		1169 = { add_core_of = FRA }
		47 = { add_core_of = FRA }
		50 = { add_core_of = FRA }
		51 = { add_core_of = FRA }
		52 = { add_core_of = FRA }
		965 = { add_core_of = FRA }
		53 = { add_core_of = FRA }
		40 = { add_core_of = FRA }
		967 = { add_core_of = FRA }
		43 = { add_core_of = FRA }
		42 = { add_core_of = FRA }
		41 = { add_core_of = FRA }
		966 = { add_core_of = FRA }
		964 = { add_core_of = FRA }
		966 = { add_core_of = FRA }
		39 = { add_core_of = FRA }
		38 = { add_core_of = FRA }
		1080 = { add_core_of = FRA }
		37 = { add_core_of = FRA }
		539 = { add_core_of = FRA }
		45 = { add_core_of = FRA }
		1079 = { add_core_of = FRA }
		44 = { add_core_of = FRA }
		545 = { add_core_of = FRA }
		972 = { add_core_of = FRA }
		72 = { add_core_of = FRA }
		946 = { add_core_of = FRA }
		74 = { add_core_of = FRA }
		73 = { add_core_of = FRA }
		76 = { add_core_of = FRA }
		75 = { add_core_of = FRA }
		286 = { add_core_of = FRA }
		1060 = { add_core_of = FRA }
		1059 = { add_core_of = FRA }
		77 = { add_core_of = FRA }
		78 = { add_core_of = FRA }
		285 = { add_core_of = FRA }
		265 = { add_core_of = FRA }
		1061 = { add_core_of = FRA }
		79 = { add_core_of = FRA }
		80 = { add_core_of = FRA }
		88 = { add_core_of = FRA }
		1041 = { add_core_of = FRA }
		87 = { add_core_of = FRA }
		92 = { add_core_of = FRA }
		86 = { add_core_of = FRA }
		945 = { add_core_of = FRA }
		ai_chance = { base = 1 }
	}
}
country_event = { #integration of kindgom of heaven
	id = france_md.493
	title = france_md.493.t
	desc = france_md.493.d
	picture = GFX_FRA_jerusalem
	is_triggered_only = yes

	option = {
		name = france_md.493.a
		log = "[GetDateText]: [This.GetName]: france_md.493.a executed"
		add_war_support = 0.05
		add_stability = 0.35
		set_cosmetic_tag = FRA_Kingdom_Jerusalem
		929 = { add_core_of = FRA }
		81 = { add_core_of = FRA }
		84 = { add_core_of = FRA }
		83 = { add_core_of = FRA }
		85 = { add_core_of = FRA }
		145 = { add_core_of = FRA }
		202 = { add_core_of = FRA }
		553 = { add_core_of = FRA }
		203 = { add_core_of = FRA }
		189 = { add_core_of = FRA }
		571 = { add_core_of = FRA }
		188 = { add_core_of = FRA }
		186 = { add_core_of = FRA }
		184 = { add_core_of = FRA }
		185 = { add_core_of = FRA }
		204 = { add_core_of = FRA }
		207 = { add_core_of = FRA }
		206 = { add_core_of = FRA }
		209 = { add_core_of = FRA }
		208 = { add_core_of = FRA }
		205 = { add_core_of = FRA }
		201 = { add_core_of = FRA }
		587 = { add_core_of = FRA }
		213 = { add_core_of = FRA }
		214 = { add_core_of = FRA }
		215 = { add_core_of = FRA }
		216 = { add_core_of = FRA }
		1102 = { add_core_of = FRA }
		210 = { add_core_of = FRA }
		211 = { add_core_of = FRA }
		212 = { add_core_of = FRA }
		158 = { add_core_of = FRA }
		992 = { add_core_of = FRA }
		1205 = { add_core_of = FRA }
		161 = { add_core_of = FRA }
		934 = { add_core_of = FRA }
		146 = { add_core_of = FRA }
		ai_chance = { base = 1 }
	}
}

country_event = { #core napoleon empire
	id = france_md.494
	title = france_md.494.t
	desc = france_md.494.d
	picture = GFX_FRA_napoleonic_empire
	is_triggered_only = yes

	option = {
		name = france_md.494.a
		log = "[GetDateText]: [This.GetName]: france_md.494.a executed"
		add_war_support = 0.2
		add_stability = 0.15
		86 = { add_core_of = FRA }
		77 = { add_core_of = FRA }
		1060 = { add_core_of = FRA }
		1059 = { add_core_of = FRA }
		79 = { add_core_of = FRA }
		81 = { add_core_of = FRA }
		127 = { add_core_of = FRA }
		124 = { add_core_of = FRA }
		1061 = { add_core_of = FRA }
		1169 = { add_core_of = FRA }
		48 = { add_core_of = FRA }
		46 = { add_core_of = FRA }
		125 = { add_core_of = FRA }
		126 = { add_core_of = FRA }
		ai_chance = { base = 1 }
	}
}

country_event = { #attack colonies
	id = france_md.495
	title = france_md.495.t
	desc = france_md.495.d
	picture = GFX_french_troops_africa
	is_triggered_only = yes

	option = {
		name = france_md.495.a
		log = "[GetDateText]: [This.GetName]: france_md.495.a executed"
		add_manpower = 20000
		add_war_support = 0.2
		add_timed_idea = { idea = FRA_attack_colonies days = 200 }
		ai_chance = { base = 1 }
	}
}
country_event = { #france demand annexation
	id = france_md.496
	title = france_md.496.t
	desc = france_md.496.d
	picture = GFX_treaty
	is_triggered_only = yes

	option = { #yes
		name = france_md.496.a
		log = "[GetDateText]: [This.GetName]: france_md.496.a executed"
		FRA = {
			country_event = france_md.480
		}
		ai_chance = {
			base = 3
		}
	}

	option = { #no break free +annex wargoal only if is stronger than master
		name = france_md.496.b
		log = "[GetDateText]: [This.GetName]: france_md.496.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.2 }
		set_temp_variable = { temp_outlook_increase = -0.2 }
		change_relative_party_popularity = yes
		add_stability = -0.2
		add_war_support = 0.15
		FRA = {
			country_event = france_md.497
		}
		ai_chance = {
			base = 1
			modifier = {
				add = 2
				OR = {
					has_idea = great_power
					has_idea = large_power
					has_idea = super_power
				}
			}
		}
	}
}
country_event = { #target said no to annexation of puppet
	id = france_md.497
	title = france_md.497.t
	desc = france_md.497.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = { #kill them
		name = france_md.497.a
		log = "[GetDateText]: [This.GetName]: france_md.497.a executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_war_support = 0.15
		release_puppet = FROM
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_free
		}
		FROM = {
			if = { limit = { is_in_faction = yes }
				leave_faction = yes
			}
		}
		declare_war_on = {
			target = FROM
			type = annex_everything
		}
		ai_chance = {
			base = 2
		}
	}

	option = { #i'll be back
		name = france_md.497.b
		log = "[GetDateText]: [This.GetName]: france_md.497.b executed"
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = -0.025 }
		set_temp_variable = { temp_outlook_increase = -0.025 }
		change_relative_party_popularity = yes
		release_puppet = FROM
			set_autonomy = {
				target = FROM
				autonomy_state = autonomy_free
		}
		create_wargoal = {
			type = annex_everything
			target = FROM
		}
		FROM = {
			if = { limit = { is_in_faction = yes }
				leave_faction = yes
			}
		}
		add_political_power = -25
		ai_chance = {
			base = 1
		}
	}
}

#build in eu

country_event = { #invest civ
	id = france_md.498
	title = france_md.498.t
	desc = france_md.498.d
	picture = GFX_steel_mill
	is_triggered_only = yes

	option = {
		name = france_md.498.a
		log = "[GetDateText]: [This.GetName]: france_md.498.a executed"
		add_political_power = 25
		set_temp_variable = { treasury_change = -4.50 }
		modify_treasury_effect = yes
		set_temp_variable = { int_investment_change = 4.5 }
		modify_international_investment_effect = yes
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		THIS = {
			add_opinion_modifier = {
				target = ROOT
				modifier = recently_invest
			}
		}
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = industrial_complex
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS }
		europeanism_change = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		FRA = {
			add_timed_idea = {
				idea = FRA_investing_eu
				days = 70
			}
			set_temp_variable = { int_investment_change = 4 }
			modify_international_investment_effect = yes
		}
		ai_chance = { base = 8 }
	}

	option = {
		name = france_md.498.b
		log = "[GetDateText]: [This.GetName]: france_md.498.b executed"
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
			set_temp_variable = { treasury_change = 4 }
			modify_treasury_effect = yes
		}
		ai_chance = { base = 2 }
	}
}
country_event = { #invest infrastructure
	id = france_md.499
	title = france_md.499.t
	desc = france_md.499.d
	picture = GFX_generic_train_event
	is_triggered_only = yes

	option = {
		name = france_md.499.a
		log = "[GetDateText]: [This.GetName]: france_md.499.a executed"
		add_political_power = 25
		set_temp_variable = { treasury_change = -2.5 }
		modify_treasury_effect = yes
		set_temp_variable = { int_investment_change = 2.5 }
		modify_international_investment_effect = yes
		set_temp_variable = { percent_change = 2 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		THIS = {
			add_opinion_modifier = {
				target = ROOT
				modifier = recently_invest
			}
		}
		random_owned_controlled_state = {
			limit = { infrastructure < 5 }
			add_building_construction = {
				type = infrastructure
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = { modify_europeanism = -0.025 }
		set_temp_variable = { modify_europeanism_target = THIS }
		europeanism_change = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		FRA = {
			add_timed_idea = {
				idea = FRA_investing_eu
				days = 70
			}
			set_temp_variable = { int_investment_change = 3 }
			modify_international_investment_effect = yes
		}
		ai_chance = { base = 8 }
	}

	option = {
		name = france_md.499.b
		log = "[GetDateText]: [This.GetName]: france_md.499.b executed"
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
			set_temp_variable = { treasury_change = 3 }
			modify_treasury_effect = yes
		}
		ai_chance = { base = 2 }
	}
}
#invest ecology
country_event = {
	id = france_md.502
	title = france_md.502.t
	desc = france_md.502.d
	picture = GFX_generic_land_wind_farm
	is_triggered_only = yes

	option = {
		name = france_md.502.a
		log = "[GetDateText]: [This.GetName]: france_md.502.a executed"
		add_political_power = 25
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		set_temp_variable = { int_investment_change = 5 }
		modify_international_investment_effect = yes
		set_temp_variable = { percent_change = 3 }
		set_temp_variable = { tag_index = FRA.id }
		set_temp_variable = { influence_target = THIS.id }
		change_influence_percentage = yes
		THIS = {
			add_opinion_modifier = {
				target = ROOT
				modifier = recently_invest
			}
		}
		random_owned_controlled_state = {
			limit = {
				free_building_slots = {
					building = synthetic_refinery
					size > 0
					include_locked = yes
				}
				OR = {
					is_in_home_area = yes
					NOT = {
						owner = {
							any_owned_state = {
								free_building_slots = {
									building = synthetic_refinery
									size > 0
									include_locked = yes
								}
								is_in_home_area = yes
							}
						}
					}
				}
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = synthetic_refinery
				level = 1
				instant_build = yes
			}
		}
		set_temp_variable = { modify_europeanism = -0.025 }
		set_temp_variable = { modify_europeanism_target = THIS }
		europeanism_change = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { temp_outlook_increase = 0.02 }
		change_relative_party_popularity = yes
		FRA = {
			add_timed_idea = {
				idea = FRA_investing_eu
				days = 70
			}
			set_temp_variable = { int_investment_change = 4 }
			modify_international_investment_effect = yes
		}
		ai_chance = { base = 8 }
	}

	option = {
		name = france_md.502.b
		log = "[GetDateText]: [This.GetName]: france_md.502.b executed"
		FRA = {
			add_opinion_modifier = { target = ROOT modifier = denied_us }
			country_event = diplomatic_response.2
			add_political_power = -25
			set_temp_variable = { treasury_change = 4 }
			modify_treasury_effect = yes
		}
		ai_chance = { base = 2 }
	}
}


# Liberal Arms Export Contracts
# france_md.323 - france_md.330

# France proposes arms contract to Saudi Arabia
country_event = {
	id = france_md.323
	title = france_md.323.t
	desc = france_md.323.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = SAU
		NOT = { has_war_with = SAU }
	}

	# Light weapons contract
	option = {
		name = france_md.323.a
		log = "[GetDateText]: [This.GetName]: france_md.323.a executed"
		set_country_flag = FRA_SAU_light_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 5 }
			modify_treasury_effect = yes
			SAU = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 5000
				}
			}
		}
		SAU = { country_event = { id = france_md.324 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Heavy weapons contract
	option = {
		name = france_md.323.b
		log = "[GetDateText]: [This.GetName]: france_md.323.b executed"
		set_country_flag = FRA_SAU_heavy_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 15 }
			modify_treasury_effect = yes
			SAU = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 100
				}
				add_equipment_to_stockpile = {
					type = medium_tank_flame_chassis
					amount = 200
				}
			}
		}
		SAU = { country_event = { id = france_md.324 days = 5 } }
		ai_chance = { base = 2 }
	}

	# Premium contract (aircraft)
	option = {
		name = france_md.323.c
		log = "[GetDateText]: [This.GetName]: france_md.323.c executed"
		set_country_flag = FRA_SAU_premium_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 30 }
			modify_treasury_effect = yes
			SAU = {
				add_equipment_to_stockpile = {
					type = medium_plane_airframe
					amount = 24
				}
			}
		}
		SAU = { country_event = { id = france_md.324 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Decline
	option = {
		name = france_md.323.e
		log = "[GetDateText]: [This.GetName]: france_md.323.e executed"
		add_political_power = 25
		ai_chance = { base = 0 }
	}
}

# Saudi Arabia receives arms contract proposal
country_event = {
	id = france_md.324
	title = france_md.324.t
	desc = france_md.324.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = SAU
		country_exists = FRA
	}

	# Accept
	option = {
		name = france_md.324.a
		log = "[GetDateText]: [This.GetName]: france_md.324.a executed"
		if = {
			limit = { FROM = { has_country_flag = FRA_SAU_light_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 5 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_SAU_light_arms_contract
			}
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 5000
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_SAU_heavy_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 15 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_SAU_heavy_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis
				amount = 100
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis
				amount = 200
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_SAU_premium_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 30 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_SAU_premium_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_plane_airframe
				amount = 24
			}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_arms_contract_opinion
		}
		ai_chance = { base = 10 }
	}

	# Decline
	option = {
		name = france_md.324.b
		log = "[GetDateText]: [This.GetName]: france_md.324.b executed"
		FRA = {
			clr_country_flag = FRA_SAU_light_arms_contract
			clr_country_flag = FRA_SAU_heavy_arms_contract
			clr_country_flag = FRA_SAU_premium_arms_contract
		}
		ai_chance = { base = 1 }
	}
}

# France proposes arms contract to UAE
country_event = {
	id = france_md.325
	title = france_md.325.t
	desc = france_md.325.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = UAE
		NOT = { has_war_with = UAE }
	}

	# Light weapons contract
	option = {
		name = france_md.325.a
		log = "[GetDateText]: [This.GetName]: france_md.325.a executed"
		set_country_flag = FRA_UAE_light_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 5 }
			modify_treasury_effect = yes
			UAE = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 5000
				}
			}
		}
		UAE = { country_event = { id = france_md.326 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Heavy weapons contract
	option = {
		name = france_md.325.b
		log = "[GetDateText]: [This.GetName]: france_md.325.b executed"
		set_country_flag = FRA_UAE_heavy_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 15 }
			modify_treasury_effect = yes
			UAE = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 100
				}
				add_equipment_to_stockpile = {
					type = medium_tank_flame_chassis
					amount = 200
				}
			}
		}
		UAE = { country_event = { id = france_md.326 days = 5 } }
		ai_chance = { base = 2 }
	}

	# Premium contract (aircraft)
	option = {
		name = france_md.325.c
		log = "[GetDateText]: [This.GetName]: france_md.325.c executed"
		set_country_flag = FRA_UAE_premium_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 30 }
			modify_treasury_effect = yes
			UAE = {
				add_equipment_to_stockpile = {
					type = medium_plane_airframe
					amount = 24
				}
			}
		}
		UAE = { country_event = { id = france_md.326 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Decline
	option = {
		name = france_md.325.e
		log = "[GetDateText]: [This.GetName]: france_md.325.e executed"
		add_political_power = 25
		ai_chance = { base = 0 }
	}
}

# UAE receives arms contract proposal
country_event = {
	id = france_md.326
	title = france_md.326.t
	desc = france_md.326.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = UAE
		country_exists = FRA
	}

	# Accept
	option = {
		name = france_md.326.a
		log = "[GetDateText]: [This.GetName]: france_md.326.a executed"
		if = {
			limit = { FROM = { has_country_flag = FRA_UAE_light_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 5 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_UAE_light_arms_contract
			}
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 5000
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_UAE_heavy_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 15 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_UAE_heavy_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis
				amount = 100
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis
				amount = 200
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_UAE_premium_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 30 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_UAE_premium_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_plane_airframe
				amount = 24
			}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_arms_contract_opinion
		}
		ai_chance = { base = 10 }
	}

	# Decline
	option = {
		name = france_md.326.b
		log = "[GetDateText]: [This.GetName]: france_md.326.b executed"
		FRA = {
			clr_country_flag = FRA_UAE_light_arms_contract
			clr_country_flag = FRA_UAE_heavy_arms_contract
			clr_country_flag = FRA_UAE_premium_arms_contract
		}
		ai_chance = { base = 1 }
	}
}

# France proposes arms contract to Serbia
country_event = {
	id = france_md.327
	title = france_md.327.t
	desc = france_md.327.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = SER
		NOT = { has_war_with = SER }
	}

	# Light weapons contract
	option = {
		name = france_md.327.a
		log = "[GetDateText]: [This.GetName]: france_md.327.a executed"
		set_country_flag = FRA_SER_light_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 3 }
			modify_treasury_effect = yes
			SER = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 3000
				}
			}
		}
		SER = { country_event = { id = france_md.328 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Heavy weapons contract
	option = {
		name = france_md.327.b
		log = "[GetDateText]: [This.GetName]: france_md.327.b executed"
		set_country_flag = FRA_SER_heavy_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 8 }
			modify_treasury_effect = yes
			SER = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 50
				}
				add_equipment_to_stockpile = {
					type = medium_tank_flame_chassis
					amount = 100
				}
			}
		}
		SER = { country_event = { id = france_md.328 days = 5 } }
		ai_chance = { base = 2 }
	}

	# Premium contract (aircraft)
	option = {
		name = france_md.327.c
		log = "[GetDateText]: [This.GetName]: france_md.327.c executed"
		set_country_flag = FRA_SER_premium_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 15 }
			modify_treasury_effect = yes
			SER = {
				add_equipment_to_stockpile = {
					type = medium_plane_airframe
					amount = 12
				}
			}
		}
		SER = { country_event = { id = france_md.328 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Decline
	option = {
		name = france_md.327.e
		log = "[GetDateText]: [This.GetName]: france_md.327.e executed"
		add_political_power = 25
		ai_chance = { base = 0 }
	}
}

# Serbia receives arms contract proposal
country_event = {
	id = france_md.328
	title = france_md.328.t
	desc = france_md.328.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = SER
		country_exists = FRA
	}

	# Accept
	option = {
		name = france_md.328.a
		log = "[GetDateText]: [This.GetName]: france_md.328.a executed"
		if = {
			limit = { FROM = { has_country_flag = FRA_SER_light_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 3 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_SER_light_arms_contract
			}
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 3000
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_SER_heavy_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 8 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_SER_heavy_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis
				amount = 50
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis
				amount = 100
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_SER_premium_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 15 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_SER_premium_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_plane_airframe
				amount = 12
			}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_arms_contract_opinion
		}
		ai_chance = { base = 10 }
	}

	# Decline
	option = {
		name = france_md.328.b
		log = "[GetDateText]: [This.GetName]: france_md.328.b executed"
		FRA = {
			clr_country_flag = FRA_SER_light_arms_contract
			clr_country_flag = FRA_SER_heavy_arms_contract
			clr_country_flag = FRA_SER_premium_arms_contract
		}
		ai_chance = { base = 1 }
	}
}

# France proposes arms contract to Greece
country_event = {
	id = france_md.329
	title = france_md.329.t
	desc = france_md.329.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = GRE
		NOT = { has_war_with = GRE }
	}

	# Light weapons contract
	option = {
		name = france_md.329.a
		log = "[GetDateText]: [This.GetName]: france_md.329.a executed"
		set_country_flag = FRA_GRE_light_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 4 }
			modify_treasury_effect = yes
			GRE = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 4000
				}
			}
		}
		GRE = { country_event = { id = france_md.330 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Heavy weapons contract
	option = {
		name = france_md.329.b
		log = "[GetDateText]: [This.GetName]: france_md.329.b executed"
		set_country_flag = FRA_GRE_heavy_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 12 }
			modify_treasury_effect = yes
			GRE = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 75
				}
				add_equipment_to_stockpile = {
					type = medium_tank_flame_chassis
					amount = 150
				}
			}
		}
		GRE = { country_event = { id = france_md.330 days = 5 } }
		ai_chance = { base = 2 }
	}

	# Premium contract (naval vessels)
	option = {
		name = france_md.329.c
		log = "[GetDateText]: [This.GetName]: france_md.329.c executed"
		set_country_flag = FRA_GRE_premium_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 20 }
			modify_treasury_effect = yes
			GRE = {
				add_equipment_to_stockpile = {
					type = medium_plane_airframe
					amount = 18
				}
			}
		}
		GRE = { country_event = { id = france_md.330 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Decline
	option = {
		name = france_md.329.e
		log = "[GetDateText]: [This.GetName]: france_md.329.e executed"
		add_political_power = 25
		ai_chance = { base = 0 }
	}
}

# Greece receives arms contract proposal
country_event = {
	id = france_md.330
	title = france_md.330.t
	desc = france_md.330.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = GRE
		country_exists = FRA
	}

	# Accept
	option = {
		name = france_md.330.a
		log = "[GetDateText]: [This.GetName]: france_md.330.a executed"
		if = {
			limit = { FROM = { has_country_flag = FRA_GRE_light_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 4 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_GRE_light_arms_contract
			}
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 4000
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_GRE_heavy_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 12 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_GRE_heavy_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis
				amount = 75
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis
				amount = 150
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_GRE_premium_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 20 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_GRE_premium_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_plane_airframe
				amount = 18
			}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_arms_contract_opinion
		}
		ai_chance = { base = 10 }
	}

	# Decline
	option = {
		name = france_md.330.b
		log = "[GetDateText]: [This.GetName]: france_md.330.b executed"
		FRA = {
			clr_country_flag = FRA_GRE_light_arms_contract
			clr_country_flag = FRA_GRE_heavy_arms_contract
			clr_country_flag = FRA_GRE_premium_arms_contract
		}
		ai_chance = { base = 1 }
	}
}

# France proposes arms contract to Egypt
country_event = {
	id = france_md.331
	title = france_md.331.t
	desc = france_md.331.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = EGY
		NOT = { has_war_with = EGY }
	}

	# Light weapons contract
	option = {
		name = france_md.331.a
		log = "[GetDateText]: [This.GetName]: france_md.331.a executed"
		set_country_flag = FRA_EGY_light_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 4 }
			modify_treasury_effect = yes
			EGY = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 4000
				}
			}
		}
		EGY = { country_event = { id = france_md.332 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Heavy weapons contract (Gowind corvettes, armored vehicles)
	option = {
		name = france_md.331.b
		log = "[GetDateText]: [This.GetName]: france_md.331.b executed"
		set_country_flag = FRA_EGY_heavy_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 12 }
			modify_treasury_effect = yes
			EGY = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 75
				}
				add_equipment_to_stockpile = {
					type = medium_tank_flame_chassis
					amount = 150
				}
			}
		}
		EGY = { country_event = { id = france_md.332 days = 5 } }
		ai_chance = { base = 2 }
	}

	# Premium contract (Rafale jets)
	option = {
		name = france_md.331.c
		log = "[GetDateText]: [This.GetName]: france_md.331.c executed"
		set_country_flag = FRA_EGY_premium_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 25 }
			modify_treasury_effect = yes
			EGY = {
				add_equipment_to_stockpile = {
					type = medium_plane_airframe
					amount = 24
				}
			}
		}
		EGY = { country_event = { id = france_md.332 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Decline
	option = {
		name = france_md.331.e
		log = "[GetDateText]: [This.GetName]: france_md.331.e executed"
		add_political_power = 25
		ai_chance = { base = 0 }
	}
}

# Egypt receives arms contract proposal
country_event = {
	id = france_md.332
	title = france_md.332.t
	desc = france_md.332.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = EGY
		country_exists = FRA
	}

	# Accept
	option = {
		name = france_md.332.a
		log = "[GetDateText]: [This.GetName]: france_md.332.a executed"
		if = {
			limit = { FROM = { has_country_flag = FRA_EGY_light_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 4 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_EGY_light_arms_contract
			}
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 4000
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_EGY_heavy_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 12 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_EGY_heavy_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis
				amount = 75
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis
				amount = 150
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_EGY_premium_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 25 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_EGY_premium_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_plane_airframe
				amount = 24
			}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_arms_contract_opinion
		}
		ai_chance = { base = 10 }
	}

	# Decline
	option = {
		name = france_md.332.b
		log = "[GetDateText]: [This.GetName]: france_md.332.b executed"
		FRA = {
			clr_country_flag = FRA_EGY_light_arms_contract
			clr_country_flag = FRA_EGY_heavy_arms_contract
			clr_country_flag = FRA_EGY_premium_arms_contract
		}
		ai_chance = { base = 1 }
	}
}

# France proposes arms contract to India
country_event = {
	id = france_md.333
	title = france_md.333.t
	desc = france_md.333.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = IND
		NOT = { has_war_with = IND }
	}

	# Light weapons contract
	option = {
		name = france_md.333.a
		log = "[GetDateText]: [This.GetName]: france_md.333.a executed"
		set_country_flag = FRA_IND_light_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 6 }
			modify_treasury_effect = yes
			IND = {
				add_equipment_to_stockpile = {
					type = infantry_weapons_type
					amount = 8000
				}
			}
		}
		IND = { country_event = { id = france_md.334 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Heavy weapons contract (Scorpène submarines tech)
	option = {
		name = france_md.333.b
		log = "[GetDateText]: [This.GetName]: france_md.333.b executed"
		set_country_flag = FRA_IND_heavy_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 20 }
			modify_treasury_effect = yes
			IND = {
				add_equipment_to_stockpile = {
					type = medium_tank_chassis
					amount = 150
				}
				add_equipment_to_stockpile = {
					type = medium_tank_flame_chassis
					amount = 300
				}
			}
		}
		IND = { country_event = { id = france_md.334 days = 5 } }
		ai_chance = { base = 2 }
	}

	# Premium contract (Rafale jets - historic 36 aircraft deal)
	option = {
		name = france_md.333.c
		log = "[GetDateText]: [This.GetName]: france_md.333.c executed"
		set_country_flag = FRA_IND_premium_arms_contract
		effect_tooltip = {
			set_temp_variable = { treasury_change = 40 }
			modify_treasury_effect = yes
			IND = {
				add_equipment_to_stockpile = {
					type = medium_plane_airframe
					amount = 36
				}
			}
		}
		IND = { country_event = { id = france_md.334 days = 5 } }
		ai_chance = { base = 1 }
	}

	# Decline
	option = {
		name = france_md.333.e
		log = "[GetDateText]: [This.GetName]: france_md.333.e executed"
		add_political_power = 25
		ai_chance = { base = 0 }
	}
}

# India receives arms contract proposal
country_event = {
	id = france_md.334
	title = france_md.334.t
	desc = france_md.334.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = IND
		country_exists = FRA
	}

	# Accept
	option = {
		name = france_md.334.a
		log = "[GetDateText]: [This.GetName]: france_md.334.a executed"
		if = {
			limit = { FROM = { has_country_flag = FRA_IND_light_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 6 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_IND_light_arms_contract
			}
			add_equipment_to_stockpile = {
				type = infantry_weapons_type
				amount = 8000
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_IND_heavy_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 20 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_IND_heavy_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_tank_chassis
				amount = 150
			}
			add_equipment_to_stockpile = {
				type = medium_tank_flame_chassis
				amount = 300
			}
		}
		if = {
			limit = { FROM = { has_country_flag = FRA_IND_premium_arms_contract } }
			FRA = {
				set_temp_variable = { treasury_change = 40 }
				modify_treasury_effect = yes
				clr_country_flag = FRA_IND_premium_arms_contract
			}
			add_equipment_to_stockpile = {
				type = medium_plane_airframe
				amount = 36
			}
		}
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_arms_contract_opinion
		}
		ai_chance = { base = 10 }
	}

	# Decline
	option = {
		name = france_md.334.b
		log = "[GetDateText]: [This.GetName]: france_md.334.b executed"
		FRA = {
			clr_country_flag = FRA_IND_light_arms_contract
			clr_country_flag = FRA_IND_heavy_arms_contract
			clr_country_flag = FRA_IND_premium_arms_contract
		}
		ai_chance = { base = 1 }
	}
}

###################################
# Joint Weapon Projects
# france_md.335 - france_md.338
###################################

# Germany receives Franco-German joint project proposal (FCAS/MGCS)
country_event = {
	id = france_md.335
	title = france_md.335.t
	desc = france_md.335.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = GER
		country_exists = FRA
	}

	# Accept the proposal
	option = {
		name = france_md.335.a
		log = "[GetDateText]: [This.GetName]: france_md.335.a executed"
		FRA = { set_country_flag = FRA_germany_accepted_joint_project }
		add_tech_bonus = {
			name = france_md.335.t
			bonus = 0.25
			uses = 2
			category = CAT_tanks
		} hidden_effect = { rq_eb_15007f6056 = yes }
		add_tech_bonus = {
			name = france_md.335.t
			bonus = 0.25
			uses = 2
			category = CAT_medium_aircraft
		} hidden_effect = { rq_eb_df0a1248bd = yes }
		add_ideas = GER_FCAS_MGCS_project
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_joint_project_opinion
		}
		FRA = { country_event = { id = france_md.336 days = 1 } }
		ai_chance = {
			base = 10
			modifier = {
				factor = 2
				has_opinion = { target = FRA value > 50 }
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}
	}

	# Decline the proposal
	option = {
		name = france_md.335.b
		log = "[GetDateText]: [This.GetName]: france_md.335.b executed"
		add_political_power = 25
		ai_chance = {
			base = 1
			modifier = {
				factor = 5
				has_war = yes
			}
		}
	}
}

# France receives notification of German acceptance
country_event = {
	id = france_md.336
	title = france_md.336.t
	desc = france_md.336.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = GER
	}

	option = {
		name = france_md.336.a
		log = "[GetDateText]: [This.GetName]: france_md.336.a executed"
		add_opinion_modifier = {
			target = GER
			modifier = FRA_joint_project_opinion
		}
		ai_chance = { base = 1 }
	}
}

# Russia receives Franco-Russian joint project proposal
country_event = {
	id = france_md.337
	title = france_md.337.t
	desc = france_md.337.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = RUS
		country_exists = FRA
	}

	# Accept the proposal
	option = {
		name = france_md.337.a
		log = "[GetDateText]: [This.GetName]: france_md.337.a executed"
		FRA = { set_country_flag = FRA_russia_accepted_joint_project }
		add_tech_bonus = {
			name = france_md.337.t
			bonus = 0.25
			uses = 2
			category = CAT_infantry_fighting_vehicles
		} hidden_effect = { rq_eb_80e05c4eb4 = yes }
		add_tech_bonus = {
			name = france_md.337.t
			bonus = 0.25
			uses = 2
			category = CAT_armored_personnel_carriers
		} hidden_effect = { rq_eb_ec81893be2 = yes }
		add_ideas = RUS_FRA_joint_project
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_joint_project_opinion
		}
		FRA = { country_event = { id = france_md.338 days = 1 } }
		ai_chance = {
			base = 5
			modifier = {
				factor = 2
				has_opinion = { target = FRA value > 50 }
			}
			modifier = {
				factor = 0.1
				is_historical_focus_on = yes
			}
		}
	}

	# Decline the proposal
	option = {
		name = france_md.337.b
		log = "[GetDateText]: [This.GetName]: france_md.337.b executed"
		add_political_power = 25
		ai_chance = {
			base = 5
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
}

# France receives notification of Russian acceptance
country_event = {
	id = france_md.338
	title = france_md.338.t
	desc = france_md.338.d
	picture = GFX_message_signing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		country_exists = RUS
	}

	option = {
		name = france_md.338.a
		log = "[GetDateText]: [This.GetName]: france_md.338.a executed"
		add_opinion_modifier = {
			target = RUS
			modifier = FRA_joint_project_opinion
		}
		ai_chance = { base = 1 }
	}
}

### Communist Path - End the Republic Events ###

### New Extremist Infiltration System Events (france_md.370-374) ###

# Communist Path - Allow Extremists?
country_event = {
	id = france_md.370
	title = france_md.370.t
	desc = france_md.370.d
	picture = GFX_FRA_radical_communists
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Allow the radical faction to organize
	option = {
		name = france_md.370.a
		log = "[GetDateText]: [This.GetName]: france_md.370.a executed"
		set_country_flag = FRA_allowed_extremists_left
		add_ideas = FRA_extremist_paramilitary_left
		add_timed_idea = {
			idea = FRA_radical_infiltration
			days = 730
		}
		add_stability = -0.05
		mark_focus_tree_layout_dirty = yes
		ai_chance = {
			base = 1
			modifier = {
				factor = 30
				has_global_flag = FRA_COMMUNE_FOCUS_PATH
			}
			modifier = {
				factor = 0
				FRA_ai_atlanticist_path = yes
			}
		}
	}

	# Reject the radicals - maintain democratic principles
	option = {
		name = france_md.370.b
		log = "[GetDateText]: [This.GetName]: france_md.370.b executed"
		add_political_power = 50
		add_stability = 0.05
		ai_chance = {
			base = 2
			modifier = {
				factor = 0
				has_global_flag = FRA_COMMUNE_FOCUS_PATH
			}
		}
	}
}

# Nationalist Path - Allow Extremists?
country_event = {
	id = france_md.371
	title = france_md.371.t
	desc = france_md.371.d
	picture = GFX_FRA_traditionalists
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Allow the traditionalist faction to organize
	option = {
		name = france_md.371.a
		log = "[GetDateText]: [This.GetName]: france_md.371.a executed"
		set_country_flag = FRA_allowed_extremists_right
		add_ideas = FRA_extremist_paramilitary_right
		add_timed_idea = {
			idea = FRA_traditionalist_infiltration
			days = 730
		}
		add_stability = -0.05
		mark_focus_tree_layout_dirty = yes
		ai_chance = {
			base = 1
			modifier = {
				factor = 30
				OR = {
					has_global_flag = FRA_KINGDOM_FOCUS_PATH
					has_global_flag = FRA_EMPIRE_FOCUS_PATH
				}
			}
			modifier = {
				factor = 0
				FRA_ai_atlanticist_path = yes
			}
		}
	}

	# Reject the traditionalists - maintain republican values
	option = {
		name = france_md.371.b
		log = "[GetDateText]: [This.GetName]: france_md.371.b executed"
		add_political_power = 50
		add_stability = 0.05
		ai_chance = {
			base = 2
			modifier = {
				factor = 0
				OR = {
					has_global_flag = FRA_KINGDOM_FOCUS_PATH
					has_global_flag = FRA_EMPIRE_FOCUS_PATH
				}
			}
		}
	}
}

# Republic is Safe - Communist Crackdown
news_event = {
	id = france_md.372
	title = france_md.372.t
	desc = france_md.372.d
	picture = GFX_FRA_extremist_arrest_news
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	option = {
		name = france_md.372.a
		log = "[GetDateText]: [This.GetName]: france_md.372.a executed"
		add_ideas = FRA_republic_stabilized_left
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}

# Republic is Safe - Nationalist Crackdown
news_event = {
	id = france_md.373
	title = france_md.373.t
	desc = france_md.373.d
	picture = GFX_FRA_extremist_arrest_news
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	option = {
		name = france_md.373.a
		log = "[GetDateText]: [This.GetName]: france_md.373.a executed"
		add_ideas = FRA_republic_stabilized_right
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}

# Nationalist Factions Fight for Power
country_event = {
	id = france_md.374
	title = france_md.374.t
	desc = france_md.374.d
	picture = GFX_proposition_of_the_monarch
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# The Monarchists prevail - restore the Kingdom
	option = {
		name = france_md.374.a
		log = "[GetDateText]: [This.GetName]: france_md.374.a executed"
		set_country_flag = FRA_monarchists_won_coup
		add_stability = -0.1
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 1
			modifier = {
				factor = 30
				has_global_flag = FRA_KINGDOM_FOCUS_PATH
			}
			modifier = {
				factor = 0
				has_global_flag = FRA_EMPIRE_FOCUS_PATH
			}
		}
	}

	# The Bonapartists prevail - restore the Empire
	option = {
		name = france_md.374.b
		log = "[GetDateText]: [This.GetName]: france_md.374.b executed"
		set_country_flag = FRA_bonapartists_won_coup
		add_stability = -0.1
		add_war_support = 0.1
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = {
			base = 1
			modifier = {
				factor = 30
				has_global_flag = FRA_EMPIRE_FOCUS_PATH
			}
			modifier = {
				factor = 0
				has_global_flag = FRA_KINGDOM_FOCUS_PATH
			}
		}
	}
}

### Constitutional Crisis Events (Crackdown vs Let Them Be) ###

# Constitutional Crisis - Communist Path
country_event = {
	id = france_md.340
	title = france_md.340.t
	desc = france_md.340.d
	picture = GFX_FRA_extremist_infiltration
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Crackdown on the radicals
	option = {
		name = france_md.340.a
		log = "[GetDateText]: [This.GetName]: france_md.340.a executed"
		set_country_flag = FRA_crackdown_extremists_left
		remove_ideas = FRA_extremist_paramilitary_left
		add_stability = 0.05
		add_political_power = -50
		ai_chance = {
			base = 2
			modifier = {
				factor = 0
				has_global_flag = FRA_COMMUNE_FOCUS_PATH
			}
		}
	}

	# Let them be - the revolution continues
	option = {
		name = france_md.340.b
		log = "[GetDateText]: [This.GetName]: france_md.340.b executed"
		set_country_flag = FRA_coup_by_extremists_left
		add_stability = -0.2
		news_event = { id = france_md.341 days = 10 }
		ai_chance = {
			base = 1
			modifier = {
				factor = 30
				has_global_flag = FRA_COMMUNE_FOCUS_PATH
			}
			modifier = {
				factor = 0
				FRA_ai_atlanticist_path = yes
			}
		}
	}
}

# The Radicals Seize Power - Communist Coup
news_event = {
	id = france_md.341
	title = france_md.341.t
	desc = france_md.341.d
	picture = GFX_FRA_coup_news
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# The coup succeeds
	option = {
		name = france_md.341.a
		log = "[GetDateText]: [This.GetName]: france_md.341.a executed"
		add_stability = -0.3
		add_political_power = -100
		set_temp_variable = { temp_opinion = 20 }
		change_labour_unions_opinion = yes
		remove_ideas = FRA_extremist_paramilitary_left
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				add_opinion_modifier = {
					target = FRA
					modifier = recent_actions_negative
				}
			}
		}
		every_other_country = {
			limit = {
				is_in_faction_with = USA
				NOT = { is_in_array = { global.EU_member = THIS } }
			}
			add_opinion_modifier = {
				target = FRA
				modifier = recent_actions_negative
			}
		}
		ai_chance = { base = 1 }
	}
}

# Proclaim the French Commune
country_event = {
	id = france_md.345
	title = france_md.345.t
	desc = france_md.345.d
	picture = GFX_FRA_rise_of_the_commune
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# The Commune rises again!
	option = { #DO a character like coucil of worker
		name = france_md.345.a
		log = "[GetDateText]: [This.GetName]: france_md.345.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.4 }
		change_relative_party_popularity = yes
		if = { limit = { has_idea = FRA_5th_republic } remove_ideas = FRA_5th_republic }
		if = { limit = { has_idea = FRA_sixth_republic_idea } remove_ideas = FRA_sixth_republic_idea }
		set_country_flag = FRA_french_commune_name_switch
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 4 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}
		recalculate_party = yes
		set_temp_variable = { temp_opinion = 30 }
		change_labour_unions_opinion = yes
		set_cosmetic_tag = FRA_commune
		create_country_leader = {
			name = "Commité de Salut Public"
			picture = "Comite_de_Salut_Public.dds"
			ideology = communist_state
			traits = {
				emerging_communist_state
				stubborn
				triumphant_revolutionary
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				add_opinion_modifier = {
					target = FRA
					modifier = major_breach_of_trust
				}
			}
		}
		every_other_country = {
			limit = {
				is_in_faction_with = USA
				NOT = { is_in_array = { global.EU_member = THIS } }
			}
			add_opinion_modifier = {
				target = FRA
				modifier = major_breach_of_trust
			}
		}
		add_war_support = 0.15
		add_stability = -0.1
		ai_chance = { base = 1 }
	}
}

### National Rally Path - End the Republic Events ###

# Question the Republic - Nationalist Path
country_event = {
	id = france_md.375
	title = france_md.375.t
	desc = france_md.375.d
	picture = GFX_FRA_extremist_infiltration
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Crackdown on the traditionalists
	option = {
		name = france_md.375.a
		log = "[GetDateText]: [This.GetName]: france_md.375.a executed"
		set_country_flag = FRA_crackdown_extremists_right
		remove_ideas = FRA_extremist_paramilitary_right
		add_stability = 0.05
		add_political_power = -150
		ai_chance = {
			base = 2
			modifier = {
				factor = 0
				OR = {
					has_global_flag = FRA_KINGDOM_FOCUS_PATH
					has_global_flag = FRA_EMPIRE_FOCUS_PATH
				}
			}
		}
	}

	# Let them be - the restoration continues
	option = {
		name = france_md.375.b
		log = "[GetDateText]: [This.GetName]: france_md.375.b executed"
		add_stability = -0.2
		news_event = { id = france_md.376 days = 10 }
		ai_chance = {
			base = 1
			modifier = {
				factor = 30
				OR = {
					has_global_flag = FRA_KINGDOM_FOCUS_PATH
					has_global_flag = FRA_EMPIRE_FOCUS_PATH
				}
			}
			modifier = {
				factor = 0
				FRA_ai_atlanticist_path = yes
			}
			modifier = {
				factor = 0
				has_global_flag = FRA_NATIONAL_RALLY_FOCUS_PATH
			}
		}
	}
}

# The Traditionalists Seize Power - Nationalist Coup
news_event = {
	id = france_md.376
	title = france_md.376.t
	desc = france_md.376.d
	picture = GFX_FRA_coup_news
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# The coup succeeds - now the factions fight for control
	option = {
		name = france_md.376.a
		log = "[GetDateText]: [This.GetName]: france_md.376.a executed"
		add_stability = -0.3
		add_political_power = -100
		set_temp_variable = { party_index = 21 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		remove_ideas = FRA_extremist_paramilitary_right
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				add_opinion_modifier = {
					target = FRA
					modifier = recent_actions_negative
				}
			}
		}
		country_event = { id = france_md.374 days = 5 }
		ai_chance = { base = 1 }
	}
}

# Choose the Pretender - Monarchy Path
country_event = {
	id = france_md.354
	title = france_md.354.t
	desc = france_md.354.d
	picture = GFX_proposition_of_the_monarch
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Crown Jean d'Orléans (Orleanist - King of the French)
	option = {
		name = france_md.354.a
		log = "[GetDateText]: [This.GetName]: france_md.354.a executed"
		if = { limit = { has_idea = FRA_5th_republic } remove_ideas = FRA_5th_republic }
		if = { limit = { has_idea = FRA_sixth_republic_idea } remove_ideas = FRA_sixth_republic_idea }
		add_ideas = FRA_kingdom_restored_idea
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		change_relative_party_popularity = yes
		set_country_flag = FRA_orlean_name_switch
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 23 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}
		create_country_leader = {
			name = "Jean d'Orléan"
			picture = "Jean_dOrleans.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist
				military_career
			}
		}
		# Good relations with European monarchies
		set_cosmetic_tag = FRA_kingdom_orleans
		if = { limit = { country_exists = ENG }
			ENG = {
				add_opinion_modifier = {
					target = FRA
					modifier = supports_us
				}
			}
		}
		if = { limit = { country_exists = SPR }
			SPR = {
				add_opinion_modifier = {
					target = FRA
					modifier = supports_us
				}
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				country_event = france_md.359
			}
		}
		add_stability = 0.1
		add_political_power = 150
		ai_chance = { base = 3 }
	}

	# Crown Louis de Bourbon (Legitimist - King of France)
	option = {
		name = france_md.354.b
		log = "[GetDateText]: [This.GetName]: france_md.354.b executed"
		if = { limit = { has_idea = FRA_5th_republic } remove_ideas = FRA_5th_republic }
		if = { limit = { has_idea = FRA_sixth_republic_idea } remove_ideas = FRA_sixth_republic_idea }
		add_ideas = FRA_kingdom_restored_idea
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 23 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}
		create_country_leader = {
			name = "Louis de Bourbon"
			picture = "Louis_XX_de_Bourbon.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist
				businessman
			}
		}
		set_cosmetic_tag = FRA_kingdom_bourbon
		# Tensions with Spain over the claim
		if = { limit = { country_exists = SPR }
			SPR = {
				add_opinion_modifier = {
					target = FRA
					modifier = recent_actions_negative
				}
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				country_event = france_md.359
			}
		}
		add_stability = 0.05
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}

# The Bonaparte Returns - Empire Path
news_event = {
	id = france_md.357
	title = france_md.357.t
	desc = france_md.357.d
	picture = GFX_news_return_of_the_king
	is_triggered_only = yes

	trigger = { original_tag = FRA }

	# Crown Jean-Christophe Napoléon as Napoleon VII
	option = {
		name = france_md.357.a
		log = "[GetDateText]: [This.GetName]: france_md.357.a executed"
		if = { limit = { has_idea = FRA_5th_republic } remove_ideas = FRA_5th_republic }
		if = { limit = { has_idea = FRA_sixth_republic_idea } remove_ideas = FRA_sixth_republic_idea }
		add_ideas = FRA_empire_restored_idea
		set_country_flag = FRA_bonaparte_name_switch
		set_country_flag = FRA_house_of_bonaparte_crowned
		set_temp_variable = { party_index = 23 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 23 }
			set_temp_variable = { disable_elections = 1 }
			change_ruling_party_effect = yes
		}
		recalculate_party = yes
		create_country_leader = {
			name = "Jean-Christophe, Prince Napoléon"
			picture = "jean_christophe_bonaparte.dds"
			ideology = Monarchist
			traits = {
				nationalist_Monarchist
				likeable
				businessman
				smooth_talking_charmer
			}
		}
		# Military-focused empire
		army_experience = 25
		air_experience = 25
		navy_experience = 25
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				news_event = france_md.358
			}
		}
		add_stability = 0.05
		add_war_support = 0.15
		add_political_power = 100
		ai_chance = { base = 1 }
	}
}

# European Reactions to French Restoration
news_event = {
	id = france_md.358
	title = france_md.358.t
	desc = france_md.358.d
	picture = GFX_news_return_of_the_king
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = FRA }
		has_idea = EU_member
	}

	# Condemn this regression
	option = {
		name = france_md.358.a
		log = "[GetDateText]: [This.GetName]: france_md.358.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = major_breach_of_trust
		}
		ai_chance = { base = 3 }
	}

	# This is an internal French matter
	option = {
		name = france_md.358.b
		log = "[GetDateText]: [This.GetName]: france_md.358.b executed"
		add_political_power = -25
		ai_chance = { base = 1 }
	}
}

country_event = {
	id = france_md.359
	title = france_md.359.t
	desc = france_md.359.d
	picture = GFX_proposition_of_the_monarch
	is_triggered_only = yes

	trigger = {
		NOT = { original_tag = FRA }
		has_idea = EU_member
	}

	# Condemn this regression
	option = {
		name = france_md.359.a
		log = "[GetDateText]: [This.GetName]: france_md.359.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = major_breach_of_trust
		}
		ai_chance = {
			base = 3
			modifier = {
				add = -2
				has_government = neutrality
			}
			modifier = {
				add = -2
				has_government = nationalist
			}
		}
	}

	# This is an internal French matter
	option = {
		name = france_md.359.b
		log = "[GetDateText]: [This.GetName]: france_md.359.b executed"
		add_political_power = -25
		ai_chance = { base = 2 }
	}
}


#################################################
# Extremist Faction Foreign Policy Events
# IDs: france_md.800 - france_md.815
# Author: Claude Code
#################################################

# USA Reaction to French Anti-American Policy
country_event = {
	id = france_md.800
	title = france_md.800.t
	desc = france_md.800.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	trigger = { original_tag = USA }

	# Condemn this hostile shift
	option = {
		name = france_md.800.a
		log = "[GetDateText]: [This.GetName]: france_md.800.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_anti_american_policy
		}
		FRA = {
			add_opinion_modifier = {
				target = USA
				modifier = USA_condemns_policy
			}
		}
		ai_chance = { base = 3 }
	}

	# Attempt diplomatic outreach
	option = {
		name = france_md.800.b
		log = "[GetDateText]: [This.GetName]: france_md.800.b executed"
		add_political_power = -50
		FRA = {
			country_event = { id = france_md.801 days = 5 }
		}
		ai_chance = { base = 1 }
	}
}

# French Response to US Diplomatic Outreach
country_event = {
	id = france_md.801
	title = france_md.801.t
	desc = france_md.801.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	trigger = { original_tag = FRA }

	# Reject American overtures
	option = {
		name = france_md.801.a
		log = "[GetDateText]: [This.GetName]: france_md.801.a executed"
		trigger = { FRA_on_anti_american_path = yes }
		add_political_power = 25
		add_stability = 0.02
		USA = {
			add_opinion_modifier = {
				target = FRA
				modifier = broke_off_diplomatic_relations
			}
		}
		ai_chance = { base = 3 }
	}

	# Consider limited cooperation
	option = {
		name = france_md.801.b
		log = "[GetDateText]: [This.GetName]: france_md.801.b executed"
		trigger = { NOT = { FRA_on_far_left_path = yes } }
		add_political_power = -25
		USA = {
			add_opinion_modifier = {
				target = FRA
				modifier = small_increase
			}
		}
		ai_chance = { base = 1 }
	}
}

# Russia Welcomes French Realignment (for Gaullist/FN paths)
country_event = {
	id = france_md.802
	title = france_md.802.t
	desc = france_md.802.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	trigger = { original_tag = SOV }

	# Strengthen ties with France
	option = {
		name = france_md.802.a
		log = "[GetDateText]: [This.GetName]: france_md.802.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = improve_relation
		}
		FRA = {
			add_opinion_modifier = {
				target = SOV
				modifier = improve_relation
			}
		}
		ai_chance = { base = 3 }
	}

	# Cautious approach
	option = {
		name = france_md.802.b
		log = "[GetDateText]: [This.GetName]: france_md.802.b executed"
		add_political_power = 10
		ai_chance = { base = 1 }
	}
}

# Communist Foreign Policy Consequences
country_event = {
	id = france_md.803
	title = france_md.803.t
	desc = france_md.803.d
	picture = GFX_politics_communism_lenin
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_on_far_left_path = yes
	}

	# Embrace socialist solidarity
	option = {
		name = france_md.803.a
		log = "[GetDateText]: [This.GetName]: france_md.803.a executed"
		add_political_power = 50
		add_stability = -0.03
		# Improved relations with socialist countries
		CUB = {
			add_opinion_modifier = {
				target = FRA
				modifier = improve_relation
			}
		}
		VEN = {
			add_opinion_modifier = {
				target = FRA
				modifier = improve_relation
			}
		}
		ai_chance = { base = 2 }
	}

	# Moderate our approach
	option = {
		name = france_md.803.b
		log = "[GetDateText]: [This.GetName]: france_md.803.b executed"
		add_political_power = -25
		add_stability = 0.02
		ai_chance = { base = 1 }
	}
}

# NATO Allies React to French Distance from Alliance
country_event = {
	id = france_md.804
	title = france_md.804.t
	desc = france_md.804.d
	picture = GFX_event_NATO_leaving
	is_triggered_only = yes

	trigger = {
		has_idea = NATO_member
		NOT = { original_tag = FRA }
		NOT = { original_tag = USA }
	}

	# Express concern
	option = {
		name = france_md.804.a
		log = "[GetDateText]: [This.GetName]: france_md.804.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_nato_distance_concern
		}
		ai_chance = { base = 2 }
	}

	# Remain neutral
	option = {
		name = france_md.804.b
		log = "[GetDateText]: [This.GetName]: france_md.804.b executed"
		add_political_power = -10
		ai_chance = { base = 1 }
	}
}

# Palestine Recognition Event (Far-Left paths)
country_event = {
	id = france_md.805
	title = france_md.805.t
	desc = france_md.805.d
	picture = GFX_palestinian_rebel
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_on_far_left_path = yes
	}

	# Recognize Palestine
	option = {
		name = france_md.805.a
		log = "[GetDateText]: [This.GetName]: france_md.805.a executed"
		set_country_flag = FRA_supports_two_state_solution
		add_political_power = 25
		add_stability = 0.01
		add_ideas = FRA_recognize_palestine
		# Trigger Israeli reaction
		ISR = {
			country_event = { id = france_md.806 days = 3 }
		}
		# Arab states approve
		every_country = {
			limit = {
				OR = {
					tag = EGY
					tag = JOR
					tag = SAU
					tag = UAE
				}
			}
			add_opinion_modifier = {
				target = FRA
				modifier = small_increase
			}
		}
		ai_chance = { base = 3 }
	}

	# Delay recognition
	option = {
		name = france_md.805.b
		log = "[GetDateText]: [This.GetName]: france_md.805.b executed"
		add_political_power = -50
		add_stability = -0.02
		ai_chance = { base = 1 }
	}
}

# Israeli Reaction to French Palestine Recognition
country_event = {
	id = france_md.806
	title = france_md.806.t
	desc = france_md.806.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	trigger = { original_tag = ISR }

	# Condemn France
	option = {
		name = france_md.806.a
		log = "[GetDateText]: [This.GetName]: france_md.806.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = major_breach_of_trust
		}
		FRA = {
			add_opinion_modifier = {
				target = ISR
				modifier = broke_off_diplomatic_relations
			}
		}
		ai_chance = { base = 3 }
	}

	# Measured response
	option = {
		name = france_md.806.b
		log = "[GetDateText]: [This.GetName]: france_md.806.b executed"
		add_opinion_modifier = {
			target = FRA
			modifier = small_decrease
		}
		ai_chance = { base = 1 }
	}
}

# Ukraine War Dilemma for Pro-Russia French Factions
country_event = {
	id = france_md.807
	title = france_md.807.t
	desc = france_md.807.d
	picture = GFX_ukr_federalisation_dumbass
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		original_tag = FRA
		OR = {
			FRA_on_gaullist_path = yes
			FRA_on_far_right_path = yes
		}
		SOV = { has_war_with = UKR }
	}

	# Condemn Russian aggression (pivot away)
	option = {
		name = france_md.807.a
		log = "[GetDateText]: [This.GetName]: france_md.807.a executed"
		add_political_power = -75
		add_stability = -0.05
		if = {
			limit = { has_idea = FRA_fn_russia_alignment_idea }
			remove_ideas = FRA_fn_russia_alignment_idea
		}
		SOV = {
			add_opinion_modifier = {
				target = FRA
				modifier = major_breach_of_trust
			}
		}
		USA = {
			add_opinion_modifier = {
				target = FRA
				modifier = small_increase
			}
		}
		ai_chance = { base = 2 }
	}

	# Maintain neutrality
	option = {
		name = france_md.807.b
		log = "[GetDateText]: [This.GetName]: france_md.807.b executed"
		add_political_power = -100
		add_stability = -0.08
		add_war_support = -0.10
		for_each_scope_loop = {
			array = global.nato_members
			add_opinion_modifier = {
				target = FRA
				modifier = FRA_ukraine_neutrality
			}
		}
		ai_chance = { base = 1 }
	}

	# Support Russian position (extreme)
	option = {
		name = france_md.807.c
		log = "[GetDateText]: [This.GetName]: france_md.807.c executed"
		trigger = { has_government = nationalist }
		add_political_power = 50
		add_stability = -0.15
		add_war_support = -0.20
		for_each_scope_loop = {
			array = global.nato_members
			add_opinion_modifier = {
				target = FRA
				modifier = major_breach_of_trust
			}
		}
		for_each_scope_loop = {
			array = global.EU_member
			add_opinion_modifier = {
				target = FRA
				modifier = major_breach_of_trust
			}
		}
		SOV = {
			add_opinion_modifier = {
				target = FRA
				modifier = improve_relation
			}
		}
		ai_chance = { base = 0 }
	}
}

# EU Reaction to French Sovereigntist Policy
country_event = {
	id = france_md.808
	title = france_md.808.t
	desc = france_md.808.d
	picture = GFX_FRA_generic
	is_triggered_only = yes

	trigger = {
		has_idea = EU_member
		NOT = { original_tag = FRA }
	}

	# Oppose French obstructionism
	option = {
		name = france_md.808.a
		log = "[GetDateText]: [This.GetName]: france_md.808.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_eu_obstruction
		}
		ai_chance = { base = 2 }
	}

	# Sympathize with sovereignty concerns
	option = {
		name = france_md.808.b
		log = "[GetDateText]: [This.GetName]: france_md.808.b executed"
		add_political_power = -25
		add_opinion_modifier = {
			target = FRA
			modifier = small_increase
		}
		ai_chance = { base = 1 }
	}
}

# LFI Non-Aligned Movement Initiative
country_event = {
	id = france_md.809
	title = france_md.809.t
	desc = france_md.809.d
	picture = GFX_paris_convention
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		has_idea = FRA_lfi_non_aligned_policy
	}

	# Pursue non-aligned leadership
	option = {
		name = france_md.809.a
		log = "[GetDateText]: [This.GetName]: france_md.809.a executed"
		add_political_power = 75
		add_stability = 0.02
		add_ideas = FRA_lfi_non_aligned_policy
		# Improved relations with non-aligned nations
		IND = {
			add_opinion_modifier = {
				target = FRA
				modifier = small_increase
			}
		}
		BRA = {
			add_opinion_modifier = {
				target = FRA
				modifier = small_increase
			}
		}
		ai_chance = { base = 2 }
	}

	# Focus on domestic issues
	option = {
		name = france_md.809.b
		log = "[GetDateText]: [This.GetName]: france_md.809.b executed"
		add_political_power = 25
		ai_chance = { base = 1 }
	}
}

# German Reaction to French Strategic Independence
country_event = {
	id = france_md.810
	title = france_md.810.t
	desc = france_md.810.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	trigger = { original_tag = GER }

	# Express concern about Franco-German axis
	option = {
		name = france_md.810.a
		log = "[GetDateText]: [This.GetName]: france_md.810.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = FRA_strategic_independence_concern
		}
		ai_chance = { base = 2 }
	}

	# Respect French sovereignty
	option = {
		name = france_md.810.b
		log = "[GetDateText]: [This.GetName]: france_md.810.b executed"
		add_political_power = 10
		ai_chance = { base = 1 }
	}
}

# China Welcomes French Multipolarity Stance
country_event = {
	id = france_md.811
	title = france_md.811.t
	desc = france_md.811.d
	picture = GFX_FRA_generic
	is_triggered_only = yes

	trigger = { original_tag = CHI }

	# Strengthen ties with France
	option = {
		name = france_md.811.a
		log = "[GetDateText]: [This.GetName]: france_md.811.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = improve_relation
		}
		FRA = {
			add_opinion_modifier = {
				target = CHI
				modifier = improve_relation
			}
		}
		ai_chance = { base = 3 }
	}

	# Cautious engagement
	option = {
		name = france_md.811.b
		log = "[GetDateText]: [This.GetName]: france_md.811.b executed"
		add_political_power = 10
		ai_chance = { base = 1 }
	}
}

# NATO Exit Consequences
country_event = {
	id = france_md.812
	title = france_md.812.t
	desc = france_md.812.d
	picture = GFX_event_NATO_leaving
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		has_idea = FRA_left_nato
	}

	# Embrace strategic independence
	option = {
		name = france_md.812.a
		log = "[GetDateText]: [This.GetName]: france_md.812.a executed"
		add_political_power = 100
		add_stability = -0.05
		add_war_support = 0.10
		set_country_flag = FRA_left_nato_permanently
		ai_chance = { base = 2 }
	}

	# Seek new alliances
	option = {
		name = france_md.812.b
		log = "[GetDateText]: [This.GetName]: france_md.812.b executed"
		add_political_power = 50
		add_stability = -0.03
		set_country_flag = FRA_left_nato_permanently
		# Trigger Russia and China events
		SOV = {
			country_event = { id = france_md.802 days = 10 }
		}
		CHI = {
			country_event = { id = france_md.811 days = 15 }
		}
		ai_chance = { base = 1 }
	}
}

###################################
# FRENCH POLITICAL FLAVOR EVENTS #
###################################

# Budget Minister Tax Evasion Scandal (inspired by Cahuzac affair)
country_event = {
	id = france_md.900
	title = france_md.900.t
	desc = france_md.900.d
	picture = GFX_FRA_political_scandal
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_budget_scandal_happened }
		OR = {
			western_conservatism_are_in_power = yes
			western_liberals_are_in_power = yes
			western_social_democrats_are_in_power = yes
		}
	}

	immediate = { set_country_flag = FRA_budget_scandal_happened }

	# Immediate dismissal and prosecution
	option = {
		name = france_md.900.a
		log = "[GetDateText]: [This.GetName]: france_md.900.a executed"
		add_stability = -0.03
		add_political_power = -50
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 5 }
	}

	# Force resignation only - quick fix
	option = {
		name = france_md.900.b
		log = "[GetDateText]: [This.GetName]: france_md.900.b executed"
		add_stability = -0.05
		add_political_power = -25
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		country_event = { id = france_md.901 days = 60 }
		ai_chance = { base = 3 }
	}

	# Defend the minister initially
	option = {
		name = france_md.900.c
		log = "[GetDateText]: [This.GetName]: france_md.900.c executed"
		add_stability = -0.08
		add_political_power = -100
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

# Scandal fallout - transparency reforms
country_event = {
	id = france_md.901
	title = france_md.901.t
	desc = france_md.901.d
	picture = GFX_politics_demands
	is_triggered_only = yes

	# Implement transparency reforms
	option = {
		name = france_md.901.a
		log = "[GetDateText]: [This.GetName]: france_md.901.a executed"
		add_stability = 0.02
		add_political_power = 25
		add_timed_idea = { idea = FRA_idea_transparency_reforms days = 365 }
		ai_chance = { base = 5 }
	}

	# Minimal changes
	option = {
		name = france_md.901.b
		log = "[GetDateText]: [This.GetName]: france_md.901.b executed"
		add_stability = -0.02
		ai_chance = { base = 2 }
	}
}

# Presidential Candidate Employment Scandal (inspired by Fillon Penelopegate)
country_event = {
	id = france_md.902
	title = france_md.902.t
	desc = france_md.902.d
	picture = GFX_FRA_political_scandal
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_candidate_scandal_happened }
		OR = {
			western_conservatism_are_in_power = yes
			western_liberals_are_in_power = yes
		}
	}

	immediate = { set_country_flag = FRA_candidate_scandal_happened }

	# The accused withdraws from race
	option = {
		name = france_md.902.a
		log = "[GetDateText]: [This.GetName]: france_md.902.a executed"
		add_stability = -0.02
		add_political_power = -75
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	# Continue despite scandal
	option = {
		name = france_md.902.b
		log = "[GetDateText]: [This.GetName]: france_md.902.b executed"
		add_stability = -0.05
		add_political_power = -50
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}

	# Attack media as biased
	option = {
		name = france_md.902.c
		log = "[GetDateText]: [This.GetName]: france_md.902.c executed"
		add_stability = -0.03
		add_political_power = 25
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

# Former President Legal Troubles (inspired by Sarkozy convictions)
country_event = {
	id = france_md.903
	title = france_md.903.t
	desc = france_md.903.d
	picture = GFX_court
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_former_president_trial }
		OR = {
			has_country_flag = FRA_budget_scandal_happened
			has_country_flag = FRA_candidate_scandal_happened
		}
	}

	immediate = { set_country_flag = FRA_former_president_trial }

	# Justice must be served
	option = {
		name = france_md.903.a
		log = "[GetDateText]: [This.GetName]: france_md.903.a executed"
		add_stability = 0.02
		add_political_power = 50
		ai_chance = { base = 5 }
	}

	# This is a political witch hunt
	option = {
		name = france_md.903.b
		log = "[GetDateText]: [This.GetName]: france_md.903.b executed"
		add_stability = -0.02
		add_political_power = -25
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}
}

# Yellow Vests Movement Begins
country_event = {
	id = france_md.910
	title = france_md.910.t
	desc = france_md.910.d
	picture = GFX_FRA_gilets_jaunes
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_yellow_vests_started }
		OR = {
			western_conservatism_are_in_power = yes
			western_liberals_are_in_power = yes
			western_social_democrats_are_in_power = yes
		}
		OR = {
			has_stability < 0.6
			check_variable = { gdp_per_capita < 35000 }
		}
	}

	immediate = { set_country_flag = FRA_yellow_vests_started }

	# Cancel fuel tax increases
	option = {
		name = france_md.910.a
		log = "[GetDateText]: [This.GetName]: france_md.910.a executed"
		add_stability = 0.02
		add_political_power = -100
		set_temp_variable = { treasury_change = -5 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	# Maintain the tax but increase dialogue
	option = {
		name = france_md.910.b
		log = "[GetDateText]: [This.GetName]: france_md.910.b executed"
		add_stability = -0.03
		add_political_power = -50
		country_event = { id = france_md.911 days = 30 }
		ai_chance = { base = 3 }
	}

	# Stand firm - the reforms are necessary
	option = {
		name = france_md.910.c
		log = "[GetDateText]: [This.GetName]: france_md.910.c executed"
		add_stability = -0.08
		add_political_power = 25
		add_war_support = -0.05
		country_event = { id = france_md.912 days = 14 }
		ai_chance = { base = 1 }
	}
}

# Yellow Vests - Protests Escalate
country_event = {
	id = france_md.911
	title = france_md.911.t
	desc = france_md.911.d
	picture = GFX_FRA_gilets_jaunes
	is_triggered_only = yes

	# Launch Grand National Debate
	option = {
		name = france_md.911.a
		log = "[GetDateText]: [This.GetName]: france_md.911.a executed"
		add_stability = 0.03
		add_political_power = -75
		set_temp_variable = { treasury_change = -2 }
		modify_treasury_effect = yes
		add_timed_idea = { idea = FRA_idea_national_debate days = 180 }
		ai_chance = { base = 4 }
	}

	# Offer economic concessions
	option = {
		name = france_md.911.b
		log = "[GetDateText]: [This.GetName]: france_md.911.b executed"
		add_stability = 0.05
		add_political_power = -100
		set_temp_variable = { treasury_change = -10 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	# Crack down on protests
	option = {
		name = france_md.911.c
		log = "[GetDateText]: [This.GetName]: france_md.911.c executed"
		add_stability = -0.05
		add_political_power = 50
		add_war_support = 0.02
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

# Yellow Vests - Crisis Point
country_event = {
	id = france_md.912
	title = france_md.912.t
	desc = france_md.912.d
	picture = GFX_FRA_gilets_jaunes
	is_triggered_only = yes

	# Major concessions package
	option = {
		name = france_md.912.a
		log = "[GetDateText]: [This.GetName]: france_md.912.a executed"
		add_stability = 0.1
		add_political_power = -150
		set_temp_variable = { treasury_change = -15 }
		modify_treasury_effect = yes
		add_timed_idea = { idea = FRA_idea_social_emergency_measures days = 730 }
		ai_chance = { base = 3 }
	}

	# State of emergency
	option = {
		name = france_md.912.b
		log = "[GetDateText]: [This.GetName]: france_md.912.b executed"
		add_stability = -0.08
		add_political_power = 100
		add_war_support = 0.05
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}
}

# Socialist Party Internal Crisis
country_event = {
	id = france_md.920
	title = france_md.920.t
	desc = france_md.920.d
	picture = GFX_internal_faction_political_conflict
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_socialist_crisis_happened }
		western_social_democrats_are_in_power = yes
		NOT = { has_idea = FRA_socialism_renew }
		NOT = { has_idea = FRA_resist_inevitable }
		NOT = { has_idea = FRA_resist_inevitable2 }
		NOT = { has_idea = FRA_resist_inevitable3 }
	}

	immediate = { set_country_flag = FRA_socialist_crisis_happened }

	# Rally the party around core values
	option = {
		name = france_md.920.a
		log = "[GetDateText]: [This.GetName]: france_md.920.a executed"
		add_stability = 0.02
		add_political_power = -50
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	# Accept modernization - move to center
	option = {
		name = france_md.920.b
		log = "[GetDateText]: [This.GetName]: france_md.920.b executed"
		add_stability = -0.02
		add_political_power = 25
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	# Party splits between factions
	option = {
		name = france_md.920.c
		log = "[GetDateText]: [This.GetName]: france_md.920.c executed"
		add_stability = -0.05
		add_political_power = -100
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = communism popularity = 0.02 }
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

# National Rally De-demonization Debate
country_event = {
	id = france_md.921
	title = france_md.921.t
	desc = france_md.921.d
	picture = GFX_FRA_front_national_rally
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_rn_dedemonization }
		nationalist_right_wing_populists_are_in_power = yes
		NOT = { has_country_flag = FRA_RN_CREATED }
	}

	immediate = { set_country_flag = FRA_rn_dedemonization }

	# Embrace moderate image
	option = {
		name = france_md.921.a
		log = "[GetDateText]: [This.GetName]: france_md.921.a executed"
		add_stability = 0.03
		add_political_power = 50
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		set_country_flag = FRA_rn_moderated
		ai_chance = { base = 4 }
	}

	# Maintain hardline positions
	option = {
		name = france_md.921.b
		log = "[GetDateText]: [This.GetName]: france_md.921.b executed"
		add_stability = -0.02
		add_political_power = 25
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = nationalist popularity = 0.01 }
		ai_chance = { base = 2 }
	}

	# Internal family conflict erupts
	option = {
		name = france_md.921.c
		log = "[GetDateText]: [This.GetName]: france_md.921.c executed"
		add_stability = -0.03
		add_political_power = -50
		country_event = { id = france_md.922 days = 30 }
		ai_chance = { base = 1 }
	}
}

# National Rally Family Conflict
country_event = {
	id = france_md.922
	title = france_md.922.t
	desc = france_md.922.d
	picture = GFX_FRA_front_national_rally
	is_triggered_only = yes

	# New generation takes control
	option = {
		name = france_md.922.a
		log = "[GetDateText]: [This.GetName]: france_md.922.a executed"
		add_stability = 0.02
		add_political_power = 75
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 4 }
	}

	# Founder expelled from party
	option = {
		name = france_md.922.b
		log = "[GetDateText]: [This.GetName]: france_md.922.b executed"
		add_stability = 0.01
		add_political_power = 50
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = nationalist popularity = -0.02 }
		ai_chance = { base = 3 }
	}
}

# Republican Party Alliance Crisis
country_event = {
	id = france_md.923
	title = france_md.923.t
	desc = france_md.923.d
	picture = GFX_politics_talks
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_republican_alliance_crisis }
		OR = {
			western_conservatism_are_in_power = yes
			western_liberals_are_in_power = yes
		}
		has_country_flag = FRA_rn_moderated
	}

	immediate = { set_country_flag = FRA_republican_alliance_crisis }

	# Reject alliance with far-right
	option = {
		name = france_md.923.a
		log = "[GetDateText]: [This.GetName]: france_md.923.a executed"
		add_stability = 0.02
		add_political_power = -50
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 4 }
	}

	# Form tactical alliance
	option = {
		name = france_md.923.b
		log = "[GetDateText]: [This.GetName]: france_md.923.b executed"
		add_stability = -0.03
		add_political_power = 75
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.04 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}

	# Party leader acts unilaterally - party splits
	option = {
		name = france_md.923.c
		log = "[GetDateText]: [This.GetName]: france_md.923.c executed"
		add_stability = -0.05
		add_political_power = -100
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

# Pension Reform Crisis
country_event = {
	id = france_md.930
	title = france_md.930.t
	desc = france_md.930.d
	picture = GFX_FRA_demonstration
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_pension_reform_crisis }
		date > 2010.1.1
		NOT = {
			OR = {
				has_country_flag = FRA_communist_path
				neutrality_neutral_social_are_in_power = yes
				emerging_communist_state_are_in_power = yes
				neutrality_neutral_communism_are_in_power = yes
				has_idea = FRA_pension_reform
			}
		}
	}

	immediate = { set_country_flag = FRA_pension_reform_crisis }

	# Push through with Article 49.3
	option = {
		name = france_md.930.a
		log = "[GetDateText]: [This.GetName]: france_md.930.a executed"
		add_stability = -0.08
		add_political_power = -100
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { treasury_change = 5 }
		modify_treasury_effect = yes
		add_ideas = FRA_idea_pension_reform_passed
		ai_chance = { base = 2 }
	}

	# Negotiate with unions
	option = {
		name = france_md.930.b
		log = "[GetDateText]: [This.GetName]: france_md.930.b executed"
		add_stability = 0.02
		add_political_power = -75
		country_event = { id = france_md.931 days = 45 }
		ai_chance = { base = 3 }
	}

	# Withdraw the reform
	option = {
		name = france_md.930.c
		log = "[GetDateText]: [This.GetName]: france_md.930.c executed"
		add_stability = 0.05
		add_political_power = -50
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}
}

# Pension Reform Negotiations
country_event = {
	id = france_md.931
	title = france_md.931.t
	desc = france_md.931.d
	picture = GFX_treaty
	is_triggered_only = yes

	# picture = GFX_politics_negociations
	# Compromise reached
	option = {
		name = france_md.931.a
		log = "[GetDateText]: [This.GetName]: france_md.931.a executed"
		add_stability = 0.03
		add_political_power = 25
		set_temp_variable = { treasury_change = 2 }
		modify_treasury_effect = yes
		add_ideas = FRA_idea_pension_compromise
		ai_chance = { base = 4 }
	}

	# Negotiations break down
	option = {
		name = france_md.931.b
		log = "[GetDateText]: [This.GetName]: france_md.931.b executed"
		add_stability = -0.05
		add_political_power = -50
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = communism popularity = 0.01 }
		ai_chance = { base = 2 }
	}
}

# Student and Youth Uprising
country_event = {
	id = france_md.932
	title = france_md.932.t
	desc = france_md.932.d
	picture = GFX_politics_protest
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_student_uprising }
		has_stability < 0.6
	}

	immediate = { set_country_flag = FRA_student_uprising }

	# Withdraw controversial policy
	option = {
		name = france_md.932.a
		log = "[GetDateText]: [This.GetName]: france_md.932.a executed"
		add_stability = 0.05
		add_political_power = -100
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	# Negotiate with student unions
	option = {
		name = france_md.932.b
		log = "[GetDateText]: [This.GetName]: france_md.932.b executed"
		add_stability = 0.02
		add_political_power = -50
		ai_chance = { base = 4 }
	}

	# Clear occupied universities
	option = {
		name = france_md.932.c
		log = "[GetDateText]: [This.GetName]: france_md.932.c executed"
		add_stability = -0.05
		add_political_power = 50
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = communism popularity = 0.02 }
		ai_chance = { base = 1 }
	}
}

# Shocking Election Upset
country_event = {
	id = france_md.940
	title = france_md.940.t
	desc = france_md.940.d
	picture = GFX_USR_elections
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_election_upset }
		date > 2000.1.1
		has_stability < 0.5
	}

	immediate = { set_country_flag = FRA_election_upset }

	# Call for Republican Front against extremism
	option = {
		name = france_md.940.a
		log = "[GetDateText]: [This.GetName]: france_md.940.a executed"
		add_stability = 0.05
		add_political_power = 100
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.03 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_balance_domestic_nationalist_drift = 0.02 tooltip = nationalist_drift_tt }
		add_to_variable = { FRA_balance_domestic_communist_drift = 0.02 tooltip = communism_drift_tt }
		ai_chance = { base = 4 }
	}

	# Let voters decide without intervention
	option = {
		name = france_md.940.b
		log = "[GetDateText]: [This.GetName]: france_md.940.b executed"
		add_stability = -0.02
		add_political_power = 25
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_balance_domestic_neutrality_drift = 0.01 tooltip = neutrality_drift_tt }
		ai_chance = { base = 2 }
	}

	# This is a wake-up call for reform
	option = {
		name = france_md.940.c
		log = "[GetDateText]: [This.GetName]: france_md.940.c executed"
		add_stability = 0.05
		add_political_power = -50
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_idea_political_renewal days = 365 }
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_Balance_drift_defense = 0.025 tooltip = drift_defence_factor_tt }
		ai_chance = { base = 3 }
	}
}

# New Political Movement Emerges
country_event = {
	id = france_md.941
	title = france_md.941.t
	desc = france_md.941.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_new_movement_emerged }
		has_stability < 0.55
		OR = {
			has_country_flag = FRA_socialist_crisis_happened
			has_country_flag = FRA_republican_alliance_crisis
		}
	}

	immediate = { set_country_flag = FRA_new_movement_emerged }

	# Support the new movement
	option = {
		name = france_md.941.a
		log = "[GetDateText]: [This.GetName]: france_md.941.a executed"
		add_stability = 0.03
		add_political_power = 75
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	# Oppose it as a flash in the pan
	option = {
		name = france_md.941.b
		log = "[GetDateText]: [This.GetName]: france_md.941.b executed"
		add_stability = -0.02
		add_political_power = -25
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}

	# Traditional parties must adapt
	option = {
		name = france_md.941.c
		log = "[GetDateText]: [This.GetName]: france_md.941.c executed"
		add_stability = 0.01
		add_political_power = 25
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}
}

# Suburban Riots
country_event = {
	id = france_md.950
	title = france_md.950.t
	desc = france_md.950.d
	picture = GFX_FRA_demonstration
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_banlieue_riots }
		has_stability < 0.6
	}

	immediate = { set_country_flag = FRA_banlieue_riots }

	# Declare state of emergency
	option = {
		name = france_md.950.a
		log = "[GetDateText]: [This.GetName]: france_md.950.a executed"
		add_stability = -0.03
		add_political_power = 75
		add_war_support = 0.03
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}

	# Launch integration and social programs
	option = {
		name = france_md.950.b
		log = "[GetDateText]: [This.GetName]: france_md.950.b executed"
		add_stability = 0.02
		add_political_power = -75
		set_temp_variable = { treasury_change = -8 }
		modify_treasury_effect = yes
		add_timed_idea = { idea = FRA_idea_urban_renewal days = 730 }
		ai_chance = { base = 3 }
	}

	# Hardline crackdown rhetoric
	option = {
		name = france_md.950.c
		log = "[GetDateText]: [This.GetName]: france_md.950.c executed"
		add_stability = -0.05
		add_political_power = 50
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = nationalist popularity = 0.02 }
		ai_chance = { base = 2 }
	}
}

# Terrorist Attack on French Soil
country_event = {
	id = france_md.949
	title = france_md.949.t
	desc = france_md.949.d
	picture = GFX_france_bombing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_terror_attack_occurred }
		has_war = yes
	}

	immediate = { set_country_flag = FRA_terror_attack_occurred }

	# The attack shocks the nation
	option = {
		name = france_md.949.a
		log = "[GetDateText]: [This.GetName]: france_md.949.a executed"
		add_stability = -0.15
		add_war_support = 0.05
		add_political_power = -75
		add_manpower = -500
		country_event = { id = france_md.951 days = 3 }
		ai_chance = { base = 1 }
	}
}

# Terror Attack Response
country_event = {
	id = france_md.951
	title = france_md.951.t
	desc = france_md.951.d
	picture = GFX_FRA_terror_aftermath
	is_triggered_only = yes

	# National unity and enhanced security
	option = {
		name = france_md.951.a
		log = "[GetDateText]: [This.GetName]: france_md.951.a executed"
		add_stability = 0.05
		add_war_support = 0.10
		add_political_power = 100
		add_timed_idea = { idea = FRA_idea_national_unity days = 365 }
		ai_chance = { base = 5 }
	}

	# Military response abroad
	option = {
		name = france_md.951.b
		log = "[GetDateText]: [This.GetName]: france_md.951.b executed"
		add_stability = 0.02
		add_war_support = 0.15
		add_political_power = 50
		army_experience = 25
		ai_chance = { base = 3 }
	}

	# Focus on civil liberties concerns
	option = {
		name = france_md.951.c
		log = "[GetDateText]: [This.GetName]: france_md.951.c executed"
		add_stability = -0.02
		add_political_power = -25
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}

# EU Constitution Referendum
country_event = {
	id = france_md.952
	title = france_md.952.t
	desc = france_md.952.d
	picture = GFX_european_parliament_elections
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		has_idea = EU_member
		NOT = { has_country_flag = FRA_eu_referendum }
		is_in_faction_with = EUF
	}

	immediate = { set_country_flag = FRA_eu_referendum }

	# Campaign vigorously for Yes
	option = {
		name = france_md.952.a
		log = "[GetDateText]: [This.GetName]: france_md.952.a executed"
		random_list = {
			60 = {
				add_stability = 0.03
				add_political_power = 50
			}
			40 = {
				add_stability = -0.05
				add_political_power = -100
			}
		}
		ai_chance = { base = 3 }
	}

	# Let the campaign unfold naturally
	option = {
		name = france_md.952.b
		log = "[GetDateText]: [This.GetName]: france_md.952.b executed"
		random_list = {
			40 = { add_stability = 0.02 }
			60 = {
				add_stability = -0.03
				add_political_power = -50
			}
		}
		ai_chance = { base = 3 }
	}

	# Don't risk a referendum
	option = {
		name = france_md.952.c
		log = "[GetDateText]: [This.GetName]: france_md.952.c executed"
		add_stability = -0.02
		add_political_power = -25
		ai_chance = { base = 2 }
	}
}

# Left-Wing Coalition Forms
country_event = {
	id = france_md.953
	title = france_md.953.t
	desc = france_md.953.d
	picture = GFX_politics_left_wing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_left_coalition_formed }
		has_country_flag = FRA_socialist_crisis_happened
		western_social_democrats_are_in_power = yes
	}

	immediate = { set_country_flag = FRA_left_coalition_formed }

	# Unite under pragmatic leadership
	option = {
		name = france_md.953.a
		log = "[GetDateText]: [This.GetName]: france_md.953.a executed"
		add_stability = 0.03
		add_political_power = 75
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.03 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = communism popularity = 0.02 }
		ai_chance = { base = 3 }
	}

	# Let radical wing lead
	option = {
		name = france_md.953.b
		log = "[GetDateText]: [This.GetName]: france_md.953.b executed"
		add_stability = -0.02
		add_political_power = 50
		add_popularity = { ideology = communism popularity = 0.04 }
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.01 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}

	# Coalition collapses over disagreements
	option = {
		name = france_md.953.c
		log = "[GetDateText]: [This.GetName]: france_md.953.c executed"
		add_stability = -0.03
		add_political_power = -50
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		add_popularity = { ideology = communism popularity = -0.02 }
		ai_chance = { base = 2 }
	}
}

# Hung Parliament Crisis
country_event = {
	id = france_md.954
	title = france_md.954.t
	desc = france_md.954.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		NOT = { has_country_flag = FRA_hung_parliament }
		has_stability < 0.5
		NOT = { has_government = communism }
		NOT = { has_government = nationalist }
	}

	immediate = { set_country_flag = FRA_hung_parliament }

	# Form technocratic government
	option = {
		name = france_md.954.a
		log = "[GetDateText]: [This.GetName]: france_md.954.a executed"
		add_stability = 0.02
		add_political_power = -50
		add_timed_idea = { idea = FRA_idea_technocratic_government days = 730 }
		ai_chance = { base = 3 }
	}

	# Call snap elections
	option = {
		name = france_md.954.b
		log = "[GetDateText]: [This.GetName]: france_md.954.b executed"
		add_stability = -0.05
		add_political_power = -100
		random_list = {
			40 = { # Success
				country_event = { id = france_md.556 days = 60 }
			}
			60 = { # failure
				country_event = { id = france_md.940 days = 60 }
			}
		}
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_Balance_drift_defense = -0.025 tooltip = drift_defence_factor_tt }
		ai_chance = { base = 2 }
	}

	# Attempt grand coalition
	option = {
		name = france_md.954.c
		log = "[GetDateText]: [This.GetName]: france_md.954.c executed"
		add_stability = 0.01
		add_political_power = 25
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = -0.02 }
		change_relative_party_popularity = yes
		ai_chance = { base = 3 }
	}
}

####################################
# GREEN EXTRACTION BAN EVENTS (960)
####################################

# Event for EU members when France bans resource extraction
country_event = {
	id = france_md.960
	title = france_md.960.t
	desc = france_md.960.d
	picture = GFX_treaty
	is_triggered_only = yes

	# Support France's environmental leadership
	option = {
		name = france_md.960.a
		log = "[GetDateText]: [This.GetName]: france_md.960.a executed"
		add_opinion_modifier = {
			target = FRA
			modifier = great_trade_positive
		}
		if = {
			limit = { neutrality_neutral_green_in_power_or_coalition = yes }
			add_political_power = 25
		}
		ai_chance = {
			base = 2
			modifier = {
				factor = 3
				neutrality_neutral_green_in_power_or_coalition = yes
			}
		}
	}

	# Express concern about economic impact
	option = {
		name = france_md.960.b
		log = "[GetDateText]: [This.GetName]: france_md.960.b executed"
		add_opinion_modifier = {
			target = FRA
			modifier = recent_actions_negative
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 0.5
				neutrality_neutral_green_in_power_or_coalition = yes
			}
		}
	}
}

#################################################
# TERRORIST ATTACK EVENT CHAIN
# IDs: france_md.970 - france_md.985
# Based on historical vulnerabilities and attacks
# Only triggers under extreme conditions
#################################################

# Level 1: Metro/Train Station Bombing (Minor Attack)
# Inspired by 1995 Paris Metro bombings
country_event = {
	id = france_md.970
	title = france_md.970.t
	desc = france_md.970.d
	picture = GFX_FRA_terror_aftermath
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_minor_attack = yes
		NOT = { has_country_flag = FRA_terror_level_1 }
	}

	immediate = {
		set_country_flag = { flag = FRA_recent_terror_attack value = 1 days = 90 }
		set_country_flag = FRA_terror_level_1
		# Begin terror wave - 5 year window for escalated attacks
		if = {
			limit = { NOT = { has_country_flag = FRA_terror_wave_active } }
			set_country_flag = { flag = FRA_terror_wave_active value = 1 days = 1825 }
		}
	}

	# Declare state of emergency
	option = {
		name = france_md.970.a
		log = "[GetDateText]: [This.GetName]: france_md.970.a executed"
		add_stability = -0.05
		add_war_support = 0.05
		add_political_power = -50
		add_manpower = -150
		add_timed_idea = {
			idea = FRA_state_of_emergency_terrorism
			days = 730
		}
		add_timed_idea = {
			idea = FRA_terror_threat_elevated
			days = 365
		}
		# Blocks further attacks temporarily
		hidden_effect = {
			set_country_flag = { flag = FRA_heightened_alert value = 1 days = 180 }
		}
		ai_chance = { base = 5 }
	}

	# Heighten security but maintain normal life
	option = {
		name = france_md.970.b
		log = "[GetDateText]: [This.GetName]: france_md.970.b executed"
		add_stability = -0.08
		add_war_support = 0.03
		add_political_power = -25
		add_manpower = -150
		add_timed_idea = {
			idea = FRA_heightened_security
			days = 1095
		}
		add_timed_idea = {
			idea = FRA_terror_threat_elevated
			days = 365
		}
		ai_chance = { base = 3 }
	}

	# Minimal response (risky)
	option = {
		name = france_md.970.c
		log = "[GetDateText]: [This.GetName]: france_md.970.c executed"
		add_stability = -0.10
		add_war_support = 0.02
		add_manpower = -150
		add_timed_idea = {
			idea = FRA_terror_threat_elevated
			days = 180
		}
		# More likely to have follow-up attack
		ai_chance = { base = 1 }
	}
}

# Level 2: Police Station or Recruitment Office Attack (Medium Attack)
country_event = {
	id = france_md.971
	title = france_md.971.t
	desc = france_md.971.d
	picture = GFX_FRA_police_station_attack
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_medium_attack = yes
		NOT = { has_country_flag = FRA_terror_level_2 }
	}

	immediate = {
		set_country_flag = { flag = FRA_recent_terror_attack value = 1 days = 120 }
		set_country_flag = FRA_terror_level_2
	}

	# Full military deployment to streets
	option = {
		name = france_md.971.a
		log = "[GetDateText]: [This.GetName]: france_md.971.a executed"
		add_stability = -0.08
		add_war_support = 0.08
		add_political_power = -75
		add_manpower = -50
		if = {
			limit = { NOT = { has_idea = FRA_state_of_emergency_terrorism } }
			add_ideas = FRA_state_of_emergency_terrorism
		}
		if = {
			limit = { has_idea = FRA_terror_threat_elevated }
			swap_ideas = {
				remove_idea = FRA_terror_threat_elevated
				add_idea = FRA_terror_threat_critical
			}
		}
		else = { add_ideas = FRA_terror_threat_critical }
		ai_chance = { base = 5 }
	}

	# Intelligence-focused response
	option = {
		name = france_md.971.b
		log = "[GetDateText]: [This.GetName]: france_md.971.b executed"
		add_stability = -0.10
		add_war_support = 0.05
		add_political_power = -50
		add_manpower = -50
		if = {
			limit = { has_idea = FRA_terror_threat_elevated }
			swap_ideas = {
				remove_idea = FRA_terror_threat_elevated
				add_idea = FRA_terror_threat_critical
			}
		}
		else = {
			add_ideas = FRA_terror_threat_critical
		}
		# Better chance to prevent next attack
		set_country_flag = { flag = FRA_intelligence_surge value = 1 days = 365 }
		ai_chance = { base = 3 }
	}
}

# Level 2b: Christmas Market or Concert Attack (Medium Attack)
# Inspired by 2015 Bataclan, 2016 Nice truck attack
country_event = {
	id = france_md.972
	title = france_md.972.t
	desc = france_md.972.d
	picture = GFX_france_bombing
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_medium_attack = yes
		has_country_flag = FRA_terror_level_2
		NOT = { has_country_flag = FRA_mass_casualty_attack }
	}

	immediate = {
		set_country_flag = { flag = FRA_recent_terror_attack value = 1 days = 180 }
		set_country_flag = FRA_mass_casualty_attack
	}

	# National mourning and unity
	option = {
		name = france_md.972.a
		log = "[GetDateText]: [This.GetName]: france_md.972.a executed"
		add_stability = -0.12
		add_war_support = 0.15
		add_political_power = 50
		add_manpower = -500
		add_timed_idea = {
			idea = FRA_national_mourning
			days = 30
		}
		# Trigger global news
		hidden_effect = {
			news_event = { id = france_md.980 days = 1 }
		}
		ai_chance = { base = 5 }
	}

	# Immediate military retaliation abroad
	option = {
		name = france_md.972.b
		log = "[GetDateText]: [This.GetName]: france_md.972.b executed"
		trigger = { has_war = yes }
		add_stability = -0.10
		add_war_support = 0.20
		add_political_power = -50
		add_manpower = -500
		army_experience = 25
		air_experience = 25
		hidden_effect = {
			news_event = { id = france_md.980 days = 1 }
		}
		ai_chance = { base = 3 }
	}
}

# Level 3: Louvre Museum Attack (Major Attack)
country_event = {
	id = france_md.973
	title = france_md.973.t
	desc = france_md.973.d
	picture = GFX_terrorist_attack
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_major_attack = yes
		NOT = { has_country_flag = FRA_terror_level_3 }
	}

	immediate = {
		set_country_flag = { flag = FRA_recent_terror_attack value = 1 days = 240 }
		set_country_flag = FRA_terror_level_3
	}

	# Cultural heritage under attack - maximum response
	option = {
		name = france_md.973.a
		log = "[GetDateText]: [This.GetName]: france_md.973.a executed"
		add_stability = -0.15
		add_war_support = 0.15
		add_political_power = -100
		add_manpower = -200
		add_timed_idea = {
			idea = FRA_tourism_crisis
			days = 730
		}
		if = {
			limit = { NOT = { has_idea = FRA_state_of_emergency_terrorism } }
			add_ideas = FRA_state_of_emergency_terrorism
		}
		# Global news
		hidden_effect = {
			news_event = { id = france_md.981 days = 1 }
		}
		ai_chance = { base = 5 }
	}

	# Focus on cultural preservation
	option = {
		name = france_md.973.b
		log = "[GetDateText]: [This.GetName]: france_md.973.b executed"
		add_stability = -0.12
		add_war_support = 0.10
		add_political_power = -75
		add_manpower = -200
		add_timed_idea = {
			idea = FRA_tourism_crisis
			days = 365
		}
		hidden_effect = {
			news_event = { id = france_md.981 days = 1 }
		}
		ai_chance = { base = 3 }
	}
}

# Level 3b: Military Base Infiltration (Major Attack)
country_event = {
	id = france_md.974
	title = france_md.974.t
	desc = france_md.974.d
	picture = GFX_FRA_military_base_attack
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_major_attack = yes
		has_country_flag = FRA_terror_level_3
		NOT = { has_country_flag = FRA_military_base_attack }
	}

	immediate = {
		set_country_flag = { flag = FRA_recent_terror_attack value = 1 days = 300 }
		set_country_flag = FRA_military_base_attack
	}

	# Purge and restructure military security
	option = {
		name = france_md.974.a
		log = "[GetDateText]: [This.GetName]: france_md.974.a executed"
		add_stability = -0.15
		add_war_support = 0.10
		add_political_power = -150
		add_manpower = -300
		army_experience = -25
		ai_chance = { base = 5 }
	}

	# Accept casualties, maintain operations
	option = {
		name = france_md.974.b
		log = "[GetDateText]: [This.GetName]: france_md.974.b executed"
		add_stability = -0.18
		add_war_support = 0.15
		add_political_power = -100
		add_manpower = -300
		army_experience = 10
		ai_chance = { base = 2 }
	}
}

# Level 4: Eiffel Tower Siege (Catastrophic Attack)
# Only possible under extreme circumstances
country_event = {
	id = france_md.975
	title = france_md.975.t
	desc = france_md.975.d
	picture = GFX_FRA_eiffel_tower_news
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_catastrophic_attack = yes
		NOT = { has_country_flag = FRA_eiffel_tower_attack }
	}

	immediate = {
		set_country_flag = { flag = FRA_recent_terror_attack value = 1 days = 365 }
		set_country_flag = FRA_eiffel_tower_attack
		set_country_flag = FRA_terror_chain_complete
	}

	# Hostage rescue operation
	option = {
		name = france_md.975.a
		log = "[GetDateText]: [This.GetName]: france_md.975.a executed"
		random_list = {
			60 = { # Rescue succeeds
				add_stability = -0.15
				add_war_support = 0.25
				add_political_power = 100
				add_manpower = -100
				custom_effect_tooltip = FRA_hostage_rescue_success_tt
			}
			40 = { # Rescue has casualties
				add_stability = -0.25
				add_war_support = 0.15
				add_political_power = -100
				add_manpower = -500
				custom_effect_tooltip = FRA_hostage_rescue_casualties_tt
			}
		}
		add_timed_idea = {
			idea = FRA_tourism_crisis
			days = 1095
		}
		# Global news
		hidden_effect = {
			news_event = { id = france_md.982 days = 1 }
		}
		ai_chance = { base = 4 }
	}

	# Negotiate with terrorists
	option = {
		name = france_md.975.b
		log = "[GetDateText]: [This.GetName]: france_md.975.b executed"
		add_stability = -0.20
		add_war_support = -0.10
		add_political_power = -200
		add_timed_idea = {
			idea = FRA_tourism_crisis
			days = 730
		}
		hidden_effect = {
			news_event = { id = france_md.982 days = 1 }
		}
		ai_chance = { base = 1 }
	}

	# Military assault - no negotiations
	option = {
		name = france_md.975.c
		log = "[GetDateText]: [This.GetName]: france_md.975.c executed"
		add_stability = -0.20
		add_war_support = 0.30
		add_political_power = 50
		add_manpower = -800
		army_experience = 50
		add_timed_idea = {
			idea = FRA_tourism_crisis
			days = 1095
		}
		hidden_effect = {
			news_event = { id = france_md.982 days = 1 }
		}
		ai_chance = { base = 3 }
	}
}

# Level 4b: Nuclear Facility Threat (Catastrophic Attack)
country_event = {
	id = france_md.976
	title = france_md.976.t
	desc = france_md.976.d
	picture = GFX_FRA_nuclear_facility_attack
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		FRA_can_have_catastrophic_attack = yes
		has_country_flag = FRA_eiffel_tower_attack
		NOT = { has_country_flag = FRA_nuclear_threat }
	}

	immediate = { set_country_flag = FRA_nuclear_threat }

	# Evacuate and neutralize threat
	option = {
		name = france_md.976.a
		log = "[GetDateText]: [This.GetName]: france_md.976.a executed"
		add_stability = -0.20
		add_war_support = 0.20
		add_political_power = -200
		add_manpower = -50
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		# Global news
		hidden_effect = {
			news_event = { id = france_md.983 days = 1 }
		}
		ai_chance = { base = 5 }
	}

	# Special forces assault
	option = {
		name = france_md.976.b
		log = "[GetDateText]: [This.GetName]: france_md.976.b executed"
		random_list = {
			70 = { # Success
				add_stability = -0.15
				add_war_support = 0.25
				add_political_power = 100
				custom_effect_tooltip = FRA_nuclear_threat_neutralized_tt
			}
			30 = { # Partial success with damage
				add_stability = -0.30
				add_war_support = 0.10
				add_political_power = -150
				add_timed_idea = {
					idea = FRA_damaged_infrastructure
					days = 365
				}
				custom_effect_tooltip = FRA_nuclear_facility_damaged_tt
			}
		}
		hidden_effect = {
			news_event = { id = france_md.983 days = 1 }
		}
		ai_chance = { base = 3 }
	}
}

#################################################
# GLOBAL NEWS EVENTS FOR MAJOR ATTACKS
#################################################

# News: Mass Casualty Attack in France
news_event = {
	id = france_md.980
	title = france_md.980.t
	desc = france_md.980.d
	picture = GFX_news_terrorist_attack
	is_triggered_only = yes
	major = yes

	option = {
		name = france_md.980.a
		log = "[GetDateText]: [This.GetName]: france_md.980.a executed"
		# Show solidarity
		if = {
			limit = {
				OR = {
					is_in_faction_with = FRA
					has_idea = NATO_member
					has_idea = EU_member
				}
			}
			add_opinion_modifier = {
				target = FRA
				modifier = great_trade_positive
			}
		}
		ai_chance = { base = 1 }
	}
}

# News: Louvre Museum Attack
news_event = {
	id = france_md.981
	title = france_md.981.t
	desc = france_md.981.d
	picture = GFX_news_terrorist_attack
	is_triggered_only = yes
	major = yes

	option = {
		name = france_md.981.a
		ai_chance = { base = 1 }
	}
}

# News: Eiffel Tower Under Siege
news_event = {
	id = france_md.982
	title = france_md.982.t
	desc = france_md.982.d
	picture = GFX_event_news_FRA_eiffel_siege
	is_triggered_only = yes
	major = yes

	option = {
		name = france_md.982.a
		log = "[GetDateText]: [This.GetName]: france_md.982.a executed"
		# Allied nations may offer support
		if = {
			limit = {
				OR = {
					is_in_faction_with = FRA
					has_idea = NATO_member
				}
			}
			FRA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = improve_relation
				}
			}
		}
		ai_chance = { base = 1 }
	}
}

# News: Nuclear Facility Threat in France
news_event = {
	id = france_md.983
	title = france_md.983.t
	desc = france_md.983.d
	picture = GFX_event_news_FRA_nuclear_facility_bomb
	is_triggered_only = yes
	major = yes

	option = {
		name = france_md.983.a
		ai_chance = { base = 1 }
	}
}

# Intelligence Foils Planned Attack
country_event = {
	id = france_md.985
	title = france_md.985.t
	desc = france_md.985.d
	picture = GFX_FRA_police_operation
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		OR = {
			has_idea = FRA_heightened_security
			has_idea = FRA_state_of_emergency_terrorism
			# Strong intelligence can foil attacks even without emergency measures
			AND = {
				FRA_has_strong_intelligence = yes
				FRA_has_high_police_budget = yes
			}
		}
		OR = {
			has_country_flag = FRA_intelligence_surge
			FRA_has_strong_intelligence = yes
		}
		OR = {
			has_country_flag = FRA_terror_level_1
			has_country_flag = FRA_terror_level_2
			has_country_flag = FRA_terror_level_3
		}
		NOT = { has_country_flag = FRA_terror_chain_complete }
		NOT = { has_country_flag = FRA_attack_foiled_recently }
	}

	immediate = {
		set_country_flag = { flag = FRA_attack_foiled_recently value = 1 days = 365 }
	}

	# Publicize the success
	option = {
		name = france_md.985.a
		log = "[GetDateText]: [This.GetName]: france_md.985.a executed"
		add_stability = 0.05
		add_war_support = 0.03
		add_political_power = 50
		set_country_flag = { flag = FRA_attack_foiled value = 1 days = 180 }
		ai_chance = { base = 4 }
	}

	# Keep it quiet for operational security
	option = {
		name = france_md.985.b
		log = "[GetDateText]: [This.GetName]: france_md.985.b executed"
		add_stability = 0.02
		add_political_power = 25
		set_country_flag = { flag = FRA_attack_foiled value = 1 days = 365 }
		# Longer protection but less morale boost
		ai_chance = { base = 3 }
	}
}

# 2002 election event
#TODO give flag
#TODO add tooltip
country_event = { #chirac weakened who shall compete
	id = france_md.503
	title = france_md.503.t
	desc = france_md.503.d
	picture = GFX_FRA_2002_elections
	is_triggered_only = yes

	timeout_days = 7
	# left favored
	option = {
		name = france_md.503.a
		log = "[GetDateText]: [This.GetName]: france_md.503.a executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_left_favored_tt
		hidden_effect = {
			country_event = { id = france_md.986 days = 3 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				OR = {
					FRA_ai_commune_path = yes
					has_global_flag = FRA_SOCIALIST_FOCUS_PATH
					has_global_flag = FRA_GREEN_FOCUS_PATH
					has_global_flag = FRA_FRANCE_UNBOWED_FOCUS_PATH
				}
			}
			modifier = {
				factor = 0
				OR = {
					FRA_ai_historical_path = yes
					FRA_ai_nationalist_path = yes
					has_global_flag = FRA_GAULLIST_FOCUS_PATH
					has_global_flag = FRA_LIBERAL_FOCUS_PATH
				}
			}
		}
	}

	# not that left
	option = {
		name = france_md.503.b
		log = "[GetDateText]: [This.GetName]: france_md.503.b executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.15 }
		set_temp_variable = { temp_outlook_increase = -0.15 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		set_temp_variable = { temp_outlook_increase = -0.075 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_right_favored_tt
		hidden_effect = {
			country_event = { id = france_md.990 days = 3 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				OR = {
					FRA_ai_historical_path = yes
					FRA_ai_nationalist_path = yes
					has_global_flag = FRA_GAULLIST_FOCUS_PATH
					has_global_flag = FRA_LIBERAL_FOCUS_PATH
				}
			}
			modifier = {
				factor = 0
				OR = {
					FRA_ai_commune_path = yes
					has_global_flag = FRA_SOCIALIST_FOCUS_PATH
					has_global_flag = FRA_GREEN_FOCUS_PATH
					has_global_flag = FRA_FRANCE_UNBOWED_FOCUS_PATH
				}
			}
		}
	}
}
#PS vs communist
country_event = { #yes
	id = france_md.986
	title = france_md.986.t
	desc = france_md.986.d
	picture = GFX_FRA_lionel_jospin
	is_triggered_only = yes

	timeout_days = 7
	option = { #socialist favored
		name = france_md.986.a
		log = "[GetDateText]: [This.GetName]: france_md.986.a executed"
		custom_effect_tooltip = FRA_socialist_firsttour_tt
		hidden_effect = {
			country_event = { id = france_md.987 days = 10 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				OR = {
					has_global_flag = FRA_SOCIALIST_FOCUS_PATH
					has_global_flag = FRA_FRANCE_UNBOWED_FOCUS_PATH
				}
			}
			modifier = {
				factor = 0
				OR = {
					FRA_ai_commune_path = yes
					has_global_flag = FRA_GREEN_FOCUS_PATH
				}
			}
		}
	}

	option = { #communist and barrage
		name = france_md.986.b
		log = "[GetDateText]: [This.GetName]: france_md.986.b executed"
		custom_effect_tooltip = FRA_communist_firsttour_tt
		hidden_effect = {
			country_event = { id = france_md.988 days = 10 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				FRA_ai_commune_path = yes
			}
			modifier = {
				factor = 0
				OR = {
					has_global_flag = FRA_SOCIALIST_FOCUS_PATH
					has_global_flag = FRA_GREEN_FOCUS_PATH
					has_global_flag = FRA_FRANCE_UNBOWED_FOCUS_PATH
				}
			}
		}
	}

	option = { #inconclusive outcome green won
		name = france_md.986.c
		log = "[GetDateText]: [This.GetName]: france_md.986.c executed"
		custom_effect_tooltip = FRA_green_firsttour_tt
		hidden_effect = {
			country_event = { id = france_md.989 days = 10 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				has_global_flag = FRA_GREEN_FOCUS_PATH
			}
			modifier = {
				factor = 0
				OR = {
					FRA_ai_commune_path = yes
					has_global_flag = FRA_SOCIALIST_FOCUS_PATH
					has_global_flag = FRA_FRANCE_UNBOWED_FOCUS_PATH
				}
			}
		}
	}
}
country_event = { #socialist win left
	id = france_md.987
	title = france_md.987.t
	desc = france_md.987.d
	picture = GFX_FRA_lionel_jospin
	is_triggered_only = yes

	timeout_days = 7
	option = { #socialist favored
		name = france_md.987.a
		log = "[GetDateText]: [This.GetName]: france_md.987.a executed"
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_country_flag = FRA_SOC_favored
		ai_chance = { base = 3 }
	}
}
country_event = { #commies win left
	id = france_md.988
	title = france_md.988.t
	desc = france_md.988.d
	picture = GFX_politics_communism_lenin
	is_triggered_only = yes

	timeout_days = 7
	option = { #commies favored
		name = france_md.988.a
		log = "[GetDateText]: [This.GetName]: france_md.988.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_communiste_win_tt
		set_country_flag = FRA_COMMIES_favored
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				has_global_flag = FRA_COMMUNE_FOCUS_PATH
			}
		}
	}

	option = { #commies barrage
		name = france_md.988.b
		log = "[GetDateText]: [This.GetName]: france_md.988.b executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_conservative_win_tt
		set_country_flag = FRA_COMMIES_BARRAGE
		ai_chance = {
			base = 3
			modifier = {
				factor = 0
				has_global_flag = FRA_COMMUNE_FOCUS_PATH
			}
		}
	}
}
country_event = { #greens win left
	id = france_md.989
	title = france_md.989.t
	desc = france_md.989.d
	picture = GFX_politics_green
	is_triggered_only = yes

	timeout_days = 7
	option = { #commies favored
		name = france_md.989.a
		log = "[GetDateText]: [This.GetName]: france_md.989.a executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_country_flag = FRA_GREEN_favored
		ai_chance = { base = 3 }
	}
}
country_event = { #neither right nor left
	id = france_md.990
	title = france_md.990.t
	desc = france_md.990.d
	picture = GFX_internal_faction_too_much_bureaucracy
	is_triggered_only = yes

	timeout_days = 7
	option = { #liberals favored
		name = france_md.990.a
		log = "[GetDateText]: [This.GetName]: france_md.990.a executed"
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_UDF_fristtour_tt
		set_country_flag = FRA_UDF_favored
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				has_global_flag = FRA_LIBERAL_FOCUS_PATH
			}
			modifier = {
				factor = 0
				OR = {
					FRA_ai_historical_path = yes
					FRA_ai_nationalist_path = yes
					has_global_flag = FRA_GAULLIST_FOCUS_PATH
				}
			}
		}
	}

	option = { #eurosceptique try
		name = france_md.990.b
		log = "[GetDateText]: [This.GetName]: france_md.990.b executed"
		custom_effect_tooltip = FRA_UDF_nofirsttour_tt
		hidden_effect = {
			country_event = { id = france_md.991 days = 10 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				OR = {
					FRA_ai_historical_path = yes
					FRA_ai_nationalist_path = yes
					has_global_flag = FRA_GAULLIST_FOCUS_PATH
				}
			}
			modifier = {
				factor = 0
				has_global_flag = FRA_LIBERAL_FOCUS_PATH
			}
		}
	}
}
country_event = { #eurosceptic have a chance
	id = france_md.991
	title = france_md.991.t
	desc = france_md.991.d
	picture = GFX_FRA_frexit
	is_triggered_only = yes

	timeout_days = 7
	option = { #RPF favored
		name = france_md.991.a
		log = "[GetDateText]: [This.GetName]: france_md.991.a executed"
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_RPF_fristtour_tt
		set_country_flag = FRA_RPF_favored
		ai_chance = {
			base = 3
			modifier = {
				factor = 0
				OR = {
					FRA_ai_historical_path = yes
					FRA_ai_nationalist_path = yes
					has_global_flag = FRA_GAULLIST_FOCUS_PATH
					has_global_flag = FRA_LIBERAL_FOCUS_PATH
				}
			}
		}
	}

	option = { #national rally
		name = france_md.991.b
		log = "[GetDateText]: [This.GetName]: france_md.991.b executed"
		#national front
		custom_effect_tooltip = FRA_RPF_nofirsttour_tt
		hidden_effect = {
			country_event = { id = france_md.510 days = 10 }
		}
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				OR = {
					FRA_ai_historical_path = yes
					FRA_ai_nationalist_path = yes
					has_global_flag = FRA_GAULLIST_FOCUS_PATH
				}
			}
		}
	}
}
country_event = { #national rally win right
	id = france_md.510
	title = france_md.510.t
	desc = france_md.510.d
	picture = GFX_FRA_jean_marie_le_pen
	is_triggered_only = yes

	timeout_days = 7
	option = { #FN favored
		name = france_md.510.a
		log = "[GetDateText]: [This.GetName]: france_md.510.a executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_FN_win_tt
		set_country_flag = FRA_FN_favored
		ai_chance = {
			base = 3
			modifier = {
				factor = 30
				FRA_ai_nationalist_path = yes
			}
			modifier = {
				factor = 0
				FRA_ai_not_nationalist_path = yes
			}
		}
	}

	option = { #FN barrage
		name = france_md.510.b
		log = "[GetDateText]: [This.GetName]: france_md.510.b executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.2 }
		set_temp_variable = { temp_outlook_increase = 0.2 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 14 }
		set_temp_variable = { party_popularity_increase = -0.1 }
		set_temp_variable = { temp_outlook_increase = -0.1 }
		change_relative_party_popularity = yes
		custom_effect_tooltip = FRA_conservative_win_tt
		set_country_flag = FRA_FN_BARRAGE
		ai_chance = {
			base = 4
			modifier = {
				factor = 30
				FRA_ai_not_nationalist_path = yes
			}
			modifier = {
				factor = 0
				FRA_ai_nationalist_path = yes
			}
		}
	}
}
country_event = { #1st tour day
	id = france_md.511
	title = france_md.511.t
	desc = france_md.511.d
	picture = GFX_election_day
	is_triggered_only = yes

	timeout_days = 5
	option = { #result
		name = france_md.511.a
		log = "[GetDateText]: [This.GetName]: france_md.511.a executed"
		if = { #FN win
			limit = { has_country_flag = FRA_FN_favored }
			hidden_effect = {
				country_event = { id = france_md.512 days = 2 }
			}
		}
		else_if = { #national front get barrage
			limit = { has_country_flag = FRA_FN_BARRAGE }
			hidden_effect = {
				country_event = { id = france_md.513 days = 1 }
			}
		}
		else_if = { #PCF win
			limit = { has_country_flag = FRA_COMMIES_favored }
			hidden_effect = {
				country_event = { id = france_md.514 days = 2 }
			}
		}
		else_if = { #PCF get barrage
			limit = { has_country_flag = FRA_COMMIES_BARRAGE }
			hidden_effect = {
				country_event = { id = france_md.515 days = 1 }
			}
		}
		else_if = { #eurosceptic2
			limit = { has_country_flag = FRA_RPF_favored }
			hidden_effect = {
				country_event = { id = france_md.516 days = 1 }
			}
		}
		else_if = { #liberal2
			limit = { has_country_flag = FRA_UDF_favored }
			hidden_effect = {
				country_event = { id = france_md.517 days = 1 }
			}
		}
		else_if = { #green2
			limit = { has_country_flag = FRA_GREEN_favored }
			hidden_effect = {
				country_event = { id = france_md.518 days = 1 }
			}
		}
		else_if = { #ps2
			limit = { has_country_flag = FRA_SOC_favored }
			hidden_effect = {
				country_event = { id = france_md.519 days = 1 }
			}
		}
		ai_chance = { base = 3 }
	}
}
country_event = { #FN win
	id = france_md.512
	title = france_md.512.t
	desc = france_md.512.d
	picture = GFX_FRA_jean_marie_le_pen
	is_triggered_only = yes

	timeout_days = 5
	option = {
		name = france_md.512.a
		log = "[GetDateText]: [This.GetName]: france_md.512.a executed"
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 40
				nationalist = 50
				neutrality = 5
			}
			set_variable = { party_pop_array^1 = 0.20 } #conservatism
			set_variable = { party_pop_array^20 = 0.45 } #Nat_Populism
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = {
	id = france_md.513
	title = france_md.513.t
	desc = france_md.513.d
	picture = GFX_FRA_demonstration
	is_triggered_only = yes

	timeout_days = 5
	option = { #historical event
		name = france_md.513.a
		log = "[GetDateText]: [This.GetName]: france_md.513.a executed"
		hidden_effect = {
			set_popularities = {
				communism = 0
				democratic = 80
				nationalist = 20
				neutrality = 0
			}
			set_variable = { party_pop_array^1 = 0.60 } #conservatism
			set_variable = { party_pop_array^20 = 0.1779 } #Nat_Populism
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = { #PCF win
	id = france_md.514
	title = france_md.514.t
	desc = france_md.514.d
	picture = GFX_politics_communism_lenin
	is_triggered_only = yes

	timeout_days = 5
	option = {
		name = france_md.514.a
		log = "[GetDateText]: [This.GetName]: france_md.514.a executed"
		hidden_effect = {
			set_popularities = {
				communism = 50
				democratic = 30
				nationalist = 10
				neutrality = 10
			}
			set_variable = { party_pop_array^1 = 0.20 } #conservatism
			set_variable = { party_pop_array^4 = 0.45 } #communist_state
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = {
	id = france_md.515
	title = france_md.515.t
	desc = france_md.515.d
	picture = GFX_politics_speak
	is_triggered_only = yes

	timeout_days = 5
	option = { #historical event
		name = france_md.515.a
		log = "[GetDateText]: [This.GetName]: france_md.515.a executed"
		hidden_effect = {
			set_popularities = {
				communism = 25
				democratic = 60
				nationalist = 10
				neutrality = 5
			}
			set_variable = { party_pop_array^1 = 0.43 } #conservatism
			set_variable = { party_pop_array^4 = 0.20 } #communist_state
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = { #RPF 2nd tour
	id = france_md.516
	title = france_md.516.t
	desc = france_md.516.d
	picture = GFX_FRA_pasqua_election
	is_triggered_only = yes

	timeout_days = 5
	option = { #rpf win
		name = france_md.516.a
		log = "[GetDateText]: [This.GetName]: france_md.516.a executed"
		custom_effect_tooltip = FRA_RPF_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 30
				nationalist = 15
				neutrality = 50
			}
			set_variable = { party_pop_array^3 = 0.23 } #socialism
			set_variable = { party_pop_array^14 = 0.45 } #Neutral_conservatism
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}

	option = { #ps win
		name = france_md.516.b
		log = "[GetDateText]: [This.GetName]: france_md.516.b executed"
		custom_effect_tooltip = FRA_PS_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 2
				democratic = 63
				nationalist = 10
				neutrality = 25
			}
			set_variable = { party_pop_array^3 = 0.47 } #socialism
			set_variable = { party_pop_array^14 = 0.15 } #Neutral_conservatism
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = { #liberal 2nd tour
	id = france_md.517
	title = france_md.517.t
	desc = france_md.517.d
	picture = GFX_FRA_udf_election_2002
	is_triggered_only = yes

	timeout_days = 5
	option = { #liberal win
		name = france_md.517.a
		log = "[GetDateText]: [This.GetName]: france_md.517.a executed"
		custom_effect_tooltip = FRA_UDF_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 75
				nationalist = 10
				neutrality = 10
			}
			set_variable = { party_pop_array^1 = 0.21 } #conservatism
			set_variable = { party_pop_array^2 = 0.43 } #liberalism
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}

	option = { #chirac win
		name = france_md.517.b
		log = "[GetDateText]: [This.GetName]: france_md.517.b executed"
		custom_effect_tooltip = FRA_conservative_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 75
				nationalist = 10
				neutrality = 10
			}
			set_variable = { party_pop_array^1 = 0.44 } #conservatism
			set_variable = { party_pop_array^2 = 0.18 } #liberalism
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = { #green 2nd tour
	id = france_md.518
	title = france_md.518.t
	desc = france_md.518.d
	picture = GFX_FRA_greens_election_2002
	is_triggered_only = yes

	timeout_days = 5
	option = { #green win
		name = france_md.518.a
		log = "[GetDateText]: [This.GetName]: france_md.518.a executed"
		custom_effect_tooltip = FRA_Green_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 10
				democratic = 34
				nationalist = 5
				neutrality = 51
			}
			set_variable = { party_pop_array^1 = 0.29 } #conservatism
			set_variable = { party_pop_array^17 = 0.45 } #Neutral_green
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}

	option = { #chirac win
		name = france_md.518.b
		log = "[GetDateText]: [This.GetName]: france_md.518.b executed"
		custom_effect_tooltip = FRA_conservative_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 60
				nationalist = 5
				neutrality = 30
			}
			set_variable = { party_pop_array^1 = 0.47 } #conservatism
			set_variable = { party_pop_array^17 = 0.25 } #Neutral_green
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = { #ps 2nd tour
	id = france_md.519
	title = france_md.519.t
	desc = france_md.519.d
	picture = GFX_FRA_lionel_jospin
	is_triggered_only = yes

	timeout_days = 5
	option = { #ps win
		name = france_md.519.a
		log = "[GetDateText]: [This.GetName]: france_md.519.a executed"
		custom_effect_tooltip = FRA_PS_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 75
				nationalist = 10
				neutrality = 10
			}
			set_variable = { party_pop_array^1 = 0.22 } #conservatism
			set_variable = { party_pop_array^3 = 0.49 } #socialism
			country_event = { id = france_md.538 days = 35 }
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}

	option = { #chirac win
		name = france_md.519.b
		log = "[GetDateText]: [This.GetName]: france_md.519.b executed"
		custom_effect_tooltip = FRA_conservative_win_tt
		hidden_effect = {
			set_popularities = {
				communism = 5
				democratic = 70
				nationalist = 10
				neutrality = 15
			}
			set_variable = { party_pop_array^1 = 0.42 } #conservatism
			set_variable = { party_pop_array^3 = 0.23 } #socialism
		}
		add_timed_idea = { idea = FRA_election_result days = 15 }
		ai_chance = { base = 3 }
	}
}
country_event = { #ps splitting #TODO event met macron en 1er candidat UDF UDF devient LREM
	id = france_md.520
	title = france_md.520.t
	desc = france_md.520.d
	picture = GFX_internal_faction_political_conflict
	is_triggered_only = yes

	timeout_days = 7
	option = {
		name = france_md.520.a
		log = "[GetDateText]: [This.GetName]: france_md.520.a executed"
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = -0.2 }
		set_temp_variable = { temp_outlook_increase = -0.2 }
		change_relative_party_popularity = yes
		set_country_flag = FRA_LFI_CREATED
		set_country_flag = FRA_LREM_CREATED
		add_to_variable = { liberalism_leader = 1 }
		ai_chance = { base = 3 }
	}
}
country_event = { #france agent raid hitted us
	id = france_md.521
	title = france_md.521.t
	desc = france_md.521.d
	picture = GFX_train_collision
	is_triggered_only = yes

	option = {
		name = france_md.521.a
		log = "[GetDateText]: [This.GetName]: france_md.521.a executed"
		add_war_support = -0.05
		add_stability = -0.1
		add_political_power = -50
		add_manpower = -15
		FRA = { army_experience = 10 }
		ai_chance = { base = 3 }
	}
}
country_event = { #france agent raid repelled
	id = france_md.522
	title = france_md.522.t
	desc = france_md.522.d
	picture = GFX_special_forces
	is_triggered_only = yes

	option = {
		name = france_md.522.a
		log = "[GetDateText]: [This.GetName]: france_md.522.a executed"
		add_war_support = 0.05
		add_stability = -0.05
		add_political_power = -20
		add_manpower = -2
		ai_chance = { base = 3 }
	}
}
country_event = { #pay more for boost military fact
	id = france_md.524
	title = france_md.524.t
	desc = france_md.524.d
	picture = GFX_weapons_arms1
	is_triggered_only = yes

	option = { #we need to mobilised
		name = france_md.524.a
		log = "[GetDateText]: [This.GetName]: france_md.524.a executed"
		add_war_support = 0.1
		add_stability = -0.05
		set_temp_variable = { temp_opinion = 10 }
		change_defense_industry_opinion = yes
		change_maritime_industry_opinion = yes
		change_the_military_opinion = yes
		add_timed_idea = { idea = FRA_military_indus_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	option = { #no we prefer money
		name = france_md.524.b
		log = "[GetDateText]: [This.GetName]: france_md.524.b executed"
		add_war_support = -0.05
		add_stability = 0.15
		set_temp_variable = { temp_opinion = -5 }
		change_defense_industry_opinion = yes
		change_maritime_industry_opinion = yes
		change_the_military_opinion = yes
		add_timed_idea = { idea = FRA_indusbuild_services_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}
}
country_event = { #pay more for little boost everywhere
	id = france_md.525
	title = france_md.525.t
	desc = france_md.525.d
	picture = GFX_generic_tractor_manufacturer
	is_triggered_only = yes

	option = { #put effort on that
		name = france_md.525.a
		log = "[GetDateText]: [This.GetName]: france_md.525.a executed"
		add_stability = 0.15
		set_temp_variable = { temp_opinion = 10 }
		change_international_bankers_opinion = yes
		change_farmers_opinion = yes
		add_timed_idea = { idea = FRA_civilian_jobs_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 2 }
	}

	option = { #redirect theses funds in the military
		name = france_md.525.b
		log = "[GetDateText]: [This.GetName]: france_md.525.b executed"
		add_war_support = 0.1
		add_stability = -0.05
		add_timed_idea = { idea = FRA_military_indus_boost days = 365 }
		set_temp_variable = { temp_opinion = 10 }
		change_defense_industry_opinion = yes
		change_maritime_industry_opinion = yes
		change_the_military_opinion = yes
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}
}
country_event = { #pay for investments debuff construction
	id = france_md.526
	title = france_md.526.t
	desc = france_md.526.d
	picture = GFX_stock_market
	is_triggered_only = yes

	option = { #put effort on that
		name = france_md.526.a
		log = "[GetDateText]: [This.GetName]: france_md.526.a executed"
		add_stability = 0.05
		set_temp_variable = { temp_opinion = 10 }
		change_international_bankers_opinion = yes
		add_timed_idea = { idea = FRA_internal_investment_boost days = 1095 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}

	option = { #pay for direct construction debuff invest
		name = france_md.526.b
		log = "[GetDateText]: [This.GetName]: france_md.526.b executed"
		add_stability = 0.1
		add_timed_idea = { idea = FRA_direct_construction_boost days = 365 }
		set_temp_variable = { temp_opinion = 10 }
		change_labour_unions_opinion = yes
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}
}
country_event = { #pay for civilian construction
	id = france_md.527
	title = france_md.527.t
	desc = france_md.527.d
	picture = GFX_grain_silo_investments
	is_triggered_only = yes

	option = { #put effort on that
		name = france_md.527.a
		log = "[GetDateText]: [This.GetName]: france_md.527.a executed"
		add_stability = 0.05
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_civilian_infra_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	option = { #pay for farm
		name = france_md.527.b
		log = "[GetDateText]: [This.GetName]: france_md.527.b executed"
		add_stability = 0.05
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_indusfarm_boost days = 365 }
		set_temp_variable = { temp_opinion = 10 }
		change_farmers_opinion = yes
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 2 }
	}
}

country_event = { #pay for services and invest
	id = france_md.528
	title = france_md.528.t
	desc = france_md.528.d
	picture = GFX_generic_education_event_picture
	is_triggered_only = yes

	option = { #put effort on that
		name = france_md.528.a
		log = "[GetDateText]: [This.GetName]: france_md.528.a executed"
		add_stability = 0.1
		add_timed_idea = { idea = FRA_indusbuild_services_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	option = { #pay for research
		name = france_md.528.b
		log = "[GetDateText]: [This.GetName]: france_md.528.b executed"
		add_stability = 0.1
		add_timed_idea = { idea = FRA_techno_boost days = 730 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 1 }
	}
}

country_event = { #pay for civilian jobs
	id = france_md.529
	title = france_md.529.t
	desc = france_md.529.d
	picture = GFX_internal_faction_labour_dispute
	is_triggered_only = yes

	option = { #put effort on that
		name = france_md.529.a
		log = "[GetDateText]: [This.GetName]: france_md.529.a executed"
		add_stability = 0.05
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_civilian_jobs_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	option = { #pay for better health
		name = france_md.529.b
		log = "[GetDateText]: [This.GetName]: france_md.529.b executed"
		add_stability = 0.1
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_res_health_boost days = 1095 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 2 }
	}
}
country_event = { #rentralisation of consommation
	id = france_md.530
	title = france_md.530.t
	desc = france_md.530.d
	picture = GFX_FRA_embargo
	is_triggered_only = yes

	option = { #protectionism
		name = france_md.530.a
		log = "[GetDateText]: [This.GetName]: france_md.530.a executed"
		add_stability = 0.05
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		set_temp_variable = { temp_outlook_increase = 0.1 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_local_consumption_boost days = 1095 }
		set_temp_variable = { treasury_change = -25 }
		modify_treasury_effect = yes
		decrease_exports = yes
		for_each_scope_loop = {
			array = global.EU_member
			if = {
				limit = { NOT = { tag = ROOT } }
				country_event = france_md.531
			}
		}
			add_political_power = -150
		ai_chance = { base = 3 }
	}

	option = { #we shouldn't anger the market we'll invest more
		name = france_md.530.b
		log = "[GetDateText]: [This.GetName]: france_md.530.b executed"
		add_stability = 0.1
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_local_consumption_boost days = 1095 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = FRA }
		europeanism_change = yes
		ai_chance = { base = 2 }
	}
}
country_event = { #rentralisation of consommation for EU country
	id = france_md.531
	title = france_md.531.t
	desc = france_md.531.d
	picture = GFX_FRA_embargo
	is_triggered_only = yes

	option = { #outrageous
		name = france_md.531.a
		log = "[GetDateText]: [This.GetName]: france_md.531.a executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = -0.05 }
		set_temp_variable = { temp_outlook_increase = -0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.075 }
		set_temp_variable = { temp_outlook_increase = 0.075 }
		change_relative_party_popularity = yes
		set_temp_variable = { modify_europeanism = -0.05 }
		set_temp_variable = { modify_europeanism_target = THIS }
		europeanism_change = yes
		ai_chance = { base = 2 }
	}

	option = { #they are right tho
		name = france_md.531.b
		log = "[GetDateText]: [This.GetName]: france_md.531.b executed"
		set_temp_variable = { party_index = 17 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		decrease_exports = yes
		ai_chance = { base = 1 }
	}
}
country_event = { #build more
	id = france_md.532
	title = france_md.532.t
	desc = france_md.532.d
	picture = GFX_steel_mill
	is_triggered_only = yes

	option = { #put effort on that
		name = france_md.532.a
		log = "[GetDateText]: [This.GetName]: france_md.532.a executed"
		add_stability = 0.05
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_civilian_jobs_boost days = 365 }
		set_temp_variable = { treasury_change = -50 }
		modify_treasury_effect = yes
		ai_chance = { base = 3 }
	}

	option = { #more jobs
		name = france_md.532.b
		log = "[GetDateText]: [This.GetName]: france_md.532.b executed"
		add_stability = 0.1
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		add_timed_idea = { idea = FRA_job_planned_boost days = 1095 }
		set_temp_variable = { treasury_change = -30 }
		modify_treasury_effect = yes
		ai_chance = { base = 2 }
	}
}
country_event = { #left front accept
	id = france_md.533
	title = france_md.533.t
	desc = france_md.533.d
	picture = GFX_politics_communist_dream
	is_triggered_only = yes

	option = {
		name = france_md.533.a
		log = "[GetDateText]: [This.GetName]: france_md.533.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 18 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_balance_domestic_neutrality_drift = -0.02 tooltip = neutrality_drift_tt }
		add_to_variable = { FRA_balance_domestic_communist_drift = 0.02 tooltip = communism_drift_tt }
		add_to_array = { gov_coalition_array = 18 }
		recalculate_party = yes
		hidden_effect = { update_government_coalition_strength = yes }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_social_balance }
		add_to_variable = { FRA_social_STAB = 0.1 tooltip = stability_factor_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_econ_policy }
		add_to_variable = { FRA_econ_monthly_pop = 0.075 tooltip = monthly_population_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_social_balance }
		add_to_variable = { FRA_soc_social_cost = 0.05 tooltip = social_cost_multiplier_modifier_tt }
		ai_chance = { base = 3 }
	}
}
country_event = { #left front refuse
	id = france_md.534
	title = france_md.534.t
	desc = france_md.534.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = { #well fck
		name = france_md.534.a
		log = "[GetDateText]: [This.GetName]: france_md.534.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		change_relative_party_popularity = yes
		add_popularity = {
				ideology = neutrality
				popularity = -0.10
		}
		add_stability = -0.05
		ai_chance = { base = 3 }
	}
}
country_event = { #socialist accept
	id = france_md.535
	title = france_md.535.t
	desc = france_md.535.d
	picture = GFX_politics_left_wing
	is_triggered_only = yes

	option = {
		name = france_md.535.a
		log = "[GetDateText]: [This.GetName]: france_md.535.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		newline = yes
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		set_temp_variable = { temp_outlook_increase = 0.05 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_balance_democratic_drift = -0.02 tooltip = democratic_drift_tt }
		add_to_variable = { FRA_balance_domestic_communist_drift = 0.02 tooltip = communism_drift_tt }
		newline = yes
		add_to_array = { gov_coalition_array = 3 }
		recalculate_party = yes
		hidden_effect = { update_government_coalition_strength = yes }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_social_balance }
		add_to_variable = { FRA_social_STAB = 0.05 tooltip = stability_factor_tt }
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_econ_policy }
		add_to_variable = { FRA_econ_office_speed = 0.075 tooltip = production_speed_offices_factor_tt }
		add_to_variable = { FRA_ned_econ_civ = -0.05 tooltip = civ_facs_worker_requirement_modifier_tt }
		ai_chance = { base = 3 }
	}
}
country_event = { #socialist refuse
	id = france_md.536
	title = france_md.536.t
	desc = france_md.536.d
	picture = GFX_treaty_rejected
	is_triggered_only = yes

	option = { #well fck
		name = france_md.536.a
		log = "[GetDateText]: [This.GetName]: france_md.536.a executed"
		set_temp_variable = { party_index = 4 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		change_relative_party_popularity = yes
		add_popularity = {
				ideology = democratic
				popularity = -0.10
		}
		add_stability = -0.05
		ai_chance = { base = 3 }
	}
}
country_event = { #decide if you want start to play or wait election
	id = france_md.537
	title = france_md.537.t
	desc = france_md.537.d
	picture = GFX_FRA_chirac_address
	is_triggered_only = yes

	option = { #i start now has chirac
		name = france_md.537.a
		log = "[GetDateText]: [This.GetName]: france_md.537.a executed"
		set_country_flag = FRA_start_election
		ai_chance = { base = 3 }
	}

	option = { #i prefer to wait
		name = france_md.537.b
		ai_chance = { base = 3 }
	}
}
country_event = { #chirac retire
	id = france_md.538
	title = france_md.538.t
	desc = france_md.538.d
	picture = GFX_FRA_chirac_address
	is_triggered_only = yes

	option = { #farewell
		name = france_md.538.a
		log = "[GetDateText]: [This.GetName]: france_md.538.a executed"
		set_country_flag = FRA_chirac_retire
		ai_chance = { base = 3 }
	}
}
country_event = { #jean marie le pen out
	id = france_md.539
	title = france_md.539.t
	desc = france_md.539.d
	picture = GFX_FRA_jean_marie_le_pen
	is_triggered_only = yes

	option = { #get out
		name = france_md.539.a
		log = "[GetDateText]: [This.GetName]: france_md.539.a executed"
		set_country_flag = FRA_jmlp_retire
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = -0.075 }
		change_relative_party_popularity = yes
		newline = yes
		custom_effect_tooltip = { localization_key = modifies_dynamic_modifier_tt MODIFIER = FRA_political_balance }
		add_to_variable = { FRA_balance_domestic_nationalist_drift = 0.02 tooltip = nationalist_drift_tt }
		ai_chance = {
			base = 3
			modifier = {
				is_historical_focus_on = yes
				add = 4
			}
		}
	}

	option = { #i mean its alright
		name = france_md.539.b
		log = "[GetDateText]: [This.GetName]: france_md.539.b executed"
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.1 }
		change_relative_party_popularity = yes
		ai_chance = { base = 2 }
	}
}
country_event = { #fn become RN
	id = france_md.540
	title = france_md.540.t
	desc = france_md.540.d
	picture = GFX_FRA_front_national_rally
	is_triggered_only = yes

	option = { #a turning point in far right history ?
		name = france_md.540.a
		log = "[GetDateText]: [This.GetName]: france_md.540.a executed"
		set_country_flag = FRA_RN_CREATED
		ai_chance = { base = 3 }
	}
}
country_event = { #papacy shall live in france now
	id = france_md.541
	title = france_md.541.t
	desc = france_md.541.d
	picture = GFX_FRA_avignon_papacy
	is_triggered_only = yes

	option = { #we shall host a new papacy
		name = france_md.541.a
		log = "[GetDateText]: [This.GetName]: france_md.541.a executed"
		add_ideas = FRA_french_papacy
		ai_chance = { base = 3 }
	}
}

# Historical presidency: 2007
country_event = {
	id = france_md.550
	title = france_md.550.t
	desc = france_md.550.d
	picture = GFX_french_flag_generic
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		is_ai = yes
		FRA_ai_historical_path = yes
		OR = {
			has_idea = FRA_5th_republic
			has_idea = FRA_sixth_republic_idea
		}
		NOT = { has_country_flag = FRA_historical_president_2007 }
	}

	option = {
		name = france_md.550.a
		log = "[GetDateText]: [This.GetName]: france_md.550.a executed"
		set_country_flag = FRA_historical_president_2007
		set_country_flag = FRA_chirac_retire
		set_temp_variable = { party_index = 1 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 1 }
			change_ruling_party_effect = yes
			set_variable = { conservatism_leader = 0 } # france_md.538 increments past Sarkozy
			set_leader = yes
		}
		recalculate_party = yes
		add_political_power = 100
	}
}

# Historical presidency: 2012
country_event = {
	id = france_md.551
	title = france_md.551.t
	desc = france_md.551.d
	picture = GFX_french_flag_generic
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		is_ai = yes
		FRA_ai_historical_path = yes
		OR = {
			has_idea = FRA_5th_republic
			has_idea = FRA_sixth_republic_idea
		}
		NOT = { has_country_flag = FRA_historical_president_2012 }
	}

	option = {
		name = france_md.551.a
		log = "[GetDateText]: [This.GetName]: france_md.551.a executed"
		set_country_flag = FRA_historical_president_2012
		set_temp_variable = { party_index = 3 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 3 }
			change_ruling_party_effect = yes
			set_variable = { socialism_leader = 2 }
			set_leader = yes
		}
		recalculate_party = yes
		add_political_power = 100
	}
}

# Historical presidency: 2017
country_event = {
	id = france_md.552
	title = france_md.552.t
	desc = france_md.552.d
	picture = GFX_french_flag_generic
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		is_ai = yes
		FRA_ai_historical_path = yes
		OR = {
			has_idea = FRA_5th_republic
			has_idea = FRA_sixth_republic_idea
		}
		NOT = { has_country_flag = FRA_historical_president_2017 }
	}

	option = {
		name = france_md.552.a
		log = "[GetDateText]: [This.GetName]: france_md.552.a executed"
		set_country_flag = FRA_historical_president_2017
		set_country_flag = FRA_LREM_CREATED
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		hidden_effect = {
			set_temp_variable = { rul_party_temp = 2 }
			change_ruling_party_effect = yes
			set_variable = { liberalism_leader = 1 }
			set_leader = yes
		}
		recalculate_party = yes
		add_political_power = 100
	}
}

# Historical presidency: 2022
country_event = {
	id = france_md.553
	title = france_md.553.t
	desc = france_md.553.d
	picture = GFX_french_flag_generic
	is_triggered_only = yes

	trigger = {
		original_tag = FRA
		is_ai = yes
		FRA_ai_historical_path = yes
		OR = {
			has_idea = FRA_5th_republic
			has_idea = FRA_sixth_republic_idea
		}
		NOT = { has_country_flag = FRA_historical_president_2022 }
	}

	option = {
		name = france_md.553.a
		log = "[GetDateText]: [This.GetName]: france_md.553.a executed"
		set_country_flag = FRA_historical_president_2022
		set_temp_variable = { party_index = 2 }
		set_temp_variable = { party_popularity_increase = 0.10 }
		change_relative_party_popularity = yes
		set_temp_variable = { party_index = 20 }
		set_temp_variable = { party_popularity_increase = 0.05 }
		change_relative_party_popularity = yes
		recalculate_party = yes
		add_political_power = 50
	}
}
country_event = {
	id = france_md.554
	title = france_md.554.t
	desc = france_md.554.d
	picture = GFX_military_exercise
	is_triggered_only = yes

	option = {
		name = france_md.554.a
		log = "[GetDateText]: [This.GetName]: france_md.554.a executed"
		add_war_support = 0.05
		add_timed_idea = {
			idea = FRA_PCF_EUtrain
			days = 730
		}
		ai_chance = { base = 100 }
	}

	option = {
		name = france_md.554.b
		log = "[GetDateText]: [This.GetName]: france_md.554.b executed"
		add_political_power = 50
		add_stability = 0.1
		ai_chance = {
			base = 25
			modifier = {
				add = 100
				has_idea = no_military
			}
		}
	}
}
country_event = {
	id = france_md.555
	title = france_md.555.t
	desc = france_md.555.d
	picture = GFX_FRA_generic
	is_triggered_only = yes

	option = {
		name = france_md.555.a
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.556
	title = france_md.556.t
	desc = france_md.556.d
	picture = GFX_french_flag_generic
	is_triggered_only = yes

	option = {
		name = france_md.556.a
		log = "[GetDateText]: [This.GetName]: france_md.556.a executed"
		add_stability = 0.1
		add_political_power = 150
		set_party_index_to_ruling_party = yes
		set_temp_variable = { party_popularity_increase = 0.15 }
		change_relative_party_popularity = yes
		ai_chance = { base = 1 }
	}
}
country_event = {
	id = france_md.600
	title = france_md.600.t
	desc = france_md.600.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = FRA_cs_microelectronics_retained }
		NOT = { has_country_flag = FRA_cs_microelectronics_divested }
	}

	option = {
		name = france_md.600.a
		log = "[GetDateText]: [Root.GetName]: france_md.600.a executed"
		set_temp_variable = { treasury_change = -6.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = france_md.600.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_01a7bd4347 = yes }
		set_country_flag = FRA_cs_microelectronics_retained
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = france_md.600.b
		log = "[GetDateText]: [Root.GetName]: france_md.600.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = france_md.600.t
			bonus = 0.10
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_c4abe0b00c = yes }
		set_country_flag = FRA_cs_microelectronics_divested
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = france_md.601
	title = france_md.601.t
	desc = france_md.601.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = FRA_cs_state_capital }
		NOT = { has_country_flag = FRA_cs_creditor_restructuring }
	}

	option = {
		name = france_md.601.a
		log = "[GetDateText]: [Root.GetName]: france_md.601.a executed"
		set_temp_variable = { treasury_change = -15.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = france_md.601.t
			bonus = 0.15
			uses = 1
			category = CAT_internet
		} hidden_effect = { rq_eb_e3add24c7d = yes }
		set_country_flag = FRA_cs_state_capital
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = france_md.601.b
		log = "[GetDateText]: [Root.GetName]: france_md.601.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = france_md.601.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = FRA_cs_creditor_restructuring
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = france_md.602
	title = france_md.602.t
	desc = france_md.602.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = FRA_cs_public_control }
		NOT = { has_country_flag = FRA_cs_majority_sold }
	}

	option = {
		name = france_md.602.a
		log = "[GetDateText]: [Root.GetName]: france_md.602.a executed"
		set_temp_variable = { treasury_change = -10.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = france_md.602.t
			bonus = 0.15
			uses = 1
			category = CAT_information_technology
		} hidden_effect = { rq_eb_364f0b778e = yes }
		set_country_flag = FRA_cs_public_control
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = france_md.602.b
		log = "[GetDateText]: [Root.GetName]: france_md.602.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = france_md.602.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = FRA_cs_majority_sold
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = france_md.603
	title = france_md.603.t
	desc = france_md.603.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = FRA_cs_alliance_funded }
		NOT = { has_country_flag = FRA_cs_champion_alone }
	}

	option = {
		name = france_md.603.a
		log = "[GetDateText]: [Root.GetName]: france_md.603.a executed"
		set_temp_variable = { treasury_change = -8.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = france_md.603.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_01a7bd4347 = yes }
		set_country_flag = FRA_cs_alliance_funded
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = france_md.603.b
		log = "[GetDateText]: [Root.GetName]: france_md.603.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = france_md.603.t
			bonus = 0.10
			uses = 1
			category = CAT_information_technology
		} hidden_effect = { rq_eb_dcfbaed803 = yes }
		set_country_flag = FRA_cs_champion_alone
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = france_md.604
	title = france_md.604.t
	desc = france_md.604.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = FRA_cs_wireless_rescued }
		NOT = { has_country_flag = FRA_cs_wireless_unwound }
	}

	option = {
		name = france_md.604.a
		log = "[GetDateText]: [Root.GetName]: france_md.604.a executed"
		set_temp_variable = { treasury_change = -9.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = france_md.604.t
			bonus = 0.15
			uses = 1
			category = CAT_internet
		} hidden_effect = { rq_eb_e3add24c7d = yes }
		set_country_flag = FRA_cs_wireless_rescued
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = france_md.604.b
		log = "[GetDateText]: [Root.GetName]: france_md.604.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = france_md.604.t
			bonus = 0.10
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_c4abe0b00c = yes }
		set_country_flag = FRA_cs_wireless_unwound
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
		}
	}
}

country_event = {
	id = france_md.605
	title = france_md.605.t
	desc = france_md.605.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = {
		NOT = { has_country_flag = FRA_cs_sovereign_fab }
		NOT = { has_country_flag = FRA_cs_market_capacity }
	}

	option = {
		name = france_md.605.a
		log = "[GetDateText]: [Root.GetName]: france_md.605.a executed"
		set_temp_variable = { treasury_change = -20.00 }
		modify_treasury_effect = yes
		add_tech_bonus = {
			name = france_md.605.t
			bonus = 0.15
			uses = 1
			category = CAT_microchips
		} hidden_effect = { rq_eb_01a7bd4347 = yes }
		set_country_flag = FRA_cs_sovereign_fab
		ai_chance = {
			base = 50
			modifier = {
				factor = 10
				is_historical_focus_on = yes
			}
			modifier = {
				factor = 0
				has_active_mission = bankruptcy_incoming_collapse
			}
		}
	}

	option = {
		name = france_md.605.b
		log = "[GetDateText]: [Root.GetName]: france_md.605.b executed"
		add_political_power = 10
		add_tech_bonus = {
			name = france_md.605.t
			bonus = 0.10
			uses = 1
			category = CAT_industry
		} hidden_effect = { rq_eb_b504394b66 = yes }
		set_country_flag = FRA_cs_market_capacity
		ai_chance = {
			base = 50
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				NOT = { has_active_mission = bankruptcy_incoming_collapse }
			}
		}
	}
}

country_event = {
	id = france_md.606
	title = france_md.606.t
	desc = france_md.606.d
	picture = GFX_computer
	is_triggered_only = yes

	trigger = { FRA_cs_outcome_settled = no }

	option = {
		name = france_md.606.a
		trigger = { has_country_flag = FRA_cs_public_control }
		log = "[GetDateText]: [Root.GetName]: france_md.606.a executed"
		effect_tooltip = { add_ideas = FRA_cs_nationalised_systems_champion }
		hidden_effect = { FRA_cs_apply_nationalised_systems_champion = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = france_md.606.b
		trigger = {
			has_country_flag = FRA_cs_sovereign_fab
			NOT = { has_country_flag = FRA_cs_public_control }
		}
		log = "[GetDateText]: [Root.GetName]: france_md.606.b executed"
		effect_tooltip = { add_ideas = FRA_cs_state_backed_silicon_base }
		hidden_effect = { FRA_cs_apply_state_backed_silicon_base = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = france_md.606.c
		trigger = {
			has_country_flag = FRA_cs_state_capital
			NOT = { has_country_flag = FRA_cs_public_control }
			NOT = { has_country_flag = FRA_cs_sovereign_fab }
		}
		log = "[GetDateText]: [Root.GetName]: france_md.606.c executed"
		effect_tooltip = { add_timed_idea = { idea = FRA_cs_recapitalised_national_operator days = 365 } }
		hidden_effect = { FRA_cs_apply_recapitalised_national_operator = yes }
		ai_chance = { base = 100 }
	}

	option = {
		name = france_md.606.e
		trigger = {
			NOT = { has_country_flag = FRA_cs_public_control }
			NOT = { has_country_flag = FRA_cs_sovereign_fab }
			NOT = { has_country_flag = FRA_cs_state_capital }
		}
		log = "[GetDateText]: [Root.GetName]: france_md.606.e executed"
		effect_tooltip = { add_timed_idea = { idea = FRA_cs_market_like_any_other days = 365 } }
		hidden_effect = { FRA_cs_apply_market_like_any_other = yes }
		ai_chance = { base = 100 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.1
	title = FRA_corporate_systems_events.1.t
	desc = FRA_corporate_systems_events.1.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_1_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.1.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.1.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.1.a_tt
		hidden_effect = { FRA_corporate_systems_apply_alcatel_aggressive_restructuring = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.1.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.1.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.1.b_tt
		hidden_effect = { FRA_corporate_systems_apply_alcatel_strategic_rd_protection = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.1.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.1.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.1.c_tt
		hidden_effect = { FRA_corporate_systems_apply_alcatel_hold_the_line = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.3
	title = FRA_corporate_systems_events.3.t
	desc = FRA_corporate_systems_events.3.d
	picture = GFX_trade_agreement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_3_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.3.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.3.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.3.a_tt
		hidden_effect = { FRA_corporate_systems_apply_lucent_combination_approved = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.3.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.3.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.3.b_tt
		hidden_effect = { FRA_corporate_systems_apply_lucent_strategic_guarantees = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.3.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.3.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.3.c_tt
		hidden_effect = { FRA_corporate_systems_apply_lucent_combination_opposed = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.6
	title = FRA_corporate_systems_events.6.t
	desc = FRA_corporate_systems_events.6.d
	picture = GFX_generic_factory
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_6_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.6.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.6.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.6.a_tt
		hidden_effect = { FRA_corporate_systems_apply_alcatel_shift_plan = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.6.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.6.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.6.b_tt
		hidden_effect = { FRA_corporate_systems_apply_alcatel_national_champion = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.6.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.6.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.6.c_tt
		hidden_effect = { FRA_corporate_systems_apply_alcatel_restructuring_rejected = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.7
	title = FRA_corporate_systems_events.7.t
	desc = FRA_corporate_systems_events.7.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_7_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.7.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.7.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.7.a_tt
		hidden_effect = { FRA_corporate_systems_apply_nokia_rd_commitments_enforced = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.7.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.7.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.7.b_tt
		hidden_effect = { FRA_corporate_systems_apply_nokia_unrestricted_integration = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.7.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.7.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.7.c_tt
		hidden_effect = { FRA_corporate_systems_apply_nokia_exceptional_french_control = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.10
	title = FRA_corporate_systems_events.10.t
	desc = FRA_corporate_systems_events.10.d
	picture = GFX_trade_agreement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_10_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.10.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.10.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.10.a_tt
		hidden_effect = { FRA_corporate_systems_apply_st_alcatel_microelectronics_acquired = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.10.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.10.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.10.b_tt
		hidden_effect = { FRA_corporate_systems_apply_st_alcatel_strategic_assets_acquired = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.10.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.10.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.10.c_tt
		hidden_effect = { FRA_corporate_systems_apply_st_alcatel_microelectronics_declined = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.11
	title = FRA_corporate_systems_events.11.t
	desc = FRA_corporate_systems_events.11.d
	picture = GFX_generic_factory
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_11_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.11.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.11.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.11.a_tt
		hidden_effect = { FRA_corporate_systems_apply_crolles2_multinational_alliance = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.11.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.11.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.11.b_tt
		hidden_effect = { FRA_corporate_systems_apply_crolles2_french_led_program = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.11.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.11.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.11.c_tt
		hidden_effect = { FRA_corporate_systems_apply_crolles2_capital_exposure_minimized = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.13
	title = FRA_corporate_systems_events.13.t
	desc = FRA_corporate_systems_events.13.d
	picture = GFX_trade_agreement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_13_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.13.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.13.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.13.a_tt
		hidden_effect = { FRA_corporate_systems_apply_st_nxp_wireless_consolidated = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.13.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.13.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.13.b_tt
		hidden_effect = { FRA_corporate_systems_apply_st_wireless_independent = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.13.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.13.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.13.c_tt
		hidden_effect = { FRA_corporate_systems_apply_st_wireless_divested = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.14
	title = FRA_corporate_systems_events.14.t
	desc = FRA_corporate_systems_events.14.d
	picture = GFX_trade_agreement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_14_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.14.a
		trigger = {
			country_exists = SWE
			has_country_flag = FRA_corporate_systems_st_nxp_wireless_consolidated
		}
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.14.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.14.a_tt
		hidden_effect = { FRA_corporate_systems_apply_st_ericsson_formed = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.14.b
		trigger = { country_exists = SWE }
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.14.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.14.b_tt
		hidden_effect = { FRA_corporate_systems_apply_st_ericsson_financial_limits = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.14.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.14.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.14.c_tt
		hidden_effect = { FRA_corporate_systems_apply_st_ericsson_rejected = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.16
	title = FRA_corporate_systems_events.16.t
	desc = FRA_corporate_systems_events.16.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_16_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.16.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.16.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.16.a_tt
		hidden_effect = { FRA_corporate_systems_apply_st_ericsson_orderly_exit = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.16.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.16.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.16.b_tt
		hidden_effect = { FRA_corporate_systems_apply_st_ericsson_technology_absorbed = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.16.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.16.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.16.c_tt
		hidden_effect = { FRA_corporate_systems_apply_st_ericsson_continued = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.17
	title = FRA_corporate_systems_events.17.t
	desc = FRA_corporate_systems_events.17.d
	picture = GFX_generic_factory
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_17_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.17.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.17.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.17.a_tt
		hidden_effect = { FRA_corporate_systems_apply_european_microelectronics_ipcei = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.17.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.17.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.17.b_tt
		hidden_effect = { FRA_corporate_systems_apply_france_first_semiconductor_program = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.17.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.17.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.17.c_tt
		hidden_effect = { FRA_corporate_systems_apply_market_led_semiconductors = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.20
	title = FRA_corporate_systems_events.20.t
	desc = FRA_corporate_systems_events.20.d
	picture = GFX_trade_agreement
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_20_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.20.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.20.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.20.a_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_acquired = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.20.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.20.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.20.b_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_smaller_mobile_strategy = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.20.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.20.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.20.c_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_acquisition_rejected = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.21
	title = FRA_corporate_systems_events.21.t
	desc = FRA_corporate_systems_events.21.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_21_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.21.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.21.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.21.a_tt
		hidden_effect = { FRA_corporate_systems_apply_mobilcom_settlement = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.21.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.21.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.21.b_tt
		hidden_effect = { FRA_corporate_systems_apply_mobilcom_state_bridge = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.21.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.21.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.21.c_tt
		hidden_effect = { FRA_corporate_systems_apply_mobilcom_liabilities_contested = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.22
	title = FRA_corporate_systems_events.22.t
	desc = FRA_corporate_systems_events.22.d
	picture = GFX_stock_market
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_22_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.22.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.22.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.22.a_tt
		hidden_effect = { FRA_corporate_systems_apply_ambition_ft_recapitalization = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.22.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.22.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.22.b_tt
		hidden_effect = { FRA_corporate_systems_apply_ambition_ft_state_rescue = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.22.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.22.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.22.c_tt
		hidden_effect = { FRA_corporate_systems_apply_ambition_ft_austerity = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.24
	title = FRA_corporate_systems_events.24.t
	desc = FRA_corporate_systems_events.24.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_24_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.24.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.24.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.24.a_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_competitive_convergence = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.24.b
		trigger = { FRA_corporate_systems_alcatel_operational = yes }
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.24.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.24.b_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_alcatel_procurement = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.24.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.24.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.24.c_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_global_sourcing = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.25
	title = FRA_corporate_systems_events.25.t
	desc = FRA_corporate_systems_events.25.d
	picture = GFX_political_deal
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_25_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.25.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.25.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.25.a_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_unified_brand = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.25.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.25.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.25.b_tt
		hidden_effect = { FRA_corporate_systems_apply_france_telecom_domestic_brand = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.25.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.25.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.25.c_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_dual_brand = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.26
	title = FRA_corporate_systems_events.26.t
	desc = FRA_corporate_systems_events.26.d
	picture = GFX_generic_factory
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_26_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.26.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.26.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.26.a_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_fiber_investment = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.26.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.26.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.26.b_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_strategic_fiber = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.26.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.26.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.26.c_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_fiber_deferred = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.27
	title = FRA_corporate_systems_events.27.t
	desc = FRA_corporate_systems_events.27.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_27_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.27.a
		trigger = {
			country_exists = FIN
			country_exists = SWE
		}
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.27.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.27.a_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_5g_nokia_ericsson = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.27.b
		trigger = { country_exists = CHI }
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.27.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.27.b_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_5g_huawei = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.27.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.27.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.27.c_tt
		hidden_effect = { FRA_corporate_systems_apply_orange_5g_multivendor = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.28
	title = FRA_corporate_systems_events.28.t
	desc = FRA_corporate_systems_events.28.d
	picture = GFX_computer
	is_triggered_only = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
		FRA_corporate_systems_event_28_eligible = yes
	}

	option = {
		name = FRA_corporate_systems_events.28.a
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.28.a executed"
		custom_effect_tooltip = FRA_corporate_systems_events.28.a_tt
		hidden_effect = { FRA_corporate_systems_apply_5g_restrictive_authorizations = yes }
		ai_chance = { base = 50 }
	}

	option = {
		name = FRA_corporate_systems_events.28.b
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.28.b executed"
		custom_effect_tooltip = FRA_corporate_systems_events.28.b_tt
		hidden_effect = { FRA_corporate_systems_apply_5g_long_term_huawei = yes }
		ai_chance = { base = 30 }
	}

	option = {
		name = FRA_corporate_systems_events.28.c
		log = "[GetDateText]: [Root.GetName]: FRA_corporate_systems_events.28.c executed"
		custom_effect_tooltip = FRA_corporate_systems_events.28.c_tt
		hidden_effect = { FRA_corporate_systems_apply_5g_rapid_diversification = yes }
		ai_chance = { base = 20 }
	}
}

country_event = {
	id = FRA_corporate_systems_events.90
	is_triggered_only = yes
	hidden = yes
	fire_only_once = yes

	trigger = {
		has_game_rule = { rule = rule_corporate_history option = full }
		original_tag = FRA
		NOT = { has_country_flag = collapsed_nation }
	}

	immediate = { FRA_corporate_systems_resolve_capstone = yes }
}
