focus_tree = {
	id = french_focus
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = FRA
		}
	}
	default = no
	continuous_focus_position = { x = 50 y = 1300 }
	focus = {
		id = FRA_tools_modernisation
		icon = GFX_goal_generic_production2
		cost = 5
		x = 0
		y = 0
		ai_will_do = {
			factor = 2
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				category = industry
			}
			random_owned_controlled_state = {
				prioritize = { 16 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}	
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_colonial_investments
		icon = GFX_goal_generic_bills
		cost = 5
		x = 2
		y = 0
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_ideas = FRA_colonial_focus
			custom_effect_tooltip = FRA_colonial_investments_tooltip
			every_other_country = {
				limit = {
					is_subject_of = ROOT
					capital_scope = {
						NOT = {
							is_on_continent = europe
						}
					}
				}
				add_ideas = FRA_colonial_focus
				add_autonomy_ratio = {
					value = -0.05
					localization = FRA_colonial_focus
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TFV_AUTONOMY }
	}
	focus = {
		id = FRA_rearmament
		icon = GFX_goal_generic_build_tank
		cost = 10
		x = 11
		y = 0
		available = {
			OR = {
				threat > 0.05
				GER = {
					has_completed_focus = GER_remilitarize_the_rhineland
				}
				has_war_support > 0.2
			}
		}
		bypass = {
			OR = {
				has_idea = low_economic_mobilisation
				has_idea = partial_economic_mobilisation
				has_idea = war_economy
				has_idea = tot_economic_mobilisation
			}
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			if = {
				limit = {
					OR = {
						GER = {
							has_added_tension_amount > 5
						}
						ITA = {
							has_added_tension_amount > 5
						}
						ENG = {
							has_added_tension_amount > 5
						}
					}
				}
				add_war_support = 0.05
			}
			if = {
				limit = {
					has_idea = civilian_economy
				}
				swap_ideas = {
					remove_idea = civilian_economy
					add_idea = low_economic_mobilisation
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_radicalize_front
		icon = GFX_goal_support_communism
		cost = 5
		mutually_exclusive = {
			focus = FRA_status_quo
			focus = FRA_far_right_leagues
			focus = FRA_action_francaise
		}
		relative_position_id = FRA_rearmament	#dont use political ones, which may be hidden
		x = 6
		y = 0
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_action_francaise
				}
			}
		}
		
		ai_will_do = {
			factor = 2.5
		}
		completion_reward = {
			add_stability = -0.1
			add_ideas = {
				FRA_support_the_left_focus
			}
			if = {
				limit = {
					amount_taken_ideas = {
    					amount < 3
    					slots = { 
							political_advisor
    					}
					}
				}
				add_ideas = maurice_thorez
			}
			else = {
				add_stability = -0.05
				add_popularity = {
					ideology = communism
					popularity = 0.08
				}
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = FRA_status_quo
		icon = GFX_goal_FRA_status_quo
		cost = 5
		mutually_exclusive = {
			focus = FRA_far_right_leagues
			focus = FRA_radicalize_front
			focus = FRA_action_francaise
		}
		available = {
			
			has_country_flag = FRA_1936_election
		}
		relative_position_id = FRA_rearmament	#dont use political ones, which may be hidden
		x = 15
		y = 0
		offset = {
			x = -5
			y = 0
			trigger = {
				has_completed_focus = FRA_status_quo
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_action_francaise
				}
			}
		}
		ai_will_do = {
			factor = 4.9
			modifier = {
				has_global_flag = rt56_old_school
				add = 0.5
			}
		}
		completion_reward = {
			add_political_power = 25
			add_stability = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			
			if = {
				limit = {
					NOT = {
						has_idea = r56i_laws_social_hierarchy
						has_idea = r56i_laws_social_revolutionary
						has_idea = r56i_laws_social_diversity
						has_idea = r56i_laws_social_unity
						has_idea = r56i_laws_social_normal
					}
				}
				add_ideas = r56i_laws_social_normal
			}
			if = {
				limit = {
					has_active_mission = FRA_the_popular_front
				}
				add_days_mission_timeout = {
					mission = FRA_the_popular_front
					days = 35
				}
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_far_right_leagues
		icon = GFX_goal_FRA_far_right_leagues
		cost = 5
		mutually_exclusive = {
			focus = FRA_status_quo
			focus = FRA_radicalize_front
			focus = FRA_action_francaise
		}
		relative_position_id = FRA_rearmament	#dont use political ones, which may be hidden
		x = 26
		y = 0
		offset = {
			x = -17
			y = 0
			trigger = {
				has_completed_focus = FRA_far_right_leagues
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_action_francaise
				}
			}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_stability = -0.05
			add_timed_idea = {
				idea = FRA_support_the_right_focus
				days = 730
			}
			hidden_effect = {
				news_event = {
					hours = 6
					id = news.179
				}
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_action_francaise
		icon = GFX_goal_FRA_action_francaise
		cost = 5
		mutually_exclusive = {
			focus = FRA_status_quo
			focus = FRA_radicalize_front
			focus = FRA_far_right_leagues
		}
		relative_position_id = FRA_rearmament	#dont use political ones, which may be hidden
		x = 39
		y = 0
		offset = {
			x = -20
			y = 0
			trigger = {
				has_completed_focus = FRA_action_francaise
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
				}
			}
		}		
		ai_will_do = {
			factor = 2.4
			modifier = {
				factor = 1
				OR = {
					LUX = {
						is_ai = no
					}
					BEL = {
						is_ai = no
					}
				}
			}
		}
		completion_reward = {
			add_stability = -0.10
			add_timed_idea = {
				idea = FRA_support_monarchy_focus
				days = 574
			}
			custom_effect_tooltip = new_advisors_tt
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	
	focus = {
		id = FRA_sncf
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = FRA_tools_modernisation
			focus = FRA_colonial_investments
		}
		x = 1
		y = 1
		ai_will_do = {
			factor = 2
		}
		available = {
			any_state = {
				OR = {
					state = 16
					state = 785
					state = 30
					state = 27
					state = 18
				}
				is_controlled_by = ROOT
			}
		}

		bypass = {
			all_state = {
				state = 16
				state = 785
				state = 30
				state = 27
				state = 18
				NOT = {
					is_controlled_by = ROOT
				}
			}
		}

		completion_reward = {
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 50
			}
			every_state = {
				limit = {
					is_controlled_by = ROOT
					OR = {
						state = 16
						state = 785
						state = 30
						state = 27
						state = 18
					}
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_monetary_tripartite_agreement
		icon = GFX_focus_generic_decrease_unemployment
		cost = 10
		prerequisite = {
			focus = FRA_sncf
		}
		prerequisite = {
			focus = FRA_tools_modernisation
		}
		x = 0
		y = 2
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_stability = -0.03
			random_owned_controlled_state = {
				prioritize = { 14 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				prioritize = { 21 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				prioritize = { 15 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_cnrs
		icon = GFX_focus_research
		cost = 10
		prerequisite = {
			focus = FRA_monetary_tripartite_agreement
		}
		x = 0
		y = 3
		
		ai_will_do = {
			factor = 3
		}
		available = {
			amount_research_slots < 6
		}
		
		bypass = {
			amount_research_slots > 5
		}		
		completion_reward = {
			add_research_slot = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_buy_heavy_water
		icon = GFX_goal_FRA_nuclear
		cost = 10
		prerequisite = {
			focus = FRA_cnrs
		}
		x = 0
		y = 4
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			IF = {	
				limit = {
					NOT = {
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = nuclear_bonus
					bonus = 1.0
					uses = 1
					category = nuclear
				}
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}
			ELSE = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.8
				}
			}
			hidden_effect = {
				news_event = {
					id = news.174
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_research_grants
		icon = GFX_focus_research2
		cost = 10
		prerequisite = {
			focus = FRA_buy_heavy_water
		}
		x = 0
		y = 5
		
		ai_will_do = {
			factor = 3
		}
		available = {
			amount_research_slots < 6
			num_of_factories > 200	
		}
		
		bypass = {
			amount_research_slots > 5
		}		
		completion_reward = {
			add_research_slot = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_continue_mandat
		icon = GFX_focus_eng_move_to_secure_the_dominions
		cost = 5
		prerequisite = {
			focus = FRA_colonial_investments
		}
		mutually_exclusive = {
			focus = FRA_vienot_agreement
		}
		x = 3
		y = 1
		
		ai_will_do = {
			factor = 2
		}
		available = {
			NOT = {
				has_government = communism
			}
			OR = {
				ROOT = {
					controls_state = 677
					controls_state = 554
					controls_state = 553
				}
				any_other_country = {
					OR = {
						original_tag = LEB
						original_tag = SYR
					}
					is_subject_of = ROOT
					OR = {
						controls_state = 677
						controls_state = 554
						controls_state = 553
					}
				}
			}
		}
		bypass = {
			NOT = {
				ROOT = {
					controls_state = 677
					controls_state = 554
					controls_state = 553
				}
				any_other_country = {
					OR = {
						original_tag = LEB
						original_tag = SYR
					}
					is_subject_of = ROOT
					OR = {
						controls_state = 677
						controls_state = 554
						controls_state = 553
					}
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					677 = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}

						}
					}
				}
				677 = {
					if = {
						limit = {
							free_building_slots = {
								building = infrastructure
								size > 0
							}
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					554 = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				554 = {
					if = {
						limit = {
							free_building_slots = {
								building = infrastructure
								size > 0
							}
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
				}
			}
			if = {
				limit = {
					553 = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
					}
				}
				553 = {
					if = {
						limit = {
							free_building_slots = {
								building = infrastructure
								size > 0
							}
						}
						add_building_construction = {
							type = infrastructure
							level = 1
							instant_build = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			every_other_country = {
				limit = {
					is_subject_of = ROOT
					OR = {
						controls_state = 677
						controls_state = 554
						controls_state = 553
					}
				}
				add_autonomy_ratio = {
					value = -0.1
					localization = FRA_colonial_investments
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TFV_AUTONOMY }
	}
	focus = {
		id = FRA_develop_algeria
		icon = GFX_goal_FRA_french_algeria
		cost = 5
		prerequisite = {
			focus = FRA_continue_mandat
			focus = FRA_sncf
		}
		x = 2
		y = 2
		
		available = {
			459 = {
				controls_or_subject_of = yes
			}
			460 = {
				controls_or_subject_of = yes
			}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			if = {
				limit = {
					459 = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				459 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					460 = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						free_building_slots = {
							building = infrastructure
							size > 0
						}
					}
				}
				460 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					459 = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
				}
				459 = {
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			459 = {
				if = {
					limit = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						any_province_building_level = {
							province = {
								id = 1145
							}
							level < 3
							building = coastal_bunker
						}
					}
					set_building_level = {
						type = coastal_bunker
						province = {
							id = 1145
						}
						level = 3
						instant_build = yes
					}
				}
				if = {
					limit = {
						controller = {
							OR = {
								tag = ROOT
								is_subject_of = ROOT
							}
						}
						any_province_building_level = {
							province = {
								id = 7132
							}
							level < 2
							building = coastal_bunker
						}
					}
					set_building_level = {
						type = coastal_bunker
						province = {
							id = 7132
						}
						level = 2
						instant_build = yes
					}
				}
			}
			every_other_country = {
				limit = {
					is_subject_of = ROOT
					OR = {
						controls_state = 459
						controls_state = 460
					}
				}
				add_autonomy_ratio = {
					value = -0.1
					localization = FRA_colonial_investments
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_develop_morocco
		icon = GFX_goal_generic_construction
		cost = 5
		prerequisite = {
			focus = FRA_continue_mandat
		}
		x = 4
		y = 2
		
		ai_will_do = {
			factor = 2
		}
		available = {
			OR = {
				ROOT = {
					controls_state = 461
					controls_state = 462
				}
				MOR = {
					is_subject_of = ROOT
					controls_state = 461
					controls_state = 462
				}
			}
		}
		completion_reward = {
			461 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			462 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					MOR = {
						is_subject_of = ROOT
						controls_state = 461
						controls_state = 462
					}
				}
				MOR = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TFV_AUTONOMY }
	}
	focus = {
		id = FRA_develop_tunisia
		icon = GFX_goal_generic_construct_civilian
		cost = 5
		prerequisite = {
			focus = FRA_develop_morocco
		}
		prerequisite = {
			focus = FRA_develop_algeria
		}
		x = 2
		y = 3
		
		available = {
			OR = {
				ROOT = {
					controls_state = 458
					controls_state = 665
				}
				TUN = {
					is_subject_of = ROOT
					controls_state = 458
					controls_state = 665
				}
			}
		}	
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			458 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			665 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					TUN = {
						is_subject_of = ROOT
						controls_state = 458
						controls_state = 665
					}
				}
				TUN = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TFV_AUTONOMY }
	}
	focus = {
		id = FRA_technology_sharing
		icon = GFX_goal_tfv_generic_tech_sharing
		cost = 10
		prerequisite = {
			focus = FRA_cnrs
		}
		prerequisite = {
			focus = FRA_develop_tunisia
		}
		x = 3
		y = 4
		available = {
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			modify_tech_sharing_bonus = {
				id = french_research
				bonus = 0.1
			}
			custom_effect_tooltip = FRA_technology_sharing_tooltip
			hidden_effect = {
				every_other_country = {
					limit = {
						OR = {
							original_tag = MOR
							original_tag = TUN
							original_tag = SYR
							original_tag = LEB
							original_tag = VIN
							original_tag = LAO
							original_tag = CAM
							original_tag = FRI
						}
						is_subject_of = ROOT
						is_in_tech_sharing_group = french_research
					}
					modify_tech_sharing_bonus = {
						id = french_research
						bonus = 0.05
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_expanded_research_facilities
		icon = GFX_goal_tfv_generic_tech_sharing
		cost = 10
		prerequisite = {
			focus = FRA_technology_sharing
		}
		x = 3
		y = 7
		available = {
			num_of_factories > 400
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_research_slot = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_sahara_oil
		icon = GFX_goal_generic_oil_refinery
		cost = 10
		prerequisite = {
			focus = FRA_technology_sharing
		}
		x = 2
		y = 5
		available = {
			OR = {
				ROOT = {
					controls_state = 459
					controls_state = 460
					controls_state = 513
				}
				ALG = {
					is_subject_of = ROOT
					controls_state = 459
					controls_state = 460
					controls_state = 513
				}
			}
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_resource = {
				type = oil
				amount = 4
				state = 459
			}
			add_resource = {
				type = oil
				amount = 4
				state = 460
			}
			add_resource = {
				type = oil
				amount = 8
				state = 513
			}
			459 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = synthetic_refinery
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = {
					ALG = {
						is_subject_of = ROOT
						controls_state = 459
						controls_state = 460
						controls_state = 513
					}
				}
				ALG = {
					add_autonomy_ratio = {
						value = -0.15
						localization = FRA_colonial_investments
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_OIL}
	}
	focus = {
		id = FRA_develop_indochine
		icon = GFX_goal_generic_construct_naval_dockyard
		cost = 5
		prerequisite = {
			focus = FRA_develop_morocco
		}
		prerequisite = {
			focus = FRA_develop_algeria
		}
		x = 4
		y = 3
		
		available = {
			OR = {
				ROOT = {
					controls_state = 670
					controls_state = 741
					controls_state = 671
					controls_state = 286
				}
				FRI = {
					is_subject_of = ROOT
					controls_state = 670
					controls_state = 741
					controls_state = 671
					controls_state = 286
				}
				AND = {
					LAO = {
						is_subject_of = ROOT
						controls_state = 670
					}
					CAM = {
						is_subject_of = ROOT
						controls_state = 741
					}
					VIN = {
						is_subject_of = ROOT
						controls_state = 671
						controls_state = 286
					}		
				}		
			}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			670 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					LAO = {
						is_subject_of = ROOT
						controls_state = 670
					}
				}
				LAO = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
			741 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = {
					CAM = {
						is_subject_of = ROOT
						controls_state = 741
					}
				}
				CAM = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
			671 = {
				add_building_construction = {
					type = naval_base
					province = 1185
					level = 4
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			286 = {
				add_building_construction = {
					type = naval_base
					province = 4401
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = {
					VIN = {
						is_subject_of = ROOT
						controls_state = 671
						controls_state = 286
					}
				}
				VIN = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
			if = {
				limit = {
					FRI = {
						is_subject_of = ROOT
						controls_state = 670
						controls_state = 741
						controls_state = 671
						controls_state = 286
					}
				}
				FRI = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TFV_AUTONOMY }
	}
	focus = {
		id = FRA_tungsten_mines
		icon = GFX_focus_generic_tungsten
		cost = 10
		prerequisite = {
			focus = FRA_technology_sharing
		}
		prerequisite = {
			focus = FRA_develop_indochine
		}
		x = 1
		y = 2
		relative_position_id = FRA_technology_sharing
		available = {
			has_tech = excavation2
			OR = {
				ROOT = {
					controls_state = 671
				}
				FRI = {
					is_subject_of = ROOT
					controls_state = 671
				}
				VIN = {
					is_subject_of = ROOT
					controls_state = 671
				}
			}
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_resource = {
				type = tungsten
				amount = 14
				state = 671
			}
			671 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			if = {
				limit = {
					VIN = {
						is_subject_of = ROOT
						controls_state = 671
					}
				}
				VIN = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
			if = {
				limit = {
					FRI = {
						is_subject_of = ROOT
						controls_state = 671
					}
				}
				FRI = {
					add_autonomy_ratio = {
						value = -0.1
						localization = FRA_colonial_investments
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_TUNGSTEN}
	}
	focus = {
		id = FRA_vienot_agreement
		icon = GFX_focus_generic_treaty
		cost = 5
		prerequisite = {
			focus = FRA_colonial_investments
		}
		mutually_exclusive = {
			focus = FRA_continue_mandat
		}
		x = 5
		y = 0
		relative_position_id = FRA_continue_mandat
		available = {
			is_subject = no
			OR = {
				has_government = communism
				has_government = democratic
			}
		}
		
		ai_will_do = {
			factor = 1.5
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 110
			if = {
				limit = {
					SYR = {
						exists = no
					}
					ROOT = {
						OR = {
							controls_state = 677
							controls_state = 680
							controls_state = 554
						}
					}
				}
				release = SYR
				set_autonomy = {
					target = SYR
					autonomy_state = autonomy_free
				}
				give_guarantee = SYR
				SYR = {
					add_opinion_modifier = {
						target = ROOT
						modifier = ENG_guiding_the_colonies
					}
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						SYR = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					LEB = {
						exists = no
					}
					ROOT = {
						controls_state = 553
					}
				}
				release = LEB
				set_autonomy = {
					target = LEB
					autonomy_state = autonomy_free
				}
				give_guarantee = LEB
				LEB = {
					add_opinion_modifier = {
						target = ROOT
						modifier = ENG_guiding_the_colonies
					}
				}
				hidden_effect = {
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						LEB = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_rewrite_protectorate_treaties
		icon = GFX_focus_renounce_the_treaty_of_trianon
		cost = 5
		prerequisite = {
			focus = FRA_vienot_agreement
		}
		x = -1
		y = 1
		relative_position_id = FRA_vienot_agreement
		available = {
			is_subject = no
		}
		
		ai_will_do = {
			factor = 1.5
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 110
			if = {
				limit = {
					OR ={
						ROOT = {
							controls_state = 728
						}
						FRI = {
							is_subject_of = ROOT
							controls_state = 728
						}
						VIN = {
							is_subject_of = ROOT
							controls_state = 728
						}
					}
					CHI = {
						exists = yes
						NOT = { has_war_with = ROOT }
					}
				}
				CHI = {
					transfer_state = 728
				}
			}
			if = {
				limit = {
					OR ={
						ROOT = {
							controls_state = 728
						}
						FRI = {
							is_subject_of = ROOT
							controls_state = 728
						}
						VIN = {
							is_subject_of = ROOT
							controls_state = 728
						}
					}
					CHI = { exists = no }
					PRC = {	
						exists = yes
						NOT = { has_war_with = ROOT }
					}
				}
				PRC = {
					transfer_state = 728
				}
			}
			if = {
				limit = {
					461 = {
						is_fully_controlled_by = ROOT
					}
					462 = {
						is_fully_controlled_by = ROOT
					}
				}
				release_puppet = MOR
				hidden_effect = {
					MOR = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 90
							democratic = 5
						}
					}
				}
			}
			if = {
				limit = {
					458 = {
						is_fully_controlled_by = ROOT
					}
					665 = {
						is_fully_controlled_by = ROOT
					}
				}
				release_puppet = TUN
				hidden_effect = {
					TUN = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 90
							democratic = 5
						}
					}
				}
			}
			if = {
				limit = {
					MOR = {
						is_subject_of = ROOT
					}
				}
				hidden_effect = {
					MOR = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 90
							democratic = 5
						}
					}
				}
			}
			if = {
				limit = {
					TUN = {
						is_subject_of = ROOT
					}
				}
				hidden_effect = {
					TUN = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 70
							democratic = 30
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_consolidate_african_federations
		icon = GFX_focus_generic_self_management
		cost = 5
		prerequisite = {
			focus = FRA_vienot_agreement
		}
		x = 1
		y = 1
		relative_position_id = FRA_vienot_agreement
		available = {
			is_subject = no
			OR = {
				has_full_control_of_state = 557
				has_full_control_of_state = 786
				has_full_control_of_state = 782
				has_full_control_of_state = 515
				has_full_control_of_state = 556
				has_full_control_of_state = 781
				has_full_control_of_state = 778
				has_full_control_of_state = 776
				has_full_control_of_state = 777
				has_full_control_of_state = 779
				has_full_control_of_state = 780
				has_full_control_of_state = 272
				has_full_control_of_state = 775
				has_full_control_of_state = 774
				has_full_control_of_state = 660
				has_full_control_of_state = 773
				has_full_control_of_state = 772
				has_full_control_of_state = 539
				has_full_control_of_state = 543
				has_full_control_of_state = 268
			}
		}
		bypass = {
			NOT = {
				AND = {
					owns_state = 557
					owns_state = 786
					owns_state = 782
					owns_state = 515
					owns_state = 556
					owns_state = 781
					owns_state = 778
					owns_state = 776
					owns_state = 777
					owns_state = 779
					owns_state = 780
					owns_state = 272
					owns_state = 775
					owns_state = 774
					owns_state = 660
					owns_state = 773
					owns_state = 772
					owns_state = 539
				}
			}
		}
		
		ai_will_do = {
			factor = 1.5
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 110
			if = {
				limit = {
					has_full_control_of_state = 786
					has_full_control_of_state = 557
				}
				release_puppet = MRT
				hidden_effect = {
					MRT = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						MRT = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 782
					has_full_control_of_state = 556
				}
				release_puppet = MLI
				hidden_effect = {
					MLI = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						MLI = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 272
				}
				release_puppet = SEN
				hidden_effect = {
					SEN = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						SEN = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 780
				}
				release_puppet = GNA
				hidden_effect = {
					GNA = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						GNA = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 779
				}
				release_puppet = IVO
				hidden_effect = {
					IVO = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						IVO = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 778
				}
				release_puppet = VOL
				hidden_effect = {
					VOL = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						VOL = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 777
				}
				release_puppet = TOG
				hidden_effect = {
					TOG = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						TOG = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 776
				}
				release_puppet = DAH
				hidden_effect = {
					DAH = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						DAH = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 781
					has_full_control_of_state = 515
				}
				release_puppet = NGR
				hidden_effect = {
					NGR = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						NGR = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 775
					has_full_control_of_state = 774
				}
				release_puppet = CHA
				hidden_effect = {
					CHA = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						CHA = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 773
				}
				release_puppet = CMR
				hidden_effect = {
					CMR = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						CMR = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 660
				}
				release_puppet = CAR
				hidden_effect = {
					CAR = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						CAR = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 539
				}
				release_puppet = GAB
				hidden_effect = {
					GAB = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						GAB = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 772
				}
				release_puppet = RCG
				hidden_effect = {
					RCG = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						RCG = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 268
				}
				release_puppet = DJI
				hidden_effect = {
					DJI = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						DJI = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
			if = {
				limit = {
					has_full_control_of_state = 543
				}
				release_puppet = MAD
				hidden_effect = {
					MAD = {
						add_ideas = FRA_colonial_focus
						add_to_tech_sharing_group = french_research
					}
					every_other_country = {
						limit = {
							has_war_with = ROOT
						}
						MAD = {
							add_to_war = {
								targeted_alliance = ROOT
								enemy = PREV
								hostility_reason = asked_to_join
							}
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_autonomy_indochina
		icon = GFX_goal_indochina_a_true_federation
		cost = 5
		prerequisite = {
			focus = FRA_rewrite_protectorate_treaties
		}
		prerequisite = {
			focus = FRA_consolidate_african_federations
		}
		x = 1
		y = 1
		relative_position_id = FRA_rewrite_protectorate_treaties
		available = {
			is_subject = no
			FRI = {
				is_subject_of = ROOT
			}
		}
		bypass = {
			OR = {
				FRI = {
					is_subject = no
				}
				FRI = {
					is_subject_of = ROOT
					NOT = {
						OR = {
							has_full_control_of_state = 286
							has_full_control_of_state = 671
							has_full_control_of_state = 670
							has_full_control_of_state = 741
						}
					}
				}
			}
		}
		
		ai_will_do = {
			factor = 1.5
		}
		completion_reward = {
			add_stability = 0.05
			add_political_power = 110
			if = {
				limit = {
					FRI = {
						has_full_control_of_state = 286
						has_full_control_of_state = 671
					}
				}
				FRI = {
					release = VIN
				}
				FRA = {
					set_autonomy = {
						target = VIN
						autonomy_state = autonomy_dominion
					}
				}
				hidden_effect = {
					VIN = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 60
							democratic = 40
						}
					}
				}
			}
			if = {
				limit = {
					FRI = {
						has_full_control_of_state = 670
					}
				}
				FRI = {
					release = LAO
				}
				FRA = {
					set_autonomy = {
						target = LAO
						autonomy_state = autonomy_dominion
					}
				}
				hidden_effect = {
					LAO = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 60
							democratic = 40
						}
					}
				}
			}
			if = {
				limit = {
					FRI = {
						has_full_control_of_state = 741
					}
				}
				FRI = {
					release = CAM
				}
				FRA = {
					set_autonomy = {
						target = CAM
						autonomy_state = autonomy_dominion
					}
				}
				hidden_effect = {
					CAM = {
						set_politics = {
							ruling_party = neutrality
							last_election = "1936.1.1"
							election_frequency = 48
							elections_allowed = no
						}
						set_popularities = {
							neutrality = 60
							democratic = 40
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_gueye_lamine_law
		icon = GFX_goal_constitution
		cost = 10
		prerequisite = {
			focus = FRA_autonomy_indochina
		}
		x = 0
		y = 1
		relative_position_id = FRA_autonomy_indochina
		ai_will_do = {
			factor = 1.5
		}
		available = {
			is_subject = no
		}
		completion_reward = {
			add_stability = 0.15
			add_war_support = 0.05
			add_political_power = 250
			every_country = {
				limit = {
					is_subject_of = ROOT
				}
				add_stability = 0.15
				add_war_support = 0.05
				add_political_power = 250
				add_opinion_modifier = {
					target = ROOT
					modifier = ENG_guiding_the_colonies
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_overseas_departements
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = FRA_gueye_lamine_law
		}
		x = 1
		y = 1
		relative_position_id = FRA_gueye_lamine_law
		ai_will_do = {
			factor = 2
		}
		available = {
			any_state = {
				OR = {
					state = 694
					state = 310
					state = 730
					state = 708
					state = 706
					state = 641
					state = 635
					state = 1080
				}
				is_fully_controlled_by = ROOT
			}
		}
		completion_reward = {
			add_stability = -0.1
			every_state = {
				limit = {
					OR = {
						state = 694
						state = 310
						state = 730
						state = 708
						state = 706
						state = 641
						state = 635
						state = 1080
					}
					is_fully_controlled_by = ROOT
				}
				add_core_of = ROOT
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = FRA_the_blum_viollette_proposal
		icon = GFX_goal_generic_improve_relations
		x = 3
		y = 2
		prerequisite = {
			focus = FRA_continue_mandat
			focus = FRA_vienot_agreement
		}
		relative_position_id = FRA_continue_mandat
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				ROOT = {
					controls_state = 459
					controls_state = 460
					controls_state = 513
					controls_state = 933
					controls_state = 514
				}
				ALG = {
					is_subject_of = ROOT
					controls_state = 459
					controls_state = 460
					controls_state = 513
					controls_state = 933
					controls_state = 514
				}
			}
		}
		
		bypass = {
			NOT = {
				459 = {
					OWNER = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				460 = {
					OWNER = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				513 = {
					OWNER = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
				933 = {
					OWNER = {
						OR = {
							tag = ROOT
							is_subject_of = ROOT
						}
					}
				}
			}
		}
		
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_state_core = 459
			add_state_core = 460
			add_state_core = 513
			add_state_core = 933
			add_state_core = 514
			if = {
				limit = {
					ALG = {
						exists = yes
						is_subject_of = ROOT
					}
				}
				annex_country = { target = ALG }
			}
			FRA_right_wing_riot_effect = yes
		}
	}
	focus = {
		id = FRA_expand_the_citizenship
		icon = GFX_goal_generic_national_unity
		x = 0
		y = 1

		prerequisite = {
			focus = FRA_the_blum_viollette_proposal
		}
		relative_position_id = FRA_the_blum_viollette_proposal
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			any_owned_state = {
				NOT = {
					is_on_continent = europe
					is_core_of = ROOT # has at least one colonial state
				}
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = { FRA_expanded_citizenship }
		}
	}
	focus = {
		id = FRA_france_undividable
		icon = GFX_goal_france_shield
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_expand_the_citizenship
			focus = FRA_gueye_lamine_law
		}
		mutually_exclusive = { focus = FRA_encourage_immigration }
		relative_position_id = FRA_expand_the_citizenship
		cost = 10

		ai_will_do = {
			factor = 1
		}
		
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			swap_ideas = {
				remove_idea = FRA_expanded_citizenship
				add_idea = FRA_france_undividable
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					NOT = {
						is_core_of = ROOT
					}
					NOT = {
						is_on_continent = europe
					}
				}
				add_compliance = 10
			}
		}
	}
	focus = {
		id = FRA_french_union
		icon = GFX_focus_fra_french_union
		x = 0
		y = 1

		prerequisite = {
			focus = FRA_france_undividable
		}
		relative_position_id = FRA_france_undividable
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war = no
		}

		completion_reward = {
			hidden_effect = {
				country_event = lar_france_french_union.1
			}
			if = {
				limit = {
					has_idea = FRA_political_violence
				}
				country_event = lar_france_political_violence.3
			}
			custom_effect_tooltip = FRA_french_union_tt
		}
	}
	focus = {
		id = FRA_encourage_immigration
		icon = GFX_goal_generic_citizens
		x = -1
		y = 1

		prerequisite = {
			focus = FRA_expand_the_citizenship
		}
		mutually_exclusive = { focus = FRA_france_undividable }
		relative_position_id = FRA_expand_the_citizenship
		cost = 10

		ai_will_do = {
			factor = 3
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			remove_worker_shortage_effect = yes
		}
	}
	focus = {
		id = FRA_war_material_licence
		icon = GFX_goal_ammunitions
		cost = 5
		prerequisite = {
			focus = FRA_rearmament
		}
		x = 10
		y = 1
		
		ai_will_do = {
			factor = 2
		}

		available = {
			has_war_support > 0.2 #just making sure you aren't meta gaming
		}
		continue_if_invalid = yes
		completion_reward = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}    
				country_event = {
					id = france.aat.2
					hours = 12
				}
			}
			else = {
				country_event = {
					id = france.130
					hours = 12
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_commit_automobile_manufacturer
		icon = GFX_goal_generic_automobile
		cost = 5
		prerequisite = {
			focus = FRA_rearmament
		}
		x = 12
		y = 1
		
		ai_will_do = {
			factor = 2
		}
		continue_if_invalid = yes
		available = {
			has_war_support > 0.2 #just making sure you aren't meta gaming
		}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}    
				country_event = {
					id = france.aat.1
					hours = 12
				}
			}
			else = {
				country_event = {
					id = france.131
					hours = 12
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_defense_national_funds
		icon = GFX_goal_generic_national_defense_fund
		cost = 5
		prerequisite = {
			focus = FRA_commit_automobile_manufacturer
		}
		prerequisite = {
			focus = FRA_war_material_licence
		}
		continue_if_invalid = yes
		available = {
			has_war_support > 0.25
			OR = {
				threat > 0.25
				any_home_area_neighbor_country = {
					has_added_tension_amount > 10
				}
			}
		}
		x = 11
		y = 2
		bypass = {
			has_war = yes
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			unlock_decision_tooltip = FRA_nationalize_industy
			add_ideas = FRA_industrial_support1
			custom_effect_tooltip = FRA_defense_national_funds_tooltip
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_partial_mobilization
		icon = GFX_mobilisation
		cost = 5
		prerequisite = {
			focus = FRA_defense_national_funds
		}
		x = 11
		y = 3
		continue_if_invalid = yes
		available = {
			has_war_support > 0.25
			OR = {
				threat > 0.25
				any_home_area_neighbor_country = {
					has_added_tension_amount > 15
				}
			}
		}
		bypass = {
			OR = {
				has_idea = partial_economic_mobilisation
				has_idea = war_economy
				has_idea = tot_economic_mobilisation
			}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_war_support = 0.05
			add_ideas = partial_economic_mobilisation
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_military_complex_nationalisation
		icon = GFX_goal_generic_construct_mil_factory
		cost = 5
		prerequisite = {
			focus = FRA_partial_mobilization
		}
		x = 10
		y = 4
		ai_will_do = {
			factor = 1.2
		}
		completion_reward = {
			unlock_decision_tooltip = FRA_nationalize_military_complex
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = paul_faure
		}
	}
	focus = {
		id = FRA_aircraft_manufacturer_nationalisation
		icon = GFX_goal_generic_air_production
		cost = 5
		prerequisite = {
			focus = FRA_partial_mobilization
		}
		x = 12
		y = 4
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			FRA_air_force_improvement = yes
			unlock_decision_tooltip = FRA_nationalize_aircraft
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = felix_gouin
		}
	}
	focus = {
		id = FRA_war_effort_law
		icon = GFX_goal_generic_more_territorial_claims
		cost = 10
		prerequisite = {
			focus = FRA_military_complex_nationalisation
			focus = FRA_aircraft_manufacturer_nationalisation
		}
		x = 11
		y = 5
		continue_if_invalid = yes
		available = {
			has_war_support > 0.30
			threat > 0.30
		}
		bypass = {
			OR = {
				has_idea = war_economy
				has_idea = tot_economic_mobilisation
			}
		}
		ai_will_do = {
			factor = 1.5
		}
		completion_reward = {
			add_war_support = 0.05
			add_ideas = war_economy
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_wartime_organisation_act
		icon = GFX_goal_generic_production
		cost = 10
		prerequisite = {
			focus = FRA_defense_national_funds
		}
		continue_if_invalid = yes
		available = {
			OR = {
				has_war = yes
				AND = {
					has_war_support > 0.5
					has_stability > 0.5
				}
			}
		}
		x = 13
		y = 3
		ai_will_do = {
			factor = 1.5
		}
		completion_reward = {
			add_ideas = FRA_wartime_focus
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	#focus = {
	#	id = FRA_further_armament_program
	#	icon = GFX_focus_secret_rearmament
	#	cost = 10
	#	prerequisite = {
	#		focus = FRA_wartime_organisation_act
	#	}
	#	continue_if_invalid = yes
	#	available = {
	#		has_war_support > 0.35
	#	}
	#	x = 13
	#	y = 5
	#	ai_will_do = {
	#		factor = 1.5
	#	}
	#	
	#	completion_reward = {
	#		add_ideas = FRA_armament_program
	#	}
	#}
	focus = {
		id = FRA_intervention_committee
		icon = GFX_focus_ger_great_red_menace
		cost = 10
		prerequisite = {
			focus = FRA_radicalize_front
		}
		x = 14
		y = 1
		
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}			
		}
		completion_reward = {
			add_ideas = BEL_volunteer_corps
			#add_ideas = JAP_communist_volunteers
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_work_with_the_cgt
		icon = GFX_goal_FRA_work_with_the_cgt
		cost = 10
		prerequisite = {
			focus = FRA_radicalize_front
		}
		mutually_exclusive = {
			focus = FRA_pcf_sfio_coalition
		}
		x = 16
		y = 1
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			custom_effect_tooltip = new_advisors_tt
			add_ideas = FRA_work_with_the_cgt
			set_party_name = {
				ideology = communism
				long_name = "Confédération Générale du Travail"
				name = "CGT"
			}
			create_country_leader = {
				name = "Léon Jouhaux"
				desc = ""
				picture = "Portrait_France_Leon_Jouhaux.dds"
				expire = "1965.1.1"
				ideology = syndicalism
				traits = {
					POL_labor_advocate
					r56_trait_opposed_to_fascism
				}
			}
			FRA_right_wing_riot_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_pcf_sfio_coalition
		icon = GFX_goal_FRA_pcf_sfio_coalition
		cost = 10
		prerequisite = {
			focus = FRA_radicalize_front
		}
		mutually_exclusive = {
			focus = FRA_work_with_the_cgt
		}
		x = 18
		y = 1
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			custom_effect_tooltip = new_advisors_tt
			add_ideas = FRA_pcf_sfio_coalition
			FRA_right_wing_riot_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_ideological_indoctrination
		icon = GFX_goal_generic_communist_loyalty
		cost = 5
		prerequisite = {
			focus = FRA_work_with_the_cgt
			focus = FRA_pcf_sfio_coalition
		}
		x = 17
		y = 2
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_war_support = 0.15
			add_ideas = FRA_national_mobilization_focus
		}
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_syndicalist_revolution
		icon = GFX_goal_generic_left_militia
		cost = 5
		prerequisite = {
			focus = FRA_work_with_the_cgt
		}
		prerequisite = {
			focus = FRA_ideological_indoctrination
		}
		x = 16
		y = 3
		available = {
			is_subject = no
			communism > 0.4
		}
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			remove_ideas = FRA_disjointed_government
			hidden_effect = {
				remove_ideas = FRA_reforms_failed
			}
			country_event = {
				id = france.150
			}
		}
	}
	focus = {
		id = FRA_industrial_decentralization
		icon = GFX_goal_FRA_industrial_decentralization
		cost = 5
		prerequisite = {
			focus = FRA_syndicalist_revolution
		}
		x = 15
		y = 4
		available = {
			has_government = communism
		}
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_industrial_decentralization
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_commune_proclamation
		icon = GFX_goal_generic_war_with_comintern
		cost = 5
		prerequisite = {
			focus = FRA_pcf_sfio_coalition
		}
		prerequisite = {
			focus = FRA_ideological_indoctrination
		}
		x = 18
		y = 3
		available = {
			is_subject = no
			communism > 0.4
		}
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			remove_ideas = FRA_disjointed_government
			hidden_effect = {
				remove_ideas = FRA_reforms_failed
			}
			country_event = {
				id = france.128
			}
		}
	}
	focus = {
		id = FRA_collectivisation
		icon = GFX_goal_generic_communist_industries
		cost = 10
		prerequisite = {
			focus = FRA_syndicalist_revolution
			focus = FRA_commune_proclamation
		}
		x = 17
		y = 4
		available = {
			has_government = communism
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}
		
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_collectivisation
			FRA_right_wing_riot_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_assistance_treaty
		icon = GFX_focus_chi_mission_to_the_soviet_union
		cost = 10
		prerequisite = {
			focus = FRA_commune_proclamation
		}
		prerequisite = {
			focus = FRA_collectivisation
		}
		mutually_exclusive = {
			focus = FRA_humanite_unie
		}
		x = 18
		y = 5
		available = {
			has_government = communism
			is_subject = no
			is_in_faction = no
			has_war = no
			SOV = {
				exists = yes
				has_government = communism
				is_faction_leader = yes
			}
		}
		bypass = {
			SOV = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_reforms_failed
				}
				remove_ideas = FRA_reforms_failed
			}
			SOV = {
				country_event = {
					id = soviet.29
					days = 1
				}
			}
		}
	}
	focus = {
		id = FRA_grands_travaux
		icon = GFX_goal_generic_soviet_construction
		cost = 5
		prerequisite = {
			focus = FRA_commune_proclamation
		}
		x = 19
		y = 4
		available = {
			has_government = communism
		}
		
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_travaux
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_research_cooperation
		icon = GFX_focus_generic_socialist_science
		cost = 10
		prerequisite = {
			focus = FRA_assistance_treaty
		}
		x = 19
		y = 6
		
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			SOV = { add_to_tech_sharing_group = comintern_research }
			add_to_tech_sharing_group = comintern_research
			add_tech_bonus = {
				name = electronics_bonus
				bonus = 1
				uses = 1
				category = electronics
			}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				category = industry
			}   
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 1
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_social_reforms
		icon = GFX_goal_FRA_social_reforms
		cost = 5
		prerequisite = {
			focus = FRA_status_quo
		}
		relative_position_id = FRA_status_quo
		x = 0
		y = 1
		
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_war_support = 0.05
			add_stability = 0.05
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
			if = {
				limit = {
					has_active_mission = FRA_the_popular_front
				}
				add_days_mission_timeout = {
					mission = FRA_the_popular_front
					days = 35
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_support_blum
		icon = GFX_support_blum
		cost = 5
		prerequisite = {
			focus = FRA_social_reforms
		}
		mutually_exclusive = {
			focus = FRA_support_daladier
			#focus = FRA_parti_social_francais
		}
		relative_position_id = FRA_social_reforms
		x = -2
		y = 1
		available = {
			NOT = {
				has_country_flag = front_explosed
			}
		}
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			custom_effect_tooltip = new_advisors_tt
			add_stability = 0.1
			if = {
				limit = {
					has_active_mission = FRA_the_popular_front
				}
				add_days_mission_timeout = {
					mission = FRA_the_popular_front
					days = 260
				}
			}
			custom_effect_tooltip = new_advisors_tt
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = FRA_increase_military_spendings
		icon = GFX_goal_FRA_increase_military_spendings
		cost = 5
		prerequisite = {
			focus = FRA_support_blum
		}
		relative_position_id = FRA_support_blum
		x = -1
		y = 1
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_increase_military_spendings
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_further_the_reforms
		icon = GFX_goal_cuba_support_the_confederation_of_cuban_workers
		cost = 5
		prerequisite = {
			focus = FRA_support_blum
		}
		relative_position_id = FRA_support_blum
		x = 1
		y = 1
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_stability = 0.05
			add_ideas = FRA_further_the_reforms
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_law_against_combat_groups
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 10
		prerequisite = {
			focus = FRA_status_quo
			focus = FRA_radicalize_front
		}
		x = -5
		y = 1
		relative_position_id = FRA_status_quo
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 2
				neutrality < 0.1
				fascism < 0.1
			}
			modifier = {
				factor = 1.5
				has_completed_focus = FRA_radicalize_front
			}
		}
		completion_reward = {
			set_temp_variable = { FRA_rw_support = party_popularity@neutrality }
			add_to_temp_variable = { FRA_rw_support = party_popularity@fascism }
			multiply_temp_variable = { FRA_rw_support = -0.5 }
			add_stability = FRA_rw_support
			add_popularity = {
				ideology = fascism
				popularity = -0.2
			}
			add_popularity = {
				ideology = neutrality
				popularity = -0.1
			}
			remove_ideas = FRA_political_violence
			add_ideas = FRA_law_against_combat_groups
		}
		search_filters = {  FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_FRA_POLITICAL_VIOLENCE }
	}
	#focus = {
	#	id = FRA_parti_social_francais
	#	icon = GFX_goal_FRA_defence
	#	cost = 10
	#	allow_branch = {
	#		always = no
	#	}
	#	prerequisite = {
	#		focus = FRA_law_against_combat_groups
	#	}
	#
	#	available = {
	#		is_subject = no
	#		NOT = {
	#			has_completed_focus = FRA_radicalize_front
	#		}
	#	}		
	#	mutually_exclusive = {
	#		focus = FRA_support_blum
	#		focus = FRA_support_daladier
	#	}	
	#	relative_position_id = FRA_law_against_combat_groups
	#	x = 0
	#	y = 1		
	#
	#	
	#	ai_will_do = {
	#		factor = 2
	#	}
	#	completion_reward = {
	#		every_other_country = {
	#			limit = {
	#				has_government = communism
	#				num_of_factories > 30
	#			}
	#			add_opinion_modifier = {
	#				target = ROOT
	#				modifier = FRA_right_wing_rhetoric_communism
	#			}
	#		}			
	#		set_party_name = { ideology = neutrality long_name = FRA_neutrality_parti_social_francais_long name = FRA_neutrality_parti_social_francais }
	#		add_popularity = {
	#			ideology = neutrality
	#			popularity = 0.05
	#		}
	#		set_politics = {
	#			ruling_party = neutrality
	#			elections_allowed = no
	#		}
	#		create_country_leader = {
	#			name = "François de la Rocque"
	#			picture = "gfx/leaders/FRA/r56_portrait_FRA_Francois_de_la_Rocque.dds"
	#			expire = "1965.1.1"
	#			ideology = conservatism_n
	#			traits = {
	#				dislikes_germany
	#				r56_trait_opposed_to_communism
	#				r56_trait_opposed_to_fascism
	#				retired_officer
	#			}
	#		}			
	#	}
	#}	
	#focus = {
	#	id = FRA_approach_the_radical_party
	#	icon = GFX_support_daladier
	#	cost = 10
	#	prerequisite = {
	#		focus = FRA_parti_social_francais
	#	}
	#
	#	available = {
	#		is_subject = no
	#	}
	#	relative_position_id = FRA_parti_social_francais
	#	x = 0
	#	y = 1		
	#
	#	
	#	ai_will_do = {
	#		factor = 2
	#	}
	#	completion_reward = {
	#		add_political_power = 120
	#		country_event = {
	#			id = france.102
	#			hours = 12
	#		}		
	#	}
	#}		
	focus = {
		id = FRA_support_daladier
		icon = GFX_support_daladier
		cost = 5
		prerequisite = {
			focus = FRA_social_reforms
		}
		mutually_exclusive = {
			focus = FRA_support_blum
			#focus = FRA_parti_social_francais
		}
		relative_position_id = FRA_social_reforms
		x = 2
		y = 1
		available = {
		}
		bypass = {
			has_idea = FRA_reforms_failed
		}
		
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_political_power = 25
			add_stability = -0.05
			add_war_support = 0.05
			custom_effect_tooltip = new_advisors_tt
			country_event = {
				id = france.102
				hours = 12
			}
			add_days_mission_timeout = { #The free days given out in the intro to the branch are taken back as a 'punishment.' But really timing hasn't changed.
				mission = FRA_the_popular_front
				days = -70
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_reynaud_economic_reforms
		icon = GFX_goal_FRA_reynaud_economic_reforms
		cost = 5
		prerequisite = {
			focus = FRA_support_daladier
		}
		relative_position_id = FRA_support_daladier
		x = -1
		y = 1
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_reynaud_economic_reforms
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_rearmament_policy
		icon = GFX_goal_generic_military_deal
		cost = 5
		prerequisite = {
			focus = FRA_support_daladier
		}
		relative_position_id = FRA_support_daladier
		x = 1
		y = 1
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_rearmament_policy
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_support_the_finns
		icon = GFX_focus_invite_finland
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_reynaud_economic_reforms
			focus = FRA_rearmament_policy
		}
		relative_position_id = FRA_rearmament_policy
		cost = 5

		ai_will_do = {
			factor = 3
		}

		available = {
			FIN = {
				has_war = yes
				NOT = {
					has_war_with = ROOT
				}
			}
			is_subject = no
		}

		completion_reward = {
			army_experience = 10
			FIN = {
				add_manpower = 10000
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2500
					producer = FRA
				}
			}
		}
		search_filters = { FOCUS_FILTER_MILITARY_EQUIPMENT }
	}
	focus = {
		id = FRA_go_with_britain
		icon = GFX_ENG_alliance
		cost = 10
		prerequisite = {
			focus = FRA_increase_military_spendings
			focus = FRA_further_the_reforms
			focus = FRA_reynaud_economic_reforms
			focus = FRA_rearmament_policy
		}
		mutually_exclusive = {
			focus = FRA_little_entente
		}
		relative_position_id = FRA_rearmament_policy
		x = -1
		y = 1
		available = {
			is_subject = no
			has_government = democratic
			ENG = {
				exists = yes
				has_government = democratic
				NOT = {
					OR = {
						has_completed_focus = ENG_a_change_in_course
						has_completed_focus = ENG_visit_germany
					}
				}
			}
			NOT = {
				has_war_with = ENG
			}
		}
		bypass = {
			is_in_faction_with = ENG
		}
		
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 2
				ai_irrationality < 15
			}
			modifier = {
				factor = 2
				ai_irrationality < 20
			}
			modifier = {
				factor = 0.5
				ai_irrationality > 30
			}
			modifier = {
				factor = 0
				ENG = {
					has_completed_focus = ENG_opposition_to_the_national_government
				}
			}			
		}
		completion_reward = {
			ENG = {
				country_event = {
					id = britain.13
				}
			}
			if = {
				limit = {
					YUG = { is_guaranteed_by = ROOT }
				}
				ROOT = {
					diplomatic_relation = {
   						country = YUG
   						relation = guarantee
   						active = no
  					}
  					add_ai_strategy = {
						type = ignore
						id = "YUG"
						value = 100
					}
				}
				YUG = {
					add_opinion_modifier = { target = ROOT modifier = western_betrayal }
				}
			}
			if = {
				limit = {
					CZE = { is_guaranteed_by = ROOT }
				}
				ROOT = {
					diplomatic_relation = {
   						country = CZE
   						relation = guarantee
   						active = no
  					}
  					add_ai_strategy = {
						type = ignore
						id = "CZE"
						value = 100
					}
				}
				CZE = {
					add_opinion_modifier = { target = ROOT modifier = western_betrayal }
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_arms_purchases_in_the_us
		icon = GFX_Goal_USA_arsenal_of_democracy
		x = 2
		y = 2
		prerequisite = {
			focus = FRA_go_with_britain
		}
		relative_position_id = FRA_go_with_britain
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = USA
			USA_can_sell_weapons_trigger = yes
		}
		
		completion_reward = {
			USA = { country_event = lar_arms_purchases.1 }
			custom_effect_tooltip = if_they_accept_tt
			unlock_decision_category_tooltip = FRA_weapons_purchases_category
		}
	}	
	focus = {
		id = FRA_little_entente
		icon = GFX_CZE_alliance
		cost = 10
		prerequisite = {
			focus = FRA_increase_military_spendings
			focus = FRA_further_the_reforms
			focus = FRA_reynaud_economic_reforms
			focus = FRA_rearmament_policy
		}
		mutually_exclusive = {
			focus = FRA_go_with_britain
		}
		relative_position_id = FRA_increase_military_spendings
		x = 1
		y = 1
		available = {
			is_subject = no
			is_in_faction = no
		}
		bypass = {
			is_in_faction_with = CZE
			OR = {
				is_faction_leader = yes
				AND = {
					is_in_faction = yes
					ENG = {
						NOT = {
							has_government = democratic
						}
					}
				}
			}
			
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			set_rule = {
				can_create_factions = yes
			}
			if = {
				limit = {
					CZE = {
						has_government = ROOT
						is_faction_leader = yes
					}
				}
				CZE = {
					country_event = generic.2
				}
			}
			else_if = {
				limit = {
					CZE = {
						has_government = ROOT
						OR = {
							is_subject = no
							is_subject_of = ROOT
						}
					}
					is_faction_leader = yes
				}
				CZE = { country_event = france.17 }
			}
			else_if = {
				limit = {
					CZE = {
						has_government = ROOT
						is_in_faction = no
						OR = {
							is_subject = no
							is_subject_of = ROOT
						}
					}
					is_in_faction = no
				}
				create_faction = french_entente_alliance
				CZE = { custom_effect_tooltip = invite_to_faction_tt }
				hidden_effect = {
					CZE = { country_event = france.17 }
				}
			}
			hidden_effect = {
				news_event = {
					hours = 6
					id = news.177
				}
				add_ai_strategy = { #forgive Czechoslovakia for changing ideology, almost always still anti-German
					type = alliance
					id = CZE
					value = 150
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_intervention
		icon = GFX_goal_generic_military_sphere
		cost = 10
		prerequisite = {
			focus = FRA_little_entente
		}
		relative_position_id = FRA_little_entente
		x = -3
		y = 1
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			set_rule = {
				can_send_volunteers = yes
			}
			add_ideas = {
				FRA_intervention_idea
			}
		}
	}
	focus = {
		id = FRA_invite_yugoslavia
		icon = GFX_goal_generic_befriend_yugoslavia
		cost = 5
		prerequisite = {
			focus = FRA_little_entente
		}
		relative_position_id = FRA_little_entente
		x = -1
		y = 1
		available = {
			YUG = {
				is_in_faction = no
			}
			is_faction_leader = yes
			is_subject = no
		}
		bypass = {
			OR = {
				AND = {
					is_faction_leader = no
					is_in_faction = yes
				}
				YUG = {
					OR = {
						exists = no
						is_subject = yes
						has_war_with = ROOT
						is_in_faction_with = ROOT
						is_in_faction = yes
					}
				}
			}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			YUG = {
				country_event = france.17
			}
		}
	}
	focus = {
		id = FRA_popular_front_united
		icon = GFX_france_first
		cost = 10
		prerequisite = {
			focus = FRA_little_entente
			focus = FRA_go_with_britain
		}
		relative_position_id = FRA_go_with_britain
		x = -1
		y = 1
		available = {
			NOT = {
				has_idea = FRA_political_violence
			}
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				date > 1940.3.3 #times up germany
				factor = 25
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_disjointed_government
				}
				remove_ideas = FRA_disjointed_government
			}
			if = {
				limit = {
					has_idea = FRA_reforms_failed
				}
				remove_ideas = FRA_reforms_failed
			}
		}
	}
	focus = {
		id = FRA_economic_cooperation_agreement
		icon = GFX_allies
		cost = 10
		prerequisite = {
			focus = FRA_go_with_britain
		}
		relative_position_id = FRA_go_with_britain
		x = 1
		y = 1
		available = {
			is_subject = no
			is_in_faction_with = ENG
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			country_event = france.129
		}
	}
	focus = {
		id = FRA_invite_benelux
		icon = GFX_goal_BEL_deterrence
		cost = 10
		prerequisite = {
			focus = FRA_economic_cooperation_agreement
		}
		prerequisite = {
			focus = FRA_popular_front_united
		}
		relative_position_id = FRA_popular_front_united
		x = 1
		y = 1
		available = {
			OR = {
				BEL = {
					is_in_faction = no
				}				
				LUX = {
					is_in_faction = no
				}				
			}
			is_in_faction = yes
			is_subject = no
		}
		bypass = {
			BEL = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
			LUX = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}			
		#	LUX = {
		#		OR = {
		#			exists = no
		#			is_subject = yes
		#			has_war_with = ROOT
		#			is_in_faction_with = ROOT
		#		}
		#	}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			if = {
				limit = {
					is_in_faction_with = ENG
					ENG = {
						is_faction_leader = yes
					}
				}
				ENG = {
					country_event = france.108
				}				
			}
			if = {
				limit = {
					is_faction_leader = yes
					BEL = {
						is_in_faction = no
					}
				}
				BEL = {
					country_event = generic.5
				}					
			}
			if = {
				limit = {
					is_faction_leader = yes
					LUX = {
						is_in_faction = no
					}
				}
				LUX = {
					country_event = generic.5
				}					
			}			
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_front_liberte
		icon = GFX_goal_FRA_front_de_la_liberte
		cost = 10
		prerequisite = {
			focus = FRA_far_right_leagues
		}
		mutually_exclusive = {
			focus = FRA_cagoule_coup
		}
		relative_position_id = FRA_far_right_leagues
		x =-4
		y = 1
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			custom_effect_tooltip = new_advisors_tt
			add_ideas = marcel_bucard
			every_other_country = {
				limit = {
					has_government = fascism
					num_of_factories > 30
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_right_wing_rhetoric_fascism
				}
			}
			every_other_country = {
				limit = {
					has_government = democratic
					num_of_factories > 30
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_right_wing_rhetoric_democratic
				}
			}
			every_other_country = {
				limit = {
					has_government = communism
					num_of_factories > 30
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_right_wing_rhetoric_communism
				}
			}
		}
	}
#	focus = {
#		id = FRA_distance_from_radicalism
#		icon = GFX_goal_FRA_defence
#		cost = 10
#
#		mutually_exclusive = {
#			focus = FRA_cagoule_coup 
#			focus = FRA_front_liberte
#		}			
#		available = {
#			is_subject = no
#			fascism > 0.15
#		}			
#		relative_position_id = FRA_far_right_leagues
#		x =-7
#		y = 1
#		
#		ai_will_do = {
#			factor = 2
#		}
#		completion_reward = {
#			remove_idea = FRA_support_the_right_focus
#			every_other_country = {
#				limit = {
#					has_government = communism
#					num_of_factories > 30
#				}
#				add_opinion_modifier = {
#					target = ROOT
#					modifier = FRA_right_wing_rhetoric_communism
#				}
#			}
#			add_popularity = {
#				ideology = neutrality
#				popularity = 0.05
#			}			
#			set_party_name = { ideology = neutrality long_name = FRA_neutrality_parti_social_francais_long name = FRA_neutrality_parti_social_francais }
#		}
#	}	

		
	
	focus = {
		id = FRA_support_ppf
		icon = GFX_goal_FRA_ppf
		cost = 10
		prerequisite = {
			focus = FRA_front_liberte
		}
		mutually_exclusive = { focus = FRA_we_want_petain }
		relative_position_id = FRA_front_liberte
		x = -1
		y = 1
		available = {
			is_subject = no
			fascism > 0.3
		}
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			remove_ideas = FRA_disjointed_government
			hidden_effect = {
				remove_ideas = FRA_reforms_failed
			}
			country_event = {
				id = france.112
			}
		}
	}
	focus = {
		id = FRA_we_want_petain
		icon = GFX_FRA_VIC_Petain
		cost = 10
		prerequisite = {
			focus = FRA_front_liberte
		}
		relative_position_id = FRA_front_liberte
		x = 1
		y = 1
		mutually_exclusive = { focus = FRA_support_ppf }
		available = {
			is_subject = no
			fascism > 0.3
		}
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			add_country_leader_role = {
				character = FRA_philippe_petain
				country_leader = { 
					ideology = despotism
					expire = "1965.1.1"
					traits = {
						army_connections
						nationalistic_tendencies
					}
				}
				promote_leader = yes
			}
				
			hidden_effect = {
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
				add_ruling_to_neu = yes
			}
			set_politics = {
				ruling_party = neutrality
				elections_allowed = no
				long_name = "Front de la Liberté"
				name = "Front de la Liberté"
			}
			set_cosmetic_tag = FRA_PETAIN

			remove_ideas = FRA_disjointed_government
			hidden_effect = {
				remove_ideas = FRA_reforms_failed
				if = {
					limit = {
						has_idea = marcel_bucard
					}
					remove_trait = {
						character = FRA_marcel_bucard
						slot = political_advisor
						trait = fascist_demagogue
					}
					add_trait = {
						character = FRA_marcel_bucard
						slot = political_advisor
						trait = staunch_traditionalist
					}
				}
				if = {
					limit = {
						has_idea = FRA_support_the_right_focus
					}
					swap_ideas = {
						remove_idea = FRA_support_the_right_focus
						add_idea = FRA_support_the_right_focus_neutrality
					}
				}
			}
		}
	}	
	focus = {
		id = FRA_class_collaboration
		icon = GFX_goal_FRA_class_collaboration
		cost = 10
		prerequisite = {
			focus = FRA_support_ppf
			focus = FRA_we_want_petain
		}
		relative_position_id = FRA_support_ppf
		x = 0
		y = 1
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_ideas = FRA_class_collaboration
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_the_three_levers
		icon = GFX_focus_generic_self_management
		cost = 10
		prerequisite = {
			focus = FRA_support_ppf
			focus = FRA_we_want_petain
		}
		relative_position_id = FRA_support_ppf
		x = 2
		y = 1
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_ideas = FRA_the_three_levers
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_cagoule_coup
		icon = GFX_goal_FRA_la_cagoule_coup
		cost = 10
		prerequisite = {
			focus = FRA_far_right_leagues
		}
		mutually_exclusive = {
			focus = FRA_front_liberte
		}
		x = 2
		y = 1
		relative_position_id = FRA_far_right_leagues
		available = {
			is_subject = no
		}
		
		ai_will_do = {
			factor = 0.75
		}
		completion_reward = {
			custom_effect_tooltip = new_advisors_tt
			country_event = {
				id = france.111
			}
			add_opinion_modifier = {
				target = GER
				modifier = hostile_status
			}
			GER = {
				add_opinion_modifier = {
					target = ROOT
					modifier = hostile_status
				}
			}
			if = {
				limit = {
					has_idea = FRA_disjointed_government
				}
				swap_ideas = {
					remove_idea = FRA_disjointed_government
					add_idea = FRA_disjointed_government_no_defeatists
				}
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.1
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.2
			}
			if = {
				limit = {
					NOT = { has_government = fascism }
				}
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
			}
			set_party_name = { ideology = fascism long_name = FRA_fascism_party3_long name = FRA_fascism_party3 }
			create_country_leader = {
				name = "Louis Franchet d'Espèrey"
				picture = "gfx/leaders/FRA/r56_portrait_FRA_Louis_Franchet_d_Esperey.dds"
				expire = "1965.1.1"
				ideology = fascism_ideology
				traits = {
					army_connections
					r56_trait_opposed_to_communism
				}
			}
			custom_effect_tooltip = SPR_masters_of_our_own_fate_tt
			hidden_effect = {
				set_temp_variable = { FRA_anti_fascist_cw_opposition = party_popularity@democratic }
				add_to_temp_variable = { FRA_anti_fascist_cw_opposition = party_popularity@communism }
				subtract_from_temp_variable = { FRA_anti_fascist_cw_opposition = party_popularity@neutrality }	#maybe this will help them out a bit?
				start_civil_war = {
					ruling_party = fascism
					ideology = democratic
					size = FRA_anti_fascist_cw_opposition
				}
			}
		}
	}
	focus = {
		id = FRA_unify_the_metropole
		icon = GFX_goal_generic_occupy_states_ongoing_war
		cost = 5
		prerequisite = {
			focus = FRA_cagoule_coup
			focus = FRA_front_liberte
			focus = FRA_papal_rehabilitation
		}
		relative_position_id = FRA_cagoule_coup
		x = 3
		y = 1
		offset = {
			x = -20
			y = 0
			trigger = {
				has_completed_focus = FRA_action_francaise
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		ai_will_do = {
			factor = 50
		}
		allow_branch = {
			has_game_rule = {
				rule = fra_fragmentation_status
				option = FRA_FRAGMENTED
			}
		}
		available = {
			is_subject = no
			r56_script_i_am_sane = yes
			has_army_manpower = {
				size > 149999
			}
			has_civil_war = no
			has_global_flag = scw_over			
		}

		completion_reward = {
			add_threat = 2
			if = {
				limit = {
					country_exists = COR
				}
				create_wargoal = {
					target = COR
					expire = 0
					type = annex_everything
				}				
			}
			if = {
				limit = {
					country_exists = OCC
				}
				create_wargoal = {
					target = OCC
					expire = 0
					type = annex_everything
				}				
			}
			if = {
				limit = {
					NOT = {
						owns_state = 14
					}
				}
				14 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								target = PREV
								expire = 0
								type = take_state_focus
								generator = { 14 }
							}
							add_ai_strategy = {
								type = conquer
								id = PREV
								value = 200
							}
						}
					}
				}								
			}																		
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}	
	focus = {
		id = FRA_root_out_communism
		icon = GFX_goal_FRA_root_out_communism
		cost = 10
		prerequisite = {
			focus = FRA_far_right_leagues
			focus = FRA_action_francaise
		}
		x = 7
		y = 1
		offset = {
			x = -10
			trigger = {
				has_completed_focus = FRA_action_francaise
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		ai_will_do = {
			factor = 3
		}
		relative_position_id = FRA_far_right_leagues
		completion_reward = {
			set_temp_variable = { communism_temp = party_popularity@communism }
			multiply_temp_variable = { communism_temp = -0.25 }
			add_stability = communism_temp
			add_popularity = {
				ideology = communism
				popularity = -0.25
			}
			remove_ideas = FRA_political_violence
			add_ideas = FRA_root_out_communism
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL FOCUS_FILTER_FRA_POLITICAL_VIOLENCE }
	}
	focus = {
		id = FRA_state_reorganisation
		icon = GFX_focus_generic_little_entente
		cost = 10
		prerequisite = {
			focus = FRA_cagoule_coup
		}
		relative_position_id = FRA_cagoule_coup
		x = 0
		y = 1
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_disjointed_government
				}
				remove_ideas = FRA_disjointed_government
			}
			if = {
				limit = {
					has_idea = FRA_disjointed_government_no_defeatists
				}
				remove_ideas = FRA_disjointed_government_no_defeatists
			}
			add_war_support = 0.1
			hidden_effect = {
				remove_ideas = FRA_reforms_failed
			}
			add_ideas = FRA_army_of_aggression_focus
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_demand_wallonia
		icon = GFX_wallonia
		cost = 10
		prerequisite = {
			focus = FRA_support_ppf
			focus = FRA_we_want_petain
			focus = FRA_state_reorganisation
			focus = FRA_union_latins
		}
		relative_position_id = FRA_we_want_petain
		will_lead_to_war_with = BEL
		mutually_exclusive = { focus = FRA_ultimatum_to_belgium }
		x = 1
		y = 2
		offset = {
			x = -20
			y = 0
			trigger = {
				has_completed_focus = FRA_action_francaise
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			OR = {
				has_government = fascism
				has_government = neutrality
			}
		}
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_named_threat = {
				threat = 3
				name = FRA_demand_wallonia
			}
			if = {
				limit = {
					country_exists = BEL
					NOT = {
						country_exists = WLL
					}
				}
				BEL = {
					country_event = {
						hours = 6
						id = france.113
					}
				}
			}
			if = {
				limit = {
					country_exists = WLL
				}
				WLL = {
					country_event = {
						hours = 6
						id = france.113
					}
				}
			}
			USA = {	#USA can denounce the aggression
				set_country_flag = { flag = USA_army_of_aggression_window days = 60 value = 1 }	#probably missing
			}
		}
	}
	focus = {
		id = FRA_ultimatum_to_belgium
		icon = GFX_goal_generic_forceful_treaty
		relative_position_id = FRA_demand_wallonia
		x = 2
		y = 0
		prerequisite = {
			focus = FRA_support_ppf
			focus = FRA_we_want_petain
			focus = FRA_state_reorganisation
			focus = FRA_union_latins
		}
		will_lead_to_war_with = BEL
		mutually_exclusive = { focus = FRA_demand_wallonia }
		cost = 10

		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = BEL
		available = {
			BEL = {
				exists = yes
				is_in_faction = no
				NOT = {
					has_war_with = ROOT
				}
			}
			OR = { 
				is_subject = no
				is_subject_of = GER
			}
		}
		
		bypass = {
			BEL = {
				is_subject_of = ROOT
			}
		}

		
		
		

		completion_reward = {
			add_named_threat = {
				threat = 2
				name = FRA_ultimatum_to_belgium
			}
			BEL = {
				country_event = lar_align_belgium.1
			}
			USA = {	#USA can denounce the aggression
				set_country_flag = { flag = USA_army_of_aggression_window days = 60 value = 1 }	#probably missing
			}
		}
	}	
	focus = {
		id = FRA_diplomatic_freedom
		icon = GFX_goal_generic_burning_diplomacy
		x = 1
		y = 2
		prerequisite = {
			focus = FRA_support_ppf
			focus = FRA_we_want_petain
		}
		relative_position_id = FRA_support_ppf
		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}
		
		bypass = {
			NOT = {
				any_other_country = {
					OR = {
						tag = POL
						tag = CZE
						tag = YUG
						tag = ROM
						tag = HUN
						tag = BEL
						tag = HOL
					}
					is_guaranteed_by = ROOT
				}
			}
		}

		
		
		

		completion_reward = {
			add_war_support = 0.05
			every_other_country = {
				limit = {
					OR = {
						tag = POL
						tag = CZE
						tag = YUG
						tag = ROM
						tag = HUN
						tag = BEL
						tag = HOL
					}
					is_guaranteed_by = ROOT
				}
				ROOT = {
					diplomatic_relation = {
						country = PREV
						relation = guarantee
						active = no
					}
				}
			}
			hidden_effect = {
				news_event = { id = lar_news.6 days = 3 random_days = 5 }
			}
		}
	}
	focus = {
		id = FRA_revise_versailles
		icon = GFX_focus_renounce_the_treaty_of_trianon
		cost = 10
		prerequisite = {
			focus = FRA_diplomatic_freedom
		}
		prerequisite = {
			focus = FRA_demand_wallonia
			focus = FRA_ultimatum_to_belgium
		}
		mutually_exclusive = {
			focus = FRA_claim_rhineland
		}
		relative_position_id = FRA_diplomatic_freedom
		x = 0
		y = 1
		available = {
			is_subject = no
			is_in_faction = no
			NOT = {
				has_war_with = GER
			}
			#OR = {
				has_government = fascism
			#}
			GER = {
				exists = yes
				has_government = fascism
				is_faction_leader = yes
			}
		}
		bypass = {
			is_in_faction_with = GER
		}
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			GER = {
				country_event = {
					id = germany.91
					days = 1
				}
			}
			USA = {	#USA can denounce the aggression
				set_country_flag = { flag = USA_army_of_aggression_window days = 60 value = 1 }	#probably missing
			}
		}
	}
	focus = {
		id = FRA_claim_rhineland
		icon = GFX_goal_generic_territory_or_war
		cost = 10
		prerequisite = {
			focus = FRA_demand_wallonia
			focus = FRA_ultimatum_to_belgium
		}
		will_lead_to_war_with = BEL
		will_lead_to_war_with = FLA
		will_lead_to_war_with = WLL
		will_lead_to_war_with = HOL
		will_lead_to_war_with = LUX
		mutually_exclusive = {
			focus = FRA_revise_versailles
		}
		relative_position_id = FRA_ultimatum_to_belgium
		x = 0
		y = 1
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
		}
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_named_threat = {
				threat = 8
				name = FRA_claim_rhineland
			}
			if = {
				limit = {
					is_in_faction = no
				}
				set_rule = {
					can_create_factions = yes
				}
				create_faction = montreux_convention
			}
			country_event = {
				id = france.127
			}
			add_state_claim = 42
			add_state_claim = 51
			add_state_claim = 1053
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_operation_charlemagna
		icon = GFX_goal_FRA_operation_charlemagne
		cost = 10
		prerequisite = {
			focus = FRA_claim_rhineland
			focus = FRA_revise_versailles
		}
		relative_position_id = FRA_revise_versailles
		x = 2
		y = 1
		offset = {
			x = -20
			y = 0
			trigger = {
				has_completed_focus = FRA_action_francaise
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			ENG = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
					has_war_with = FRA
				}
			}
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_named_threat = {
				threat = 7
				name = FRA_operation_charlemagna
			}
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ENG
				expire = 0
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_alliance_with_industrialists
		icon = GFX_goal_fascist_factory
		cost = 10
		prerequisite = {
			focus = FRA_state_reorganisation
		}
		relative_position_id = FRA_state_reorganisation
		x = 0
		y = 1
		ai_will_do = {
			factor = 3
		}
		available = {
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}
		completion_reward = {
			add_ideas = FRA_alliance_with_industrialists
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_dismantle_germany
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 10
		prerequisite = {
			focus = FRA_claim_rhineland
		}
		relative_position_id = FRA_claim_rhineland
		x = 0
		y = 1
		available = {
			is_subject = no
			OR = {
				GER = {
					exists = yes
				}
				PRE = {
					exists = yes
				}				
			}

		}
		bypass = {
			OR = {
				AND = {
					OR = {
						has_war_with = GER
						is_in_faction_with = GER
						has_subject = GER
					}
					PRE = {
						exists = no
					}
				}
				AND = {
					OR = {
						has_war_with = PRE
						is_in_faction_with = PRE
						has_subject = PRE
					}
					GER = {
						exists = no
					}
				}

			}
		}
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					GER = {
						exists = yes
					}					
				}
				create_wargoal = {
					type = annex_everything
					target = GER
					expire = 0
				}				
			}
			if = {
				limit = {
					PRE = {
						exists = yes
					}					
				}
				create_wargoal = {
					type = annex_everything
					target = PRE
					expire = 0
				}				
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_service_ordre_legionnaire
		icon = GFX_goal_FRA_service_ordre_legionnaire
		cost = 10
		prerequisite = {
			focus = FRA_cagoule_coup
		}
		relative_position_id = FRA_cagoule_coup
		x = -2
		y = 1
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_ideas = FRA_service_ordre_legionnaire
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = FRA_convince_spain
		icon = GFX_goal_generic_befriend_spain_nationalist
		cost = 10
		prerequisite = {
			focus = FRA_claim_rhineland
			focus = FRA_union_latins
		}
		relative_position_id = FRA_claim_rhineland
		x = 4
		y = 1
		mutually_exclusive = {
			focus = FRA_secure_the_crown_of_spain
		}
		available = {
			is_subject = no
			is_faction_leader = yes
			OR = {
				SPA = {
					exists = yes
					is_subject = no
					is_in_faction = no
				}
				NOT = { has_completed_focus = FRA_support_the_legitimatises }
			}
		}
		bypass = {
			OR = {
				is_in_faction_with = SPA
				is_in_faction_with = SPB
			}
		}
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = FRA_union_latins
					SPB = { exists = yes }
				}
				SPB = {
					custom_effect_tooltip = invite_to_faction_tt
					hidden_effect = {
						country_event = generic.5
					}
				}
			}
			else = {
				SPA = {
					custom_effect_tooltip = invite_to_faction_tt
					hidden_effect = {
						country_event = generic.5
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	##################################
	##################################
	######	MONARCHY FOCUSES	######
	##################################
	##################################
	focus = {
		id = FRA_papal_rehabilitation
		icon = GFX_goal_FRA_papal_rehabilitation
		cost = 5
		prerequisite = {
			focus = FRA_action_francaise
		}
		x = -1
		y = 1
		relative_position_id = FRA_action_francaise
		
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_stability = 0.05
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = FRA_repeal_the_law_of_exile
		icon = GFX_focus_renounce_the_treaty_of_trianon
		cost = 5
		prerequisite = {
			focus = FRA_action_francaise
		}
		x = 1
		y = 1
		relative_position_id = FRA_action_francaise
		
		ai_will_do = {
			factor = 5
		}
		completion_reward = { 
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
			add_political_power = 120
		 }
		 search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_support_the_legitimatises
		icon = GFX_goal_FRA_legitimists
		cost = 10
		prerequisite = {
			focus = FRA_papal_rehabilitation
		}
		prerequisite = {
			focus = FRA_repeal_the_law_of_exile
		}
		mutually_exclusive = {
			focus = FRA_brumaire_movement
			focus = FRA_side_with_the_orleanists
		}
		available = {
			neutrality > 0.4
		}
		x = -5
		y = 1
		relative_position_id = FRA_papal_rehabilitation
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_brumaire_movement
				}
			}
		}
		ai_will_do = {
			factor = 1.9
			modifier = {
				factor = 0
				OR = {
					LUX = {
						is_ai = no
					}
					BEL = {
						is_ai = no
					}
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				if = {
					limit = {
						OR = {
							NOT = { has_global_flag = SPB_alfonso_xiii_dead }
							date < 1941.2.21
						}
					}
					create_country_leader = {
						name = "Alphonse I"
						picture = GFX_portrait_SPA_alfonso_xiii
						expire = "1965.1.1"
						ideology = absolute_monarchism
						traits = {
							disgraced_monarch
							r56_trait_opposed_to_communism
						}
					}
				}
				else = {
					create_country_leader = {
						name = "Jacques II"
						picture = GFX_portrait_fra_infante_jaime
						expire = "1965.1.1"
						ideology = absolute_monarchism
						traits = {
							the_legitimist
							r56_trait_opposed_to_communism
						}
					}
				}
				set_politics = { ruling_party = neutrality }
				hidden_effect = {
					news_event = { id = lar_news.8 days = 3 random_days = 5 }
				}
			}
			else = {
				create_country_leader = {
					name = "Jean III"
					picture = "gfx/leaders/SPR/r56_portrait_SPR_Juan_III.dds"
					expire = "1965.1.1"
					ideology = absolute_monarchism
					traits = {
						r56_trait_opposed_to_communism
					}
				}
				set_politics = { ruling_party = neutrality }
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_side_with_the_orleanists
		icon = GFX_goal_FRA_jean3
		cost = 10
		prerequisite = {
			focus = FRA_papal_rehabilitation
		}
		prerequisite = {
			focus = FRA_repeal_the_law_of_exile
		}
		mutually_exclusive = {
			focus = FRA_brumaire_movement
			focus = FRA_support_the_legitimatises
		}
		available = {
			neutrality > 0.4
		}
		x = 1
		y = 1
		relative_position_id = FRA_papal_rehabilitation
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_brumaire_movement
				}
			}
		}
		ai_will_do = {
			factor = 6
		}
		completion_reward = {
			country_event = {
				id = france.123
			}
			if = {
				limit = {
					NOT = { has_government = neutrality }
				}
				set_politics = {
					ruling_party = neutrality
					elections_allowed = no
				}
			}
			else = {
				add_political_power = 100
			}
			if = {
				limit = {
					date < 1940.8.25
				}
				create_country_leader = {
					name = "Jean III"
					picture = "gfx/leaders/FRA/Portrait_France_Jean_dOrleans.dds"
					expire = "1965.1.1"
					ideology = absolute_monarchism
					traits = {
						duke_of_orleans
						r56_trait_opposed_to_communism
					}
				}
			}
			else = {
				create_country_leader = {
					name = "Henri VI"
					picture = "gfx/leaders/FRA/Portrait_France_Henri_Orleans.dds"
					expire = "1965.1.1"
					ideology = absolute_monarchism
					traits = {
						count_of_paris
						r56_trait_opposed_to_communism

					}
				}
			}
			hidden_effect = {
				set_cosmetic_tag = FRA_KINGDOM
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				hidden_effect = {
					news_event = { id = lar_news.8 days = 3 random_days = 5 }
				}
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_brumaire_movement
		icon = GFX_goal_FRA_mouvement_brumaire
		cost = 10
		prerequisite = {
			focus = FRA_papal_rehabilitation
		}
		prerequisite = {
			focus = FRA_repeal_the_law_of_exile
		}
		mutually_exclusive = {
			focus = FRA_side_with_the_orleanists
			focus = FRA_support_the_legitimatises
		}
		available = {
			neutrality > 0.4
		}
		x = 11
		y = 1
		relative_position_id = FRA_repeal_the_law_of_exile
		offset = {
			x = -19
			y = 0
			trigger = {
				has_completed_focus = FRA_brumaire_movement
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
			}
		}
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_side_with_the_orleanists
					has_completed_focus = FRA_support_the_legitimatises
				}
			}
		}
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			country_event = {
				id = france.148
			}
			if = {
				limit = {
					NOT = { has_government = neutrality }
				}
				set_politics = {
					ruling_party = neutrality
					elections_allowed = yes
				}
			}
			else = {
				add_political_power = 100
			}
			create_country_leader = {
				name = "Napoléon VI"
				picture = "r56_portrait_France_Napoleon_VI.dds"
				expire = "1965.1.1"
				ideology = absolute_monarchism
				traits = {
					r56_trait_opposed_to_communism
				}
			}
			set_party_name = {
				ideology = neutrality
				long_name = FRA_bonepartist_party_long
				name = FRA_bonepartist_party
			}
			hidden_effect = {
				set_cosmetic_tag = FRAEMPIRE
				hidden_effect = {
					news_event = {
						hours = 6
						id = r56.news_event.22
					}
				}				
			}
			mark_focus_tree_layout_dirty = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	###########################
	###	Orleanist Focuses	###
	###########################
	focus = {
		id = FRA_national_integralism
		icon = GFX_focus_generic_support_the_left_right
		cost = 10
		prerequisite = {
			focus = FRA_side_with_the_orleanists
			focus = FRA_support_the_legitimatises
		}
		x = -1
		y = 1
		relative_position_id = FRA_side_with_the_orleanists
		mutually_exclusive = {
			focus = FRA_counter_the_fascist_infulence
		}
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_ideas = FRA_national_integralism
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		
	}
	focus = {
		id = FRA_camelots_roi
		icon = GFX_goal_FRA_camelots_du_roi
		cost = 10
		prerequisite = {
			focus = FRA_national_integralism
		}
		x = -2
		y = 1
		relative_position_id = FRA_national_integralism
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_war_support = 0.05
			add_ideas = FRA_camelot
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_social_nationalism
		text = FRA_social_nationalism_focus
		icon = GFX_goal_generic_national_unity
		cost = 5
		prerequisite = {
			focus = FRA_national_integralism
		}
		x = 0
		y = 1
		relative_position_id = FRA_national_integralism
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_war_support = 0.1
		}
		search_filters = { FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_decentralise_the_state
		icon = GFX_focus_generic_self_management
		cost = 5
		prerequisite = {
			focus = FRA_social_nationalism
		}
		x = -1
		y = 1
		relative_position_id = FRA_social_nationalism
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_ideas = FRA_decentralised_state
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_restore_ancient_reights
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = FRA_social_nationalism
		}
		x = 1
		y = 1
		relative_position_id = FRA_social_nationalism
		
		ai_will_do = {
			factor = 3
		}
		available = {
			has_government = neutrality
		}
		completion_reward = {
			add_country_leader_trait = absolute_monarch
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_embrace_the_counter_revolution
		icon = GFX_focus_rom_royal_dictatorship
		cost = 10
		prerequisite = {
			focus = FRA_decentralise_the_state
		}
		prerequisite = {
			focus = FRA_restore_ancient_reights
		}
		available = { 
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = FRA_decentralise_the_state
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			remove_ideas = FRA_disjointed_government
			if = {
				limit = {
					has_idea = FRA_reforms_failed
				}
				remove_ideas = FRA_reforms_failed
			}
			add_stability = 0.1
			add_political_power = 150
			set_rule = { can_create_factions = yes }
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_counter_the_fascist_infulence
		icon = GFX_focus_generic_anti_fascist_diplomacy
		cost = 10
		prerequisite = {
			focus = FRA_side_with_the_orleanists
		}
		x = 2
		y = 1
		relative_position_id = FRA_side_with_the_orleanists
		mutually_exclusive = {
			focus = FRA_national_integralism
		}
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_ideas = FRA_counter_the_fascist_infulence_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_oust_maurras
		icon = GFX_goal_generic_political_pressure
		cost = 5
		prerequisite = {
			focus = FRA_counter_the_fascist_infulence
		}
		x = -1
		y = 1
		relative_position_id = FRA_counter_the_fascist_infulence
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			custom_effect_tooltip = remove_political_advisor
			show_ideas_tooltip = FRA_charles_maurras
			add_political_power = 200
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_keep_the_separation_of_church_and_state
		icon = GFX_goal_generic_improve_relations
		cost = 5
		prerequisite = {
			focus = FRA_counter_the_fascist_infulence
		}
		x = 1
		y = 1
		relative_position_id = FRA_counter_the_fascist_infulence
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = FRA_constitutional_monarchy
		text = FRA_constitutional_monarchy_focus
		icon = GFX_focus_focus_fra_orleans_restoration
		cost = 10
		prerequisite = {
			focus = FRA_oust_maurras
		}
		prerequisite = {
			focus = FRA_keep_the_separation_of_church_and_state
		}
		x = 1
		y = 1
		available = {
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
			OR = {
				has_government = democratic
				has_government = neutrality 
			}
			
		}
		relative_position_id = FRA_oust_maurras
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			every_other_country = {
				limit = {
					has_government = democratic
				}
				add_opinion_modifier = {
					target = ROOT
					modifier = POR_neutrality_opinion_democratic
				}
			}
			set_party_name = {
				ideology = neutrality
				long_name = FRA_orleanist_party_long
				name = FRA_orleanist_party
			}
			add_country_leader_trait = constitutional_monarch
			remove_ideas = FRA_disjointed_government
			if = {
				limit = {
					has_idea = FRA_reforms_failed
				}
				remove_ideas = FRA_reforms_failed
			}
			if = {
				limit = {
					ENG = { 
						has_government = democratic
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				hidden_effect = {
					add_ai_strategy = {
						type = befriend
						id = ENG
						value = 100
					}
					ENG = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 100
						}
					}
				}
			}
			set_rule = { can_create_factions = yes }
			if = {
				limit = {
					has_government = neutrality
				}
				set_politics = {
					ruling_party = neutrality
					elections_allowed = yes
					last_election = "1935.12.17"
					election_frequency = 48
				}
				hold_election = ROOT					
			}
			if = { 
				limit = {
					has_government = neutrality
				}
				set_country_leader_ideology = constitutional_monarchy
			}
		
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_metropolitan_priority
		icon = GFX_focus_generic_industry_3
		cost = 10
		prerequisite = {
			focus = FRA_constitutional_monarchy
		}
		x = -1
		y = 1
		relative_position_id = FRA_constitutional_monarchy
		
		ai_will_do = {
			factor = 3
		}
		available = {
			has_full_control_of_state = 16
			has_full_control_of_state = 19
			has_full_control_of_state = 24
		}
		completion_reward = {
			16 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			19 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
			24 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = FRA_public_works
		icon = GFX_goal_generic_construct_infrastructure
		cost = 10
		prerequisite = {
			focus = FRA_constitutional_monarchy
		}
		x = 1
		y = 1
		relative_position_id = FRA_constitutional_monarchy
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			every_owned_state = {
				limit = {
					is_in_home_area = yes
					infrastructure < 5
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_ideas = FRA_public_works_idea
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	###############################
	###	Legitimistes Focuses	###
	###############################
	focus = {
		id = FRA_assist_the_carlist_cause
		icon = GFX_focus_spa_supremacy_of_the_communion
		cost = 10
		prerequisite = {
			focus = FRA_support_the_legitimatises
		}
		x = -1
		y = 1
		relative_position_id = FRA_support_the_legitimatises
		mutually_exclusive = { focus = FRA_support_the_spanish_nationalists }
		
		available = {
			SPR_scw_in_progress = yes
			country_exists = SPB
			NOT = { has_war_with = SPB }
		}
		bypass = {
			has_global_flag = scw_over
			has_completed_focus = FRA_union_latins
		}
		ai_will_do = {
			factor = 6
		}
		allow_branch = {
			has_dlc = "La Resistance"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_brumaire_movement
				}
			}
		}
		completion_reward = {
			SPB = {
				add_opinion_modifier = {
					target = ROOT
					modifier = POR_helped_in_civil_war
				}
				add_manpower = 10000
			}
			add_ideas = FRA_volunteers_in_the_war_carlist
			add_manpower = -10000
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2000
				}
			}
			send_equipment = {
				equipment = infantry_equipment
				amount = 2000
				target = SPB
			}
			set_rule = { can_send_volunteers = yes }
		}
		search_filters = { FOCUS_FILTER_SPA_CIVIL_WAR FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_EQUIPMENT }
	}
	focus = {
		id = FRA_intervene_in_the_spanish_civil_war
		icon = GFX_focus_spa_no_compromise_on_carlist_ideals
		cost = 10
		prerequisite = {
			focus = FRA_assist_the_carlist_cause
		}
		x = 0
		y = 1
		relative_position_id = FRA_assist_the_carlist_cause
		
		available = {
			SPR_scw_in_progress = yes
			country_exists = SPB
			NOT = { has_war_with = SPB }
			has_civil_war = no
			is_subject = no
		}
		bypass = {
			has_global_flag = scw_over
		}
		ai_will_do = {
			factor = 6
		}

		will_lead_to_war_with = SPR

		select_effect = {
			if = {
				limit = {
					country_exists = SPA
					is_neighbor_of = SPA
				}
				add_ai_strategy = {
					type = prepare_for_war
					id = SPA
					value = 100
				}
			}
			if = {
				limit = {
					country_exists = SPD
					is_neighbor_of = SPD
				}
				add_ai_strategy = {
					type = prepare_for_war
					id = SPD
					value = 100
				}
			}
			if = {
				limit = {
					country_exists = SPC
					is_neighbor_of = SPC
				}
				add_ai_strategy = {
					type = prepare_for_war
					id = SPC
					value = 100
				}
			}
		}

		completion_reward = {
			if = {
				limit = { country_exists = SPD }
				add_to_war = { targeted_alliance = SPB enemy = SPD hostility_reason = asked_to_join }
			}
			if = {
				limit = { country_exists = SPC }
				add_to_war = { targeted_alliance = SPB enemy = SPC hostility_reason = asked_to_join }
			}
			if = {
				limit = { country_exists = SPA }
				add_to_war = { targeted_alliance = SPB enemy = SPA hostility_reason = asked_to_join }
			}
			effect_tooltip = {
				give_military_access = SPB
				SPB = { give_military_access = ROOT }
			}
			hidden_effect = {
				diplomatic_relation = {
					country = SPB
					relation = military_access
					active = yes
				}
				SPB = {
					diplomatic_relation = {
						country = POR
						relation = military_access
						active = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_SPA_CIVIL_WAR FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = FRA_secure_the_crown_of_spain
		icon = GFX_focus_focus_fra_intervention_spain
		cost = 10
		prerequisite = {
			focus = FRA_intervene_in_the_spanish_civil_war
		}
		x = 0
		y = 2
		mutually_exclusive = {
			focus = FRA_convince_spain
		}
		available = {
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
			has_global_flag = scw_over
			is_subject = no
			has_government = neutrality
			if = {
				limit = {
					SPB = {
						exists = yes
					}
				}
				is_in_faction = yes
			}
		}
		bypass = {
			SPB = {
				exists = yes
			}
		}
		will_lead_to_war_with = SPR
		relative_position_id = FRA_intervene_in_the_spanish_civil_war
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_disjointed_government
				}
				remove_ideas = FRA_disjointed_government
			}
			if = {
				limit = {
					has_idea = FRA_reforms_failed
				}
				remove_ideas = FRA_reforms_failed
			}
			if = {
				limit = {
					country_exists = SPB
				}
				SPB = { country_event = france.124 }
			}
			else = {
				every_other_country = {
					limit = {
						original_tag = SPR
						NOT = {
							is_in_faction_with = ROOT
						}
					}
					ROOT = {
						create_wargoal = {
							type = annex_everything
							target = PREV
							expire = 0
						}
					}
				}
			}
		}
	}
	focus = {
		id = FRA_claim_the_andorran_throne
		icon = GFX_goal_generic_attack_andorra
		cost = 5
		prerequisite = {
			focus = FRA_secure_the_crown_of_spain
		}
		x = -1
		y = 1
		available = {
			is_subject = no
			has_government = neutrality
			ADR = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
				}
			}
		}
		will_lead_to_war_with = ADR
		relative_position_id = FRA_secure_the_crown_of_spain
		
		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			every_state = {
				limit = { is_core_of = ADR }
				add_core_of = ROOT
			}
			create_wargoal = {
				type = annex_everything
				target = ADR
				expire = 0
			}
		}
	}
	focus = {
		id = FRA_proclaim_the_dual_monarchy
		icon = GFX_goal_new_burgundy2
		cost = 10
		prerequisite = {
			focus = FRA_secure_the_crown_of_spain
		}
		available = {
			is_subject = no
			has_government = neutrality
			OR = {
				SPB = {
					exists = yes
					has_capitulated = no
					NOT = {
						has_war_with = ROOT
					}
					has_government = neutrality
				}
				SPR = {
					is_subject_of = ROOT
				}
				AND = {
					SPR = {
						exists = no
					}
					any_state = {
						is_core_of = SPR
						is_owned_by = ROOT
					}
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = FRA_secure_the_crown_of_spain
		
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			if = {
				limit = {
					SPB = {
						exists = yes
					}
				}
				SPB = {
					every_unit_leader = {
						set_nationality = ROOT
					}
				}
				annex_country = { target = SPB transfer_troops = yes }
				every_state = {
					limit = {
						is_core_of = SPB
					}
					add_core_of = ROOT
				}
				add_stability = -0.1
				set_cosmetic_tag = FRANCO_SPAIN
			}
			else_if = {
				limit = {
					SPR = {
						is_subject_of = ROOT
					}
				}
				SPR = {
					every_unit_leader = {
						set_nationality = ROOT
					}
				}
				annex_country = {
					target = SPR
					transfer_troops = yes
				}
				every_state = {
					limit = {
						is_core_of = SPR
					}
					add_core_of = ROOT
				}
				add_stability = -0.1
				set_cosmetic_tag = FRANCO_SPAIN
			}
			else_if = {
				limit = {
					SPR = {
						exists = no
					}
					any_state = {
						is_core_of = SPR
						is_owned_by = ROOT
					}
				}
				every_state = {
					limit = {
						is_core_of = SPR
					}
					add_core_of = ROOT
				}
				add_stability = -0.1
				set_cosmetic_tag = FRANCO_SPAIN
			}
			else = {
				custom_effect_tooltip = FRA_proclaim_the_dual_monarchy_tt
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_pacify_the_spanish_countryside
		icon = GFX_goal_MAN_confront_gorillas
		cost = 5
		prerequisite = {
			focus = FRA_proclaim_the_dual_monarchy
		}
		available = {
			has_cosmetic_tag = FRANCO_SPAIN
		}
		x = 0
		y = 1
		relative_position_id = FRA_proclaim_the_dual_monarchy
		
		ai_will_do = {
			factor = 200
		}
		completion_reward = {
			unlock_decision_tooltip = SPR_eliminate_guerrillas
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}	
	focus = {
		id = FRA_support_the_spanish_nationalists
		icon = GFX_focus_spa_unify_the_nationalist_front
		cost = 10
		prerequisite = {
			focus = FRA_support_the_legitimatises
			focus = FRA_side_with_the_orleanists
		}
		available = {
			SPR_scw_in_progress = yes
			country_exists = SPA
			NOT = { has_war_with = SPA }
		}
		bypass = {
			has_global_flag = scw_over
			NOT = {
				has_completed_focus = FRA_union_latins
			}
		}
		mutually_exclusive = { focus = FRA_assist_the_carlist_cause }
		x = 1
		y = 1
		relative_position_id = FRA_support_the_legitimatises
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			SPA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = POR_helped_in_civil_war
				}
				add_manpower = 10000
			}
			add_ideas = FRA_volunteers_in_the_war_nationalist
			add_manpower = -10000
			hidden_effect = {
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 2000
				}
			}
			send_equipment = {
				equipment = infantry_equipment
				amount = 2000
				target = SPA
			}
			set_rule = { can_send_volunteers = yes }
			add_ai_strategy = {
				type = support
				id = SPA
				value = 100
			}
			add_ai_strategy = {
				type = protect
				id = SPA
				value = 100
			}
		}
	}
	focus = {
		id = FRA_anti_german_front
		icon = GFX_focus_generic_diplomatic_treaty
		cost = 10
		prerequisite = {
			focus = FRA_support_the_spanish_nationalists
		}
		x = 0
		y = 1
		available = {
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
			NOT = {
				has_completed_focus = FRA_union_latins
			}
		}
		relative_position_id = FRA_support_the_spanish_nationalists
		
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_disjointed_government
				}
				remove_ideas = FRA_disjointed_government
			}			
			set_rule = {
				can_create_factions = yes
			}
			if = {
				limit = {
					ROM = {
						is_in_faction_with = POL
						OR = {
							has_government = neutrality
							has_government = democratic
						}
					}
					OR = {
						ROM = {
							is_faction_leader = yes
						}
						POL = {
							is_faction_leader = yes
						}						
					}
				}
				ROM = {
					FACTION_LEADER = {
						country_event = {
							id = generic.2
							hours = 2
						}						
					}
				}
			}
			else = {
				create_faction = FRA_chantilly_accord
			}
			
			add_opinion_modifier = {
				target = GER
				modifier = FRA_anti_german_front
			}
			GER = {
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_anti_german_front
				}
			}
			if = {
				limit = {
					PRE = {
						exists = yes
					}
				}
				add_opinion_modifier = {
					target = PRE
					modifier = FRA_anti_german_front
				}
				PRE = {
					add_opinion_modifier = {
						target = ROOT
						modifier = FRA_anti_german_front
					}
				}
			}		
			add_war_support = 0.2
			add_ai_strategy = {
				type = antagonize
				id = GER
				value = 50
			}
			add_ai_strategy = {
				type = contain
				id = GER
				value = 50
			}
			add_ai_strategy = {
				type = antagonize
				id = PRE
				value = 50
			}
			add_ai_strategy = {
				type = contain
				id = PRE
				value = 50
			}			
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_ally_italy
		icon = GFX_focus_befriend_italy
		cost = 10
		prerequisite = {
			focus = FRA_anti_german_front
		}
		x = -1
		y = 1
		available = {
			is_in_faction = yes
			is_subject = no
			NOT = {
				OR = {
					has_war_with = ITA
					any_other_country = {
						is_in_faction_with = ROOT
						has_war_with = ITA
					}
				}
			}
			ITA = {
				is_in_faction = no
				is_subject = no
			}
		}
		bypass = {
			OR = {
				is_in_faction_with = ITA
				ITA = {
					is_subject_of = ROOT
				}
			}
		}
		relative_position_id = FRA_anti_german_front
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			ITA = {
				country_event = {
					id = france.124
					days = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_pact_with_spain
		icon = GFX_focus_intervention_spain_nationalists
		cost = 10
		prerequisite = {
			focus = FRA_anti_german_front
		}
		available = {
			has_global_flag = scw_over
			is_in_faction = yes
			is_subject = no
			NOT = {
				has_war_with = SPA
			}
			SPA = {
				is_in_faction = no
				is_subject = no
				NOT = {
					has_government = communism
				}
			}
		}
		bypass = {
			OR = {
				SPA = {
					exists = no
				}
				is_in_faction_with = SPA
				SPA = {
					is_subject_of = ROOT
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = FRA_anti_german_front
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			SPA = {
				country_event = {
					id = france.124
					days = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_anti_communism_r56
		icon = GFX_goal_anti_comintern_pact
		cost = 10
		prerequisite = {
			focus = FRA_ally_italy
			focus = FRA_pact_with_spain
		}
		x = 1
		y = 1
		relative_position_id = FRA_ally_italy
		
		available = {
			is_subject = no
		}
		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = SOV
		completion_reward = {
			every_other_country = {
				limit = {
					NOT = {
						is_in_faction_with = ROOT
					}
					OR = {
						capital_scope = {
							is_on_continent = europe
						}
						any_owned_state = {
							is_coastal = yes
						}
					}
					has_government = communism
				}
				FRA = {
					create_wargoal = {
						type = topple_government
						target = PREV
						expire = 0
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_union_latins
		icon = GFX_goal_FRA_latin_union
		cost = 10
		prerequisite = {
			focus = FRA_support_the_legitimatises
		}
		x = -3
		y = 1
		relative_position_id = FRA_support_the_legitimatises
		available = {
			has_government = neutrality
			is_subject = no
			is_in_faction = no
			NOT = {
				has_completed_focus = FRA_anti_german_front
			}
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}
		
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_disjointed_government
				}
				remove_ideas = FRA_disjointed_government
			}			
			add_stability = 0.05
			set_rule = {
				can_create_factions = yes
			}
			create_faction = latin_union
			if = {
				limit = {
					NOT = {
						ROM = {
							OR = {
								exists = no
								is_subject = yes
								has_war_with = ROOT
								is_in_faction_with = ROOT
							}
						}
					}
				}
				ROM = {
					country_event = france.124
				}
				#hidden_effect = { there is no way to make the current localization flexible enough to properly reuse this little entente event
				#	news_event = {
				#		hours = 6
				#		id = news.177
				#	}
				#}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	###############################
	###	Bonapartists Focuses	###
	###############################
	focus = {
		id = FRA_militarist_society
		icon = GFX_goal_FRA_militarist_society
		cost = 5
		prerequisite = {
			focus = FRA_brumaire_movement
		}
		x = 11
		y = 1
		relative_position_id = FRA_brumaire_movement
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_militarist_society
		}
	}
	focus = {
		id = FRA_legacy_of_the_grande_armee
		icon = GFX_goal_FRA_legacy_of_the_grande_armee
		cost = 5
		prerequisite = {
			focus = FRA_militarist_society
		}
		x = 0
		y = 1
		relative_position_id = FRA_militarist_society
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			add_ideas = FRA_legacy_of_the_grande_armee
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = FRA_the_new_continental_system
		icon = GFX_focus_fra_le_deluge
		cost = 10
		prerequisite = {
			focus = FRA_brumaire_movement
		}
		x = 0
		y = 1
		relative_position_id = FRA_brumaire_movement
		
		available={ 
			custom_trigger_tooltip = { 
				tooltip = FRA_has_no_deflation_tt
				NOT = {
					has_idea = FRA_deflation1
				}
				NOT = {
					has_idea = FRA_deflation2
				}
				NOT = {
					has_idea = FRA_deflation3
				}
				NOT = {
					has_idea = FRA_deflation4
				}
				NOT = {
					has_idea = FRA_deflation5
				}
			}
		}


		ai_will_do = {
			factor = 20
		}
		completion_reward = {
			set_rule = {
				can_create_factions = yes
			}
			add_war_support = 0.05
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction = continental_system
			}

			remove_ideas = FRA_disjointed_government
			if = {
				limit = {
					has_idea = FRA_reforms_failed
				}
				remove_ideas = FRA_reforms_failed
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }
	}
	focus = {
		id = FRA_our_natural_borders
		icon = GFX_goal_FRA_our_natural_borders
		cost = 10
		prerequisite = {
			focus = FRA_the_new_continental_system
		}
		mutually_exclusive = {
			focus = FRA_compromise_with_germany
		}		
		x = 7
		y = 1
		relative_position_id = FRA_the_new_continental_system
		
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			any_state = {
				OR = {
					state = 34
					state = 1095
					state = 1094
					state = 965
					state = 6
					state = 8
					state = 51
					state = 42
					state = 1053
					state = 35
				}
				custom_trigger_tooltip = {
					tooltip = ROOT_is_not_controlled_by_root_or_ally_tt
					NOT = {
						is_controlled_by_ROOT_or_ally = yes
					}
				}
			}
		}
		ai_will_do = {
			factor = 5
		}
		will_lead_to_war_with = LUX
		will_lead_to_war_with = BEL
		will_lead_to_war_with = FLA
		will_lead_to_war_with = WLL
		will_lead_to_war_with = HOL
		completion_reward = {
			add_state_claim = 34
			add_state_claim = 1095
			add_state_claim = 1094
			add_state_claim = 965
			add_state_claim = 6
			add_state_claim = 8
			add_state_claim = 51
			add_state_claim = 42
			add_state_claim = 1053
			add_state_claim = 35
			add_named_threat = {
				threat = 5
				name = FRA_our_natural_borders
			}
			every_other_country = {
				limit = {
					NOT = { original_tag = GER }
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_subject_of = ROOT }
					any_owned_state = {
						OR = {
							state = 34
							state = 1095
							state = 1094
							state = 965
							state = 6
							state = 8
							state = 51
							state = 42
							state = 1053
							state = 35
						}
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = take_claimed_state
						expire = 0
					}
				}
			}
			USA = {	#USA can denounce the aggression
				set_country_flag = { flag = USA_army_of_aggression_window days = 60 value = 1 }	#probably missing
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_approach_poland_and_romania
		icon = GFX_ROM_POL_alliance
		cost = 10
		prerequisite = {
			focus = FRA_our_natural_borders
		}
	#	mutually_exclusive = {
	#		focus = FRA_compromise_with_germany
	#	}
		x = 0
		y = 2
		relative_position_id = FRA_our_natural_borders
		available = {
			is_in_faction = yes
			is_subject = no
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		bypass = {
			ROM = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
					is_in_faction = yes	
					has_government = communism
					has_government = fascism
					
				}
			}
			POL = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
					is_in_faction = yes	
					has_government = communism
					has_government = fascism
					
				}
			}
		}
		ai_will_do = {
			factor = 6
		}
		completion_reward = {
			if = {
				limit = {
					POL = {
						is_in_faction = no
						exists = yes
						is_subject = no
						OR = {
							has_government = neutrality
							has_government = democratic
						}
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				POL = {
					country_event = { id = france.124 hours = 12 }
				}
			}
			if = {
				limit = {
					ROM = {
						is_in_faction = no
						exists = yes
						is_subject = no
						OR = {
							has_government = neutrality
							has_government = democratic
						}
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				ROM = {
					country_event = { id = france.17 hours = 8 }
				}
			}
			hidden_effect = {
				news_event = {
					hours = 48
					id = france.159
				}
			}			
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}	
	focus = {
		id = FRA_empire_obtain_polish_cryptological_data
		text = FRA_obtain_polish_cryptological_data
		available = {
			POL = {
				is_in_faction_with = ROOT 
				is_puppet = no
				if = {
					limit = {
						has_dlc = "La Resistance"
						has_dlc = "Man the Guns"
					}
					has_completed_focus = POL_expand_polish_intelligence
				}
				else_if = {
					limit = {
						NOT = { has_dlc = "La Resistance" }
						has_dlc = "Man the Guns"
					}
					has_completed_focus = POL_Polish_Cipher_Bureau_no_lar
				}
				else_if = {
					limit = {
						NOT = { has_dlc = "La Resistance" }
						NOT = { has_dlc = "Man the Guns" }
					}
					has_completed_focus = POL_Polish_Cipher_Bureau_no_lar_no_mtg
				}
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				has_intelligence_agency = yes
			}
		}
		prerequisite = { focus = FRA_approach_poland_and_romania }
		bypass = {

		}
		relative_position_id = FRA_approach_poland_and_romania
		icon = GFX_focus_generic_cryptologic_bomb
		x = 0
		y = 2
		cost = 10
		ai_will_do = {
			factor = 3
		}

		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = {
					NOT = { has_dlc = "La Resistance" }
				}
				add_tech_bonus = {
					name = codebreaking_bonus
					bonus = 1.0
					uses = 2
					category = decryption_tech
					category = computing_tech
				}
				add_ideas = ENG_crypto_bomb_idea_lar
			}
			else_if = {
                limit = {
                    has_dlc = "La Resistance"
				}			
				add_ideas = POL_Polish_Cipher_Bureau_Focus2_lar	
				hidden_effect = {
					set_technology = { lar_decryption_bonus_tech = 1 }
				}
				custom_effect_tooltip = lar_decryption_bonus_tt
			}
            if = {
                limit = {
                    has_dlc = "La Resistance"
                    NOT = {
                        has_done_agency_upgrade = upgrade_form_department
                    }
                }
                upgrade_intelligence_agency = upgrade_form_department            
            }
            else_if = {
                limit = {
                    has_dlc = "La Resistance"
                    NOT = {
                        has_done_agency_upgrade = upgrade_decryption_boost
                    }
                }
                upgrade_intelligence_agency = upgrade_decryption_boost            
            }    
            else_if = {
                limit = {
                    has_dlc = "La Resistance"
                    NOT = {
                        has_done_agency_upgrade = upgrade_decryption_boost_2
                    }
                }
                upgrade_intelligence_agency = upgrade_decryption_boost_2            
            }			
		}
		search_filters = { FOCUS_FILTER_ESPIONAGE }
	}	
	focus = {
		id = FRA_destroy_albion
		icon = GFX_focus_attack_britain
		cost = 10
		prerequisite = {
			focus = FRA_our_natural_borders
			focus = FRA_compromise_with_germany
		}
		x = -8
		y = 1
		relative_position_id = FRA_our_natural_borders
		
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			has_army_manpower = { size > 800000 }
			any_state = {
				custom_trigger_tooltip = {
					tooltip = FRA_is_on_british_isles_peninsula_tt
					OR = {
						region = 1
						region = 2
						region = 3
						state = 119
					}
				}
				custom_trigger_tooltip = {
					tooltip = ROOT_is_not_controlled_by_root_or_ally_tt
					NOT = {
						is_controlled_by_ROOT_or_ally = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}
		}

		bypass = {
			all_state = {
				OR = {
					NOT = { 
						custom_trigger_tooltip = {
							tooltip = FRA_is_on_british_isles_peninsula_tt
							OR = {
								region = 1
								region = 2
								region = 3
								state = 119
							}
						}
					}
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}

		completion_reward = {
			add_named_threat = {
				threat = 8
				name = FRA_destroy_albion
			}
			every_other_country = {
				limit = {
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_subject_of = ROOT }
					any_owned_state = {
						OR = {
							region = 1
							region = 2
							region = 3
							state = 119
						}
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = puppet_wargoal_focus
						expire = 0
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_approach_the_empire_of_brazil
		icon = GFX_focus_por_reclaim_crown_jewel
		cost = 5
		prerequisite = {
			focus = FRA_our_natural_borders
			focus = FRA_compromise_with_germany
		}		
		relative_position_id = FRA_our_natural_borders

		x = -6
		y = 1
		available = {
			is_faction_leader = yes
			is_in_faction = yes
			is_subject = no
			OR = {
				has_government = fascism
				has_government = neutrality
			}
			OR = {
				BRA = {
					has_country_leader = {
						ruling_only = yes name = "Pedro III"
					}
					exists = yes
					has_civil_war = no
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
					}
					is_subject = no
				}
				POR = {
					has_country_leader = {
						name = "Dom Duarte Nuno"
						ruling_only = yes
					}
					has_cosmetic_tag = KPB_kingdom_portugal_and_brazil
					has_civil_war = no
					is_in_faction = no
					NOT = {
						has_war_with = ROOT
					}
					is_subject = no					
				}
			}
			
		}
		bypass = {
			
		}
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					BRA = {
						has_country_leader = {
							ruling_only = yes name = "Pedro III"
						}
						exists = yes
						has_civil_war = no
						is_in_faction = no
						NOT = {
							has_war_with = ROOT
						}
						is_subject = no
					}
				}
				BRA = {
					country_event = generic.5
				}				
			}
			if = {
				limit = {
					POR = {
						has_country_leader = {
							name = "Dom Duarte Nuno"
							ruling_only = yes
						}
						has_cosmetic_tag = KPB_kingdom_portugal_and_brazil
						has_civil_war = no
						is_in_faction = no
						NOT = {
							has_war_with = ROOT
						}
						is_subject = no		
					}
				}
				POR = {
					country_event = generic.5
				}				
			}			

		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}	
	focus = {
		id = FRA_nothern_italy_claim
		icon = GFX_focus_attack_italy
		cost = 5
		prerequisite = {
			focus = FRA_our_natural_borders
			focus = FRA_compromise_with_germany
		}
		x = -4
		y = 1
		relative_position_id = FRA_our_natural_borders
		mutually_exclusive = {
			focus = FRA_napoleon_iii_legacy
		}

		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			has_army_manpower = { size > 650000 }
			if = {
				limit = {
					has_global_flag = FRA_GER_sphere_of_influence_agreement
				}
				NOT = {
					ITA = {
						is_in_faction_with = GER
					}
				}
			}
			any_state = {
				OR = {
					state = 158
					state = 162
				}
				custom_trigger_tooltip = {
					tooltip = ROOT_is_not_controlled_by_root_or_ally_tt
					NOT = {
						is_controlled_by_ROOT_or_ally = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}
		}

		bypass = {
			all_state = {
				OR = {
					NOT = { 
						OR = {
							state = 158
							state = 162
						}
					}
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}

		completion_reward = {
			add_state_claim = 158
			add_state_claim = 162
			add_named_threat = {
				threat = 5
				name = FRA_nothern_italy_claim
			}
			every_other_country = {
				limit = {
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_subject_of = ROOT }
					any_owned_state = {
						OR = {
							state = 158
							state = 162
						}
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = puppet_wargoal_focus
						expire = 0
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_napoleon_iii_legacy
		icon = GFX_focus_befriend_italy
		cost = 10
		prerequisite = {
			focus = FRA_our_natural_borders
			focus = FRA_compromise_with_germany
		}
		x = 2
		y = 0
		relative_position_id = FRA_nothern_italy_claim
		mutually_exclusive = {
			focus = FRA_nothern_italy_claim
		}
		
		available = {
			is_subject = no
			is_in_faction = yes
			NOT = {
				has_war_with = ITA
			}
			ITA = {
				exists = yes
				is_subject = no
				is_in_faction = no
				NOT = {
					has_government = communism
					has_government = democratic
				}
			}
		}
		ai_will_do = {
			factor = 3
		}
		bypass = {
			ITA = {
				is_in_faction_with = ROOT
			}
			NOT = {
				ITA = {
					is_subject_of = ROOT
				}
			}
		}
		completion_reward = {
			if = {
				limit = {
					is_in_faction = yes
				}
				ITA = {
					country_event = {
						id = generic.5
						hours = 2
					}
				}
			}
			else = {
				ITA = { custom_effect_tooltip = invite_to_faction_tt }
			}
		}
	}
	focus = {
		id = FRA_secure_catalonia
		icon = GFX_goal_generic_territory_or_war
		cost = 5
		prerequisite = {
			focus = FRA_our_natural_borders
			focus = FRA_compromise_with_germany
		}
		mutually_exclusive = {
			focus = FRA_empire_pact_with_spain
		}
		x = -10
		y = 1
		relative_position_id = FRA_our_natural_borders
		
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			has_global_flag = scw_over
			has_army_manpower = { size > 400000 }
		}
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}			
		}
		bypass = {
			has_global_flag = scw_over
			NOT = {
				OR = {
					SPR = {
						owns_state = 165
					}
					CAT = {
						owns_state = 165
					}					
				}
			}
		}
		completion_reward = {
			add_named_threat = {
				threat = 3
				name = FRA_nothern_italy_claim
			}
			if = {
				limit = {
					SPR = {
						owns_state = 165
					}
				}
				SPR = {
					country_event = {
						days = 1
						id = france.145
					}
				}				
			}
			if = {
				limit = {
					CAT = {
						owns_state = 165
					}
				}
				CAT = {
					country_event = {
						days = 1
						id = france.145
					}
				}				
			}			

		}
	}
	focus = {
		id = FRA_empire_pact_with_spain
		icon = GFX_focus_intervention_spain_nationalists
		cost = 5
		text = FRA_pact_with_spain
		mutually_exclusive = {
			focus = FRA_secure_catalonia
		}
		prerequisite = {
			focus = FRA_our_natural_borders
			focus = FRA_compromise_with_germany
		}
		available = {
			has_global_flag = scw_over
			is_in_faction = yes
			is_subject = no
			NOT = {
				has_war_with = SPA
			}
			SPA = {
				exists = yes
				is_in_faction = no
				is_subject = no
				NOT = {
					has_government = communism
				}
			}
			SPC = {
				exists = no
			}
		}
		bypass = {
			
		}
		x = -2
		y = 0
		relative_position_id = FRA_secure_catalonia
		
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			SPA = {
				country_event = {
					id = france.124
					days = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}		
	focus = {
		id = FRA_compromise_with_germany
		icon = GFX_focus_chi_mission_to_germany
		x = -7
		y = 1
		prerequisite = {
			focus = FRA_the_new_continental_system
		}
		mutually_exclusive = {
			focus = FRA_our_natural_borders
		}		
		relative_position_id = FRA_the_new_continental_system
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			GER = {
				OR = {
					has_government = fascism
					has_government = neutrality	
				}
			}
			OR = { 
				is_subject = no
				is_subject_of = GER
			}
		}

		completion_reward = {
			GER = {
				country_event = lar_spheres_of_influence.1
			}
			effect_tooltip = {
				custom_effect_tooltip = if_they_accept_tt
				GER = {
					add_state_claim = 7
					add_state_claim = 35
					add_state_claim = 36
					add_state_claim =  965
					#add_to_faction = ROOT
					diplomatic_relation = {
						country = ROOT
						relation = non_aggression_pact
						active = yes
					}					
				}
				ROOT = {
					add_state_claim = 8
					add_state_claim = 34
					add_state_claim = 1095
					add_state_claim = 6
					if = {
						limit = {
							42 = {
								is_claimed_by = ROOT
							}
						}
						remove_state_claim = 42
					}
					if = {
						limit = {
							51 = {
								is_claimed_by = ROOT
							}
						}
						remove_state_claim = 51
					}
				}
			}
			effect_tooltip = {
				custom_effect_tooltip = if_they_refuse_tt
				ROOT = {
					add_state_claim = 34
					add_state_claim = 1095
					add_state_claim = 6
					add_state_claim = 8
					add_state_claim = 7
					add_state_claim = 35
					add_state_claim = 36
					add_state_claim =  965
				}
			}
		}
	}	
	focus = {
		id = FRA_split_belgium
		icon = GFX_goal_generic_attack_belgium
		x = 0
		y = 1

		prerequisite = {
			focus = FRA_compromise_with_germany
		}
		relative_position_id = FRA_compromise_with_germany
		cost = 10

		ai_will_do = {
			factor = 6
		}

		available = {
			OR = { 
				is_subject = no
				is_subject_of = GER
			}
			GER = {
				exists = yes
				controls_state = 51
				has_civil_war = no
				OR = {
					has_non_aggression_pact_with = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		will_lead_to_war_with = BEL
		bypass = {

			BEL = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject = yes
				}
			}
			FLA = {
				OR = {
					exists = no
					has_war_with = ROOT
				}
			}
			WLL = {
				OR = {
					exists = no
					has_war_with = ROOT
				}
			}			
		}

		completion_reward = {
			every_other_country = {
				limit = {
					OR = {
						controls_state = 6
						controls_state = 34
						controls_state = 1095
						controls_state = 965
					}
					exists = yes
					NOT = {
						has_war_with = ROOT
					}
				}
				country_event = france.155
			}
			USA = {	#USA can denounce the aggression
				set_country_flag = { flag = USA_army_of_aggression_window days = 60 value = 1 }	#probably missing
			}				
		}
	}	
	focus = {
		id = FRA_crush_germany
		icon = GFX_focus_attack_germany
		cost = 10
		prerequisite = {
			focus = FRA_our_natural_borders
		}
		x = 1
		y = 1
		relative_position_id = FRA_our_natural_borders
		
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			OR = {
				GER = {
					exists = yes
					NOT = {
						is_in_faction_with = ROOT
					}
				}
				PRE = {
					exists = yes
					NOT = {
						is_in_faction_with = ROOT
					}
				}				
			}
			has_army_manpower = { size > 700000 }
			OR = {
				has_global_flag = lar_germany_refused_spheres
				NOT = {
					has_completed_focus = FRA_compromise_with_germany
				}
			}
		}		
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}		
		}
		bypass = {
			OR = {
				has_war_with = GER
				has_wargoal_against = GER
				has_war_with = PRE
				has_wargoal_against = PRE
				AND = {
					GER = {
						exists = no
					}
					PRE = {
						exists = no
					}
				}
				GER = {
					is_subject_of = ROOT
				}
				PRE = {
					is_subject_of = ROOT
				}
			}
		}
		will_lead_to_war_with = GER
		will_lead_to_war_with = PRE
		completion_reward = {
			add_named_threat = {
				threat = 7
				name = FRA_crush_germany
			}
			if = {
				limit = {
					GER = {
						exists = yes
					}	
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = GER
					expire = 0
				}
			}
			if = {
				limit = {
					PRE = {
						exists = yes
					}	
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = PRE
					expire = 0
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_reorganize_the_dutch
		icon = GFX_focus_CZE_german_puppet
		x = 4
		y = 1
		prerequisite = {
			focus = FRA_our_natural_borders
		}
		relative_position_id = FRA_our_natural_borders
		cost = 10

		ai_will_do = {
			factor = 3
		}

		allow_branch = {
			#has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			OR = {
				HOL = {
					is_subject_of = ROOT
				}
				any_state = {
					is_core_of = HOL
					is_controlled_by = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_relation_modifier = {
				target = HOL
				modifier = FRA_reorganized_departments
			}
			add_relation_modifier = {
				target = BEL
				modifier = FRA_reorganized_departments
			}
			add_relation_modifier = {
				target = LUX
				modifier = FRA_reorganized_departments
			}
		}
	}
	focus = {
		id = FRA_disunite_germany
		icon = GFX_goal_generic_occupy_states_ongoing_war
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_crush_germany
		}
		relative_position_id = FRA_crush_germany
		cost = 10

		ai_will_do = {
			factor = 3
		}

		allow_branch = {
			#has_dlc = "La Resistance"
		}

		available = {
			is_subject = no
			any_state = { 
				is_core_of = GER
				is_controlled_by = ROOT
			}
			GER = {
				OR = {
					exists = no
					has_capitulated = yes
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = FRA_disunite_germany_tt
			FRA_disunite_germany_confederation_borders = yes
		}
	}
	focus = {
		id = FRA_disunite_italy
		icon = GFX_goal_generic_occupy_states_ongoing_war
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_nothern_italy_claim
		}
		relative_position_id = FRA_nothern_italy_claim
		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			is_subject = no
			any_state = { 
				is_core_of = ITA
				is_controlled_by = ROOT
			}
			ITA = {
				OR = {
					exists = no
					has_capitulated = yes
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = FRA_disunite_italy_tt
			FRA_disunite_italy_base_effect = yes
		}
	}
	focus = {
		id = FRA_return_to_dalmatia
		icon = GFX_focus_YUG_banovina_of_croatia
		x = 0
		y = 2
		mutually_exclusive = {
			focus = FRA_empire_invite_yugoslavia
		}		
		prerequisite = {
			focus = FRA_nothern_italy_claim
		}
		relative_position_id = FRA_nothern_italy_claim
		cost = 10

		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			any_state = {
				OR = {
				    state = 102
					state = 853
					state = 103
					state = 852
					state = 958
					state = 736
					state = 163
				}
				custom_trigger_tooltip = {
					tooltip = ROOT_is_not_controlled_by_root_or_ally_tt
					NOT = {
						is_controlled_by_ROOT_or_ally = yes
					}
				}
			}
		}

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_army_manpower = {
    				size < 500000
				}
			}	
			modifier = {
				factor = 0
				has_war = yes
			}					
		}

		bypass = {
			all_state = {
				OR = {
					NOT = { 
						OR = {
							state = 102
							state = 103
							state = 958
							state = 736
							state = 163
						}
					}
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}

		completion_reward = {
			add_state_claim = 102
			add_state_claim = 103
			add_state_claim = 958
			add_state_claim = 736
			add_state_claim = 163
			every_other_country = {
				limit = {
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_subject_of = ROOT }
					any_owned_state = {
						OR = {
							state = 102
							state = 103
							state = 958
							state = 736
							state = 163
						}
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = take_state_focus
						expire = 0
					}
				}
			}
		}
	}
	focus = {
		id = FRA_empire_invite_yugoslavia
		icon = GFX_focus_invite_yugoslavia
		text = FRA_invite_yugoslavia
		cost = 5
		prerequisite = {
			focus = FRA_nothern_italy_claim
		}
		mutually_exclusive = {
			focus = FRA_return_to_dalmatia
		}
		relative_position_id = FRA_nothern_italy_claim
		x = -2
		y = 2
		available = {
			YUG = {
				is_in_faction = no
			}
			is_in_faction = yes
			is_subject = no
		}
		bypass = {
			YUG = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
					is_in_faction = yes
				}
			}
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			YUG = {
				country_event = france.17
			}
		}
	}	
	focus = {
		id = FRA_second_march_on_moscow
		icon = GFX_focus_attack_soviet
		x = 0
		y = 2
		prerequisite = {
			focus = FRA_crush_germany
		}
		mutually_exclusive = {
			focus = FRA_a_more_durable_tilsit_treaty
		}		
		relative_position_id = FRA_crush_germany
		cost = 10

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				SOV = {
					has_government = neutrality
				}
			}
			modifier = {
				factor = 0
				has_army_manpower = {
    				size < 500000
				}
			}				
		}
		will_lead_to_war_with = SOV
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			NOT = {
				SOV = {
					OR = {
						is_in_faction_with = ROOT
						is_puppet_of = ROOT
					}
					

				}
			}
			has_army_manpower = { size > 900000 }
		}
		
		bypass = {
			has_war_with = SOV
		}

		
		
		

		completion_reward = {
			create_wargoal = {
				target = SOV
				type = puppet_wargoal_focus
				expire = 0
			}
		}
	}
	focus = {
		id = FRA_a_more_durable_tilsit_treaty
		icon = GFX_goal_SOV_imperial_eagle
		cost = 5
		prerequisite = {
			focus = FRA_our_natural_borders
		}
		relative_position_id = FRA_our_natural_borders
		mutually_exclusive = {
			focus = FRA_second_march_on_moscow
		}
		x = 3
		y = 3
		available = {
			is_faction_leader = yes
			is_in_faction = yes
			is_subject = no
			OR = {
				has_government = democratic
				has_government = neutrality
			}
			SOV = {
				has_government = neutrality
				has_civil_war = no
				is_in_faction = no
				NOT = {
					has_war_with = ROOT
				}
				is_subject = no
								
			}
		}
		bypass = {
			
		}
		ai_will_do = {
			factor = 8
		}
		completion_reward = {
			SOV = {
				country_event = generic.5
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}	
	focus = {
		id = FRA_secure_iberia
		icon = GFX_focus_focus_fra_intervention_spain
		x = -1
		y = 1
		prerequisite = {
			focus = FRA_secure_catalonia
		}
		relative_position_id = FRA_secure_catalonia
		cost = 5

		ai_will_do = {
			factor = 2
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				has_army_manpower = {
    				size < 500000
				}
			}			
		}
		
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			NOT = {
				has_global_flag = catalonia_ceded_to_france
			}	
			any_state = {
				custom_trigger_tooltip = {
					tooltip = FRA_is_on_iberian_peninsula_tt
					OR = {
						region = 41
						region = 210
						region = 209
					}
				}
				custom_trigger_tooltip = {
					tooltip = ROOT_is_not_controlled_by_root_or_ally_tt
					NOT = {
						is_controlled_by_ROOT_or_ally = yes
					}
				}
			}	
		}

		bypass = {
			all_state = {
				OR = {
					NOT = { 
						custom_trigger_tooltip = {
							tooltip = FRA_is_on_iberian_peninsula_tt
							OR = {
								region = 41
								region = 210
								region = 209
							}
						}
					}
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}

		completion_reward = {
			every_other_country = {
				limit = {
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_subject_of = ROOT }
					any_owned_state = {
						OR = {
							region = 41
							region = 210
							region = 209
						}
					}
					NOT = {
						has_global_flag = FRA_GER_sphere_of_influence_agreement
						PREV = {
							is_in_faction_with = GER
						}
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = take_state_focus
						expire = 0
					}
				}
			}
		}
	}
	focus = {
		id = FRA_restore_the_mexican_monarchy
		icon = GFX_focus_attack_mexico
		x = -1
		y = 1
		prerequisite = {
			focus = FRA_destroy_albion
		}
		relative_position_id = FRA_destroy_albion
		cost = 10
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
		}

		will_lead_to_war_with = MEX
		
		bypass = {
			has_war_with = MEX
		}

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				has_army_manpower = {
    				size < 500000
				}
			}
			modifier = {
				factor = 0
				has_navy_size = {
					size < 15
					type = capital_ship
				}
			}						
		}


		completion_reward = {
			create_wargoal = {
				target = MEX
				type = puppet_wargoal_focus
				expire = 0
			}
		}
	}
	focus = {
		id = FRA_take_back_north_america
		icon = GFX_focus_spa_the_war_of_vengeance
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_destroy_albion
		}
		relative_position_id = FRA_destroy_albion
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				has_army_manpower = {
    				size < 500000
				}
			}
			modifier = {
				factor = 0
				has_navy_size = {
					size < 15
					type = capital_ship
				}
			}
		}

		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			any_state = {
				custom_trigger_tooltip = {
					tooltip = FRA_is_a_part_of_french_north_america_or_haiti_tt
					OR = {
						region = 121
						region = 211
						region = 122
						region = 120
						region = 198
						state = 318
					}
				}
				custom_trigger_tooltip = {
					tooltip = ROOT_is_not_controlled_by_root_or_ally_tt
					NOT = {
						is_controlled_by_ROOT_or_ally = yes
					}
				}
			}
		}

		bypass = {
			all_state = {
				OR = {
					NOT = { 
						custom_trigger_tooltip = {
							tooltip = FRA_is_a_part_of_french_north_america_or_haiti_tt
							OR = {
								region = 121
								region = 211
								region = 122
								region = 120
								region = 198
								state = 318
							}
						}
					}
					is_controlled_by_ROOT_or_ally = yes
				}
			}
		}

		completion_reward = {
			every_other_country = {
				limit = {
					NOT = { is_in_faction_with = ROOT }
					NOT = { is_subject_of = ROOT }
					any_owned_state = {
						OR = {
							region = 121
							region = 211
							region = 122
							region = 120
							region = 198
							state = 318
						}
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = annex_everything
						expire = 0
					}
				}
			}
		}
	}
	
	focus = {
		id = FRA_invite_portugal
		icon = GFX_goal_generic_befriend_portugal
		cost = 10
		prerequisite = {
			focus = FRA_union_latins
		}
		x = -1
		y = 1
		relative_position_id = FRA_union_latins
		available = {
			is_subject = no
			NOT = {
				has_war_with = POR
			}
			POR = {
				exists = yes
				has_government = neutrality
				is_subject = no
				is_in_faction = no
			}
		}
		bypass = {
			POR = {
				OR = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
				}
			}
		}
		
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			POR = {
				country_event = france.124
			}
		}
	}
	focus = {
		id = FRA_split_switzerland
		icon = GFX_goal_generic_military_deal
		cost = 10
		prerequisite = {
			focus = FRA_revise_versailles
		}
		relative_position_id = FRA_revise_versailles
		x = 0
		y = 1
		available = {
			is_subject = no
			is_in_faction_with = GER
			has_government = fascism
			GER = {
				exists = yes
				has_government = fascism
			}
			r56_script_i_am_sane = yes
		}
		bypass = {
			SWI = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
				}
			}
		}
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_named_threat = {
				threat = 5
				name = FRA_split_switzerland
			}
			GER = {
				country_event = {
					hours = 6
					id = france.116
				}
			}
		}
	}
	focus = {
		id = FRA_strike_urss
		icon = GFX_focus_attack_soviet
		cost = 10
		prerequisite = {
			focus = FRA_split_switzerland
		}
		relative_position_id = FRA_split_switzerland
		x = 0
		y = 1
		available = {
			is_subject = no
			country_exists = SOV
			r56_script_i_am_sane = yes
		}
		bypass = {
			OR = {
				has_war_with = SOV
			}
		}
		
		ai_will_do = {
			factor = 1
		}
		will_lead_to_war_with = SOV
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = SOV
				expire = 0
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_plan_xiv
		icon = GFX_focus_attack_switzerland
		cost = 10
		prerequisite = {
			focus = FRA_dismantle_germany
		}
		x = 0
		y = 1
		relative_position_id = FRA_dismantle_germany
		
		ai_will_do = {
			factor = 1
		}
		available = {
			r56_script_i_am_sane = yes
			is_subject = no
			SWI = {
				exists = yes
				NOT = {
					is_in_faction_with = ROOT
					is_subject_of = ROOT
					has_war_with = FRA
				}
			}
		}
		will_lead_to_war_with = SWI
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SWI
				expire = 0
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_woo_italy
		icon = GFX_goal_generic_befriend_italy
		cost = 10
		prerequisite = {
			focus = FRA_claim_rhineland
			focus = FRA_union_latins
		}
		relative_position_id = FRA_claim_rhineland
		x = 2
		y = 1
		available = {
			is_subject = no
			NOT = {
				has_war_with = ITA
			}
			is_faction_leader = yes
			ITA = {
				exists = yes
				is_in_faction = no
				is_subject = no
			}
		}
		bypass = {
			ITA = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			ITA = {
				country_event = {
					id = france.124
					days = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_invite_romania
		icon = GFX_goal_generic_befriend_romania
		cost = 5
		prerequisite = {
			focus = FRA_invite_yugoslavia
		}
		relative_position_id = FRA_invite_yugoslavia
		x = 1
		y = 1
		available = {
			is_faction_leader = yes
			is_subject = no
			OR = {
				has_government = democratic
				has_government = neutrality
			}
		}
		bypass = {
			OR = {
				AND = {
					is_faction_leader = no
					is_in_faction = yes
				}
				ROM = {
					OR = {
						exists = no
						is_subject = yes
						has_war_with = ROOT
						is_in_faction_with = ROOT
						is_in_faction = yes	
						has_government = communism
						has_government = fascism
					}
				}
			}
		}
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			ROM = {
				country_event = france.17
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_invite_poland
		icon = GFX_goal_generic_befriend_poland
		cost = 10
		prerequisite = {
			focus = FRA_little_entente
		}
		relative_position_id = FRA_little_entente
		x = -2
		y = 2
		available = {
			is_subject = no
			OR = {
				AND = {
					is_faction_leader = yes
					NOT = {
						any_country = {
							is_in_faction_with = ROOT
							has_war_with = POL
						}
					}
				}
				AND = {
					POL = {
						has_government = democratic
						is_faction_leader = yes
					}
					is_in_faction = no
				}


			}

		}
		bypass = {
			POL = {
				OR = {
					exists = no
					is_subject = yes
					has_war_with = ROOT
					is_in_faction_with = ROOT
				}
			}
		}
		ai_will_do = {
			factor = 3
		}
		completion_reward = {
			if = {
				limit = {
					is_faction_leader = yes
				}
				POL = {
					country_event = france.17
				}				
			}
			if = {
				limit = {
					is_in_faction = no
					POL = {
						is_faction_leader = yes
					}
				}
				POL = {
					country_event = generic.2
				}				
			} 

		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_foreign_guest_workers
		icon = GFX_BEL_union_agreement
		x = -1
		y = 1
		prerequisite = {
			focus = FRA_invite_romania
		}
		relative_position_id = FRA_invite_romania
		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			FRA_has_worker_shortage = yes
		}
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			remove_worker_shortage_effect = yes
		}
	}
	focus = {
		id = FRA_invest_in_our_weaker_allies
		icon = GFX_goal_generic_build_tank
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_invite_romania
		}
		relative_position_id = FRA_invite_romania
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = yes
			any_other_country = {
				is_in_faction_with = ROOT
				custom_trigger_tooltip = {
					tooltip = FRA_invest_in_our_weaker_allies_trigger_tt
					check_variable = { num_of_military_factories < FRA.num_of_military_factories }
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = FRA_invest_in_our_weaker_allies_tt
			every_other_country = {
				limit = {
					is_in_faction_with = ROOT
					NOT = { is_subject_of = ROOT }
					check_variable = { num_of_military_factories < FRA.num_of_military_factories }
				}
				random_owned_state = {
					limit = {
						is_core_of = PREV
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}
	focus = {
		id = FRA_coordinate_rearmament
		icon = GFX_goal_generic_position_armies
		x = 0
		y = 1
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = FRA_radicalize_front
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_action_francaise
				}
			}
		}
		prerequisite = {
			focus = FRA_invest_in_our_weaker_allies
		}
		relative_position_id = FRA_invest_in_our_weaker_allies
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = yes
		}
		
		completion_reward = {
			if = {
				limit = {
					is_in_faction = no
				}
				custom_effect_tooltip = FRA_coordinate_rearmament_tt
			}
			else = {
				every_country = {
					limit = {
						is_in_faction_with = ROOT
					}
					add_relation_modifier = {
						target = ROOT
						modifier = FRA_coordinate_rearmament
					}
				}
				every_country = {
					limit = {
						is_in_faction_with = ROOT
					}
					ROOT = {
						add_relation_modifier = {
							target = PREV
							modifier = FRA_coordinate_rearmament
						}
					}
				}
			}
		}
	}
	focus = {
		id = FRA_join_the_ententes
		icon = GFX_focus_chi_british_cooperation
		x = 1
		y = 1
		prerequisite = {
			focus = FRA_little_entente
		}
		relative_position_id = FRA_little_entente
		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			is_subject = no
			has_government = democratic
			ENG = {
				exists = yes
				has_government = democratic
				is_faction_leader = yes
				NOT = {
					OR = {
						has_completed_focus = ENG_a_change_in_course
						has_completed_focus = ENG_visit_germany
					}
				}
			}
			NOT = {
				has_war_with = ENG
			}
		}

		completion_reward = {
			ENG = { 
				if = {
					limit = { ROOT = { is_in_faction = yes } }
					country_event = lar_fra_join_the_ententes.1
				}
				else = { 
					custom_effect_tooltip = invite_to_faction_tt
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = FRA_research_treaty
		icon = GFX_goal_generic_scientific_exchange
		cost = 10
		prerequisite = {
			focus = FRA_popular_front_united
		}
		relative_position_id = FRA_popular_front_united
		x = -1
		y = 1
		available = {
			is_subject = no
			is_in_faction = yes
		}
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_tech_bonus = {
				name = electronics_bonus
				bonus = 1
				uses = 1
				category = electronics
			}
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				category = industry
			}   
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 1
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_preventive_intervention
		icon = GFX_victor
		cost = 10
		prerequisite = {
			focus = FRA_invite_benelux
			focus = FRA_invite_romania
		}
		relative_position_id = FRA_invite_benelux
		x = -1
		y = 1
		available = {
			is_subject = no
			NOT = { has_idea = FRA_disjointed_government }
			r56_script_i_am_sane = yes
			any_country = {
				OR = {
					has_government = communism
					has_government = fascism
				}
			}
			threat > 0.25
		}
		ai_will_do = {
			factor = 0.5
			modifier = {
				factor = 2
				any_other_country = {
					OR = {
						has_government = democratic
						AND = {
							original_tag = POL
							has_government = neutrality
						}
					}						
					OR = {
						has_war_with = GER
						has_war_with = PRE
					}	
				}	
			}
			modifier = {
				factor = 0
				has_war = yes
			}
			modifier = {
				factor = 0
				has_war_support < 0.4
			}
		}
		completion_reward = {
			every_country = {
				limit = {
					OR = {
						has_government = communism
						has_government = fascism
					}
					NOT = { is_in_faction_with = ROOT }
					OR = {
						is_major = yes
						is_neighbor_of = ROOT
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = topple_government
						expire = 0
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_humanite_unie
		icon = GFX_goal_generic_red_freedom
		cost = 10
		prerequisite = {
			focus = FRA_collectivisation
		}
		mutually_exclusive = {
			focus = FRA_assistance_treaty
		}
		x = 16
		y = 5
		available = {
			is_subject = no
			is_in_faction = no
		}
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			set_rule = {
				can_create_factions = yes
			}
			create_faction = humanite_unie
			add_stability = 0.1
			unlock_decision_category_tooltip = FRA_4th_international
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = FRA_fascist_threat
		icon = GFX_focus_focus_fra_fascist_threat
		cost = 10
		prerequisite = {
			focus = FRA_humanite_unie
			focus = FRA_assistance_treaty
		}
		x = 16
		y = 7

		available = {
			is_subject = no
			any_country = {
				has_government = fascism
			}
			r56_script_i_am_sane = yes
			NOT = {
				has_idea = FRA_victors_of_wwi
			}
			has_army_manpower = {
				size > 1499999
			}			
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				has_war_with = ENG
				factor = 0
			}
		}
		completion_reward = {
			every_country = {
				limit = {
					has_government = fascism
					NOT = { is_in_faction_with = ROOT }
					OR = {
						is_major = yes
						is_neighbor_of = ROOT
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = topple_government
						expire = 0
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_strike_empire
		icon = GFX_focus_AST_never_gallipoli
		cost = 10
		prerequisite = {
			focus = FRA_assistance_treaty
			focus = FRA_humanite_unie
		}
		x = 18
		y = 7
		available = {
			is_subject = no
			NOT = { is_in_faction_with = ENG }
			ENG = {
				exists = yes
				NOT = {
					has_government = communism
				}
			}
			r56_script_i_am_sane = yes
		}
		bypass = {
			has_war_with = ENG
		}
		
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					naval_strength_ratio = {
						tag = ENG
						ratio < 0.65 #can have a bit less because of spread out naval forces
					}
					any_home_area_neighbor_country = {
						is_major = yes
						has_war_with = ROOT
					}
					NOT = { #No German threat
						OR = {
							NOT = {
								any_home_area_neighbor_country = {
									tag = GER
								}
							}
							GER = {
								has_government = communism
							}
							GER = {
								has_government = democratic
							}
							strength_ratio = {
								tag = GER
								ratio > 1.5 #defense takes less divisions, realistically they will never succeed against the British and need a backup army against the Germans
							}
						}
					}
				}
				factor = 0
			}
		}
		will_lead_to_war_with = ENG
		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = ENG
				expire = 0
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_help_the_spanish_republicans
		icon = GFX_goal_FRA_help_the_spanish_republicans
		cost = 5
		x = 15
		y = 6
		prerequisite = {
			focus = FRA_humanite_unie
		}
		available = {
			OR = {
				country_exists = SPD
				any_country = {
					original_tag = SPR
					has_government = communism
				}
			}	
			NOT = {
				is_in_faction_with = SPA
				is_in_faction_with = SPB
				is_in_faction_with = SPC
			}
		}
		ai_will_do = {
			factor = 5
		}
		completion_reward = {
			random_other_country = {
					limit = {
						OR = {
							original_tag = SPR
							tag = SPD
						}
						has_government = communism
					}
				country_event = france.124
			}
			if = {
				limit = {
					SPA = { exists = yes }
				}
				random_other_country = {
					limit = {
						OR = {
							original_tag = SPR
							original_tag = SPA
						}
						has_government = fascism
					}
					FRA = {
						create_wargoal = {
							type = puppet_wargoal_focus
							target = PREV
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					SPB = { exists = yes }
					OR = {
						has_government = fascism
						has_government = neutrality
					}
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = SPB
					expire = 0
				}
			}
			if = {
				limit = {
					SPC = { exists = yes }
					OR = {
						has_government = fascism
						has_government = neutrality
					}					
				}
				create_wargoal = {
					type = puppet_wargoal_focus
					target = SPC
					expire = 0
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = FRA_intervention_in_spain
		icon = GFX_focus_focus_fra_intervention_spain
		x = 6
		y = 1
		prerequisite = {
			focus = FRA_status_quo
			focus = FRA_radicalize_front
		}
		
		relative_position_id = FRA_radicalize_front
		cost = 5

		ai_will_do = {
			factor = 0.5
		}

		available = {
			SPR_scw_in_progress = yes
			is_subject = no
		}

		completion_reward = {
			unlock_decision_category_tooltip = FRA_spanish_intervention_category
			set_country_flag = FRA_non_intervention
		}
		search_filters = { FOCUS_FILTER_SPA_CIVIL_WAR }
	}


	focus = {
		id = FRA_continue_the_fight_in_africa
		icon = GFX_africa
		x = 12
		y = 7

		prerequisite = {}
		mutually_exclusive = { }
		
		cost = 5
		allow_branch = {
			OR = {
				has_cosmetic_tag = FRA_KINGDOM
				has_cosmetic_tag = FRA_FREE
				has_cosmetic_tag = FRAEMPIRE
			}
			
			has_capitulated = yes
		}
		ai_will_do = {
			factor = 100
		}
		
		available_if_capitulated = yes
		completion_reward = {
			if = {
				limit = { not = { has_dlc = "Man the Guns" } }
				add_manpower = 10000
			}
			else = {
				add_manpower = 10000
				add_legitimacy = 15
			}
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 5000
			}
			add_ideas = FRA_FREE_army
			if = {
				limit = { has_dlc = "La Resistance" }
				create_operative_leader = {
					name = "Jeannie Rousseau"
					GFX = GFX_portrait_jennie_rousseau
					traits = { operative_linguist }
					bypass_recruitment = no
					available_to_spy_master = yes
					female = yes
					nationalities = { FRA }
				}
			
				create_operative_leader = {
					name = "Odette Samson"
					GFX = GFX_portrait_odette_samson
					traits = { operative_tough }
					bypass_recruitment = no
					available_to_spy_master = yes
					female = yes
					nationalities = { FRA }
				}
				create_operative_leader = {
					name = "René Joyeuse"
					GFX = GFX_portrait_rene_joyeuse
					traits = { operative_infiltrator }
					bypass_recruitment = no
					available_to_spy_master = yes
					nationalities = { FRA SWI }
				}	
				# Move to free france too.
				create_operative_leader = {
					name = "Gilbert Renault"
					GFX = GFX_portrait_gilbert_renault
					traits = { operative_demolition_expert }
					bypass_recruitment = no
					available_to_spy_master = yes
					nationalities = { FRA }
				}
			}			
		}
	}
	focus = {
		id = FRA_mobilize_the_empire
		icon = GFX_goal_generic_propaganda
		x = 0
		y = 1

		prerequisite = { 
			focus = FRA_continue_the_fight_in_africa
		}
		relative_position_id = FRA_continue_the_fight_in_africa
		
		cost = 5
		ai_will_do = {
			factor = 50
		}
		
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_offsite_building = {
				type = industrial_complex
				level = 2
			}
			add_war_support = 0.05
		}
	}
	focus = {
		id = FRA_radio_brazzaville2
		icon = GFX_goal_generic_radar
		x = -2
		y = 1

		prerequisite = { 
			focus = FRA_mobilize_the_empire
		}
		relative_position_id = FRA_mobilize_the_empire
		
		cost = 10
		ai_will_do = {
			factor = 20
		}
		available = {
			NOT = {
				16 = {
					is_controlled_by = ROOT
				}
			}
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_war_support = 0.15
			add_stability = 0.05		
		}
	}	
	focus = {
		id = FRA_equatorial_african_gold_mining2
		icon = GFX_goal_COG_Jungle_Gold_Mine
		x = 0
		y = 1

		prerequisite = { 
			focus = FRA_mobilize_the_empire
		}
		relative_position_id = FRA_mobilize_the_empire
		
		cost = 10
		ai_will_do = {
			factor = 50
		}
		available = {
			OR = {
				controls_state = 773
				controls_state = 660
				controls_state = 772
				controls_state = 539
			}			
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			add_ideas = SAF_gold_exports
			772 = {
                add_extra_state_shared_building_slots = 1
            }				
		}
	}
	focus = {
		id = FRA_improve_equatorial_roads2
		icon = GFX_focus_generic_africa_infrastructure
		x = -1
		y = 1

		prerequisite = { 
			focus = FRA_equatorial_african_gold_mining2
		}
		relative_position_id = FRA_equatorial_african_gold_mining2
		
		cost = 10
		ai_will_do = {
			factor = 20
		}
		available = {
			OR = {
				controls_state = 773
				controls_state = 660
				controls_state = 772
				controls_state = 539
			}			
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 539 773 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				prioritize = { 772 773 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}										
		}
	}	
	focus = {
		id = FRA_exploit_rubber_vines2
		icon = GFX_goal_COG_Rubber_Farming
		x = 1
		y = 1

		prerequisite = { 
			focus = FRA_equatorial_african_gold_mining2
		}
		relative_position_id = FRA_equatorial_african_gold_mining2
		
		cost = 10
		ai_will_do = {
			factor = 40
		}
		available = {
			OR = {
				controls_state = 773
				controls_state = 660
				controls_state = 772
				controls_state = 539
			}
			
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_RUBBER }
		completion_reward = {
			if = {
				limit = {
					controls_state = 773
				}
				add_resource = {
					type = rubber
					amount = 8
					state = 773
				}								
			}
			if = {
				limit = {
					controls_state = 660
				}
				add_resource = {
					type = rubber
					amount = 4
					state = 660
				}								
			}
			if = {
				limit = {
					controls_state = 772
				}
				add_resource = {
					type = rubber
					amount = 6
					state = 772
				}								
			}
			if = {
				limit = {
					controls_state = 539
				}
				add_resource = {
					type = rubber
					amount = 8
					state = 539
				}								
			}
			add_stability = -0.05									
		}
	}		
	focus = {
		id = FRA_continue_the_fight2
		icon = GFX_goal_generic_major_war
		x = 5
		y = 1

		prerequisite = { 
			focus = FRA_mobilize_the_empire
		}
		relative_position_id = FRA_mobilize_the_empire
		
		cost = 10
		ai_will_do = {
			factor = 40
		}
		
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_offsite_building = {
				type = arms_factory
				level = 2
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = koenig_commander
					}
				}
				show_unit_leaders_tooltip = FRA_marie_pierre_koenig
			}
			show_unit_leaders_tooltip = FRA_georges_catroux
			show_unit_leaders_tooltip = FRA_edgard_de_larminat
		}
	}
	focus = {
		id = FRA_the_free_french_navy2
		icon = GFX_goal_generic_build_navy
		x = -2
		y = 1

		prerequisite = { 
			focus = FRA_continue_the_fight2
		}
		relative_position_id = FRA_continue_the_fight2
		
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		available_if_capitulated = yes
		completion_reward = {
			add_equipment_to_stockpile = {
				type = convoy
				amount = 50
			}
		#	create_navy_leader = {
		#		name = "Emilie Muselier"
		#		GFX = GFX_portrait_fra_emilie_muselier
		#		skill = 3
		#		traits = {  }
		#		attack_skill = 1
		#		defense_skill = 2
		#		maneuvering_skill = 3
		#		coordination_skill = 4
		#	}
		}
	}
	focus = {
		id = FRA_colonial_recruitment2
		icon = GFX_goal_generic_allies_build_infantry
		x = 0
		y = 1

		prerequisite = { 
			focus = FRA_continue_the_fight2
		}
		relative_position_id = FRA_continue_the_fight2
		
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available = {
			any_owned_state = {
				is_controlled_by = ROOT
				NOT = {
					is_core_of = ROOT
				}
			}
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = { FRA_colonial_recruitment }
		}
	}
	
	focus = {
		id = FRA_prepare_for_our_return2
		icon = GFX_goal_generic_amphibious_assault
		x = 0
		y = 1

		prerequisite = { 
			focus = FRA_the_free_french_navy2
		}
		relative_position_id = FRA_the_free_french_navy2
		
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		available_if_capitulated = yes
		completion_reward = {
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 1
				uses = 1
				category = r56_marines_infantry_tech
			}
			add_tech_bonus = {
				name = GER_landing_craft
				bonus = 1
				uses = 1
				category = tp_tech
			}						
		}
	}	
	focus = {
		id = FRA_an_african_army2
		icon = GFX_focus_por_luso_tropicalism
		x = 0
		y = 1

		prerequisite = { 
			focus = FRA_colonial_recruitment2
		}
		relative_position_id = FRA_colonial_recruitment2
		
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		available_if_capitulated = yes
		completion_reward = {
            add_tech_bonus = {
                name = infantry_artillery_bonus
                bonus = 1
                uses = 2
                category = summer_clothing_tech
            }
            add_tech_bonus = {
                name = infantry_artillery_bonus
                bonus = 1
                uses = 1
                category = r56_jungle_infantry_tech
			}
            add_tech_bonus = {
                name = infantry_artillery_bonus
                bonus = 1
                uses = 1
                category = r56_desert_infantry_tech
            }						
		}
	}
    focus = {
        id = FRA_improved_logistics2
        icon = GFX_goal_generic_army_motorized
        prerequisite = { focus = FRA_an_african_army2 }
		relative_position_id = FRA_an_african_army2
        x = 0
        y = 1
		ai_will_do = {
			factor = 5					
		}		
        cost = 10
		available_if_capitulated = yes	
        completion_reward = {
            add_tech_bonus = {  
                name = motorized_bonus
                bonus = 1
                uses = 2
                category = logistics_tech
			}
		}
	}
	
	focus = {
		id = FRA_the_regiment_normandie2
		icon = GFX_focus_fra_regiment_normandie
		x = 2
		y = 1

		prerequisite = { 
			focus = FRA_continue_the_fight2
		}
		relative_position_id = FRA_continue_the_fight2
		
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available = {
			any_enemy_country = {
				has_war_with = SOV
			}
			NOT = {
				has_war_with = SOV
			}
			if = {
				limit = {
					has_government = fascism
				}
				NOT = {
					SOV = {
						has_government = communism
					}
				}
			}
			if = {
				limit = {
					has_government = communism
				}
				NOT = {
					SOV = {
						has_government = fascism
					}
				}
			}			
		}
		available_if_capitulated = yes
		completion_reward = {
			air_experience = 25
			SOV = {
				add_equipment_to_stockpile = {
					type = small_plane_airframe
					amount = 150
					producer = FRA
				}
			}
		}
	}
	
	focus = {
		id = FRA_giraud_plan
		icon = GFX_goal_FRA_giraud
		cost = 10
		#prerequisite = {
		#	focus = FRA_CHEDN
		#}
		mutually_exclusive = {
			focus = FRA_de_gaulle_strategy
		}
		x = 67
		y = 0
		offset = {
			x = -20
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = FRA_action_francaise
			}
		}
		offset = {
			x = -18
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = FRA_brumaire_movement
					has_completed_focus = FRA_support_the_legitimatises
					has_completed_focus = FRA_side_with_the_orleanists
				}
			}
		}
		offset = {
			x = -47
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				OR = {
					has_completed_focus = FRA_status_quo
					has_completed_focus = FRA_far_right_leagues
					has_completed_focus = FRA_radicalize_front
				}
			}
		}
		relative_position_id = FRA_rearmament
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			every_army_leader = {
				add_defense = 1
			}
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = maxime_weygand
		}
	}
	
	focus = {
		id = FRA_fortification_focus
		icon = GFX_goal_generic_construction2
		cost = 5
		prerequisite = {
			focus = FRA_giraud_plan
		}
		x = -1
		y = 1
		relative_position_id = FRA_giraud_plan
		
		ai_will_do = {
			factor = 2
		}
		completion_reward = {
			add_ideas = FRA_fortification_focus
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	
	focus = {
		id = FRA_commission_fortified_regions
		icon = GFX_goal_generic_position_armies
		cost = 10
		prerequisite = {
			focus = FRA_fortification_focus
		}
		x = -1
		y = 1
		relative_position_id = FRA_fortification_focus
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_protected_by_the_maginot_line
				}
				swap_ideas = {
					add_idea = FRA_protected_by_the_maginot_line_defense
					remove_idea = FRA_protected_by_the_maginot_line
				}
			}
		}
	}
	
	focus = {
		id = FRA_heavy_armor_focus
		icon = GFX_goal_generic_heavy_armour_french
		prerequisite = { focus = FRA_commission_fortified_regions }
		x = -1
		y = 2
		relative_position_id = FRA_commission_fortified_regions
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = FRA_heavy_armor_focus
				bonus = 1 #Effectively 0.25 years ahead of time
				ahead_reduction = 1
				uses = 1
				category = cat_heavy_armor
			}	
		}
	}
	
	focus = {
		id = FRA_extend_the_maginot_line
		icon = GFX_goal_generic_fortify_city
		cost = 10
		prerequisite = {
			focus = FRA_commission_fortified_regions
		}
		x = 0
		y = 1
		relative_position_id = FRA_commission_fortified_regions
		available = {
			18 = {
				is_controlled_by = ROOT
			}
			29 = {
				is_controlled_by = ROOT
			}
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			ROOT = {
				country_event = {
					id = france.2
				}
			}
			BEL = {
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_extend_the_maginot_line_focus_neg
				}
				add_opinion_modifier = {
					target = GER
					modifier = FRA_extend_the_maginot_line_focus_pos
				}
			}
		}
	}
	
	focus = {
		id = FRA_de_gaulle_strategy
		icon = GFX_goal_FRA_de_gaulle
		cost = 10
		#prerequisite = {
		#	focus = FRA_CHEDN
		#}
		mutually_exclusive = {
			focus = FRA_giraud_plan
		}
		x = 2
		y = 0
		relative_position_id = FRA_giraud_plan
		
		ai_will_do = {
			factor = 0.75
		}
		completion_reward = {
			every_army_leader = {
				add_attack = 1
			}
			add_corps_commander_role={
				character = FRA_charles_de_gaulle
				traits={ media_personality harsh_leader armor_officer }
				skill=4
				attack_skill=4
				defense_skill=4
				planning_skill=3
				logistics_skill=2
				legacy_id=101
			}
			set_country_flag = de_gaulle_commander
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = maurice_gamelin
		}
	}
	
	focus = {
		id = FRA_motorized_focus
		icon = GFX_goal_generic_army_motorized
		cost = 5
		prerequisite = {
			focus = FRA_de_gaulle_strategy
		}
		x = 1
		y = 1
		relative_position_id = FRA_de_gaulle_strategy
		ai_will_do = {
			factor = 2
		}
		
		completion_reward = {
			add_ideas = FRA_motorized_focus
		}
	}
	
	focus = {
		id = FRA_the_mas38
		icon = GFX_goal_generic_small_arms
		cost = 5
		prerequisite = {
			focus = FRA_fortification_focus
			focus = FRA_motorized_focus
		}
		x = 1
		y = 2
		relative_position_id = FRA_fortification_focus
		ai_will_do = {
			factor = 2
		}
		
		completion_reward = {
			army_experience = 25
			add_tech_bonus = {
				name = FRA_the_mas38
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_infantry_focus
		icon = GFX_focus_generic_army_modernizations
		cost = 5
		prerequisite = {
			focus = FRA_the_mas38
		}
		x = -1
		y = 1
		relative_position_id = FRA_the_mas38
		ai_will_do = {
			factor = 2
		}
		
		completion_reward = {
			army_experience = 5
			add_ideas = FRA_infantry_focus
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_alpine_forts
		icon = GFX_goal_generic_construct_military
		cost = 10
		prerequisite = {
			focus = FRA_giraud_plan
			focus = FRA_de_gaulle_strategy
		}
		x = 1
		y = 1
		relative_position_id = FRA_giraud_plan
		available = {
			735 = {
				is_controlled_by = ROOT
			}
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			ROOT = {
				country_event = {
					id = france.3
				}
			}
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_alpine_forts
				}
			}
		}
	}
	focus = {
		id = FRA_artillery_focus
		icon = GFX_goal_generic_army_artillery2
		cost = 5
		prerequisite = {
			focus = FRA_fortification_focus
			focus = FRA_motorized_focus
		}
		x = 2
		y = 1
		relative_position_id = FRA_fortification_focus
		ai_will_do = {
			factor = 2
		}
		
		completion_reward = {
			army_experience = 25
			add_tech_bonus = {
				name = FRA_artillery_focus
				bonus = 1
				uses = 1
				category = artillery
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_infantry_tanks
		icon = GFX_focus_generic_combined_arms
		cost = 5
		prerequisite = {
			focus = FRA_fortification_focus
			focus = FRA_motorized_focus
		}
		x = -1
		y = 2
		relative_position_id = FRA_motorized_focus

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			add_tech_bonus = {
				name = FRA_infantry_tanks
				bonus = 1
				uses = 1
				category = armor
			}
			IF = {
				limit = { has_dlc = "Arms Against Tyranny" }
				mio:FRA_renault_organization = {
					add_mio_funds = 2000
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = FRA_hotchkiss
			}

		}
	}
	focus = {
		id = FRA_the_somua_s35
		icon = GFX_goal_FRA_somua
		cost = 10
		prerequisite = {
			focus = FRA_infantry_tanks
		}
		x = 1
		y = 1
		relative_position_id = FRA_infantry_tanks

		ai_will_do = {
			factor = 1
		}
		
		bypass = {
			has_tech = improved_medium_tank
		}

		completion_reward = {
			add_tech_bonus = {
				name = FRA_the_somua_s35
				ahead_reduction = 1
				bonus = 1
				uses = 1
				category = cat_medium_armor
			}
		}
	}
	focus = {
		id = FRA_army_reform
		icon = GFX_goal_FRA_army_reform
		cost = 5
		prerequisite = {
			focus = FRA_infantry_tanks
		}
		prerequisite = {
			focus = FRA_the_mas38
		}
		prerequisite = {
			focus = FRA_artillery_focus
		}
		x = 0
		y = 2
		relative_position_id = FRA_artillery_focus
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {
			add_war_support = 0.05
			remove_ideas = FRA_victors_of_wwi
			add_doctrine_cost_reduction = {
				name = FRA_army_reform
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}	
			
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:FRA_hotchkiss_organization = {
					add_mio_funds = 1500
					add_mio_research_bonus = 0.02
				}
			}			
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
	}
	focus = {
		id = FRA_commandos_marine
		icon = GFX_goal_generic_amphibious_assault
		cost = 10
		prerequisite = {
			focus = FRA_army_reform
		}
		x = -2
		y = 1
		relative_position_id = FRA_army_reform
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = FRA_commando_marine
			add_tech_bonus = {
				name = FRA_commandos_marine
				#category = tp_tech
				category = marine_tech
				uses = 2
				bonus = 1
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_doctrine_cost_reduction = {
					name = special_forces_bonus
					cost_reduction = 0.4
					uses = 1
					category = cat_marines_doctrine
					
				}				
			}
			unlock_decision_tooltip = { decision = cite_a_marine_unit show_effect_tooltip = yes } 
		}
	}
	focus = {
		id = FRA_foreign_legion
		icon = GFX_goal_generic_special_forces
		cost = 10
		prerequisite = {
			focus = FRA_army_reform
		}
		x = 0
		y = 1
		relative_position_id = FRA_army_reform
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = special_forces
			add_doctrine_cost_reduction = {
				name = FRA_foreign_legion
				cost_reduction = 0.5
				uses = 1
				category = land_doctrine
			}			
			add_tech_bonus = {
				name = special_forces_bonus
				bonus = 1
				uses = 1
				category = para_tech
				category = mountaineers_tech
				category = r56_desert_infantry_tech
				category = r56_jaeger_infantry_tech
				category = r56_jungle_infantry_tech				
			}
			add_tech_bonus = {
                name = special_forces_bonus
                bonus = 1.0
                uses = 1
                category = r56_special_forces_training_tech 
            }	
            hidden_effect = {
                set_country_flag = cite_an_airborne_unit_flag
            }
            unlock_decision_tooltip = { decision = cite_an_airborne_unit show_effect_tooltip = yes }							
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_africa_army
		icon = GFX_focus_por_luso_tropicalism
		cost = 10
		prerequisite = {
			focus = FRA_foreign_legion
		}
		x = -1
		y = 1
		relative_position_id = FRA_foreign_legion
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
            add_tech_bonus = {
                name = infantry_artillery_bonus
                bonus = 1
                uses = 2
                category = summer_clothing_tech
            }
            add_tech_bonus = {
                name = infantry_artillery_bonus
                bonus = 1
                uses = 1
                category = r56_jungle_infantry_tech
			}
            add_tech_bonus = {
                name = infantry_artillery_bonus
                bonus = 1
                uses = 1
                category = r56_desert_infantry_tech
            }			
			add_tech_bonus = {
				name = FRA_army_reform
				bonus = 1
				uses = 1
				category = support_tech
			}
		}
	
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_colonial_troops
		icon = GFX_goal_indochina_troupes_coloniales
		cost = 10
		prerequisite = {
			focus = FRA_foreign_legion
		}
		x = 1
		y = 1
		relative_position_id = FRA_foreign_legion
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = FRA_desert_equipment
		}
	}
	focus = {
		id = FRA_division_cuirassee
		icon = GFX_focus_generic_army_tanks2
		x = 2
		y = 1
		prerequisite = { focus = FRA_army_reform }
		mutually_exclusive = { }
		relative_position_id = FRA_army_reform
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = basic_medium_tank_chassis
				has_tech = basic_heavy_tank_chassis
			}
			else = {
				has_tech = basic_heavy_tank
				has_tech = basic_medium_tank
			}
			
		}

		completion_reward = {
			division_template = {
				name = "Division Cuirassée" 	
				division_names_group = FRA_ARM_01

				regiments = {
					medium_armor = { x = 0 y = 0 }		
					heavy_armor = { x = 0 y = 1 }		
					medium_armor = { x = 1 y = 0 }		
					medium_armor = { x = 1 y = 1 }		
					motorized = { x = 2 y = 0 }			
					motorized = { x = 2 y = 1 }
					motorized = { x = 2 y = 2 }
				}
				support = {
					recon = { x = 0 y = 0 }      		
					artillery = { x = 0 y = 1 }
					engineer = { x = 0 y = 2 }
				}
			}
			capital_scope = {
				create_unit = {
					division = "name = \"1re Division Cuirassée\" division_template = \"Division Cuirassée\" start_experience_factor = 0.7"  
					owner = ROOT
				}
				create_unit = {
					division = "name = \"2me Division Cuirassée\" division_template = \"Division Cuirassée\" start_experience_factor = 0.7"  
					owner = ROOT
				}
			}
			random_country_division = {
				limit = {
					division_has_battalion_in_template = medium_armor
					division_has_battalion_in_template = heavy_armor

					division_has_battalion_in_template = motorized
					is_unit_template_reserves = no
					unit_strength > 0.5
				}
				add_history_entry = {
					key = "This unit has been recognised among its peers and rewarded accordingly."
					subject = "Division Honor"
					allow = yes
				}
				add_unit_medal_to_latest_entry = {
					unit_medals = order_of_liberation #if possible make the order of liberation unique and choose a new medal to reduce fuel cost
				}										
			}			
		}
	}
	focus = {
		id = FRA_mechanized_focus
		icon = GFX_goal_mechanized_offensive
		cost = 10
		prerequisite = {
			focus = FRA_motorized_focus
		}
		x = 1
		y = 1
		relative_position_id = FRA_motorized_focus
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_tech_bonus = {
				name = FRA_mechanized_focus
				bonus = 1
				uses = 1
				category = cat_mechanized_equipment
			}
			#add_tech_bonus = {
			#	bonus = 1
			#	uses = 2
			#	category = cat_light_armor
			#	category = cat_medium_armor
			#}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = FRA_tank_modernisation
		icon = GFX_focus_chi_army_reform
		cost = 10
		prerequisite = {
			focus = FRA_mechanized_focus
		}
		x = 0
		y = 1
		relative_position_id = FRA_mechanized_focus
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = FRA_protected_by_the_maginot_line
				}
				swap_ideas = {
					add_idea = FRA_protected_by_the_maginot_line_attack
					remove_idea = FRA_protected_by_the_maginot_line
				}
			}
		}
	}
	#focus = { #ig de Gaulle would like something like german stormtroopers or grenadiers to support armored forces in his doctrine - Darkneon312
	#	id = FRA_shock_troops
	#	icon = GFX_focus_generic_manpower
	#	cost = 10
	#	prerequisite = {
	#		focus = FRA_tank_modernisation
	#	}
	#	x = -1
	#	y = 1
	#	relative_position_id = FRA_tank_modernisation
	#	
	#	ai_will_do = {
	#		factor = 1
	#	}
	#	completion_reward = {
	#		add_tech_bonus = {
	#			name = FRA_legion
	#			bonus = 1
	#			uses = 2
	#			category = r56_shock_infantry_tech
	#		}
	#	}
	#}
	focus = {
		id = FRA_light_medium_armor
		icon = GFX_goal_generic_tank_map
		prerequisite = { focus = FRA_mechanized_focus }
		x = 1
		y = 2
		relative_position_id = FRA_mechanized_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 15
			add_tech_bonus = {
				name = FRA_light_medium_armor
				bonus = 1
				uses = 2
				category = cat_light_armor
				category = cat_medium_armor
			}
		}
	}
	#### NAVAL SECTION ####
	
	focus = {
		id = FRA_CHEDN
		icon = GFX_goal_generic_naval_effort2
		cost = 5
		relative_position_id = FRA_giraud_plan
		x = 11
		y = 0
		
		ai_will_do = {
			factor = 1
		}
		
		bypass = {

		}		
		completion_reward = {
			add_war_support = 0.05
			army_experience = 15
			air_experience = 15
			navy_experience = 20
		}
	}
	
	focus = {
		id = FRA_experiment_castex_strategies
		icon = GFX_goal_FRA_castex_book
		cost = 15
		prerequisite = {
			focus = FRA_CHEDN
		}
		mutually_exclusive = {
			focus = FRA_lay_down_the_jean_bart
		}
		x = -3
		y = 1
		relative_position_id = FRA_CHEDN
		ai_will_do = {
			factor = 0.5
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		bypass = {
			amount_research_slots > 5
		}		
		completion_reward = {
			add_ideas = FRA_castex_strategies1_idea
			add_timed_idea = {
				idea = FRA_revising_naval_strategy
				days = 600
			}
			add_doctrine_cost_reduction = {
				name = SPR_navy_modernization
				cost_reduction = 0.5
				uses = 3
				category = trade_interdiction_tree
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1
					uses = 2
					category = naval_minelaying
				}	
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_adapt_young_school_concepts
		icon = GFX_goal_generic_navy_cruiser
	 	prerequisite = {
			focus = FRA_experiment_castex_strategies
		}
		x = -1
		y = 1
		relative_position_id = FRA_experiment_castex_strategies
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}

		available_if_capitulated = yes
		
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			swap_ideas = {
				remove_idea = FRA_castex_strategies1_idea
				add_idea = FRA_castex_strategies2_idea
			}
		}
	}
	
	focus = {
		id = FRA_undersea_combat
		icon = GFX_goal_generic_navy_submarine
	 	prerequisite = { focus = FRA_adapt_young_school_concepts }
		x = -1
		y = 1
		relative_position_id = FRA_adapt_young_school_concepts
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			#navy_experience = 25
			add_tech_bonus = {
				name = FRA_undersea_combat
				bonus = 1
				uses = 2
				category = ss_tech
			}
		}
	}
	
	focus = {
		id = FRA_strategic_manoeuvre
		icon = GFX_goal_defensive_position2
	 	prerequisite = {
			focus = FRA_adapt_young_school_concepts
		}
		x = 0
		y = 2
		relative_position_id = FRA_adapt_young_school_concepts
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			swap_ideas = {
				remove_idea = FRA_castex_strategies2_idea
				add_idea = FRA_castex_strategies3_idea
			}
		}
	}
	
	focus = {
		id = FRA_lay_down_the_jean_bart
		icon = GFX_goal_generic_expand_the_naval_industry
		cost = 10
		prerequisite = {
			focus = FRA_CHEDN
		}
		mutually_exclusive = {
			focus = FRA_experiment_castex_strategies
		}
		x = 6
		y = 0
		relative_position_id = FRA_experiment_castex_strategies
		ai_will_do = {
			factor = 0.5
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		bypass = {
			amount_research_slots > 5
		}		
		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_heavy_2
						creator = "FRA" 
						version_name = "Richelieu Class"
					}
					requested_factories = 1
					progress = 0.35
					amount = 1
				}
			}
			else = {
				add_equipment_production = {
					equipment = {
						type = battleship_2
						creator = "FRA" 
					}
					requested_factories = 1
					progress = 0.35
					amount = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_mediterranean_special_measures
		icon = GFX_goal_navy_schematics
		cost = 10
		prerequisite = {
			focus = FRA_experiment_castex_strategies
			focus = FRA_lay_down_the_jean_bart
		}
		x = -3
		y = 1
		relative_position_id = FRA_lay_down_the_jean_bart
		ai_will_do = {
			factor = 1
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = FRA_improved_screen_ships
				bonus = 1
				uses = 1
				category = dd_tech
				category = cl_tech
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1
					uses = 2
					category = asw_tech
				}	
			}			
			21 = {
				if = {
					limit = {
						any_province_building_level = {
							province = {
								id = 11834
							}
							level < 2
							building = coastal_bunker
						}
					}
					set_building_level = {
						type = coastal_bunker
						province = {
							id = 11834
						}
						level = 2
						instant_build = yes
					}
				}
			}		
			21 = {
				if = {
					limit = {
						any_province_building_level = {
							province = {
								id = 911
							}
							level < 2
							building = coastal_bunker
						}
					}
					set_building_level = {
						type = coastal_bunker
						province = {
							id = 911
						}
						level = 2
						instant_build = yes
					}
				}
			}
			735 = {
				if = {
					limit = {
						any_province_building_level = {
							province = {
								id = 9909
							}
							level < 2
							building = coastal_bunker
						}
					}
					set_building_level = {
						type = coastal_bunker
						province = {
							id = 9909
						}
						level = 2
						instant_build = yes
					}
				}
			}
			1 = {
				if = {
					limit = {
						any_province_building_level = {
							province = {
								id = 3838
							}
							level < 2
							building = coastal_bunker
						}
					}
					set_building_level = {
						type = coastal_bunker
						province = {
							id = 3838
						}
						level = 2
						instant_build = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_the_le_hardi_class_destroyer
		icon = GFX_focus_generic_destroyer
	 	prerequisite = {
			focus = FRA_experiment_castex_strategies
			focus = FRA_lay_down_the_jean_bart
		}
		x = 1
		y = 1
		relative_position_id = FRA_experiment_castex_strategies
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_dlc = "Man the Guns"
					}
				}
				create_equipment_variant = {
					name = "Le Hardi Class"
					type = destroyer_2
					upgrades = {
						ship_torpedo_upgrade = 1
						destroyer_engine_upgrade = 1
						ship_ASW_upgrade = 1
						ship_anti_air_upgrade = 1
					}
				}
				add_equipment_production = {
					equipment = {
						type = destroyer_2
						creator = "FRA" 
						version_name = "Le Hardi Class"
					}
					requested_factories = 1
					progress = 0.2
					amount = 3
				}
			}
			if = {
				limit = { has_dlc = "Man the Guns" }
				create_equipment_variant = {
					name = "Le Hardi Class"
					type = ship_hull_light_2
					name_group = FRA_DE_HISTORICAL
					parent_version = 0
					modules = {
						fixed_ship_battery_slot = ship_light_battery_3
						fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_radar_slot = empty
						fixed_ship_engine_slot = light_ship_engine_2
						fixed_ship_torpedo_slot = ship_torpedo_2
						mid_1_custom_slot = ship_torpedo_2
						rear_1_custom_slot = ship_depth_charge_1
					}
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_2
						creator = "FRA" 
						version_name = "Le Hardi Class"
					}
					name = "Le Hardi" 
					requested_factories = 1
					progress = 0.1
					amount = 1
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_2
						creator = "FRA" 
						version_name = "Le Hardi Class"
					}
					name = "Fleuret" 
					requested_factories = 1
					progress = 0.1
					amount = 1
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_light_2
						creator = "FRA" 
						version_name = "Le Hardi Class"
					}
					name = "Épée" 
					requested_factories = 1
					progress = 0.1
					amount = 1
				}
			}
		}
	}
	
	focus = {
		id = FRA_improved_screen_ships
		icon = GFX_goal_generic_navy_cruiser
	 	prerequisite = { focus = FRA_the_le_hardi_class_destroyer }
		x = 0
		y = 1
		relative_position_id = FRA_the_le_hardi_class_destroyer
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_improved_screen_ships
				bonus = 2.0
				uses = 1
				category = cl_tech
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = FRA_improved_screen_ships
					bonus = 2
					uses = 1
					technology = improved_medium_battery
					technology = advanced_medium_battery
				}
			}
		}
	}
	
	focus = {
		id = FRA_capital_ship_focus
		icon = GFX_goal_generic_navy_battleship
	 	prerequisite = {
			focus = FRA_experiment_castex_strategies
			focus = FRA_lay_down_the_jean_bart
		}
		mutually_exclusive = {
			focus = FRA_carrier_focus
		}
		x = -2
		y = 2
		relative_position_id = FRA_lay_down_the_jean_bart
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		

		completion_reward = {
			add_tech_bonus = {
				name = FRA_capital_ship_focus
				bonus = 1
				uses = 2
				category = bb_tech
				category = bc_tech
			}
		}
	}
	
	focus = {
		id = FRA_carrier_focus
		icon = GFX_goal_generic_navy_carrier
	 	prerequisite = {
			focus = FRA_lay_down_the_jean_bart
		}
		mutually_exclusive = {
			focus = FRA_capital_ship_focus
		}
		x = 0
		y = 2
		relative_position_id = FRA_lay_down_the_jean_bart
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_carrier_focus
				bonus = 1
				uses = 2
				category = cv_tech
			}
		}
	}
	
	focus = {
		id = FRA_darlan_doctrine
		icon = GFX_goal_FRA_darlan_doctrines
		cost = 10
		prerequisite = {
			focus = FRA_capital_ship_focus
			focus = FRA_carrier_focus
		}
		x = 1
		y = 1
		relative_position_id = FRA_capital_ship_focus
		ai_will_do = {
			factor = 1
		}
		available = {
			NOT = {
				has_government = communism
				has_completed_focus = FRA_experiment_castex_strategies
			}
		}
		
		completion_reward = {
			navy_experience = 50
			add_ideas = FRA_darlan_doctrine_idea
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_carrier_planes
		icon = GFX_goal_generic_air_fighter

	 	prerequisite = { focus = FRA_carrier_focus }
		x = 1
		y = 1
		relative_position_id = FRA_carrier_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_carrier_focus
				bonus = 1.0
				uses = 2
				category = naval_air
			}
		}
	}
	
	focus = {
		id = FRA_naval_construction_program
		icon = GFX_goal_navy_funding
		cost = 10
		prerequisite = {
			focus = FRA_improved_screen_ships
			focus = FRA_capital_ship_focus
			focus = FRA_carrier_focus
		}
		#prerequisite = {
		#	focus = FRA_mediterranean_special_measures
		#}
		x = 1
		y = 1
		relative_position_id = FRA_improved_screen_ships
		
		ai_will_do = {
			factor = 0.5
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		completion_reward = {
			add_timed_idea = {
				idea = FRA_naval_construction_program1_idea
				days = 730
			}
			add_doctrine_cost_reduction = {
				name = FRA_naval_construction_program
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
			navy_experience = 25
			21 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			14 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			21 = {
				if = {
					limit = {
						is_controlled_by = ROOT
					}
					add_building_construction = {
						type = naval_base
						province = 11834
						level = 2
						instant_build = yes
					}
				}
			}
			459 = {
				if = {
					limit = {
						is_controlled_by = ROOT
					}
					add_building_construction = {
						type = naval_base
						province = 1145
						level = 2
						instant_build = yes
					}
				}
			}
			14 = {
				if = {
					limit = {
						is_controlled_by = ROOT
					}
					add_building_construction = {
						type = naval_base
						province = 3552
						level = 2
						instant_build = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	
	focus = {
		id = FRA_naval_gunnery
		icon = GFX_goal_generic_admirality
		cost = 10
		prerequisite = {
			focus = FRA_naval_construction_program
		}
		x = -1
		y = 1
		relative_position_id = FRA_naval_construction_program
		ai_will_do = {
			factor = 2
		}
		allow_branch = {
			has_dlc = "Man the Guns"
		}
		
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 1
				uses = 1
				category = naval_gunnery_tech
			}
			add_tech_bonus = {
				name = SPR_navy_modernization
				bonus = 1
				uses = 2
				category = naval_shell_tech
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_increase_repair_capabilities
		icon = GFX_focus_generic_shipbuilding
		prerequisite = {
			focus = FRA_naval_construction_program
		}
		x = 0
		y = 2
		relative_position_id = FRA_naval_construction_program

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}

		bypass = {

		}

		
		
		

		completion_reward = {		
			add_ideas = ENG_expand_the_repair_yards
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	
	focus = {
		id = FRA_standardisation_engine
		icon = GFX_goal_generic_air_naval_bomber
		cost = 10
		prerequisite = {
			focus = FRA_naval_construction_program
		}
		x = 1
		y = 1
		relative_position_id = FRA_naval_construction_program
		ai_will_do = {
			factor = 1
		}
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = ss_bonus
				bonus = 1
				uses = 1
				category = ss_tech
			}		
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1
					uses = 2
					category = torpedo_equipment
				}
				
			}			
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	#focus = {
	#	id = FRA_successor_to_the_surcouf
	#	icon = GFX_goal_generic_navy_submarine
	#	cost = 10
	#	prerequisite = {
	#		focus = FRA_standardisation_engine
	#	}
	#	mutually_exclusive = {
	#		focus = FRA_prioritize_the_joffre
	#	}
	#	x = 1
	#	y = 1
	#	relative_position_id = FRA_standardisation_engine
	#	ai_will_do = {
	#		factor = 1
	#		modifier = {
	#			factor = 10
	#			has_completed_focus = FRA_lay_down_the_jean_bart
	#		}
	#	}
	#	available = {
	#		any_state = {
	#			is_coastal = yes
	#			is_controlled_by = ROOT
	#		}
	#	}
	#	
	#	completion_reward = {
	#		
	#	}
	#	search_filters = { FOCUS_FILTER_RESEARCH }
	#}
	
	focus = {
		id = FRA_prioritize_the_joffre
		icon = GFX_goal_carrier
		prerequisite = {
			focus = FRA_naval_construction_program
			focus = FRA_carrier_focus
		}
		#mutually_exclusive = {
		#	focus = FRA_successor_to_the_surcouf
		#}
		x = 0
		y = 3
		relative_position_id = FRA_carrier_focus
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0.1
				has_completed_focus = FRA_experiment_castex_strategies
			}
		}
		available = {
			NOT = {
				has_completed_focus = FRA_experiment_castex_strategies
			}
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		

		completion_reward = {
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				custom_effect_tooltip = FRA_prioritize_the_joffre_tt
				hidden_effect = {
					create_equipment_variant = {
						name = "Joffre Class"
						type = ship_hull_carrier_1
						name_group = FRA_CV_HISTORICAL
						parent_version = 0
						modules = {
							fixed_ship_deck_slot_1 = ship_deck_space
							fixed_ship_deck_slot_2 = ship_deck_space
							fixed_ship_anti_air_slot = ship_anti_air_1
							fixed_ship_radar_slot = empty
							fixed_ship_engine_slot = carrier_ship_engine_2
							fixed_ship_secondaries_slot = dp_ship_secondaries_1
							front_1_custom_slot = empty
						}
					}
					add_equipment_production = {
						equipment = {
							type = ship_hull_carrier_1
							creator = "FRA" 
							version_name = "Joffre Class"
						}
						requested_factories = 1
						progress = 0.40
						amount = 1
					}
				}	
			}
			else = {
				add_equipment_production = {
					equipment = {
						type = carrier_2
						creator = "FRA" 
					}
					requested_factories = 1
					progress = 0.40
					amount = 1
				}
			}
		}
	}
	
	focus = {
		id = FRA_colonial_naval_bases
		icon = GFX_goal_generic_build_navy
	 	prerequisite = { focus = FRA_lay_down_the_jean_bart }
		x = 2
		y = 1
		relative_position_id = FRA_lay_down_the_jean_bart
		cost = 5
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		available_if_capitulated = yes

		completion_reward = {
			459 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_building_construction = {
						type = naval_base
						level = 3
						province = 1145
						instant_build = yes
					}
				}
			}
			272 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_building_construction = {
						type = naval_base
						level = 3
						province = 4948
						instant_build = yes
					}
				}
			}
			539 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_building_construction = {
						type = naval_base
						level = 3
						province = 5139
						instant_build = yes
					}
				}
			}
			286 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_building_construction = {
						type = naval_base
						level = 3
						province = 4401
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = FRA_develop_colonial_dockyards
		icon = GFX_goal_generic_construct_naval_dockyard
	 	prerequisite = { focus = FRA_colonial_naval_bases }
		x = 0
		y = 1
		relative_position_id = FRA_colonial_naval_bases
		cost = 10
		available = {
			any_state = {
				is_coastal = yes
				is_controlled_by = ROOT
			}
		}
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			459 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			272 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
			286 = {
				if = {
					limit = { 
						OR = {
							is_controlled_by = ROOT
							CONTROLLER = {
								is_puppet_of = ROOT
							}
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}	
	#### AIR SECTION ####
	focus = {
		id = FRA_interwar_experience
		icon = GFX_goal_generic_CAS
		#prerequisite = {
		#	focus = FRA_CHEDN
		#}
		cost = 10
		x = 7
		y = 0
		relative_position_id = FRA_CHEDN
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {
			air_experience = 40
			add_doctrine_cost_reduction = {
				name = FRA_interwar_experience
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_air_bases
		icon = GFX_goal_generic_build_airforce
		cost = 10
		prerequisite = {
			focus = FRA_interwar_experience
			focus = FRA_form_the_first_strategic_bombing_unit
		}
		x = -1
		y = 1
		relative_position_id = FRA_interwar_experience
		ai_will_do = {
			factor = 0.5
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_air_bases
					technology = photo_reconnaisance
					bonus = 0.75
					uses = 1
				}	
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				add_tech_bonus = {
					name = scout_plane
					bonus = 1.0
					uses = 1
					category = cat_scout_plane
				}				
			}					
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	
	focus = {
		id = FRA_parachute_battalions
		icon = GFX_focus_generic_paratrooper
		cost = 10
		prerequisite = {
			focus = FRA_interwar_experience
		}
		x = 0
		y = 2
		relative_position_id = FRA_interwar_experience
		ai_will_do = {
			factor = 1
		}
		
		
		
		completion_reward = {
			add_tech_bonus = {
                name = special_forces_bonus
				bonus = 1
				uses = 1
				category = para_tech
				category = transport_plane_tech
			}
			add_tech_bonus = {
                name = special_forces_bonus
                bonus = 1.0
                uses = 1
                category = r56_special_forces_training_tech 
            }			
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_form_the_first_strategic_bombing_unit
		icon = GFX_goal_generic_air_doctrine
		cost = 10
		#prerequisite = {
		#	focus = FRA_CHEDN
		#}
		x = 2
		y = 0
		relative_position_id = FRA_interwar_experience
		ai_will_do = {
			factor = 0.5
		}
		available = {
			#has_tech = strategic_bomber1
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = FRA_form_the_first_strategic_bombing_unit
				bonus = 1
				uses = 1
				category = cat_strategic_bomber
			}
			#add_equipment_to_stockpile = {
			#	type = strat_bomber_equipment_1
			#	amount = 12
			#	producer = FRA
			#}
			FRA_air_force_improvement = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_support_the_ecole_de_lair
		icon = GFX_focus_generic_military_academy
		cost = 10
		prerequisite = {
			focus = FRA_form_the_first_strategic_bombing_unit
			focus = FRA_interwar_experience
		}
		x = -1
		y = 1
		relative_position_id = FRA_form_the_first_strategic_bombing_unit
		ai_will_do = {
			factor = 0.5
		}
		available = {
			
		}
		
		completion_reward = {
			add_ideas = FRA_ecole_de_lair_idea
			
			FRA_air_force_improvement = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_faire_face
		icon = GFX_focus_generic_military_mission
		cost = 10
		prerequisite = {
			focus = FRA_support_the_ecole_de_lair
		}
		x = 1
		y = 1
		relative_position_id = FRA_support_the_ecole_de_lair
		ai_will_do = {
			factor = 0.5
		}
		available = {
			
		}
		
		completion_reward = {
			air_experience = 10
			add_doctrine_cost_reduction = {
				name = FRA_faire_face
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			}
			FRA_air_force_improvement = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_purchase_american_fighters
		icon = GFX_goal_fighters_usa
		cost = 5
		prerequisite = {
			focus = FRA_form_the_first_strategic_bombing_unit
		}
		x = 1
		y = 1
		relative_position_id = FRA_form_the_first_strategic_bombing_unit
		ai_will_do = {
			factor = 0.5
		}
		available = {
			#USA_will_support = yes
		}
		bypass = {
			OR = {
				has_war_with = USA
				NOT = { country_exists = USA }
			}
		}
		
		completion_reward = {
			add_equipment_to_stockpile = {
				type = small_plane_airframe_0
				amount = 100
				producer = USA
			}
			USA = {
				add_political_power = 50
			}
		}
		search_filters = { FOCUS_FILTER_MILITARY_EQUIPMENT }
	}
	
	focus = {
		id = FRA_modernisation_program
		icon = GFX_focus_usa_escort_fighters
		cost = 10
		prerequisite = {
			focus = FRA_form_the_first_strategic_bombing_unit
		}
		x = 2
		y = 2
		relative_position_id = FRA_form_the_first_strategic_bombing_unit
		ai_will_do = {
			factor = 5
		}
		available = {
			
		}
		
		completion_reward = {
			air_experience = 15
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_modernisation_program
					bonus = 0.75
					uses = 1
					category = light_air
				}
				add_tech_bonus = {
					name = FRA_modernisation_program
					technology = engines_3
					bonus = 0.5
					uses = 1
				}
			}
			else = {
				if = {
					limit = {
						NOT = {
							has_tech = heavy_fighter1
						}
					}
					custom_effect_tooltip = FRA_finalize_the_potez_630_tt
				}
				else = {
					add_tech_bonus = {
						name = FRA_modernisation_program
						bonus = 0.5
						uses = 1
						category = cat_heavy_fighter
					}
				}
				hidden_effect = {
					if = {
						limit = {
							NOT = {
								has_tech = heavy_fighter1
							}
						}
						set_technology = { heavy_fighter1 = 1 }
					}
				}
				add_tech_bonus = {
					name = FRA_modernisation_program
					bonus = 0.5
					uses = 1
					category = light_fighter
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_enact_plan_v
		icon = GFX_goal_generic_air_production
		cost = 10
		prerequisite = {
			focus = FRA_support_the_ecole_de_lair
		}
		prerequisite = {
			focus = FRA_modernisation_program
		}
		x = -3
		y = 1
		relative_position_id = FRA_modernisation_program
		ai_will_do = {
			factor = 0.5
		}
		
		completion_reward = {
			add_timed_idea = {
				idea = FRA_plan_v_idea
				days = 730
			}
			
			FRA_air_force_improvement = yes
		}
	}
	
	focus = {
		id = FRA_develop_bomber_fleet
		icon = GFX_goal_generic_air_bomber
		cost = 10
		prerequisite = {
			focus = FRA_enact_plan_v
		}
		x = 3
		y = 1
		relative_position_id = FRA_enact_plan_v
		ai_will_do = {
			factor = 0.5
		}
		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_develop_bomber_fleet
					ahead_reduction = 1
					bonus = 1
					uses = 1
					category = medium_air
					category = heavy_air
				}
			}
			else = {
				add_tech_bonus = {
					name = FRA_develop_bomber_fleet
					ahead_reduction = 1
					bonus = 1
					uses = 1
					category = tactical_bomber
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_follow_up_on_the_potez
		icon = GFX_goal_zero_blue
		cost = 10
		prerequisite = {
			focus = FRA_develop_bomber_fleet
		}
		x = 0
		y = 1
		relative_position_id = FRA_develop_bomber_fleet
		ai_will_do = {
			factor = 0.5
		}
		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_follow_up_on_the_potez
					bonus = 0.75
					uses = 1
					category = medium_air
				}
				add_tech_bonus = {
					name = FRA_follow_up_on_the_potez
					category = radar_tech
					bonus = 0.5
					uses = 1
				}
				add_breakthrough_progress = {
					specialization = specialization_air
					value = 0.25
				}
			}
			else = {
				add_tech_bonus = {
					name = FRA_follow_up_on_the_potez
					bonus = 1
					uses = 1
					category = cat_heavy_fighter
				}
				add_breakthrough_progress = {
					specialization = specialization_air
					value = 0.25
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_provide_aerial_support
		icon = GFX_goal_generic_fortify_aa
		cost = 10
		prerequisite = {
			focus = FRA_enact_plan_v
		}
		x = 0
		y = 1
		relative_position_id = FRA_enact_plan_v
		ai_will_do = {
			factor = 0.5
		}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_provide_aerial_support
					technology = aa_cannon_2
					ahead_reduction = 0.5
					bonus = 0.75
					uses = 1
				}
				add_tech_bonus = {
					name = FRA_provide_aerial_support
					bonus = 0.5
					uses = 1
					category = medium_air
				}
			}
			else = {
				add_tech_bonus = {
					name = FRA_provide_aerial_support
					ahead_reduction = 1
					bonus = 1
					uses = 1
					category = cas_bomber
				}
			}

		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_new_french_fighter
		icon = GFX_goal_generic_air_fighter2
		cost = 10
		prerequisite = {
			focus = FRA_enact_plan_v
		}
		x = 1
		y = 2
		relative_position_id = FRA_enact_plan_v
		ai_will_do = {
			factor = 0.5
		}
		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_new_french_fighter
					technology  = improved_small_airframe
					technology = advanced_small_airframe
					ahead_reduction = 0.5
					bonus = 1
					uses = 1
				}
			}
			else = {
				add_tech_bonus = {
					name = FRA_new_french_fighter
					ahead_reduction = 0.5
					bonus = 1
					uses = 1
					category = light_fighter
				}
			}
	
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_barrage_david
		icon = GFX_goal_generic_radar
		cost = 10
		prerequisite = {
			focus = FRA_enact_plan_v
			focus = FRA_naval_construction_program
		}
		x = -1
		y = 2
		relative_position_id = FRA_enact_plan_v
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			air_experience = 25
			navy_experience = 25
			add_tech_bonus = {
				name = radar_focus
				bonus = 1
				uses = 2
				category = radar_tech
			}
			FRA_air_force_improvement = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_jet_effort
		icon = GFX_focus_rocketry
		cost = 10
		prerequisite = {
			focus = FRA_new_french_fighter
		}
		prerequisite = {
			focus = FRA_barrage_david
		}
		x = 1
		y = 1
		relative_position_id = FRA_barrage_david
		
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_tech_bonus = {
				name = FRA_jet_effort
				bonus = 1
				uses = 3
				category = jet_technology
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.50
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = r56_generic_jet_idea
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	
	focus = {
		id = FRA_supprt_the_aeronavale
		icon = GFX_goal_generic_air_naval_bomber
		cost = 10
		prerequisite = {
			focus = FRA_enact_plan_v
			focus = FRA_naval_construction_program
		}
		x = -3
		y = 2
		relative_position_id = FRA_enact_plan_v
		ai_will_do = {
			factor = 0.5
		}
		
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = FRA_supprt_the_aeronavale
					bonus = 1
					uses = 2
					category = medium_air
					category = heavy_air
				}
				add_tech_bonus = {
					name = FRA_supprt_the_aeronavale
					category = torpedo_equipment
					bonus = 1
					uses = 1
				}
			}
			else = {
				add_tech_bonus = {
					name = air_bonus
					bonus = 1
					uses = 2
					category = maritime
				}
				add_tech_bonus = {
					name = air_bonus
					bonus = 1
					uses = 1
					category = naval_bomber
				}
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = { #Here because of the stupid error log
		id = FRA_the_council_of_rambouillet
		icon = GFX_goal_generic_bills
		cost = 5
		x = 2
		y = 0
		allow_branch = {
			always = no
		}
		ai_will_do = {
			factor = 0
		}
		completion_reward = {
		}
	}
}
