focus_tree = {
	id = french_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = FRA
		}
	}

	initial_show_position = {
		x = 0
	}

	
	default = no
	focus = {
		id = FRA_devalue_the_franc
		icon = GFX_focus_fra_devalue_the_franc
		x = 0
		y = 0
		
		prerequisite = {}
		mutually_exclusive = { }
		cost = 5
			ai_will_do = {
			factor = 1
		}
		available = {
			
		}
		
		bypass = {

		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_timed_idea = {
				idea = FRA_devalue_the_franc
				days = 365
			}
		}
	}
	
	focus = {
			id = FRA_invest_in_the_metropole
			icon = GFX_goal_generic_construct_civilian
			x = 0
			y = 1
			
			prerequisite = { focus = FRA_devalue_the_franc }
			mutually_exclusive = { }
			relative_position_id = FRA_devalue_the_franc
			cost = 10
	
			ai_will_do = {
				factor = 1
			}
	
			available = {
				
			}
			
			bypass = {
	
			}
	
			cancel_if_invalid = yes
			continue_if_invalid = no
			available_if_capitulated = no
	
			search_filters = { FOCUS_FILTER_STABILITY }
			completion_reward = {
				add_stability = 0.05
			}
		}	
	focus = {
		id = FRA_metropolitan_france
		icon = GFX_focus_generic_industry_1
		available = {
		}
		x = 0
		y = 2
		cost = 5
		ai_will_do = {
			factor = 1
		}		
		prerequisite = { focus = FRA_invest_in_the_metropole }
		relative_position_id = FRA_devalue_the_franc
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		bypass = {
			
		}

		complete_tooltip = {
			every_owned_state = {
				limit = { 
					has_state_flag = FRA_industrial_expansion_target
				}
				add_extra_state_shared_building_slots = 2
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_state = {
				limit = { 
					is_core_of = ROOT 
					NOT = {
						has_state_flag = FRA_industrial_expansion_target
					}	
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = FRA_industrial_expansion_target
				random_neighbor_state = {
					limit = { 
						is_core_of = ROOT 	
						is_owned_by = ROOT
						NOT = {
							has_state_flag = FRA_industrial_expansion_target
						}	
					}
					add_extra_state_shared_building_slots = 2
					set_state_flag = FRA_industrial_expansion_target
				}
			}
		}
	}

	focus = {
		id = FRA_industrial_expansion
		icon = GFX_focus_generic_industry_3
		available = {
		}
		prerequisite = { focus = FRA_metropolitan_france focus = FRA_algerie_france }
		x = 0
		y = 1
		relative_position_id = FRA_metropolitan_france
		cost = 10
		ai_will_do = {
			factor = 1
		}

		bypass = {
			
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		complete_tooltip = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					has_state_flag = FRA_industrial_expansion_target
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		search_filters = {  FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = FRA_industrial_expansion_effect_tt
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					has_state_flag = FRA_industrial_expansion_target
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = FRA_military_factories
		icon = GFX_goal_generic_construct_mil_factory
		available = {
		}
		prerequisite = { focus = FRA_industrial_expansion focus = FRA_colonial_industry }
		x = 2
		y = 1
		relative_position_id = FRA_industrial_expansion
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		bypass = {
			
		}

		complete_tooltip = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					OR = {
						has_state_flag = FRA_industrial_expansion_target
						has_state_flag = FRA_colonial_industry_target
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = FRA_military_factories_effect_tt
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					OR = {
						has_state_flag = FRA_industrial_expansion_target
						has_state_flag = FRA_colonial_industry_target
					}
				}
				add_extra_state_shared_building_slots = 2 #States already got 2 building slots and 2 civs in previous focuses, so let's just add 2 more slots and mils here
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}				
		}
	}


	focus = {
		id = FRA_algerie_france
		icon = GFX_focus_generic_industry_1
		available = {
		}
		x = 2
		y = 1
		cost = 5
		ai_will_do = {
			factor = 0.2
		}
		prerequisite = { focus = FRA_invest_in_the_metropole focus = FRA_invest_in_the_colonies }
		relative_position_id = FRA_invest_in_the_metropole
		available_if_capitulated = yes

		bypass = {
			
		}		

		complete_tooltip = {
			every_state = {
				limit = { 
					OR = {
						state = 459
						state = 460
						state = 513
					}
					is_owned_or_subject_trigger = yes	
					OR = {	
						has_state_flag = FRA_industrial_expansion_target
						has_state_flag = FRA_colonial_industry_target
					}
				}
				add_extra_state_shared_building_slots = 2
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_state = {
				limit = { 
					OR = {
						state = 459
						state = 460
						state = 513
					}
					NOT  = {
						has_state_flag = FRA_industrial_expansion_target
						has_state_flag = FRA_colonial_industry_target
					}
					is_owned_or_subject_trigger = yes	
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = FRA_industrial_expansion_target
				set_state_flag = FRA_colonial_industry_target
				random_neighbor_state = {
					limit = { 
						OR = {
							state = 459
							state = 460
							state = 513
						}
						is_owned_or_subject_trigger = yes
						NOT  = {
							has_state_flag = FRA_industrial_expansion_target
							has_state_flag = FRA_colonial_industry_target
						}		
					}
					add_extra_state_shared_building_slots = 2
					set_state_flag = FRA_industrial_expansion_target
					set_state_flag = FRA_colonial_industry_target
				}
			}
		}
	}	
	focus = {
		id = FRA_invest_in_the_colonies
		icon = GFX_goal_generic_construct_civilian
		x = 4
		y = 1
		
		prerequisite = { focus = FRA_devalue_the_franc }
		mutually_exclusive = { }
		relative_position_id = FRA_devalue_the_franc
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			any_owned_state = {
				not = { is_core_of = ROOT }
				not = { is_on_continent = europe }
				is_controlled_by = ROOT
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			every_owned_state = {
				limit = {
					not = { is_core_of = ROOT }
					not = { is_on_continent = europe }
				}
				add_compliance = 10
			}
		}
	}
	focus = {
		id = FRA_invest_in_west_africa
		icon = GFX_focus_generic_industry_1
		x = 0
		y = 1
		
		prerequisite = {focus = FRA_invest_in_the_colonies }
		mutually_exclusive = { }
		relative_position_id = FRA_invest_in_the_colonies
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_state = {
				limit = { 
					OR = {
						state = 272
						state = 780
						state = 556
						state = 779
						state = 778
						state = 781
						state = 776
						state = 777
					}	
					OWNER = { is_owned_or_subject_trigger = yes }
					NOT = {
						has_state_flag = FRA_colonial_industry_target
					}
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = FRA_colonial_industry_target
			}
		}
	}
	focus = {
		id = FRA_invest_in_indochina
		icon = GFX_focus_generic_industry_1
		x = 2
		y = 1
		
		prerequisite = { focus = FRA_invest_in_the_colonies }
		mutually_exclusive = { }
		relative_position_id = FRA_invest_in_the_colonies
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_state = {
				limit = { 
					OR = {
						state = 741
						state = 286
						state = 671
						state = 670
					}
					OWNER = { is_owned_or_subject_trigger = yes }	
					NOT = {
						has_state_flag = FRA_colonial_industry_target
					}
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = FRA_colonial_industry_target
			}
		}
	}
	focus = {
		id = FRA_invest_in_syria
		icon = GFX_focus_generic_industry_1
		x = 4
		y = 1
		
		prerequisite = {focus = FRA_invest_in_the_colonies }
		mutually_exclusive = { }
		relative_position_id = FRA_invest_in_the_colonies
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_state = {
				limit = { 
					OR = {
						state = 677
						state = 680
						state = 554
						state = 553
					}
					OWNER = { is_owned_or_subject_trigger = yes }	
					NOT = {
						has_state_flag = FRA_colonial_industry_target
					}
				}
				add_extra_state_shared_building_slots = 2
				set_state_flag = FRA_colonial_industry_target
			}
		}
	}
	focus = {
		id = FRA_colonial_industry
		icon = GFX_focus_generic_industry_3
		available = {
		}
		prerequisite = { focus = FRA_algerie_france focus = FRA_invest_in_west_africa focus = FRA_invest_in_indochina focus = FRA_invest_in_syria }
		x = 2
		y = 1
		relative_position_id = FRA_algerie_france
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		bypass = {
			
		}

		search_filters = {  FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			custom_effect_tooltip = FRA_colonial_industry_effect_tt
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					has_state_flag = FRA_colonial_industry_target
				}
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = FRA_extra_research_slot
		icon = GFX_focus_research
		available = {
			if = {
				limit = { amount_research_slots > 3 }
				num_of_factories > 75
			}
			amount_research_slots < 5
		}
		prerequisite = {
			focus = FRA_industrial_expansion
			
		}
		x = 0
		y = 1
		relative_position_id = FRA_industrial_expansion
		cost = 5

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}		
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}
	
	focus = {
		id = FRA_extra_research_slot_2
		icon = GFX_focus_research
		prerequisite = { 
			focus = FRA_colonial_industry
		}
		available = {
			if = {
				limit = { amount_research_slots > 3 }
				num_of_factories > 75
			}
			amount_research_slots < 5
		}
		x = 0
		y = 1
		relative_position_id = FRA_colonial_industry
		cost = 5

		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}
		

	#### END ####

	focus = {
		id = FRA_begin_rearmament
		icon = GFX_goal_generic_construct_mil_factory
		x = 14
		y = 0
		
		prerequisite = {}
		mutually_exclusive = { }
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_support > 0.12
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = FRA_defensive_focus
		icon = GFX_goal_generic_defence
		mutually_exclusive = { focus = FRA_aggressive_focus }
		x = -2
		y = 1
		cost = 10
		prerequisite = { focus = FRA_begin_rearmament }
		available_if_capitulated = yes
		relative_position_id = FRA_begin_rearmament
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_command_power = 30
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = maxime_weygand
		}
	}
	focus = {
		id = FRA_firepower_kills
		icon = GFX_goal_generic_army_artillery
		x = -2
		y = 1
		
		prerequisite = { focus = FRA_defensive_focus }
		mutually_exclusive = { focus = FRA_methodical_battle }
		relative_position_id = FRA_defensive_focus
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = { FRA_firepower }
		}
	}
	focus = {
		id = FRA_methodical_battle
		icon = GFX_goal_generic_cavalry
		x = 0
		y = 1
		
		prerequisite = { focus = FRA_defensive_focus }
		mutually_exclusive = { focus = FRA_firepower_kills }
		relative_position_id = FRA_defensive_focus
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = FRA_methodical_battle
				category = land_doctrine
				uses = 2
				cost_reduction = 0.65
			}
		}
	}
	focus = {
		id = FRA_fortification_focus
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = FRA_methodical_battle }
		x = 0
		y = 1
		relative_position_id = FRA_methodical_battle
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = FRA_fortification_focus
		}
	}
	focus = {
		id = FRA_alpine_forts
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = FRA_fortification_focus }
		x = 0
		y = 1
		relative_position_id = FRA_fortification_focus
		cost = 10

		available = {
			735 = { is_controlled_by = ROOT }
		}

		completion_reward = {
			ROOT = { country_event = { id = france.3 } }
			ITA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = FRA_alpine_forts
				}
			}
		}
	}
	focus = {
		id = FRA_extend_the_maginot_line
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = FRA_alpine_forts }
		x = 0
		y = 1
		relative_position_id = FRA_alpine_forts
		cost = 10

		available = {
			18 = { is_controlled_by = ROOT }
			29 = { is_controlled_by = ROOT }
			785 = { is_controlled_by = ROOT }
			has_idea = FRA_protected_by_the_maginot_line
		}
		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_infantry_focus
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = FRA_firepower_kills }
		x = 0
		y = 1
		relative_position_id = FRA_firepower_kills
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_ideas = FRA_infantry_focus
		}
	}
	focus = {
		id = FRA_artillery_focus
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = FRA_infantry_focus }
		x = 0
		y = 1
		relative_position_id = FRA_infantry_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = FRA_artillery_focus
				bonus = 1.0
				uses = 1
				category = artillery
			}
		}
	}
	focus = {
		id = FRA_heavy_armor_focus
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = FRA_artillery_focus }
		x = 0
		y = 1
		relative_position_id = FRA_artillery_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = FRA_heavy_armor_focus
				bonus = 1.0
				uses = 1
				category = cat_heavy_armor
			}
		}
	}
	focus = {
		id = FRA_division_cuirassee
		icon = GFX_focus_generic_army_tanks2
		x = 0
		y = 1
		
		prerequisite = { focus = FRA_heavy_armor_focus }
		mutually_exclusive = { }
		relative_position_id = FRA_heavy_armor_focus
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				AND = {
					has_tech = basic_heavy_tank
					has_tech = basic_medium_tank
				}
				AND = {
					has_tech = basic_heavy_tank_chassis
					has_tech = basic_medium_tank_chassis
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		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 }
				}
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				capital_scope = {
					create_unit = {
						division = "name = \"1re Division Cuirassée\" division_template = \"Division Cuirassée\" start_experience_factor = 0.7 force_equipment_variants = { heavy_tank_chassis_0 = { creator = \"FRA\" version_name = \"Char B1\"} }"  
						owner = ROOT
					}
					create_unit = {
						division = "name = \"2me Division Cuirassée\" division_template = \"Division Cuirassée\" start_experience_factor = 0.7 force_equipment_variants = { heavy_tank_chassis_0 = { creator = \"FRA\" version_name = \"Char B1\"} }"  
						owner = ROOT
					}
				}
			}
			else = {
				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
					}
				}
			}
		}
	}

	focus = {
		id = FRA_infantry_tanks
		icon = GFX_focus_generic_combined_arms
		x = 2
		y = 1
		
		prerequisite = { focus = FRA_defensive_focus focus = FRA_aggressive_focus }
		mutually_exclusive = { }
		relative_position_id = FRA_defensive_focus
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			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_aggressive_focus
		icon = GFX_goal_generic_major_war
		mutually_exclusive = { focus = FRA_defensive_focus }
		x = 2
		y = 1
		cost = 10
		relative_position_id = FRA_begin_rearmament
		available_if_capitulated = yes
		prerequisite = { focus = FRA_begin_rearmament }
		ai_will_do = {
			factor = 0.2
		}
		completion_reward = {
			army_experience = 25
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = maurice_gamelin
		}
	}

	focus = {
		id = FRA_battle_of_maneuver
		icon = GFX_goal_generic_position_armies
		x = 0
		y = 1
		
		prerequisite = { focus = FRA_aggressive_focus }
		mutually_exclusive = { focus = FRA_air_dominance }
		relative_position_id = FRA_aggressive_focus
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = charles_de_gaulle
		}
	}
	focus = {
		id = FRA_motorized_focus
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = FRA_battle_of_maneuver }
		x = 0
		y = 1
		relative_position_id = FRA_battle_of_maneuver
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_ideas = FRA_motorized_focus
		}
	}
	focus = {
		id = FRA_mechanized_focus
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = FRA_motorized_focus }
		x = 0
		y = 1
		relative_position_id = FRA_motorized_focus
		cost = 10
		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = FRA_mechanized_focus
				bonus = 1.0
				uses = 1
				category = cat_mechanized_equipment
			}
		}
	}
	focus = {
		id = FRA_light_medium_armor
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = FRA_mechanized_focus }
		x = 0
		y = 1
		relative_position_id = FRA_mechanized_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = FRA_light_medium_armor
				bonus = 1.0
				uses = 1
				category = cat_light_armor
				category = cat_medium_armor
			}
		}
	}
	focus = {
		id = FRA_air_dominance
		icon = GFX_goal_generic_air_fighter2
		x = 2
		y = 1
		
		prerequisite = { focus = FRA_aggressive_focus }
		mutually_exclusive = { focus = FRA_battle_of_maneuver }
		relative_position_id = FRA_aggressive_focus
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = { FRA_air_dominance }
		}
	}
	focus = {
		id = FRA_cas_focus
		icon = GFX_goal_generic_CAS
	 	prerequisite = { 
	 		focus = FRA_air_dominance
	 	}
		x = 0
		y = 1
		relative_position_id = FRA_air_dominance
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_cas_focus
				bonus = 1.0
				uses = 2
				category = cas_bomber
			}
		}
	}
	focus = {
		id = FRA_air_ground_cooperation
		icon = GFX_goal_generic_air_bomber
		x = 0
		y = 2
		
		prerequisite = { focus = FRA_cas_focus }
		mutually_exclusive = { }
		relative_position_id = FRA_air_dominance
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = FRA_air_ground_cooperation
				category = air_doctrine
				uses = 2
				cost_reduction = 0.5
			}
		}
	}
	focus = {
		id = FRA_flying_artillery
		icon = GFX_goal_poland_goal
		x = 0
		y = 3
		
		prerequisite = { focus = FRA_air_ground_cooperation }
		mutually_exclusive = { }
		relative_position_id = FRA_air_dominance
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_ideas = { FRA_flying_artillery }
		}
	}

	focus = {
		id = FRA_army_reform
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { 
			focus = FRA_light_medium_armor 
			focus = FRA_heavy_armor_focus 
			focus = FRA_extend_the_maginot_line
			focus = FRA_flying_artillery
		}
		x = -1
		y = 1
		relative_position_id = FRA_light_medium_armor
		cost = 10

		available_if_capitulated = yes

		available = {
			date > 1949.1.1
			NOT = { has_idea = FRA_disjointed_government }
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			remove_ideas = FRA_victors_of_wwi
			army_experience = 10
			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
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = FRA_AMX
			}
		}
	}	

	focus = {
		id = FRA_the_blum_viollette_proposal
		icon = GFX_goal_generic_improve_relations
		x = -5
		y = 1

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

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		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
						}
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_state_core = 459
			add_state_core = 460
			add_state_core = 513
			if = {
				limit = {
					country_exists = ALG
				}
				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
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = { FRA_expanded_citizenship }
		}
	}
	
	focus = {
		id = FRA_encourage_immigration
		icon = GFX_goal_generic_national_unity
		x = 0
		y = 1
		
		prerequisite = {
			focus = FRA_expand_the_citizenship
		}
		relative_position_id = FRA_expand_the_citizenship
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			remove_worker_shortage_effect = yes
		}
	}
	focus = {
		id = FRA_review_foreign_policy
		icon = GFX_goal_support_democracy
		x = -2
		y = 1

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

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 120

			hidden_effect = {
				if = {
					limit = {
						has_dlc = "La Resistance"
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}

	
	
	
	
	focus = {
		id = FRA_buy_time
		icon = GFX_goal_generic_neutrality_focus
		x = 0
		y = 1
		prerequisite = {
			focus = FRA_review_foreign_policy
		}
		relative_position_id = FRA_review_foreign_policy
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = georges_bonnet
			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 }
				}
			}
		}
	}
	focus = {
		id = FRA_strengthen_government_support
		icon = GFX_goal_generic_demand_territory
		available = {
		}
	 	prerequisite = {
	 		focus = FRA_buy_time
	 	}
		x = -1
		y = 1
		relative_position_id = FRA_buy_time
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			set_country_flag = FRA_strengthen_government_support_focus_flag
			add_timed_idea = {
				idea = FRA_strengthen_government_support_focus
				days = 365
			}
		}
	}	

	focus = {
		id = FRA_defensive_strategems
		icon = GFX_goal_generic_fortify_city
		available = {
			custom_trigger_tooltip = {
				tooltip = FRA_strengthen_government_support_tooltip
				NOT = { has_idea = FRA_strengthen_government_support_focus }
				has_country_flag = FRA_strengthen_government_support_focus_flag
			}
		}
	 	prerequisite = { focus = FRA_strengthen_government_support }
		x = 0
		y = 1
		relative_position_id = FRA_strengthen_government_support
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
		completion_reward = {
			remove_ideas = FRA_disjointed_government
			set_rule = { can_send_volunteers = yes }
		}
	}
	focus = {
		id = FRA_go_with_britain
		icon = GFX_focus_chi_british_cooperation
		available = {
			is_subject = no
			has_government = democratic
			ENG = {
				exists = yes
				has_government = democratic
			}
			NOT = { has_war_with = ENG }
			is_in_faction = no
		}
		bypass = {
			is_in_faction_with = ENG
			NOT = {
				has_completed_focus = FRA_strengthen_the_little_entente
			}
		}
	 	prerequisite = { focus = FRA_buy_time }
	 	x = 1
		y = 1
		relative_position_id = FRA_buy_time
		cost = 1

		available_if_capitulated = yes

		ai_will_do = {
			factor = 0.9

			modifier = {
				factor = 2
				ai_irrationality < 15
			}
			modifier = {
				factor = 2
				ai_irrationality < 20
			}
			modifier = {
				factor = 0.5
				ai_irrationality > 30
			}
			modifier = {
				factor = 0
				has_idea = GER_communist_refugees
			}
		}
		completion_reward = {
			ENG = { country_event = { id = britain.13 } }
		}
	}
	focus = {
		id = FRA_arms_purchases_in_the_us
		icon = GFX_goal_generic_build_tank
		x = 0
		y = 1
		prerequisite = {
			focus = FRA_go_with_britain
		}
		relative_position_id = FRA_go_with_britain
		cost = 5

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			USA = { country_event = lar_arms_purchases.1 }
			unlock_decision_category_tooltip = FRA_weapons_purchases_category
		}
	}
	
	

	focus = {
		id = FRA_revive_the_national_bloc
		icon = GFX_focus_generic_strike_at_democracy2
		x = 26
		y = 0

		cost = 10
		ai_will_do = {
			factor = 1
		}
		available = {
			
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_country_leader_trait = tenacious_negotiator

			hidden_effect = {
				if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}
	}	
	focus = {
		id = FRA_laissez_faire
		icon = GFX_goal_generic_consumer_goods
		x = -1
		y = 1
		
		prerequisite = {
			focus = FRA_revive_the_national_bloc
		}
		mutually_exclusive = { focus = FRA_agricultural_protectionism }
		relative_position_id = FRA_revive_the_national_bloc
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_tech_bonus = {
				name = FRA_laissez_faire
				category = industry
				uses = 3
				bonus = 1.5
			}
			hidden_effect = { country_event = { id = lar_fra_inefficient_economy.1 days = 730 } }
			custom_effect_tooltip = FRA_laissez_faire_tt
		}
	}
	focus = {
		id = FRA_protect_the_rights_of_man
		icon = GFX_goal_generic_demand_territory
		x = 0
		y = 1
		
		prerequisite = {
			focus = FRA_laissez_faire
			focus = FRA_agricultural_protectionism
		}
		relative_position_id = FRA_laissez_faire
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.05
		}
	}
	focus = {
		id = FRA_freedom_front
		icon = GFX_goal_generic_national_unity
		x = 0
		y = 1
		
		prerequisite = {
			focus = FRA_protect_the_rights_of_man
		}
		relative_position_id = FRA_protect_the_rights_of_man
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			if = {
				set_temp_variable = { FRA_fascism = party_popularity@fascism }
				add_popularity = { ideology = democratic popularity = FRA_fascism } 
				multiply_temp_variable = { FRA_fascism = -1 }
				add_popularity = { ideology = fascism popularity = FRA_fascism }
			}
			else = {
				set_temp_variable = { FRA_democracy = party_popularity@democratic }
				multiply_temp_variable = { FRA_democracy = 0.3 }
				add_popularity = { ideology = fascism popularity = FRA_democracy } 
				multiply_temp_variable = { FRA_democracy = -1 }
				add_popularity = { ideology = democratic popularity = FRA_democracy }
			}
			FRA_communism_riot_effect = yes
		}
	}	
	focus = {
		id = FRA_stimulate_the_dynamic_market
		icon = GFX_goal_generic_construct_civilian
		x = 1
		y = 1
		
		prerequisite = {
			focus = FRA_freedom_front
			focus = FRA_promote_entrepeneurship
		}
		relative_position_id = FRA_freedom_front
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = { FRA_market_dynamism }
		}
	}
	focus = {
		id = FRA_agricultural_protectionism
		icon = GFX_goal_generic_defence
		x = 1
		y = 1
		
		prerequisite = {
			focus = FRA_revive_the_national_bloc

		}
		mutually_exclusive = { focus = FRA_laissez_faire }
		relative_position_id = FRA_revive_the_national_bloc
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = { FRA_agricultural_protectionism }
		}
	}
	focus = {
		id = FRA_economic_devolution
		icon = GFX_goal_generic_positive_trade_relations
		x = 0
		y = 1
		
		prerequisite = {
			focus = FRA_agricultural_protectionism
			focus = FRA_laissez_faire
		}
		relative_position_id = FRA_agricultural_protectionism
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {
			NOT = {
				FRA_has_inefficient_economy = yes
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		complete_tooltip = {
			if = {
				limit = { has_idea = FRA_inefficient_economy_1 }
				swap_ideas = {
					remove_idea = FRA_inefficient_economy_2
					add_idea = FRA_inefficient_economy_1
				}
			}
			else_if = {
				limit = {
					NOT = {
						has_idea = FRA_inefficient_economy_1
						has_idea = FRA_inefficient_economy_2
					}
				}
				remove_ideas = FRA_inefficient_economy_1
			}
		}
		completion_reward = {
			if = {
				limit = { has_idea = FRA_inefficient_economy_2 }
				swap_ideas = {
					remove_idea = FRA_inefficient_economy_2
					add_idea = FRA_inefficient_economy_1
				}
			}
			else_if = {
				limit = {
					has_idea = FRA_inefficient_economy_1
				}
				remove_ideas = FRA_inefficient_economy_1
			}
		}
	}

	focus = {
		id = FRA_promote_entrepeneurship
		icon = GFX_goal_generic_propaganda
		x = 0
		y = 1
		
		prerequisite = {
			focus = FRA_economic_devolution
		}
		relative_position_id = FRA_economic_devolution
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = { FRA_entrepeneurship }
		}
	}

	focus = {
		id = FRA_ban_communism
		icon = GFX_goal_anti_comintern_pact
		x = -3
		y = 1
		
		prerequisite = {
			focus = FRA_revive_the_national_bloc
		}
		relative_position_id = FRA_revive_the_national_bloc
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			has_idea = FRA_political_violence
			NOT = { has_government = communism }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		search_filters = { FOCUS_FILTER_FRA_POLITICAL_VIOLENCE }
		completion_reward = {
			add_ideas = { FRA_communism_banned }
			set_temp_variable = { communism_temp = party_popularity@communism }
			multiply_temp_variable = { communism_temp = -0.25 }
			add_stability = communism_temp
			remove_ideas = FRA_political_violence
		}
	}	
}
