emp_france_missions_1 = {
	slot = 1
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
	}
	has_country_shield = yes

	emp_fra_subjugate_brittany = {
		icon = mission_have_two_subjects
		required_missions = {  }
		completed_by = 1491.12.6
		provinces_to_highlight = {
			area = brittany_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			brittany_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_dip_power = 100
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_brest = {
		icon = brest_dockyards
		required_missions = { emp_fra_subjugate_brittany }
		provinces_to_highlight = {
			province_id = 170
			OR = {
				has_dock_building_trigger = no
				NOT = { owned_by = ROOT }
				NOT = { controlled_by = ROOT }
			}
		}
		trigger = {
			170 = {
				owned_by = ROOT
				controlled_by = ROOT
				has_dock_building_trigger = yes
			}
		}
		effect = {
			if = {
				limit = {
					170 = {
						NOT = {
							has_building = drydock
						}
					}
				}
				170 = {
					add_building = drydock
				}
			}
			170 = {
				add_unit_construction = {
					type = heavy_ship
					amount = 5
					speed = 1
					cost = 0
				}
			}
		}
	}
	
	emp_fra_auld_alliance = {
		icon = the_auld_alliance
		required_missions = { emp_fra_brest emp_fra_end_hyw }
		provinces_to_highlight = {
			owner = {
				NOT = { tag = ENG }
				NOT = { tag = GBR }
				capital_scope = {
					region = british_isles_region
				}
				total_development = 70
			}
		}
		trigger = {
			OR = {
				custom_trigger_tooltip = {
					tooltip = fra_auld_alliance_tt
					any_country = {
						NOT = { tag = ENG }
						NOT = { tag = GBR }
						capital_scope = {
							region = british_isles_region
						}
						has_opinion = { who = ROOT value = 100 }
						total_development = 70
					}
				}
				british_isles_region = {
					country_or_non_sovereign_subject_holds = ROOT
					type = all
				}
			}
		}
		effect = {
			custom_tooltip = fra_british_claims_tt
			hidden_effect = {
				british_isles_region = {
					limit = {
						OR = {
							owned_by = ENG
							owned_by = GBR
						}
					}
					add_claim = ROOT
				}
			}
		}
		ai_weight = {
			factor = 0
		}
	}
	emp_fra_england = {
		icon = defeat_the_english
		required_missions = { emp_fra_auld_alliance }
		provinces_to_highlight = {
			region = british_isles_region
			if = {
				limit = {
					OR = {
						ENG = {
							num_of_owned_provinces_with = {
								region = british_isles_region
								value = 10
							}
						}
						GBR = {
							primary_culture = english
							num_of_owned_provinces_with = {
								region = british_isles_region
								value = 10
							}
						}
					}
				}
				OR = {
					owned_by = ENG
					owned_by = GBR
				}
			}
			else = {
				province_id = 236
			}
		}
		trigger = {
			custom_trigger_tooltip = {
				tooltip = fra_defeat_england_tt
				NOT = {
					ENG = {
						num_of_owned_provinces_with = {
							region = british_isles_region
							value = 10
						}
					}
				}
				if = {
					limit = {
						exists = GBR
					}
					GBR = {
						OR = {
							NOT = {
								primary_culture = english
							}
							NOT = {
								num_of_owned_provinces_with = {
									region = british_isles_region
									value = 10
								}
							}
						}
					}
				}
			}
			236 = {
				NOT = {
					OR = {
						owned_by = ENG
						owned_by = GBR
					}
				}
			}
		}
		effect = {
			add_power_projection = {
				type = mission_rewards_power_projection
				amount = 25
			}
			add_country_modifier = {
				name = "france_rules_the_waves"
				duration = -1
			}
		}
		ai_weight = {
			factor = 0
		}
	}
	emp_fra_conquer_flanders_wallonia = {
		icon = mission_cannons_firing
		required_missions = { emp_fra_recover_calais }
		position = 5
		provinces_to_highlight = {
			OR = {
				area = wallonia_area
				area = brabant_area
				area = flanders_area
			}
			NOT = {
				owned_by = ROOT
			}
		}
		trigger = {
			wallonia_area = {
				type = all
				owned_by = ROOT
			}
			brabant_area = {
				type = all
				owned_by = ROOT
			}
			flanders_area = {
				type = all
				owned_by = ROOT
			}
		}
		effect = {
			wallonia_area = {
				add_province_modifier = {
					name = "faster_integration"
					duration = 7300
				}
			}
			brabant_area = {
				add_province_modifier = {
					name = "faster_integration"
					duration = 7300
				}
			}
			flanders_area = {
				add_province_modifier = {
					name = "faster_integration"
					duration = 7300
				}
			}
		}
		ai_weight = {
			factor = 75
		}
	}
}
emp_france_missions_1_b = {
	slot = 1
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
		is_random_new_world = no 
	}
	has_country_shield = yes
	
	emp_fra_france_discovers_north_america = {
		icon = mission_establish_high_seas_navy
		required_missions = {  }
		completed_by = 1535.1.1
		position = 7
		trigger = {
			has_idea_group = exploration_ideas
			has_idea = quest_for_the_new_world
			custom_trigger_tooltip = {
				tooltip = fra_canada_discovery.tooltip
				colonial_canada = {
					has_discovered = ROOT
				}
			}
			custom_trigger_tooltip = {
				tooltip = fra_carib_discovery.tooltip
				colonial_the_carribean = {
					has_discovered = ROOT
				}
			}
			custom_trigger_tooltip = {
				tooltip = fra_louis_discovery.tooltip
				colonial_louisiana = {
					has_discovered = ROOT
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "fra_colonial_enthusiasm"
				duration = 7300
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_french_colony_in_north_america = {
		icon = mission_colonial
		required_missions = { emp_fra_france_discovers_north_america }
		completed_by = 1608.7.3
		position = 8
		provinces_to_highlight = {
			has_discovered = ROOT
			OR = {
				colonial_region = colonial_canada
				colonial_region = colonial_louisiana
				colonial_region = colonial_the_carribean
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			custom_trigger_tooltip = {
				tooltip = fra_carib_colony.tooltip
				num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
					value = 5
					colonial_region = colonial_the_carribean
				}
			}
			OR = {
				custom_trigger_tooltip = {
					tooltip = fra_canada_colony.tooltip
					num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
						value = 5
						colonial_region = colonial_canada
					}
				}
				custom_trigger_tooltip = {
					tooltip = fra_louisiana_colony.tooltip
					num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
						value = 5
						colonial_region = colonial_louisiana
					}
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "french_tariffs"
				duration = 7300
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_louisiana = {
		icon = mississippi_company
		required_missions = { emp_fra_french_colony_in_north_america }
		provinces_to_highlight = {
			has_discovered = ROOT
			OR = {
				AND = {
					colonial_region = colonial_louisiana
					NOT = {
						country_or_non_sovereign_subject_holds = ROOT
					}
				}
				AND = {
					province_id = 1507
					NOT = { is_strongest_trade_power = ROOT }
				}
			}
		}
		trigger = {
			custom_trigger_tooltip = {
				tooltip = fra_louisiana_colony.tooltip2
				num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
					value = 20
					colonial_region = colonial_louisiana
				}
			}
			1507 = {
				is_strongest_trade_power = ROOT
			}
		}
		effect = {
			set_country_flag = fra_louis_mission
			country_event = { id = flavor_fra.3132 }
			add_mercantilism = 5
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_american_independence = {
		icon = support_american_independence
		required_missions = { emp_fra_louisiana }
		provinces_to_highlight = {
			has_discovered = ROOT
			owner = {
				OR = {
					AND = {
						liberty_desire = 50
						is_colonial_nation = yes
						NOT = { is_subject_of = ROOT }
					}
					is_former_colonial_nation = yes
				}
			}
		}
		trigger = {
			any_country = {
				is_former_colonial_nation = yes
				is_subject = no
				alliance_with = ROOT
			}
		}
		effect = {
			custom_tooltip = fra_liberation_wars_enabled_tt
			set_country_flag = fra_liberation_wars_enabled
		}
		ai_weight = {
			factor = 75
		}
	}
}

emp_france_missions_2 = {
	slot = 2
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
	}
	has_country_shield = yes
	
	emp_fra_reconquer_normandy = {
		icon = mission_conquer_50_development
		required_missions = { }
		completed_by = 1450.1.1
		provinces_to_highlight = {
			OR = {
				area = normandy_area
				province_id = 177
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			normandy_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			177 = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			if = {
				limit = {
					NOT = {
						exists = NRM
					}
				}
				country_event = { id = emp_mission_events.7 }
			}
			else = {
				add_prestige = 15
			}
			brittany_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			if = {
				limit = {
					exists = BRI
				}
				add_casus_belli = {
					type = cb_vassalize_mission
					target = BRI
					months = 120
				}
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	
	emp_fra_end_hyw = {
		icon = the_hundred_years_war
		required_missions = { emp_fra_reconquer_normandy emp_fra_reconquer_gascony }
		provinces_to_highlight = {
			region = france_region
			NOT = { province_id = 87 }
			OR = {
				owned_by = ENG
				owned_by = GBR
			}
		}
		trigger = {
			is_subject = no
			custom_trigger_tooltip = {
				tooltip = fra_hyw_tt
				france_region = {
					type = all
					OR = {
						province_id = 87
						AND = {
							NOT = { owned_by = ENG }
							NOT = { owned_by = GBR }
						}
					}
				}
			}
			if = {
				limit = {
					exists = ENG
				}
				NOT = { war_with = ENG }
			}
			if = {
				limit = {
					exists = GBR
				}
				NOT = { war_with = GBR }
			}
		}
		effect = {
			if = {
				limit = {
					exists = ENG
					NOT = { has_global_flag = eng_had_end_of_hundred_years_war }
					NOT = { has_country_flag = had_end_of_HYW_france }
				}
				set_global_flag = hyw_mission_resolution
				country_event = { id = flavor_fra.9104 }
			}		
			champagne_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			89 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			88 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			1743 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_conquer_picardy_fra = {
		icon = mission_assemble_an_army
		required_missions = { emp_fra_end_hyw }
		completed_by = 1477.1.5
		provinces_to_highlight = {
			OR = {
				area = champagne_area
				province_id = 89
				province_id = 88
				province_id = 1743
			}
			NOT = {
				owned_by = ROOT
			}
		}
		trigger = {
			champagne_area = {
				type = all
				owned_by = ROOT
			}
			89 = {
				owned_by = ROOT
			}
			88 = {
				owned_by = ROOT
			}
			1743 = {
				owned_by = ROOT
			}
		}
		effect = {
			87 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_recover_calais = {
		icon = mission_galleys_in_port
		required_missions = { emp_fra_conquer_picardy_fra }
		completed_by = 1558.1.7
		provinces_to_highlight = {
			province_id = 87
			NOT = {
				owned_by = ROOT
			}
		}
		trigger = {
			87 = {
				owned_by = ROOT
			}
		}
		effect = {
			87 = {
				add_province_modifier = {
					name = "french_callais"
					duration = 7300
				}
			}
			wallonia_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			brabant_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			flanders_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_conquer_milan = {
		icon = mission_italian_condottiere
		required_missions = { emp_fra_annex_savoy }
		provinces_to_highlight = {
			area = lombardy_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			lombardy_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			if = {
				limit = {
					exists = NAP
					valid_for_personal_unions_trigger = yes
					NAP = {
						valid_for_personal_unions_trigger = yes
					}
				}
				add_casus_belli = {
					type = cb_restore_personal_union
					months = 300
					target = NAP
				}
			}
			else = {
				calabria_area = {
					limit = {
						NOT = { is_core = ROOT }
						NOT = { is_permanent_claim = ROOT }
					}
					add_permanent_claim = ROOT
				}
				apulia_area = {
					limit = {
						NOT = { is_core = ROOT }
						NOT = { is_permanent_claim = ROOT }
					}
					add_permanent_claim = ROOT
				}
				naples_area = {
					limit = {
						NOT = { is_core = ROOT }
						NOT = { is_permanent_claim = ROOT }
					}
					add_permanent_claim = ROOT
				}
				120 = {
					if = {
						limit = {
							NOT = {
								is_permanent_claim = ROOT
								is_core = ROOT
							}
						}
						add_permanent_claim = ROOT
					}
				}
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_french_claim_to_naples = {
		icon = mission_monarch_in_throne_room
		required_missions = { emp_fra_conquer_milan }
		provinces_to_highlight = {
			OR = {
				area = calabria_area
				area = apulia_area
				province_id = 121
				province_id = 120
				province_id = 2983
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			OR = {
				NAP = {
					junior_union_with = ROOT
				}
				AND = {
					calabria_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
					apulia_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
					naples_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
					120 = {
						country_or_non_sovereign_subject_holds = ROOT
					}
				}
			}
		}
		effect = {
			add_prestige = 20
			hidden_effect = {
				remove_casus_belli = {
					type = cb_restore_personal_union
					target = NAP
				}
			}
			if = {
				limit = {
					exists = SPA
					valid_for_personal_unions_trigger = yes
					SPA = {
						valid_for_personal_unions_trigger = yes
					}
				}
				add_casus_belli = {
					type = cb_restore_personal_union
					months = 300
					target = SPA
				}
			}
			else_if = {
				limit = {
					exists = CAS
					valid_for_personal_unions_trigger = yes
					CAS = {
						valid_for_personal_unions_trigger = yes
					}
				}
				add_casus_belli = {
					type = cb_restore_personal_union
					months = 300
					target = CAS
				}
			}
			else = {
				castille_area = {
					limit = {
						NOT = { is_permanent_claim = ROOT }
						NOT = { is_core = ROOT	}
					}
					add_permanent_claim = ROOT
				}
				toledo_area = {
					limit = {
						NOT = { is_permanent_claim = ROOT }
						NOT = { is_core = ROOT	}
					}
					add_permanent_claim = ROOT
				}
				asturias_area = {
					limit = {
						NOT = { is_permanent_claim = ROOT }
						NOT = { is_core = ROOT	}
					}
					add_permanent_claim = ROOT
				}
				leon_area = {
					limit = {
						NOT = { is_permanent_claim = ROOT }
						NOT = { is_core = ROOT	}
					}
					add_permanent_claim = ROOT
				}
				extremadura_area = {
					limit = {
						NOT = { is_permanent_claim = ROOT }
						NOT = { is_core = ROOT	}
					}
					add_permanent_claim = ROOT
				}
				basque_country = {
					limit = {
						NOT = { is_permanent_claim = ROOT }
						NOT = { is_core = ROOT	}
					}
					add_permanent_claim = ROOT
				}
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_spanish_succession = {
		icon = the_spanish_succession
		required_missions = { emp_fra_french_claim_to_naples }
		provinces_to_highlight = {
			OR = {
				area = castille_area
				area = toledo_area
				area = asturias_area
				area = leon_area
				area = extremadura_area
				area = basque_country
			}
			NOT = { country_or_non_sovereign_subject_holds = ROOT }
		}
		trigger = {
			castille_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			toledo_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			asturias_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			leon_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			extremadura_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			basque_country = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_prestige = 20
			add_dip_power = 100
		}
		ai_weight = {
			factor = 75
		}
	}
}
emp_france_missions_2_b = {
	slot = 2
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
		is_random_new_world = no 
	}
	has_country_shield = yes
	
	emp_fra_south_america = {
		icon = france_antarctique
		required_missions = { emp_fra_france_discovers_north_america }
		provinces_to_highlight = {
			has_discovered = ROOT
			continent = south_america
			NOT = { country_or_non_sovereign_subject_holds = ROOT }
		}
		position = 8
		trigger = {
			num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
				continent = south_america
				value = 10
			}
		}
		effect = {
			add_dip_power = 100
			add_country_modifier = {
				name = "fra_colonial_enthusiasm_2"
				duration = 7300
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	
	emp_fra_native_relations = {
		icon = trade_with_the_natives
		required_missions = { emp_fra_french_colony_in_north_america }
		provinces_to_highlight = {
			has_discovered = ROOT
			OR = {
				AND = {
					province_id = 2526
					NOT = { is_strongest_trade_power = ROOT }
				}
				owner = {
					technology_group = north_american
					NOT = {
						has_opinion = {
							who = ROOT
							value = 100
						}
					}
				}
			}
		}
		trigger = {
			2526 = {
				is_strongest_trade_power = ROOT
			}
			if = {
				limit = {
					calc_true_if = {
						all_country = {
							technology_group = north_american
						}
						amount = 3
					}
				}
				calc_true_if = {
					all_country = {
						technology_group = north_american
						has_opinion = {
							who = ROOT
							value = 100
						}
					}
					amount = 3
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "fra_native_relations_mission"
				duration = 7300
			}
		}
		ai_weight = {
			factor = 75
		}
	}
}
emp_france_missions_2_c = {
	slot = 2
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
	}
	has_country_shield = yes
	emp_fra_indian_dominance = {
		icon = indian_dominance
		required_missions = { emp_fra_india_expansion }
		provinces_to_highlight = {
			has_discovered = ROOT
			superregion = india_superregion
			owner = {
				technology_group = western
			}
			NOT = { owned_by = ROOT }
		}
		position = 10
		trigger = {
			current_age = age_of_revolutions
			india_superregion = {
				type = all
				OR = {
					owned_by = FRA
					owner = {
						NOT = {
							technology_group = western
						}
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					has_dlc = "Dharma"
				}
				add_country_modifier = {
					name = "fra_master_of_india"
					duration = -1
				}
			}
			else = {
				add_country_modifier = {
					name = "fra_master_of_india_2"
					duration = -1
				}
			}
		}
		ai_weight = {
			factor = 75
		}
	}
}

emp_france_missions_3 = {
	slot = 3
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
	}
	has_country_shield = yes
	
	emp_fra_reconquer_gascony = {
		icon = mission_build_up_to_force_limit
		required_missions = { }
		completed_by = 1453.7.18
		provinces_to_highlight = {
			OR = {
				province_id = 174
				province_id = 173
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			174 = {
				country_or_non_sovereign_subject_holds = ROOT
			}
			173 = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			provence_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			loire_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_conquer_provence = {
		icon = mission_cannons_firing
		required_missions = { emp_fra_reconquer_gascony }
		completed_by = 1481.1.1
		provinces_to_highlight = {
			OR = {
				area = provence_area
				area = loire_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			custom_trigger_tooltip = {
				tooltip = fra_pro_tt
				num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
					value = 3
					area = provence_area
				}
			}
			loire_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			bourgogne_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			west_burgundy_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_toulon_dockyard = {
		icon = toulon_dockyards
		required_missions = { emp_fra_conquer_provence }
		provinces_to_highlight = {
			province_id = 4696
			OR = {
				has_shipyard_building_trigger = no
				NOT = { owned_by = ROOT }
			}
		}
		trigger = {
			4696 = {
				has_shipyard_building_trigger = yes
				owned_by = ROOT
			}
			navy_size_percentage = 1
		}
		effect = {
			4696 = {
				add_province_modifier = {
					name = "toulon_dockyards"
					duration = -1
				}
			}
		}
	}
	emp_fra_annex_savoy = {
		icon = mission_unite_home_region
		required_missions = { emp_fra_conquer_burgundy_area }
		provinces_to_highlight = {
			OR = {
				area = savoy_dauphine_area
				area = piedmont_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			savoy_dauphine_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			piedmont_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			liguria_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			lombardy_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 100
		}
	}
	emp_fra_annex_genoa = {
		icon = mission_galleys_in_port
		required_missions = { emp_fra_annex_savoy }
		provinces_to_highlight = {
			area = liguria_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			liguria_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_country_modifier = {
				name = "italian_ambition_modifier"
				duration = 7300
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_switzerland = {
		icon = helvetic_conquest
		required_missions = { emp_fra_annex_alsace }
		provinces_to_highlight = {
			OR = {
				area = switzerland_area
				area = romandie_area
				owned_by = SWI
			}
			NOT = { country_or_non_sovereign_subject_holds = ROOT }
		}
		trigger = {
			OR = {
				SWI = {
					is_subject_of = FRA
				}
				AND = {
					switzerland_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
					romandie_area = {
						type = all
						country_or_non_sovereign_subject_holds = ROOT
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					has_dlc = "Cradle of Civilization"
				}
				add_army_professionalism = 10
			}
			else = {
				add_army_tradition = 20
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_france_discovers_the_carribean = {
		icon = mission_sea_battles
		required_missions = {  }
		position = 8
		trigger = {
			custom_trigger_tooltip = {
				tooltip = fra_bengal_discovery.tooltip
				bengal_region = {
					has_discovered = ROOT
				}
			}
			custom_trigger_tooltip = {
				tooltip = fra_coromandel_discovery.tooltip
				coromandel_region = {
					has_discovered = ROOT
				}
			}
		}
		effect = {
			add_country_modifier = {
				name = "fra_to_india"
				duration = 7300
			}
			andhra_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			orissa_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			north_carnatic_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_india_expansion = {
		icon = mission_trade_company_region_abroad
		required_missions = { emp_fra_france_discovers_the_carribean }
		position = 9
		provinces_to_highlight = {
			has_discovered = ROOT
			OR = {
				area = andhra_area
				area = orissa_area
				area = north_carnatic_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			andhra_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			orissa_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			north_carnatic_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			add_country_modifier = {
				name = "east_india_trade_rush"
				duration = 7300
			}
			indo_china_region = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			golconda_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_claim = ROOT }
				}
				add_claim = ROOT
			}
			garjat_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_claim = ROOT }
				}
				add_claim = ROOT
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_indochina = {
		icon = french_indochina
		required_missions = { emp_fra_india_expansion }
		provinces_to_highlight = {
			has_discovered = ROOT
			region = indo_china_region
			NOT = { country_or_non_sovereign_subject_holds = ROOT }
		}
		trigger = {
			num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
				region = indo_china_region
				value = 20
			}
		}
		effect = {
			add_mercantilism = 10
		}
		ai_weight = {
			factor = 75
		}
	}
}

emp_france_missions_4 = {
	slot = 4
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
	}
	has_country_shield = yes
	
	emp_fra_establish_the_musketeers = {
		icon = establish_the_musketeers
		required_missions = { }
		provinces_to_highlight = {
		}
		trigger = {
			monthly_mil = 10
			OR = {
				current_age = age_of_absolutism
				current_age = age_of_revolutions
			}
		}
		effect = {
			set_country_flag = fra_musketeers_mission
			country_event = { id = flavor_fra.5 }
		}
	}
	emp_fra_les_invalides = {
		icon = les_invalides
		required_missions = { emp_fra_establish_the_musketeers }
		provinces_to_highlight = {
			owned_by = ROOT
			AND = {
				has_manpower_building_trigger = no
				has_forcelimit_building_trigger = no
			}
		}
		trigger = {
			num_of_owned_provinces_with = {
				OR = {
					has_manpower_building_trigger = yes
					has_forcelimit_building_trigger = yes
				}
				value = 20
			}
			183 = {
				owned_by = ROOT
				has_building = university
			}
			land_forcelimit = 100
		}
		effect = {
			custom_tooltip = emp_ven_plague_doctor_training_tt
			set_country_flag = has_competent_doctors
			add_country_modifier = {
				name = "les_invalides"
				duration = -1
			}
		}
	}	
	emp_fra_conquer_burgundy_area = {
		icon = mission_landsknecht_soldier
		required_missions = { emp_fra_conquer_provence }
		position = 3
		provinces_to_highlight = {
			OR = {
				area = bourgogne_area
				area = west_burgundy_area
			}
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			west_burgundy_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
			bourgogne_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			lorraine_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			savoy_dauphine_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			piedmont_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_subjugate_lorraine = {
		icon = mission_build_up_to_force_limit
		required_missions = { emp_fra_conquer_burgundy_area }
		provinces_to_highlight = {
			area = lorraine_area
			NOT = {
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		trigger = {
			lorraine_area = {
				type = all
				country_or_non_sovereign_subject_holds = ROOT
			}
		}
		effect = {
			alsace_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_annex_alsace = {
		icon = mission_assemble_an_army
		required_missions = { emp_fra_subjugate_lorraine }
		provinces_to_highlight = {
			area = alsace_area
			NOT = {
				owned_by = ROOT
			}
		}
		trigger = {
			alsace_area = {
				type = all
				owned_by = ROOT
			}
		}
		effect = {
			add_country_modifier = {
				name = "fra_into_germany"
				duration = 7300
			}
			upper_rhineland_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_claim = ROOT
			}
			romandie_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
			switzerland_area = {
				limit = {
					NOT = { is_core = ROOT }
					NOT = { is_permanent_claim = ROOT }
				}
				add_permanent_claim = ROOT
			}
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_germany = {
		icon = interfere_in_germany
		required_missions = { emp_fra_annex_alsace }
		provinces_to_highlight = {
			NOT = {
				owned_by = ROOT
			}
			owner = {
				is_emperor = yes
			}
		}
		trigger = {
			OR = {
				is_emperor = yes
				NOT = { hre_size = 1 }
			}
		}
		effect = {
			if = {
				limit = {
					NOT = { government_rank = 3 }
				}
				set_government_rank = 3
			}
			if = {
				limit = {
					exists = PLC
					
				}
				add_casus_belli = {
					target = PLC
					type = cb_vassalize_mission
					months = 120
				}
			}
			else_if = {
				limit = {
					exists = POL
				}
				add_casus_belli = {
					target = POL
					type = cb_vassalize_mission
					months = 120
				}
			}
			else = {
				mazovia_area = {
					limit = {
						NOT = { is_core = ROOT }
						NOT = { is_permanent_claim = ROOT }
					}
					add_permanent_claim = ROOT
				}
			}
		}
		ai_weight = {
			factor = 75
		}
	}
	emp_fra_poland = {
		icon = polish_subjects
		required_missions = { emp_fra_germany }
		provinces_to_highlight = {
			OR = {
				province_id = 257
				if = {
					limit = {
						257 = {
							owner = {
								OR = {
									primary_culture = polish
									primary_culture = polish_new
								}
								is_subject_of = ROOT
							}
						}
					}
					region = poland_region
				}
				else = {
					always = no
				}
			}
			NOT = { country_or_non_sovereign_subject_holds = ROOT }
		}
		trigger = {
			257 = {
				owner = {
					OR = {
						primary_culture = polish
						primary_culture = polish_new
					}
					is_subject_of = ROOT
				}
			}
			num_of_provinces_owned_or_owned_by_non_sovereign_subjects_with = {
				region = poland_region
				value = 10
			}
		}
		effect = {
			295 = {
				if = {
					limit = {
						NOT = {
							is_permanent_claim = ROOT
							is_core = ROOT
						}
					}
					add_permanent_claim = ROOT
				}
			}
			custom_tooltip = duchy_of_warsaw_tt
			hidden_effect = {
				257 = {
					owner = {
						save_event_target_as = duchy_of_warsaw
					}
				}
				poland_region = {
					limit = {
						NOT = { is_core = event_target:duchy_of_warsaw }
						NOT = { is_permanent_claim = event_target:duchy_of_warsaw }
					}
					add_permanent_claim = event_target:duchy_of_warsaw
				}
			}
		}
		ai_weight = {
			factor = 50
		}
	}
	emp_fra_russia = {
		icon = the_russian_campaign
		required_missions = { emp_fra_poland }
		provinces_to_highlight = {
			province_id = 295
			NOT = { controlled_by = ROOT }
		}
		trigger = {
			295 = {
				controlled_by = ROOT
			}
		}
		effect = {
			add_power_projection = {
				type = mission_rewards_power_projection
				amount = 25
			}
			if = {
				limit = {
					NOT = {
						295 = {
							country_or_non_sovereign_subject_holds = ROOT
						}
					}
				}
				country_event = { id = emp_mission_events.6 }
			}
		}
		ai_weight = {
			factor = 50
		}
	}
}

emp_france_missions_5 = {
	slot = 5
	generic = no
	ai = yes
	potential_on_load = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
	}
	potential = {
		has_dlc = "Emperor"
		NOT = { has_dlc = "Domination" }
		tag = FRA
		NOT = { map_setup = map_setup_random }
	}
	has_country_shield = yes
	
	emp_fra_integrate_vassals = {
		icon = centralize_france
		required_missions = {  }
		provinces_to_highlight = {
			owner = {
				is_subject_of = ROOT
				capital_scope = {
					region = france_region
				}
			}
		}
		trigger = {
			NOT = { has_estate_privilege = estate_nobles_french_strong_duchies }
			custom_trigger_tooltip = {
				tooltip = centralize_fra_tt
				NOT = {
					any_subject_country = {
						capital_scope = {
							region = france_region
						}
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					has_country_modifier = annexers_legacy
				}
				remove_country_modifier = annexers_legacy
			}
			add_reform_progress_medium_effect = yes
		}
		ai_weight = {
			factor = 500
		}
	}
	emp_fra_wars_of_religion = {
		icon = wars_of_religion
		required_missions = { emp_fra_integrate_vassals }
		provinces_to_highlight = {
		}
		trigger = {
			stability = 1
			is_religion_enabled = reformed
			NOT = { current_age = age_of_reformation }
			OR = {
				custom_trigger_tooltip = {
					tooltip = fra_had_wars_of_religion
					has_country_flag = FRA_wars_of_religion_ended 
				}
				religious_unity = 0.8
			}
		}
		effect = {
			add_country_modifier = {
				name = "dragonnades"
				duration = 7300
			}
		}
	}
	emp_fra_i_am_the_state = {
		icon = letat_cest_moi
		required_missions = { emp_fra_wars_of_religion }
		provinces_to_highlight = {
		}
		trigger = {
			stability = 2
			OR = {
				current_age = age_of_absolutism
				current_age = age_of_revolutions
			}
			monthly_adm = 10
			NOT = {
				average_home_autonomy = 15
			}
			crown_land_share = 70
		}
		effect = {
			add_country_modifier = {
				name = "the_state_is_me"
				duration = -1
			}
			if = {
				limit = {
					is_revolutionary = no
				}
				add_absolutism = 10
			}
			else = {
				add_revolutionary_zeal = 10
			}
		}
	}
	emp_fra_move_court_to_versailles = {
		icon = versailles_palace
		required_missions = { emp_fra_i_am_the_state }
		provinces_to_highlight = {
		}
		trigger = {
			adm_tech = 16
			monthly_income = 100
			crown_land_share = 80
			owns_core_province = 183
		}
		effect = {
			add_prestige = 33
			183 = { add_base_tax = 2 }
			set_country_flag = versailles_flag
			country_event = { id = flavor_fra.3125 }
		}
	}
	emp_fra_revolution = {
		icon = french_revolution
		required_missions = { emp_fra_move_court_to_versailles }
		provinces_to_highlight = {
			owner = {
				is_revolution_target = yes
			}
		}
		trigger = {
			OR = {
				has_reform = revolutionary_empire_reform
				has_reform = revolutionary_republic_reform
				custom_trigger_tooltip = {
					tooltip = center_of_revolution.3000.A.tt
					has_global_flag = no_more_revolutions_ever
				}
				any_known_country = {
					is_revolution_target = yes
					war_with = ROOT
					capital_scope = {
						controlled_by = ROOT
					}
				}
			}
		}
		effect = {
			if = {
				limit = {
					OR = {
						has_reform = revolutionary_empire_reform
						has_reform = revolutionary_republic_reform
					}
				}
				add_revolutionary_zeal = 25
				add_country_modifier = {
					name = "french_revolution_mission"
					duration = -1
				}
			}
			else = {
				add_country_modifier = {
					name = "ger_reactionary_zeal"
					duration = -1
				}
			}
		}
	}
	emp_fra_client_states = {
		icon = establish_client_states
		required_missions = { emp_fra_revolution }
		provinces_to_highlight = {
		}
		trigger = {
			calc_true_if = {
				desc = fra_client_states_tt
				all_country = {
					is_colonial_nation = no
					is_subject_of = ROOT
					total_development = 100
					capital_scope = {
						continent = europe
					}
				}
				amount = 3
			}
		}
		effect = {
			add_dip_power = 100
			add_country_modifier = {
				name = "french_client_states_mission"
				duration = -1
			}
		}
	}
	emp_fra_empire = {
		icon = french_empire
		required_missions = { emp_fra_germany emp_fra_client_states }
		provinces_to_highlight = {
		}
		trigger = {
			hegemon_strength = 25
		}
		effect = {
			add_adm_power = 100
			add_dip_power = 100
			add_mil_power = 100
			add_prestige = 50
			if = {
				limit = {
					NOT = {
						government_rank = 3
					}
				}
				set_government_rank = 3
			}
		}
	}
}