focus_tree = {
	id = yugoslavian_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = YUG
			has_dlc = "Death or Dishonor"
		}
	}
	
	default = no

	continuous_focus_position = { x = 50 y = 1350 }

	###############################
	##### Democratic/Fascist ######
	###############################

	focus = {
		id = YUG_western_focus
		icon = GFX_goal_generic_position_armies
		x = 2
		y = 0

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = SOV_anti_fascist_diplomacy
		icon = GFX_goal_generic_position_armies
		x = 2
		y = 0

		cost = 10

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_friendship_treaty_with_italy
		icon = GFX_goal_generic_improve_relations

		x = -1
		y = 1
		relative_position_id = YUG_western_focus

		cost = 5

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_reinforce_old_alliances
		icon = GFX_goal_generic_major_alliance

		x = 1
		y = 1

		cost = 10
	}

	focus = {
		id = YUG_attract_foreign_capital
		icon = GFX_goal_generic_intelligence_exchange
		x = 0
		y = 2
		relative_position_id = YUG_western_focus

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_ban_slovene_nationalist_parties
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = YUG_attract_foreign_capital }

		x = -1
		y = 1
		relative_position_id = YUG_attract_foreign_capital

		cost = 5

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_traditional_values
		icon = GFX_goal_generic_propaganda
		x = 0
		y = 1

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	
	focus = {
		id = YUG_greater_yugoslavia
		icon = GFX_goal_generic_occupy_states_ongoing_war

		x = 0
		y = 2
		relative_position_id = YUG_ban_slovene_nationalist_parties

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_all_yugoslavian_regiments
		icon = GFX_goal_rhineland
		prerequisite = { focus = YUG_greater_yugoslavia }
		x = -2
		y = 3
		relative_position_id = YUG_ban_slovene_nationalist_parties

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
		
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_crush_the_ustasa
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = YUG_greater_yugoslavia focus = YUG_concessions_for_macedonians }

		x = 0
		y = 3
		relative_position_id = YUG_ban_slovene_nationalist_parties

		cost = 5

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_invite_german_military_mission
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = YUG_crush_the_ustasa focus = YUG_establish_the_banovina_of_croatia }
		mutually_exclusive = { focus = YUG_non_discriminating_officer_promotions }
		x = 0
		y = 4
		relative_position_id = YUG_ban_slovene_nationalist_parties

		cost = 5

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_join_axis
		icon = GFX_goal_support_fascism
		prerequisite = { focus = YUG_invite_german_military_mission }
		x = 0
		y = 5
		relative_position_id = YUG_ban_slovene_nationalist_parties

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_claim_macedonia
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = YUG_join_axis }
		x = -2
		y = 1
		relative_position_id = YUG_join_axis

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_invite_italian_naval_experts
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = YUG_join_axis }
		x = 0
		y = 6
		relative_position_id = YUG_ban_slovene_nationalist_parties

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	############################
	##### SELF GOVERNMENT ######
	############################

	focus = {
		id = YUG_limited_self_government
		icon = GFX_goal_anschluss
		prerequisite = { focus = YUG_attract_foreign_capital }
		mutually_exclusive = { focus = YUG_ban_slovene_nationalist_parties }
		x = 1
		y = 1
		relative_position_id = YUG_attract_foreign_capital

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_guarantee_religious_liberties
		icon = GFX_goal_generic_neutrality_focus
		prerequisite = { focus = YUG_limited_self_government }
		mutually_exclusive = { focus = YUG_traditional_values }
		x = 0
		y = 1
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_local_militias
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = YUG_limited_self_government focus = YUG_form_peasant_councils }
		x = 2
		y = 1
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_idea_local_militias
		}
	}

	focus = {
		id = YUG_concessions_for_macedonians
		icon = GFX_focus_generic_concessions
		prerequisite = { focus = YUG_guarantee_religious_liberties focus = YUG_traditional_values }
		mutually_exclusive = { focus = YUG_greater_yugoslavia }
		x = 0
		y = 2
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			BUL = {
				NOT = { has_war_with = ROOT }
				exists = yes
				has_capitulated = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			remove_ideas = YUG_idea_macedonian_opposition
		}
	}

	focus = {
		id = YUG_establish_the_banovina_of_croatia
		icon = GFX_focus_YUG_banovina_of_croatia
		prerequisite = { focus = YUG_concessions_for_macedonians }
		mutually_exclusive = { focus = YUG_crush_the_ustasa }
		x = 0
		y = 3
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_non_discriminating_officer_promotions
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = YUG_crush_the_ustasa focus = YUG_establish_the_banovina_of_croatia }
		mutually_exclusive = { focus = YUG_invite_german_military_mission }
		x = 0
		y = 4
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
				swap_ideas = { remove_idea = YUG_idea_serbian_general_staff add_idea = YUG_idea_yugoslavian_general_staff }
		}
	}

	focus = {
		id = YUG_join_allies
		icon = GFX_goal_support_democracy
		prerequisite = { focus = YUG_non_discriminating_officer_promotions }
		x = 0
		y = 5
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			ENG = {
				NOT = { has_war_with = ROOT }
				has_capitulated = no
				is_faction_leader = yes
			}
			NOT = {
				any_other_country = {
					is_in_faction_with = ENG
					has_war_with = YUG
				}
			}
		}

		bypass = {
			is_in_faction_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ENG = { country_event = generic.2 }
			if = {
				limit = {
					has_idea = YUG_idea_croatian_opposition
				}
				country_event = DOD_yugoslavia.10
			}
		}
	}

	focus = {
		id = YUG_reclaim_istria_and_zadar
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = YUG_join_allies }
		x = 2
		y = 6
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			has_war_with = ITA
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_core = 736
			if = {
				limit = {
					owns_state = 103
				}
				add_state_core = 163
			}
			news_event = { id = news.328 }
		}
	}

	focus = {
		id = YUG_allied_air_combat_school
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = YUG_join_allies }
		x = 0
		y = 6
		relative_position_id = YUG_limited_self_government

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			is_in_faction_with = ENG
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}


	############################
	#### RECOGNIZE SOVIET ######
	############################

	focus = {
		id = YUG_recognize_the_soviet_union
		icon = GFX_focus_generic_soviet_politics
		mutually_exclusive = { focus = YUG_western_focus }
		x = 8
		y = 0

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			SOV = {
				NOT = { has_war_with = ROOT }
				exists = yes
				has_capitulated = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = {
				add_opinion_modifier = { 
					target = ROOT
					modifier = medium_increase
				}
			}
			news_event = { id = news.329 }
		}
	}

	focus = {
		id = YUG_form_peasant_councils
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = YUG_recognize_the_soviet_union }
		x = -1
		y = 1
		relative_position_id = YUG_recognize_the_soviet_union

		cost = 10

		ai_will_do = {
			factor = 200
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_idea_peasant_councils
		}
	}

	focus = {
		id = YUG_mutual_economic_aid
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = YUG_recognize_the_soviet_union }
		x = 1
		y = 1
		relative_position_id = YUG_recognize_the_soviet_union

		cost = 10

		ai_will_do = {
			factor = 200
		}

		available = {
			SOV = {
				NOT = { has_war_with = ROOT }
				exists = yes
				has_capitulated = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_timed_idea = { idea = YUG_idea_economic_aid days = 720 }
			SOV = {
				add_timed_idea = { idea = YUG_idea_economic_aid days = 365 }
				add_ai_strategy = {
					type = protect
					id = "YUG"
					value = 100
				}
			}
		}
	}

	focus = {
		id = YUG_abolish_the_monarchy
		icon = GFX_goal_tfv_burn_the_royal_portraits
		prerequisite = { focus = YUG_form_peasant_councils }
		prerequisite = { focus = YUG_mutual_economic_aid }
		x = 0
		y = 2
		relative_position_id = YUG_recognize_the_soviet_union

		cost = 10

		ai_will_do = {
			factor = 150
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = { remove_idea = YUG_idea_peasant_councils add_idea = YUG_idea_empowered_peasant_councils }
		}
	}

	focus = {
		id = YUG_join_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = YUG_abolish_the_monarchy }
		mutually_exclusive = { focus = YUG_yugoslavian_path_to_communism }
		x = -1
		y = 1
		relative_position_id = YUG_abolish_the_monarchy

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			is_in_faction = no
			SOV = {
				NOT = { has_war_with = ROOT }
				exists = yes
				has_capitulated = no
			}
			NOT = {
				any_other_country = {
					is_in_faction_with = SOV
					has_war_with = YUG
				}
			}
		}

		bypass = {
			is_in_faction_with = SOV
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = {
				country_event = generic.2
			}
		}
	}

	focus = {
		id = YUG_yugoslavian_path_to_communism
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = YUG_abolish_the_monarchy }
		mutually_exclusive = { focus = YUG_join_comintern }
		x = 1
		y = 1
		relative_position_id = YUG_abolish_the_monarchy

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			is_in_faction = no
		}

		bypass = {
			is_in_faction = yes
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = { remove_idea = YUG_idea_empowered_peasant_councils add_idea = YUG_idea_very_empowered_peasant_councils }
		}
	}

	focus = {
		id = YUG_form_the_federal_republic
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = YUG_yugoslavian_path_to_communism focus = YUG_join_comintern }
		x = 0
		y = 1
		relative_position_id = YUG_yugoslavian_path_to_communism

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			remove_ideas = YUG_idea_croatian_opposition
			remove_ideas = YUG_idea_macedonian_opposition
			remove_ideas = YUG_idea_slovene_nationalism
		}
	}

	focus = {
		id = YUG_pan_slavic_workers_congress
		icon = GFX_focus_YUG_pan_slavic_congress
		prerequisite = { focus = YUG_yugoslavian_path_to_communism }
		x = 3
		y = 1
		relative_position_id = YUG_yugoslavian_path_to_communism

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction = panslavic_workers_congress
			news_event = { id = news.330 }
		}
	}

	focus = {
		id = YUG_research_collaboration
		icon = GFX_focus_generic_socialist_science
		prerequisite = { focus = YUG_join_comintern }
		x = 0
		y = 1
		relative_position_id = YUG_join_comintern

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			is_in_faction_with = SOV
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_federal_defense_council
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = YUG_form_the_federal_republic }
		x = 0
		y = 2
		relative_position_id = YUG_yugoslavian_path_to_communism

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_invite_bulgaria
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = YUG_pan_slavic_workers_congress }
		x = -1
		y = 1
		relative_position_id = YUG_pan_slavic_workers_congress

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			BUL = {
				NOT = { has_war_with = ROOT }
				exists = yes
				is_puppet = no
				is_in_faction = no
				has_government = communism
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			BUL = {
				country_event = generic.5
			}
		}
	}

	focus = {
		id = YUG_invite_albania
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = YUG_pan_slavic_workers_congress }
		x = 1
		y = 1
		relative_position_id = YUG_pan_slavic_workers_congress

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ALB = {
				country_event = generic.5
			}
		}
	}


	############################
	######### INDUSTRY #########
	############################

	focus = {
		id = YUG_industrialization_program
		icon = GFX_goal_generic_construction
		x = 17
		y = 0

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 2
				category = industry
			}
		}
	}

	focus = {
		id = YUG_expand_the_mining_industry
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = YUG_industrialization_program }
		x = 0
		y = 1
		relative_position_id = YUG_industrialization_program

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
					factor = 1.2
					OR = {
						has_completed_focus = YUG_join_comintern
						has_completed_focus = YUG_yugoslavian_path_to_communism
					}
				}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_idea_expanded_mining_industry
		}
	}

	focus = {
		id = YUG_rare_minerals_exploitation
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = YUG_expand_the_mining_industry }
		x = -3
		y = 1
		relative_position_id = YUG_expand_the_mining_industry

		cost = 10

		ai_will_do = {
			factor = 60

		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_exploit_the_pannonian_deposits
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = YUG_rare_minerals_exploitation }
		x = 0
		y = 1
		relative_position_id = YUG_rare_minerals_exploitation

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_full_control_of_state = 45
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = YUG_develop_civilian_industry
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = YUG_expand_the_mining_industry }
		mutually_exclusive = { focus = YUG_develop_military_industry }
		x = -1
		y = 1
		relative_position_id = YUG_expand_the_mining_industry

		cost = 10

		ai_will_do = {
			factor = 60
				modifier = {
					factor = 1.2
					OR = {
						has_completed_focus = YUG_join_comintern
						has_completed_focus = YUG_yugoslavian_path_to_communism
					}
				}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 102 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			random_owned_controlled_state = {
				prioritize = { 107 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			random_owned_controlled_state = {
				prioritize = { 109 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_expand_the_university_of_zagreb
		icon = GFX_focus_research
		prerequisite = { focus = YUG_develop_civilian_industry focus = YUG_develop_military_industry }
		x = 0
		y = 3
		relative_position_id = YUG_industrialization_program

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			NOT = {
				has_idea = YUG_idea_croatian_opposition
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = YUG_integrated_rail_network
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = YUG_expand_the_university_of_zagreb }
		mutually_exclusive = { focus = YUG_improve_serbian_rail_network }
		x = 0
		y = 2
		relative_position_id = YUG_develop_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
					factor = 1.2
					OR = {
						has_completed_focus = YUG_join_comintern
						has_completed_focus = YUG_yugoslavian_path_to_communism
					}
				}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			every_owned_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					is_core_of = ROOT
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_improve_light_industry
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = YUG_integrated_rail_network focus = YUG_improve_serbian_rail_network }
		x = 1
		y = 3
		relative_position_id = YUG_develop_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
					factor = 1.2
					OR = {
						has_completed_focus = YUG_join_comintern
						has_completed_focus = YUG_yugoslavian_path_to_communism
					}
				}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 104 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			random_owned_controlled_state = {
				prioritize = { 106 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_develop_slovenian_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = YUG_integrated_rail_network }
		x = 0
		y = 4
		relative_position_id = YUG_develop_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
		
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 102 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_local_self_management
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = YUG_develop_slovenian_industry }
		x = 0
		y = 1
		relative_position_id = YUG_develop_slovenian_industry

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
					factor = 1.2
					OR = {
						has_completed_focus = YUG_join_comintern
						has_completed_focus = YUG_yugoslavian_path_to_communism
					}
				}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_idea_local_self_management
		}
	}

	focus = {
		id = YUG_expand_the_university_of_ljubljana
		icon = GFX_focus_research
		prerequisite = { focus = YUG_develop_slovenian_industry }
		x = -2
		y = 1
		relative_position_id = YUG_develop_slovenian_industry

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			NOT = {
				has_idea = YUG_idea_slovene_nationalism
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = YUG_develop_military_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = YUG_expand_the_mining_industry }
		mutually_exclusive = { focus = YUG_develop_civilian_industry }
		x = 1
		y = 1
		relative_position_id = YUG_expand_the_mining_industry

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 107 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_improve_serbian_rail_network
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = YUG_expand_the_university_of_zagreb }
		mutually_exclusive = { focus = YUG_integrated_rail_network }
		x = 0
		y = 2
		relative_position_id = YUG_develop_military_industry

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				is_in_faction_with = GER
			}
		}

		available = {
			OR = {
				has_full_control_of_state = 45
				has_full_control_of_state = 105
				has_full_control_of_state = 107
				has_full_control_of_state = 108
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { has_full_control_of_state = 45 }
				45 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = { has_full_control_of_state = 105 }
				105 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = { has_full_control_of_state = 107 }
				107 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}

			if = {
				limit = { has_full_control_of_state = 108 }
				108 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = YUG_serbian_steel
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = YUG_improve_serbian_rail_network }
		x = 1
		y = 3
		relative_position_id = YUG_develop_military_industry

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_full_control_of_state = 108
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			108 = {
				add_resource = {
					type = steel
					amount = 16
				}
			}
		}
	}

	focus = {
		id = YUG_expand_the_university_of_belgrad
		icon = GFX_focus_research
		prerequisite = { focus = YUG_improve_serbian_rail_network }
		x = 0
		y = 4
		relative_position_id = YUG_develop_military_industry

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = YUG_central_management
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = YUG_expand_the_university_of_belgrad }
		x = 0
		y = 5
		relative_position_id = YUG_develop_military_industry

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_idea_central_management
		}
	}

	focus = {
		id = YUG_expand_the_sarajevo_arsenals
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = YUG_local_self_management focus = YUG_central_management }
		x = 1
		y = 1
		relative_position_id = YUG_local_self_management

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			has_full_control_of_state = 104
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			104 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	
	############################
	######## AIR FORCE #########
	############################

	focus = {
		id = YUG_modernize_the_air_force
		icon = GFX_goal_generic_air_doctrine
		x = 24
		y = 0

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 1.2
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = YUG_local_developers
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = YUG_modernize_the_air_force }
		mutually_exclusive = { focus = YUG_purchase_foreign }
		x = -2
		y = 1
		relative_position_id = YUG_modernize_the_air_force

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_indigenous_designs #emergency fix
		}
	}

	focus = {
		id = YUG_ikarus
		icon = GFX_focus_YUG_ikarus
		prerequisite = { focus = YUG_local_developers }
		x = -2
		y = 1
		relative_position_id = YUG_local_developers

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = YUG_designer_tt

			random_owned_controlled_state = {
				prioritize = { 107 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_rogozarski
		icon = GFX_focus_YUG_rogozarski
		prerequisite = { focus = YUG_local_developers }
		x = 0
		y = 1
		relative_position_id = YUG_local_developers

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = YUG_designer_tt
			random_owned_controlled_state = {
				prioritize = { 107 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_zmaj
		icon = GFX_focus_YUG_zmaj
		prerequisite = { focus = YUG_local_developers }
		x = 2
		y = 1
		relative_position_id = YUG_local_developers

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = YUG_designer_tt
			random_owned_controlled_state = {
				prioritize = { 107 }
				limit = {
					ROOT = { has_full_control_of_state = PREV }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_the_ik_3
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = YUG_ikarus focus = YUG_rogozarski focus = YUG_zmaj }
		x = 0
		y = 2
		relative_position_id = YUG_local_developers

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_the_ik_3
				bonus = 0.75
				ahead_reduction = 0.75
				uses = 1
				category = light_fighter
			}
		}
	}

	focus = {
		id = YUG_heavy_fighter_project
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = YUG_the_ik_3 }
		x = -1
		y = 3
		relative_position_id = YUG_local_developers

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_heavy_fighter_project
				bonus = 0.5
				uses = 1
				category = cat_heavy_fighter
			}
		}
	}

	focus = {
		id = YUG_bomber_project
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = YUG_the_ik_3 }
		x = 1
		y = 3
		relative_position_id = YUG_local_developers

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_bomber_project
				bonus = 0.5
				uses = 1
				category = tactical_bomber
			}
		}
	}

	focus = {
		id = YUG_purchase_foreign
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = YUG_modernize_the_air_force }
		mutually_exclusive = { focus = YUG_local_developers }
		x = 2
		y = 1
		relative_position_id = YUG_modernize_the_air_force

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_war_with = GER
					}
				}
			GER = { country_event = DOD_yugoslavia.20 }
			}if = {
				limit = {
					NOT = {
						has_war_with = ITA
					}
				}
			ITA = { country_event = DOD_yugoslavia.20 }
			}
			if = {
				limit = {
					NOT = {
						has_war_with = ENG
					}
				}
			ENG = { country_event = DOD_yugoslavia.20 }
			}
			if = {
				limit = {
					NOT = {
						has_war_with = FRA
					}
				}
			FRA = { country_event = DOD_yugoslavia.20 }
			}
		}
	}

	focus = {
		id = YUG_license_production
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = YUG_purchase_foreign }
		x = 0
		y = 1
		relative_position_id = YUG_purchase_foreign

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_license_production
		}
	}

	focus = {
		id = YUG_fighter_license
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = YUG_license_production }
		mutually_exclusive = { focus = YUG_bomber_license }
		x = -1
		y = 2
		relative_position_id = YUG_purchase_foreign

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			NOT = {
				has_tech = fighter3
				has_tech = heavy_fighter3
			}
			OR = {
				GER = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_YUG = yes
							is_available_heavy_fighter_YUG = yes
						}
					}
				}
				FRA = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_YUG = yes
							is_available_heavy_fighter_YUG = yes
						}
					}
				}
				ITA = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_YUG = yes
							is_available_heavy_fighter_YUG = yes
						}
					}
				}
				ENG = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_YUG = yes
							is_available_heavy_fighter_YUG = yes
						}
					}
				}
				USA = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_YUG = yes
							is_available_heavy_fighter_YUG = yes
						}
					}
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = DOD_yugoslavia.150
		}
	}

	focus = {
		id = YUG_bomber_license
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = YUG_license_production }
		mutually_exclusive = { focus = YUG_fighter_license }
		x = 1
		y = 2
		relative_position_id = YUG_purchase_foreign

		cost = 10

		ai_will_do = {
			factor = 25
		}

		
		available = {
			NOT = {
				has_tech = CAS3
				has_tech = tactical_bomber3
			}
			OR = {
				GER = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_YUG = yes
							is_available_tac_YUG = yes
						}
					}
				}
				FRA = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_YUG = yes
							is_available_tac_YUG = yes
						}
					}
				}
				ITA = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_YUG = yes
							is_available_tac_YUG = yes
						}
					}
				}
				ENG = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_YUG = yes
							is_available_tac_YUG = yes
						}
					}
				}
				USA = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_YUG = yes
							is_available_tac_YUG = yes
						}
					}
				}
			}
		}
		

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = DOD_yugoslavia.160
		}
	}

	############################
	######## LAND FORCE ########
	############################

	focus = {
		id = YUG_army_modernization
		icon = GFX_goal_generic_army_doctrines
		x = 34
		y = 0

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 1.2
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 25
		}
	}

	focus = {
		id = YUG_motorize_the_cavalry
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = YUG_army_modernization }
		x = -3
		y = 1
		relative_position_id =  YUG_army_modernization

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 1.2
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_motorize_the_cavalry
				bonus = 0.75
				technology = motorised_infantry
			}
		}
	}

	focus = {
		id = YUG_motorized_logistics
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = YUG_motorize_the_cavalry }
		x = -2
		y = 1
		relative_position_id = YUG_motorize_the_cavalry

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 1.2
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_motorized_logistics
				bonus = 0.5
				uses = 2
				category = hospital_tech
				category = logistics_tech
			}
		}
	}

	focus = {
		id = YUG_armored_cavalry
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = YUG_motorize_the_cavalry }
		x = 0
		y = 1
		relative_position_id = YUG_motorize_the_cavalry

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 1.5
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_armored_cavalry
				bonus = 0.5
				uses = 1
				category = cat_mechanized_equipment
			}
		}
	}

	focus = {
		id = YUG_tank_conversions
		icon = GFX_goal_generic_production2
		prerequisite = { focus = YUG_armored_cavalry }
		mutually_exclusive = { focus = YUG_modern_tanks }
		x = -2
		y = 2
		relative_position_id = YUG_motorize_the_cavalry

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 1.5
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_idea_tank_conversions
		}
	}

	focus = {
		id = YUG_modern_tanks
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = YUG_armored_cavalry }
		mutually_exclusive = { focus = YUG_tank_conversions }
		x = 0
		y = 2
		relative_position_id = YUG_motorize_the_cavalry

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 3
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_modern_tanks
				bonus = 0.5
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = YUG_tank_licenses
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = YUG_modern_tanks }
		x = 0
		y = 3
		relative_position_id = YUG_motorize_the_cavalry

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 1.2
				is_in_faction_with = GER
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_tank_licenses
		}
	}

	focus = {
		id = YUG_small_arms
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = YUG_army_modernization }
		x = -1
		y = 1
		relative_position_id = YUG_army_modernization

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_small_arms
				bonus = 0.50
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = YUG_domestic_artillery_production
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = YUG_small_arms }
		x = 0
		y = 1
		relative_position_id = YUG_small_arms

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_domestic_artillery_production
				bonus = 0.50
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = YUG_anti_tank_defenses
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = YUG_domestic_artillery_production }
		x = 0
		y = 2
		relative_position_id = YUG_small_arms

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_anti_tank_defenses
				bonus = 0.75
				uses = 1
				category = cat_anti_tank
			}
		}
	}

	focus = {
		id = YUG_mountain_brigades
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = YUG_army_modernization }
		x = 1
		y = 1
		relative_position_id = YUG_army_modernization

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_mountain_brigades
				bonus = 0.75
				uses = 1
				category = mountaineers_tech
			}
		}
	}

	focus = {
		id = YUG_independent_engineer_regiments
		icon = GFX_goal_generic_production
		prerequisite = { focus = YUG_mountain_brigades }
		x = 0
		y = 1
		relative_position_id = YUG_mountain_brigades

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_independent_engineer_regiments
				bonus = 0.75
				uses = 1
				category = engineers_tech
			}
		}
	}

	focus = {
		id = YUG_motorized_recon_companies
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = YUG_independent_engineer_regiments }
		x = 0
		y = 2
		relative_position_id = YUG_mountain_brigades

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_motorized_recon_companies
				bonus = 0.75
				uses = 1
				category = recon_tech
			}
		}
	}

	focus = {
		id = YUG_form_parachute_battalions
		icon = GFX_focus_generic_paratrooper
		prerequisite = { focus = YUG_motorized_recon_companies }
		x = 0
		y = 3
		relative_position_id = YUG_mountain_brigades

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_form_parachute_battalions
				bonus = 0.75
				uses = 1
				category = para_tech
			}
		}
	}

	focus = {
		id = YUG_army_maneuvers
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = YUG_army_modernization }
		x = 4
		y = 1
		relative_position_id = YUG_army_modernization

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_army_maneuvers
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = YUG_supremacy_of_offense
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = YUG_army_maneuvers }
		mutually_exclusive = { focus = YUG_supremacy_of_defense }
		x = -1
		y = 1
		relative_position_id = YUG_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_supremacy_of_offense
				bonus = 0.5
				uses = 2
				category = cat_mobile_warfare
				category = cat_superior_firepower
			}
		}
	}

	focus = {
		id = YUG_supremacy_of_defense
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = YUG_army_maneuvers }
		mutually_exclusive = { focus = YUG_supremacy_of_offense }
		x = 1
		y = 1
		relative_position_id = YUG_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_supremacy_of_defense
				bonus = 0.5
				uses = 2
				category = cat_grand_battle_plan
				category = cat_mass_assault
			}
		}
	}

	focus = {
		id = YUG_artillery_regiments
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = YUG_supremacy_of_offense focus = YUG_supremacy_of_defense }
		x = 0
		y = 2
		relative_position_id = YUG_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = YUG_artillery_regiments
		}
	}

	############################
	######## BOAT FORCE ########
	############################

	focus = {
		id = YUG_expand_the_split_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		mutually_exclusive = { focus = YUG_expand_the_serbian_shipyards }
		x = 42
		y = 0

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			has_full_control_of_state = 103
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			103 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_contest_the_adriatic
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = YUG_expand_the_split_shipyards }
		x = 0
		y = 1
		relative_position_id = YUG_expand_the_split_shipyards

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_contest_the_adriatic
				bonus = 0.5
				uses = 2
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = YUG_replace_the_dalmacija
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = YUG_contest_the_adriatic }
		x = -1
		y = 2
		relative_position_id = YUG_expand_the_split_shipyards

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_replace_the_dalmacija
				bonus = 0.5
				uses = 1
				category = cl_tech
			}
		}
	}

	focus = {
		id = YUG_naval_bombers
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = YUG_contest_the_adriatic focus = YUG_coastal_defense }
		x = 1
		y = 2
		relative_position_id = YUG_expand_the_split_shipyards

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_naval_bombers
				bonus = 0.5
				uses = 1
				category = naval_bomber
			}
		}
	}

	focus = {
		id = YUG_heavy_cruiser_project
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = YUG_replace_the_dalmacija }
		x = -1
		y = 3
		relative_position_id = YUG_expand_the_split_shipyards

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_heavy_cruiser_project
				bonus = 0.5
				uses = 1
				category = ca_tech
			}
		}
	}

	focus = {
		id = YUG_modern_destroyers
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = YUG_naval_bombers }
		x = 1
		y = 3
		relative_position_id = YUG_expand_the_split_shipyards

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_modern_destroyers
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
		}
	}

	focus = {
		id = YUG_expand_the_serbian_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		mutually_exclusive = { focus = YUG_expand_the_split_shipyards }
		x = 3
		y = 0
		relative_position_id = YUG_expand_the_split_shipyards

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			has_full_control_of_state = 105
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			105 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = YUG_coastal_defense
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = YUG_expand_the_serbian_shipyards }
		x = -1
		y = 1
		relative_position_id = YUG_expand_the_serbian_shipyards

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			OR = {
				has_full_control_of_state = 103
				has_full_control_of_state = 105
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			#forts on coast and harbor
			if = {
				limit = { has_full_control_of_state = 103 }
				103 = {
					custom_effect_tooltip = YUG_coastal_defense_effect_tt1
					custom_effect_tooltip = YUG_coastal_defense_effect_tt2
					hidden_effect = {
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_coastal = yes
							}
							level = 2
							instant_build = yes
						}			
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 1
							instant_build = yes
						}
					}
				}
			}
			
			if = {
				limit = { has_full_control_of_state = 105 }
				105 = {
					custom_effect_tooltip = YUG_coastal_defense_effect_tt1
					custom_effect_tooltip = YUG_coastal_defense_effect_tt2
					hidden_effect = {
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_coastal = yes
							}
							level = 2
							instant_build = yes
						}			
						add_building_construction = {
							type = coastal_bunker
							province = {
								all_provinces = yes
								limit_to_naval_base = yes
							}
							level = 1
							instant_build = yes
						}
					}
				}
			}
		}
	}

	focus = {
		id = YUG_expand_the_submarine_fleet
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = YUG_coastal_defense }
		x = 0
		y = 2
		relative_position_id = YUG_expand_the_serbian_shipyards

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = YUG_expand_the_submarine_fleet
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
		}
	}

	############################
	##### BALANCED BUDGET ######
	############################

	focus = {
		id = HUN_balanced_budget
		icon = GFX_goal_generic_consumer_goods
		mutually_exclusive = { focus = HUN_economic_intervention }
		x = 5
		y = 0

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = HUN_strengthen_the_monarchists
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = HUN_balanced_budget }
		x = 0
		y = 1
		relative_position_id = HUN_balanced_budget

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_hungarian_monarchy
			set_party_name = { ideology = neutrality long_name = HUN_legitimists_party_long name = HUN_legitimists_party }
		}
	}

	focus = {
		id = HUN_elect_a_king
		icon = GFX_focus_hun_elect_a_king
		prerequisite = { focus = HUN_strengthen_the_monarchists }
		x = 0
		y = 2
		relative_position_id = HUN_balanced_budget

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			neutrality > 0.3
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = HUN_hungarian_monarchy
				add_idea = HUN_hungarian_monarchy_2
			}
		}
	}


	############################
	##### HABSBURG PRINCE ######
	############################

	focus = {
		id = HUN_invite_the_habsburg_prince
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = HUN_elect_a_king }
		mutually_exclusive = { focus =  HUN_elect_a_democratic_king }
		mutually_exclusive = { focus =  HUN_elect_a_fascist_king }
		x = -3
		y = 1
		relative_position_id = HUN_elect_a_king

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_government = neutrality
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			create_navy_leader = {
				name = "Miklos Horthy"
				gfx = GFX_Portrait_hungary_miklos_horthy_admiral
				traits = { superior_tactician }
				skill = 3
				id = 556 #Navy Miklos
			}
			create_country_leader = {
				name = "Otto von Habsburg"
				desc = "POLITICS_OTTO_VON_HABSBURG_DESC"
				picture = GFX_Portrait_hungary_otto_von_hapsburg
				expire = "1965.1.1"
				ideology = despotism
				traits = {
					
				}
			}
			swap_ideas = {
				add_idea = HUN_habsburg_restored
				remove_idea = HUN_hungarian_monarchy_2
			}
			set_rule = { can_create_factions = yes }
			hidden_effect = {
				news_event = { id = news.290 }
			}
		}
	}

	focus = {
		id = HUN_demand_a_referendum
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = HUN_invite_the_habsburg_prince }
		mutually_exclusive = { focus = HUN_take_austria_by_force }
		x = -1
		y = 1
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			NOT = { has_war_with = AUS }
			is_subject = no
			AUS = {
				OR = {
					exists = yes
					is_subject = no
				}
			}
		}

		bypass = {
			owns_state = 4
			owns_state = 153
			owns_state = 152
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			AUS = { country_event = { id = DOD_hungary.1 } }
		}
	}

	focus = {
		id = HUN_take_austria_by_force
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = HUN_invite_the_habsburg_prince }
		mutually_exclusive = { focus = HUN_demand_a_referendum }
		x = 1
		y = 1
		relative_position_id = HUN_invite_the_habsburg_prince
		will_lead_to_war_with = AUS
		will_lead_to_war_with = GER #if after Anschluss
		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.5
				AUS = { is_in_faction = yes }
			}
		}

		available = {
			4 = {
				is_controlled_by = OWNER
			}
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			random_country = {
				limit = {
					owns_state = 4
				}
				HUN = {
					create_wargoal = {
						type = take_state_focus
						target = PREV
						generator = { 4 152 153 }
					}
				}
			}
			add_state_claim = 152
			add_state_claim = 153
			add_state_claim = 4
		}
	}

	focus = {
		id = HUN_proclaim_the_restoration_of_austria_hungary
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		prerequisite = { focus = HUN_demand_a_referendum focus = HUN_take_austria_by_force }
		x = 0
		y = 2
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			controls_state = 152
			controls_state = 153
			controls_state = 4
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_cosmetic_tag = HUN_EMPIRE
			hidden_effect = { AUS = { set_cosmetic_tag = AUS_NOT_WHITE } }
			152 = { add_core_of = ROOT }
			153 = { add_core_of = ROOT }
			4 = { add_core_of = ROOT }
			69 = { add_core_of = ROOT }
			9 = { add_core_of = ROOT }
			75 = { add_core_of = ROOT }
			74 = { add_core_of = ROOT }
			72 = { add_core_of = ROOT }
			70 = { add_core_of = ROOT }
			664 = { add_core_of = ROOT }
			71 = { add_core_of = ROOT }
			73 = { add_core_of = ROOT }
			hidden_effect = {
				news_event = { id = news.295 }
			}
			set_global_flag = form_austria_hungary_flag
		}
	}

	focus = {
		id = HUN_protect_czechoslovakia
		icon = GFX_goal_generic_defence
		prerequisite = { focus = HUN_proclaim_the_restoration_of_austria_hungary }
		x = 0
		y = 3
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			is_subject = no
			country_exists = CZE
		}

		bypass = {
			CZE = {
				OR = {
					exists = no
					is_subject = yes
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			CZE = { country_event = { id = DOD_hungary.10 } }
		}
	}

	

	focus = {
		id = HUN_claim_transylvania
		icon = GFX_focus_generic_strike_at_democracy2
		prerequisite = { focus = HUN_protect_czechoslovakia }
		x = -1
		y = 4
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_army_manpower = { size > 200000 }
			76 = { OWNER = { NOT = { is_in_faction_with = HUN } } }
			is_subject = no
		}

		bypass = {
			controls_state = 76
			controls_state = 83
			controls_state = 84
			controls_state = 82
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_claim = 76
			add_state_claim = 83
			add_state_claim = 84
			add_state_claim = 82
			if = {
				limit = {
					NOT = {
						has_war_with = ROM
					}
					threat < 0.5
					ROM = {
						OR = {
							owns_state = 76
							owns_state = 83
							owns_state = 84
							owns_state = 82
						}
					}
				}
				ROM = { country_event = DOD_hungary.50 }
			}	
		}
	}

	focus = {
		id = HUN_march_to_the_shore
		icon = GFX_focus_generic_strike_at_democracy3
		prerequisite = { focus = HUN_claim_transylvania }
		x = -1
		y = 5
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_army_manpower = { size > 250000 }
			109 = { OWNER = { NOT = { is_in_faction_with = HUN } } }
			is_subject = no
		}

		bypass = {
			controls_state = 102
			controls_state = 103
			controls_state = 109
			controls_state = 104
			controls_state = 45
			controls_state = 163
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_claim = 102
			add_state_claim = 103
			add_state_claim = 109
			add_state_claim = 104
			add_state_claim = 45
			add_state_claim = 163
		}
	}

	focus = {
		id = HUN_reclaim_venetia
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = HUN_march_to_the_shore }
		x = -1
		y = 6
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_army_manpower = { size > 300000 }
			160 = { OWNER = { NOT = { is_in_faction_with = HUN } } }
		}

		bypass = {
			is_subject = no
			controls_state = 736
			controls_state = 160
			controls_state = 39
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_claim = 736
			add_state_claim = 160
			add_state_claim = 39
		}
	}


	focus = {
		id = HUN_claim_galicia
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = HUN_protect_czechoslovakia }
		x = 1
		y = 5
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			has_army_manpower = { size > 200000 }
			89 = { OWNER = { NOT = { is_in_faction_with = HUN } } }
			is_subject = no
		}

		bypass = {
			controls_state = 88
			controls_state = 89
			controls_state = 91
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_claim = 88
			add_state_claim = 89
			add_state_claim = 91
		}
	}

	focus = {
		id = HUN_claim_the_bucovina
		icon = GFX_focus_generic_strike_at_democracy2
		prerequisite = { focus = HUN_claim_galicia }
		x = 1
		y = 6
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			is_subject = no
		}

		bypass = {
			controls_state = 80
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_claim = 80
		}
	}
	focus = {
		id = HUN_reclaim_the_empire
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = HUN_reclaim_venetia }
		prerequisite = { focus = HUN_claim_the_bucovina }
		x = 0
		y = 7
		relative_position_id = HUN_invite_the_habsburg_prince

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			is_subject = no
			NOT = {
				controls_state = 455
				controls_state = 454
				controls_state = 66 
				controls_state = 67 
				controls_state = 162
				controls_state = 17 
				controls_state = 159
				controls_state = 161
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_claim = 455
			add_state_claim = 454
			add_state_claim = 66 
			add_state_claim = 67 
			add_state_claim = 162
			add_state_claim = 17 
			add_state_claim = 159
			add_state_claim = 161
		}
	}

	############################
	##### DEMOCRATIC KING ######
	############################

	focus = {
		id = HUN_elect_a_democratic_king
		icon = GFX_focus_generic_home_defense
		prerequisite = { focus = HUN_elect_a_king }
		mutually_exclusive = { focus =  HUN_elect_a_fascist_king }
		mutually_exclusive = { focus =  HUN_invite_the_habsburg_prince }
		x = 0
		y = 1
		relative_position_id = HUN_elect_a_king

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = HUN_hungarian_monarchy_democratic
				remove_idea = HUN_hungarian_monarchy_2
			}
			add_ideas = HUN_dynastic_ties
			add_ideas = HUN_charles_v
			add_relation_modifier = {
				target = SWE
				modifier = HUN_dynastic_ties_license
			}
			hidden_effect = {
				news_event = { id = news.296 }
			}
			set_cosmetic_tag = HUN_MONARCHY
		}
	}

	focus = {
		id = HUN_responsible_government
		icon = GFX_goal_support_democracy
		prerequisite = { focus = HUN_elect_a_democratic_king }
		x = 0
		y = 1
		relative_position_id = HUN_elect_a_democratic_king

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			democratic > 0.4
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			hold_election = HUN
			swap_ideas = {
				add_idea = HUN_his_majestys_government
				remove_idea = HUN_hungarian_monarchy_democratic
			}
		}
	}

	focus = {
		id = HUN_rapproachement_with_little_entente
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = HUN_responsible_government }
		x = 0
		y = 2
		relative_position_id = HUN_elect_a_democratic_king

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {
			OR = {
				NOT = { has_idea = HUN_treaty_of_triannon }
				AND = {
					ROM = {
						OR = {
							exists = no
							is_puppet = yes
						}
					}
					FRA = {
						OR = {
							exists = no
							is_puppet = yes
							NOT = { has_completed_focus = FRA_little_entente }
						}
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					FRA = { 
						exists = yes
						is_subject = no
						has_completed_focus = FRA_little_entente 
					}
				}
				FRA = { country_event = { id = DOD_hungary.30 } }
			}
			if = {
				limit = {
					country_exists = ROM
					OR = {
						FRA = { NOT = { has_completed_focus = FRA_little_entente } }
						FRA = { exists = no }
						FRA = { is_subject = yes }
					}
				}
				ROM = { country_event = { id = DOD_hungary.30 } }
			}
			
		}
	}

	focus = {
		id = HUN_join_allies
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = HUN_rapproachement_with_little_entente }
		mutually_exclusive = { focus = HUN_the_balkan_pact }
		x = -1
		y = 3
		relative_position_id = HUN_elect_a_democratic_king

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0
					ENG = { has_capitulated = yes }
			}
			modifier = {
				factor = 0.2
					ENG = { surrender_progress > 0.2 }
			}
		}

		available = {
			is_in_faction = no
			is_subject = no
			ENG = {
				exists = yes
				is_puppet = no
				NOT = {
					has_war_with = HUN
				}
			}
			NOT = {
				any_other_country = {
					is_in_faction_with = ENG
					has_war_with = HUN	
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			ENG = { country_event = generic.2 }
		}
	}

	focus = {
		id = HUN_the_balkan_pact
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = HUN_rapproachement_with_little_entente }
		mutually_exclusive = { focus = HUN_join_allies }
		x = 1
		y = 3
		relative_position_id = HUN_elect_a_democratic_king

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			is_in_faction = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes } 
			create_faction = HUN_BALKAN_FACTION
		}
	}

	focus = {
		id = HUN_an_unlikely_alliance
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = HUN_the_balkan_pact }
		x = 1
		y = 4
		relative_position_id = HUN_elect_a_democratic_king

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			ROM = {
				is_in_faction = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			ROM = { country_event = generic.5 }
		}
	}

	focus = {
		id = HUN_joint_oil_exploitation_company
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = HUN_join_allies }
		x = -1
		y = 4
		relative_position_id = HUN_elect_a_democratic_king

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			is_in_faction_with = ENG
			ENG = {
				is_faction_leader = yes
				has_government = democratic
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = HUN_joint_oil_exploitation_company_tech_group
			ENG = { add_to_tech_sharing_group = HUN_joint_oil_exploitation_company_tech_group }
		}
	}


	############################
	####### FASCIST KING #######
	############################

	focus = {
		id = HUN_elect_a_fascist_king
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = HUN_elect_a_king }
		mutually_exclusive = { focus =  HUN_elect_a_democratic_king }
		mutually_exclusive = { focus =  HUN_invite_the_habsburg_prince }
		x = 3
		y = 1
		relative_position_id = HUN_elect_a_king

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			OR = {
				has_government = fascism
				has_government = neutrality				
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = HUN_hungarian_monarchy_fascism
				remove_idea = HUN_hungarian_monarchy_2
			}
			set_cosmetic_tag = HUN_MONARCHY
			if = {
				limit = {
					has_government = neutrality
				}
				add_popularity = { ideology = fascism popularity = 0.05 }
				create_country_leader = {
					name = "Friedrich Franz of Mecklenburg-Schwerin"
					desc = "POLITICS_FRIEDRICH_FRANZ_OF_MECKLENBURG-SCHWERIN_DESC"
					picture = GFX_Portrait_hungary_friedrich_franz
					expire = "1965.1.1"
					ideology = despotism
					traits = {
						fascist_sympathies
					}
					id = 501 #Neutral Franz
				}
				hidden_effect = {
					create_country_leader = {
						name = "Friedrich Franz of Mecklenburg-Schwerin"
						desc = "POLITICS_FRIEDRICH_FRANZ_OF_MECKLENBURG-SCHWERIN_DESC"
						picture = GFX_Portrait_hungary_friedrich_franz
						expire = "1965.1.1"
						ideology = nazism
						traits = {
						}
						id = 502 #Nazi Franz
					}
				}
				else = {
					create_country_leader = {
						name = "Friedrich Franz of Mecklenburg-Schwerin"
						desc = "POLITICS_FRIEDRICH_FRANZ_OF_MECKLENBURG-SCHWERIN_DESC"
						picture = GFX_Portrait_hungary_friedrich_franz
						expire = "1965.1.1"
						ideology = nazism
						traits = {
						}
						id = 502 #Nazi Franz
					}
				}
			}
			hidden_effect = {
				news_event = { id = news.297 }
			}
		}
	}

	############################
	## ECONOMIC INTERVENTION ###
	############################

	focus = {
		id = HUN_economic_intervention
		icon = GFX_goal_generic_demand_territory
		mutually_exclusive = { focus = HUN_balanced_budget }
		x = 15
		y = 0

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_interventionism
		}
	}



	############################
	####### FASCIST PATH #######
	############################

	focus = {
		id = HUN_strengthen_fascists
		icon = GFX_goal_support_fascism
		prerequisite = { focus = HUN_economic_intervention }
		mutually_exclusive = { focus = HUN_council_of_peoples_commissars }
		x = -5
		y = 1
		relative_position_id = HUN_economic_intervention

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_strengthen_fascists
			add_popularity = { ideology = fascism popularity = 0.05 }
			set_party_name = { ideology = fascism long_name = HUN_arrow_cross_party_long name = HUN_arrow_cross_party }
			hidden_effect = {
				create_country_leader = {
					name = "Miklos Horthy"
					desc = "POLITICS_MIKLOS_HORTHY_DESC"
					picture = "Portrait_Hungary_Miklos_Horthy.dds"
					expire = "1965.1.1"
					ideology = fascism_ideology
					traits = {
						anti_communist
					}
					id = 503 #Horthy fascist
				}
			}
		}
	}

	focus = {
		id = HUN_renounce_the_treaty_of_trianon
		icon = GFX_focus_renounce_the_treaty_of_trianon
		prerequisite = { focus = HUN_strengthen_fascists focus = HUN_elect_a_fascist_king }
		x = 0
		y = 3
		relative_position_id = HUN_strengthen_fascists

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			OR = {
				has_government = fascism
				fascism > 0.4
			}
			is_subject = no
		}

		bypass = {
			NOT = {
				has_idea = HUN_treaty_of_triannon
				has_idea = HUN_treaty_of_triannon_2
				has_idea = HUN_treaty_of_triannon_3
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_threat = 1
			if = {
				limit = { 
					FRA = { 
						has_completed_focus = FRA_little_entente 
						exists = yes
						is_subject = no
					} 

				}
				FRA = { country_event = { id = DOD_hungary.40 } }
			}
			if = {
				limit = { 
					OR = {
						NOT = { FRA = { has_completed_focus = FRA_little_entente } } 
						FRA = { exists = no }
						FRA = { is_subject = yes }
					}
				} #Romania gets the event if France not engaged in Balkans
				ROM = { country_event = { id = DOD_hungary.40 } }	 
			}
			
			#make Horthy or King dude leader. depending on focus picked earlier
			
			if = {
				limit = {
					has_completed_focus = HUN_strengthen_fascists
				}
				if = {
					#Retire Horthy if neutral leader
					limit = {
						has_country_leader = { id = 500 }
					}
					hidden_effect = { 
						retire_country_leader = yes 
					}
				}
			}

			if = {
				limit = {
					has_completed_focus = HUN_elect_a_fascist_king
				}
				if = {
					#Retire Franz if he neutral leader
					limit = {
						has_country_leader = { id = 501 }
					}
					hidden_effect = { retire_country_leader = yes }
				}

				#Undecided
				if = {
					limit = {
						NOT = { has_completed_focus = HUN_elect_a_fascist_king }
						NOT = { has_completed_focus = HUN_strengthen_fascists }
					}
					custom_effect_tooltip = HUN_renounce_the_treaty_of_trianon_tt
				}

				
			}
			if = {
				limit = {
					NOT = { has_government = fascism }
				}
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
			}
		}
	}

	focus = {
		id = HUN_renew_the_rome_protocols
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = HUN_strengthen_fascists }
		mutually_exclusive = { focus = HUN_trade_deal_with_germany }
		x = 2
		y = 1
		relative_position_id = HUN_renounce_the_treaty_of_trianon

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
                factor = 0
                is_historical_focus_on = yes
            }
		}

		available = {
			NOT = { has_war_with = ITA }
			NOT = { has_war_with = AUS }
			ITA = {
				NOT = { has_war_with = AUS }
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
			AUS = {
				OR = {
					has_government = neutrality
					has_government = fascism
				}
			}
		}

		bypass = {

		}
		historical_ai = {
			GER = {
				OR = {
					exists = no
					NOT = {
						has_government = fascism #historical AI should only pick this if Germany doesn't exist or isn't fascist
					}
				}
			}
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = HUN_interventionism_2
				remove_idea = HUN_interventionism
			}
			if = {
				limit = {
					country_exists = AUS
				}
				reverse_add_opinion_modifier = { target = AUS modifier = HUN_renew_the_rome_protocols }
				add_opinion_modifier = { target = AUS modifier = HUN_renew_the_rome_protocols }
			}
			if = {
				limit = {
					country_exists = ITA
				}
				reverse_add_opinion_modifier = { target = ITA modifier = HUN_renew_the_rome_protocols }
				add_opinion_modifier = { target = ITA modifier = HUN_renew_the_rome_protocols }
			}
			news_event = { id = news.312 }
		}
	}

	focus = {
		id = HUN_protect_austria
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = HUN_renew_the_rome_protocols }
		x = 2
		y = 2
		relative_position_id = HUN_renounce_the_treaty_of_trianon

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {
			4 = {
				NOT = { is_owned_by = AUS }
			}
			152 = {
				NOT = { is_owned_by = AUS }
			}
			153 = {
				NOT = { is_owned_by = AUS }
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			#This modifies the AI change in germany.4 Aschluss event
			give_guarantee = AUS
		}
	}

	focus = {
		id = HUN_alliance_with_italy
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = HUN_protect_austria }
		x = 2
		y = 3
		relative_position_id = HUN_renounce_the_treaty_of_trianon

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			NOT = { has_war_with = ITA }
			is_subject = no
			is_in_faction = no
			ITA = {
				OR = {
					is_in_faction = no
					is_faction_leader = yes
				}
				is_subject = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					ITA = { is_in_faction = no }
				}
				HUN = {
					set_rule = { can_create_factions = yes }
					create_faction = HUN_PACT_OF_ROME_FACTION
					ITA = { 
						country_event = generic.5 
						add_ai_strategy = {
							type = alliance
							id = "HUN"
							value = 200
						}
					}
					if = {
						limit = {
							country_exists = AUS
						}
						AUS = {
							country_event = generic.5
						}
					}
				}
			}
			if = {
				limit = {
					ITA = { is_faction_leader = yes }
				}
				ITA = {
					country_event = generic.2
				}
			}
			if = {
				limit = {
					ITA = { is_in_faction_with = FRA }
				}
				FRA = {
					country_event = generic.2
				}
			}
			hidden_effect = {
				news_event = { id = news.313 }
			}
			
		}
	}

	focus = {
		id = HUN_trade_deal_with_germany
		icon = GFX_goal_generic_trade
		prerequisite = { focus = HUN_renounce_the_treaty_of_trianon }
		mutually_exclusive = { focus = HUN_renew_the_rome_protocols }
		x = 0
		y = 1
		relative_position_id = HUN_renounce_the_treaty_of_trianon
		available = {
			NOT = { GER = { has_government = communism } }
		}

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			NOT = { has_war_with = GER }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_opinion_modifier = { target = GER modifier = HUN_trade_deal_with_germany }
			reverse_add_opinion_modifier = { target = GER modifier = HUN_trade_deal_with_germany }
			swap_ideas = {
				add_idea = HUN_interventionism_2
				remove_idea = HUN_interventionism
			}
		}
	}

	focus = {
		id = HUN_joint_aluminum_mining_company
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = HUN_trade_deal_with_germany }
		x = 0
		y = 2
		relative_position_id = HUN_renounce_the_treaty_of_trianon

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			ROOT = { has_full_control_of_state = 43 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			43 = {
				add_resource = {
					type = aluminium
					amount = 16
				}
			}
		}
	}

	focus = {
		id = HUN_join_axis
		icon = GFX_goal_anschluss
		prerequisite = { focus = HUN_joint_aluminum_mining_company }
		x = 0
		y = 3
		relative_position_id = HUN_renounce_the_treaty_of_trianon

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				factor = 0
					GER = { has_capitulated = yes }
			}
			modifier = {
				GER = { surrender_progress > 0.25 }
				factor = 0.1
			}
		}

		available = {
			NOT = { has_war_with = GER }
			is_subject = no
			is_in_faction = no
			NOT = {
				any_other_country = {
					is_in_faction_with = GER
					has_war_with = HUN	
				}
			}
			GER = {
				is_faction_leader = yes
				has_government = fascism
				is_subject = no
			}
		}

		bypass = {
			AND = { 
				is_in_faction_with = GER
				GER = {
					is_faction_leader = yes
					has_government = fascism
				}
			} 
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			GER = {
				country_event = generic.2
			}
		}
	}

	focus = {
		id = HUN_reaffirm_territorial_claims
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = HUN_renounce_the_treaty_of_trianon }
		x = -2
		y = 3
		relative_position_id = HUN_renounce_the_treaty_of_trianon

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 0.25
				OR = {
					YUG = {
						is_in_faction = yes
					}
					ROM = {
						is_in_faction = yes 
					}					
				}
			}
			modifier = {
				factor = 4
				is_in_faction = yes
				NOT = {
					OR = {
						is_in_faction_with = GER
						is_in_faction_with = ROM
						is_in_faction_with = YUG
					}
				}
			}
		}

		available = {
			is_puppet = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_state_core = 76
			add_state_core = 83
			add_state_core = 84
			add_state_core = 664
			add_state_claim = 45
			add_state_claim = 82
		}
	}

	focus = {
		id = HUN_demand_transylvania
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus =  HUN_reaffirm_territorial_claims }
		x = -1
		y = 1
		relative_position_id = HUN_reaffirm_territorial_claims
		will_lead_to_war_with = ROM
		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

			ROM = {
				controls_state = 76
				controls_state = 83
				controls_state = 84
			}
			is_puppet = no
			NOT = {
				is_in_faction_with = ROM
			}
			NOT = {
				has_war_with = ROM
			}
			strength_ratio = { tag = ROM ratio > 0.66 }
			has_army_manpower = { size > 200000 }
		
		}

		bypass = {
			OR = {
				664 = {
					OWNER = {
						has_war_with = ROOT
					}
				}
				NOT = {
					ROM = {
						controls_state = 76
						controls_state = 83
						controls_state = 84
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
			custom_effect_tooltip = HUN_demands_tt		
			ROM = { country_event = { id = DOD_hungary.50 } }
			hidden_effect = {
				news_event = { id = news.300 }
			}
		}
	}

	focus = {
		id = HUN_demand_southern_slovakia
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = HUN_reaffirm_territorial_claims }
		x = 1
		y = 1
		relative_position_id = HUN_reaffirm_territorial_claims
		will_lead_to_war_with = CZE
		will_lead_to_war_with = SLO
		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			
			if = {
				limit = { 
					country_exists = CZE 
					664 = { is_owned_by = CZE }
				}
				strength_ratio = { tag = CZE ratio > 0.75 }
			}
			if = {
				limit = { 
					country_exists = SLO 
					664 = { is_owned_by = SLO }
				}
				strength_ratio = { tag = SLO ratio > 0.75 }
			}
				
			
			has_army_manpower = { size > 120000 }
		}

		bypass = {
			OR = {
				owns_state = 664
				664 = {
					OWNER = {
						has_war_with = ROOT
					}
				}
				AND = {
					NOT = { CZE = { owns_state = 664 } }
					NOT = { SLO = { owns_state = 664 } }
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = HUN_demands_tt
			if = {
				limit = {
					CZE = {
						exists = yes 
						owns_state = 664
					}
				}
				if = {
					limit = {
						CZE = { is_subject = yes }
					}
					create_wargoal = {
						type = take_state_focus
						target = CZE
						generator = { 664 }
					}
					else = {
						CZE = { country_event = DOD_hungary.80 }
					}
				}
			}
			if = {
				limit = {
					664 = { is_owned_by = POL } #exchanged Danzig for Slovakia
				}
				create_wargoal = {
					type = take_state_focus
					target = POL
					generator = { 664 }
				}
			}
			if = {
				limit = {
					SLO = { 
						exists = yes 
						owns_state = 664
					}
				}
				SLO = { country_event = DOD_hungary.80 }
			}
			hidden_effect = {
				news_event = { id = news.303 }
			}
		}
	}

	focus = {
		id = HUN_demand_the_vojvodina
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = HUN_demand_transylvania }
		prerequisite = { focus = HUN_demand_southern_slovakia }
		x = 0
		y = 2
		relative_position_id = HUN_reaffirm_territorial_claims
		will_lead_to_war_with = YUG
		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			strength_ratio = { tag = YUG ratio > 0.75 }
			has_army_manpower = { size > 175000 }
		}

		bypass = {
			OR = {
				YUG = {
					exists = no
				}
				owns_state = 45
				45 = {
					OWNER = {
						is_in_faction_with = ROOT
					}
				}
				45 = {
					OWNER = {
						has_war_with = ROOT
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = HUN_demands_tt
			if = {
				limit = {
					OR = {
						has_war_with = YUG
						45 = {
							NOT = {
								is_owned_by = YUG
							}
						}
					}
				}
				add_state_claim = 45
				else = {
					if = {
						limit = {
							YUG = { 
								is_subject = yes 
								owns_state = 45
							}
						}
						create_wargoal = {
							type = take_state_focus
							target = YUG
							generator = { 45 }
						}
						else = {
							if = {
								limit = {
									45 = { is_owned_by = YUG }
								}
								YUG = { country_event = DOD_hungary.90 }
							}
						}
					}
				}
			}
			hidden_effect = {
				news_event = { id = news.306 }
			}
		}
	}

	focus = {
		id = HUN_claim_overlordship_over_slovakia
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = HUN_demand_southern_slovakia }
		x = 2
		y = 2
		relative_position_id = HUN_reaffirm_territorial_claims
		will_lead_to_war_with = SLO
		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			OR = {
				SLO = {
					exists = yes
					NOT = { is_puppet_of = HUN }
				}
				any_other_country = {
					owns_state = 70
					owns_state = 71
					owns_state = 72
					owns_state = 73
					NOT = {
						has_war_with = HUN
					}
				}
			}
			if = {
				limit = { country_exists = SLO }
				strength_ratio = { tag = SLO ratio > 0.75 }
				NOT = { has_war_with = SLO }
			}
			has_army_manpower = { size > 175000 }
		}

		bypass = {
			OR = {
				SLO = {
					is_subject_of = HUN
				}
				AND = {
					owns_state = 70
					owns_state = 71
					owns_state = 72
					owns_state = 73
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = HUN_demands_tt
			if = {
				limit = {
					70 = {
						controller = {
							NOT = {
								has_war_with = ROOT
							}
						}
					}
					SLO = { exists = no } 
					any_other_country = {
						NOT = {
							owns_state = 70
							owns_state = 71
							owns_state = 72
							owns_state = 73
						}
					}
				}
				70 = {
					controller = {
						country_event = DOD_hungary.100
					}
				}
			}
			if = {
				limit = {
					SLO = {
						exists = yes
						is_puppet = no
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				SLO = { country_event = DOD_hungary.107 }
			}
			if = {
				limit = {
					SLO = {
						exists = yes
						is_puppet = yes
						NOT = {
							has_war_with = ROOT
						}
					}
				}
				SLO = { OVERLORD = { country_event = DOD_hungary.107 } }
			}
			hidden_effect = {
				news_event = { id = news.309 }
			}
		}
	}

	focus = {
		id = HUN_proclaim_greater_hungary
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		prerequisite = { focus = HUN_demand_the_vojvodina }
		x = 0
		y = 3
		relative_position_id = HUN_reaffirm_territorial_claims

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			OR = {
				owns_state = 664
				owns_state = 73
				owns_state = 76
				owns_state = 84
				owns_state = 83
				owns_state = 82
				owns_state = 45
			}
			NOT = { has_global_flag = GER_reformed_austro_hungarian_empire }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = HUN_GREATER_tt
			set_cosmetic_tag = HUN_GREATER
			add_stability = 0.1
			hidden_effect = {
				news_event = { id = news.299 }
			}
		}
	}


	############################
	#### COMMUNIST BRANCH ######
	############################

	focus = {
		id = HUN_council_of_peoples_commissars
		icon = GFX_goal_support_communism
		prerequisite = { focus = HUN_economic_intervention }
		mutually_exclusive = { focus = HUN_strengthen_fascists }
		relative_position_id = HUN_economic_intervention
		x = 2
		y = 1

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = HUN_interventionism_communism
				remove_idea = HUN_interventionism
			}
		}
	}

	focus = {
		id = HUN_assassinate_horthy
		icon = GFX_focus_hun_assassinate_horthy
		x = 0
		y = 1
		relative_position_id = HUN_economic_intervention
		prerequisite = { focus = HUN_council_of_peoples_commissars }
		relative_position_id = HUN_council_of_peoples_commissars

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			communism > 0.3

		}

		bypass = {
			has_government = communism
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { has_country_leader = { id = 500 } }
				kill_country_leader = yes
			}
			set_politics = {
				ruling_party = communism
				elections_allowed = no
			}
			news_event = { id = news.314 }
		}
	}

	focus = {
		id = HUN_the_hungarian_red_army
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = HUN_assassinate_horthy }
		x = -3
		y = 2
		relative_position_id = HUN_council_of_peoples_commissars

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			NOT = {
				has_idea = HUN_treaty_of_triannon
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_the_hungarian_red_army
		}
	}

	focus = {
		id = HUN_soviet_hungarian_military_academy
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = HUN_the_hungarian_red_army }
		x = -3
		y = 3
		relative_position_id = HUN_council_of_peoples_commissars

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = HUN_soviet_hungarian_military_academy_tech_group
			SOV = { add_to_tech_sharing_group = HUN_soviet_hungarian_military_academy_tech_group }
		}
	}

	focus = {
		id = HUN_join_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = HUN_assassinate_horthy }
		mutually_exclusive = { focus = HUN_the_revolutionary_council }
		x = 0
		y = 2
		relative_position_id = HUN_council_of_peoples_commissars

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 0
					SOV = { has_capitulated = yes }
			}
		}

		available = {
			NOT = { has_war_with = SOV }
			NOT = {
				any_other_country = {
					is_in_faction_with = SOV
					has_war_with = HUN	
				}
			}
			is_subject = no
			SOV = { is_faction_leader = yes }
			communism > 0.5
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			SOV = {
				country_event = generic.2
			}
			if = {
				limit = {
					SOV = {
						NOT = {
							has_completed_focus = SOV_great_purge
						}
					}
				}
				retire_country_leader = yes
				create_country_leader = {
							name = "Bela Kun"
							desc = "POLITICS_BELA_KUN_DESC"
							picture = GFX_Portrait_hungary_bela_kun
							expire = "1965.1.1"
							ideology = marxism
							traits = {
							}
						}
			}
		}
	}

	focus = {
		id = HUN_the_revolutionary_council
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = HUN_assassinate_horthy }
		mutually_exclusive = { focus = HUN_join_comintern }
		x = 2
		y = 1
		relative_position_id = HUN_assassinate_horthy

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			is_in_faction = no
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes } 
			create_faction = HUN_FACTION_COMMIE
		}
	}

	focus = {
		id = HUN_pressure_romania
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = HUN_join_comintern }
		x = -1
		y = 3
		relative_position_id = HUN_council_of_peoples_commissars

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			ROM = { 
				exists = yes 
				NOT = { is_in_faction_with = SOV }
				NOT = { has_war_with = SOV }
				OR = {
					owns_state = 76
					owns_state = 78
				}
			}
			NOT = { has_war_with = SOV }
			SOV = { 
				is_faction_leader = yes 
				exists = yes
				is_subject = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { country_event = DOD_hungary.110 }
		}
	}

	focus = {
		id = HUN_intervene_in_czechoslovakia
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = HUN_join_comintern }
		x = 1
		y = 3
		relative_position_id = HUN_council_of_peoples_commissars

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			CZE = { exists = yes }
			NOT = { has_war_with = SOV }
			CZE = { NOT = { is_in_faction_with = SOV } }
			SOV = { is_faction_leader = yes }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { country_event = DOD_hungary.120 }
		}
	}

	############################
	##### INDUSTRY BRANCH ######
	############################

	focus = {
		id = HUN_industrial_revitalization
		icon = GFX_goal_generic_construction
		x = 22
		y = 0

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_industrial_revitalization
				bonus = 0.5
				uses = 1
				category = industry
			}
		}
	}

	focus = {
		id = HUN_reintegrate_the_railroads
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = HUN_industrial_revitalization }
		x = 0
		y = 1
		relative_position_id = HUN_industrial_revitalization

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = HUN_reintegrate_the_railroads_Inf
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = HUN_reintegrate_the_railroads_Inf_2
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = HUN_reintegrate_the_railroads_Inf_3
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			if = {
				limit = { country_exists = AUS }
				reverse_add_opinion_modifier = { target = AUS modifier = HUN_reintegrate_the_railroads }
			}
			if = {
				limit = { country_exists = CZE }
				reverse_add_opinion_modifier = { target = CZE modifier = HUN_reintegrate_the_railroads }
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 155 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = HUN_reintegrate_the_railroads_Inf
			}
			random_owned_controlled_state = {
				prioritize = { 43 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = HUN_reintegrate_the_railroads_Inf_2
			}
			random_owned_controlled_state = {
				prioritize = { 664 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = HUN_reintegrate_the_railroads_Inf_3
			}
			if = {
				limit = { country_exists = AUS }
				reverse_add_opinion_modifier = { target = AUS modifier = HUN_reintegrate_the_railroads }
			}
			if = {
				limit = { country_exists = CZE }
				reverse_add_opinion_modifier = { target = CZE modifier = HUN_reintegrate_the_railroads }
			}
		}
	}

	focus = {
		id = HUN_support_domestic_industry
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = HUN_reintegrate_the_railroads }
		x = -1
		y = 2
		relative_position_id = HUN_industrial_revitalization

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = HUN_support_domestic_industry_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = HUN_support_domestic_industry_IC
			}
		}
	}

	focus = {
		id = HUN_support_urbanization
		icon = GFX_goal_generic_construction
		prerequisite = { focus = HUN_reintegrate_the_railroads }
		x = 1
		y = 2
		relative_position_id = HUN_industrial_revitalization
		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					43 = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
					}
				}
				43 = {
					add_extra_state_shared_building_slots = 3
				}
			}
		}
	}

	focus = {
		id = HUN_institute_for_industrial_techniques
		icon = GFX_focus_research
		prerequisite = { focus = HUN_support_urbanization }
		prerequisite = { focus = HUN_support_domestic_industry }
		x = 0
		y = 3
		relative_position_id = HUN_industrial_revitalization
		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}


	focus = {
		id = HUN_announce_the_gyor_program
		icon = GFX_goal_generic_production
		prerequisite = { focus = HUN_institute_for_industrial_techniques }
		x = 0
		y = 4
		relative_position_id = HUN_industrial_revitalization

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_announce_the_gyor_program
				bonus = 0.5
				uses = 2
				category = industry
			}
		}
	}

	############################
	#### CIVILIAN INDUSTRY #####
	############################

	focus = {
		id = HUN_civilian_industry
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = HUN_announce_the_gyor_program }
		mutually_exclusive = { focus = HUN_domestic_arms_industry }
		x = -1
		y = 1
		relative_position_id = HUN_announce_the_gyor_program

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		
		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = HUN_civilian_industry_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = HUN_civilian_industry_IC
			}
		}
	}

	

	focus = {
		id = HUN_invite_foreign_investors
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = HUN_civilian_industry }
		x = -2
		y = 1
		relative_position_id = HUN_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_invite_foreign_investors
		}
	}

	focus = {
		id = HUN_expand_the_manfred_weiss_steel_works
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = HUN_invite_foreign_investors }
		x = -3
		y = 2
		relative_position_id = HUN_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = HUN_expand_the_manfred_weiss_steel_works_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 8
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 43 }
				limit = {
					ROOT = { has_full_control_of_state = PREV } 
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = HUN_expand_the_manfred_weiss_steel_works_IC
				add_resource = {
					type = steel
					amount = 12
				}
			}
		}
	}

	focus = {
		id = HUN_expand_the_aluminum_industry
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = HUN_invite_foreign_investors }
		x = -1
		y = 2
		relative_position_id = HUN_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			ROOT = { has_full_control_of_state = 43 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			43 = {
				add_resource = {
					type = aluminium
					amount = 16
				}
			}
		}
	}

	focus = {
		id = HUN_expand_the_technical_university_of_budapest
		icon = GFX_focus_research
		prerequisite = { focus = HUN_expand_the_manfred_weiss_steel_works }
		prerequisite = { focus = HUN_expand_the_aluminum_industry }
		x = -2
		y = 3
		relative_position_id = HUN_civilian_industry

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	############################
	###### ARMS INDUSTRY #######
	############################

	focus = {
		id = HUN_domestic_arms_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = HUN_announce_the_gyor_program }
		mutually_exclusive = { focus = HUN_civilian_industry }
		x = 1
		y = 1
		relative_position_id = HUN_announce_the_gyor_program

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = HUN_domestic_arms_industry_AF1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = HUN_domestic_arms_industry_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = HUN_domestic_arms_industry_AF1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = HUN_domestic_arms_industry_AF2
			}
		}
	}

	

	focus = {
		id = HUN_aeronautic_technology_institute
		icon = GFX_focus_research
		prerequisite = { focus = HUN_domestic_arms_industry }
		x = 1
		y = 1
		relative_position_id = HUN_domestic_arms_industry

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = HUN_boost_hungarian_aviation_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = HUN_aeronautic_technology_institute }
		x = 1
		y = 3
		relative_position_id = HUN_domestic_arms_industry

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = HUN_boost_hungarian_aviation_industry_AF1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = HUN_boost_hungarian_aviation_industry_AF1
			}
		}
	}


	############################
	#### Synthetic INDUSTRY #####
	############################

	focus = {
		id = HUN_autarky
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = HUN_civilian_industry focus = HUN_domestic_arms_industry }
		x = 0
		y = 2
		relative_position_id = HUN_announce_the_gyor_program

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		
		complete_tooltip = {
			
		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_synthetic_industry
				bonus = 0.75
				uses = 1
				category = synth_resources
			}
		}
	}

	focus = {
		id = HUN_synthetic_industry
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = HUN_autarky }
		x = 0
		y = 3
		relative_position_id = HUN_announce_the_gyor_program

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			has_tech = synth_oil_experiments
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no
		
		complete_tooltip = {

			random_state = {
				limit = {
					has_state_flag = HUN_synthetic_industry_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			if = {
				limit = { NOT = { has_tech = synth_oil_experiments } }
				custom_effect_tooltip = HUN_synthetic_oil_tt
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = synthetic_refinery
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
				set_state_flag = HUN_synthetic_industry_AF1
			}
		}
	}

	############################
	##### MILITARY STUFFS ######
	############################

	focus = {
		id = HUN_secret_rearmament
		icon = GFX_focus_secret_rearmament
		x = 33
		y = 0

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {
			NOT = { has_idea = HUN_treaty_of_triannon }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_secret_rearmament
		}
	}

	focus = {
		id = HUN_war_games
		icon = GFX_goal_poland_goal
		prerequisite = { focus = HUN_secret_rearmament }
		x = -1
		y = 1
		relative_position_id = HUN_secret_rearmament

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 25
		}
	}

	focus = {
		id = HUN_theoretical_air_efforts
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = HUN_secret_rearmament }
		x = 1
		y = 1
		relative_position_id = HUN_secret_rearmament

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_theoretical_air_efforts
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = HUN_bled_agreement
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = HUN_war_games focus = HUN_theoretical_air_efforts }
		x = 0
		y = 2
		relative_position_id = HUN_secret_rearmament

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {
			OR = {
				AND = {
					NOT = { has_idea = HUN_treaty_of_triannon }
					NOT = { has_idea = HUN_treaty_of_triannon_2 }
				}
				has_idea = HUN_treaty_of_triannon_3
				AND = {
					ROM = {
						OR = {
							exists = no
							is_puppet = yes
						}
					}
					FRA = {
						OR = {
							exists = no
							is_puppet = yes
							NOT = { has_completed_focus = FRA_little_entente }
						}
					}
				}
			}
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					FRA = { has_completed_focus = FRA_little_entente }
				}
				FRA = { country_event = DOD_hungary.140 }
			}
			if = {
				limit = {
					NOT = { FRA = { has_completed_focus = FRA_little_entente } }
				}
				ROM = { country_event = DOD_hungary.140 }
			}
		}
	}

	############################
	######## AIR STUFFS ########
	############################

	focus = {
		id = HUN_establish_the_air_force
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = HUN_bled_agreement }
		x = -5
		y = 4
		relative_position_id = HUN_secret_rearmament

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = HUN_establish_the_air_force
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = HUN_indigenous_designs
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = HUN_establish_the_air_force }
		prerequisite = { focus = HUN_boost_hungarian_aviation_industry }
		mutually_exclusive = { focus = HUN_license_foreign_designs }
		mutually_exclusive = { focus = HUN_joint_air_development }
		x = -2
		y = 5
		relative_position_id = HUN_establish_the_air_force

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_indigenous_designs
		}
	}

	focus = {
		id = HUN_heavy_fighter_effort
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = HUN_indigenous_designs }
		mutually_exclusive = { focus = HUN_light_fighter_effort }
		x = -3
		y = 1
		relative_position_id = HUN_indigenous_designs

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_heavy_fighter_effort
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				technology = heavy_fighter1
				technology = heavy_fighter2
				technology = heavy_fighter3
			}
		}
	}

	focus = {
		id = HUN_light_fighter_effort
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = HUN_indigenous_designs }
		mutually_exclusive = { focus = HUN_heavy_fighter_effort }
		x = -1
		y = 1
		relative_position_id = HUN_indigenous_designs

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_light_fighter_effort
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
			}
		}
	}

	focus = {
		id = HUN_cas_focus
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = HUN_indigenous_designs }
		mutually_exclusive = { focus = HUN_tac_focus }
		x = 1
		y = 1
		relative_position_id = HUN_indigenous_designs

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_cas_focus
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				technology = CAS1
				technology = CAS2
				technology = CAS3
			}
		}
	}

	focus = {
		id = HUN_tac_focus
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = HUN_indigenous_designs }
		mutually_exclusive = { focus = HUN_cas_focus }
		x = 3
		y = 1
		relative_position_id = HUN_indigenous_designs

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_tac_focus
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = tactical_bomber
			}
		}
	}

	focus = {
		id = HUN_license_foreign_designs
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = HUN_establish_the_air_force }
		mutually_exclusive = { focus = HUN_indigenous_designs }
		mutually_exclusive = { focus = HUN_joint_air_development }
		x = 5
		y = 5
		relative_position_id = HUN_establish_the_air_force

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_license_foreign
		}
	}

	focus = {
		id = HUN_fighter_competition
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = HUN_license_foreign_designs }
		x = -1
		y = 1
		relative_position_id = HUN_license_foreign_designs

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			NOT = {
				has_tech = fighter3
				has_tech = heavy_fighter3
			}
			OR = {
				GER = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_HUN = yes
							is_available_heavy_fighter_HUN = yes
						}
					}
				}
				FRA = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_HUN = yes
							is_available_heavy_fighter_HUN = yes
						}
					}
				}
				ITA = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_HUN = yes
							is_available_heavy_fighter_HUN = yes
						}
					}
				}
				ENG = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_HUN = yes
							is_available_heavy_fighter_HUN = yes
						}
					}
				}
				USA = {
					custom_trigger_tooltip = {
						tooltip = fighter_tt
						OR = {
							is_available_fighter_HUN = yes
							is_available_heavy_fighter_HUN = yes
						}
					}
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = DOD_hungary.150 
		}
	}

	focus = {
		id = HUN_bomber_competition
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = HUN_license_foreign_designs }
		x = 1
		y = 1
		relative_position_id = HUN_license_foreign_designs

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			NOT = {
				has_tech = CAS3
				has_tech = tactical_bomber3
			}
			OR = {
				GER = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_HUN = yes
							is_available_tac_HUN = yes
						}
					}
				}
				FRA = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_HUN = yes
							is_available_tac_HUN = yes
						}
					}
				}
				ITA = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_HUN = yes
							is_available_tac_HUN = yes
						}
					}
				}
				ENG = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_HUN = yes
							is_available_tac_HUN = yes
						}
					}
				}
				USA = {
					custom_trigger_tooltip = {
						tooltip = bomber_tt
						OR = {
							is_available_cas_HUN = yes
							is_available_tac_HUN = yes
						}
					}
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = DOD_hungary.160
		}
	}

	focus = {
		id = HUN_joint_air_development
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = HUN_establish_the_air_force }
		mutually_exclusive = { focus = HUN_license_foreign_designs }
		mutually_exclusive = { focus = HUN_indigenous_designs }
		x = 2
		y = 5
		relative_position_id = HUN_establish_the_air_force

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			is_in_faction = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = HUN_joint_air_development_group
			every_other_country = {
				limit = {
					is_in_faction_with = HUN
				}
				add_to_tech_sharing_group = HUN_joint_air_development_group
			}
		}
	}

	############################
	####### ARMY STUFFS ########
	############################

	focus = {
		id = HUN_army_maneuvers
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = HUN_bled_agreement }
		x = 6
		y = 1
		relative_position_id = HUN_bled_agreement

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 10
			add_tech_bonus = {
				name = HUN_army_maneuvers
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	############################
	###### MOBILE BRANCH #######
	############################

	focus = {
		id = HUN_mobile_focus
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = HUN_army_maneuvers }
		mutually_exclusive = { focus = HUN_home_defense }
		x = -2
		y = 1
		relative_position_id = HUN_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_mobile_focus
				bonus = 0.5
				uses = 1
				category = cat_mobile_warfare
			}
		}
	}

	focus = {
		id = HUN_the_botond
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = HUN_mobile_focus }
		x = -2
		y = 1
		relative_position_id = HUN_mobile_focus

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_the_botond
				bonus = 0.5
				uses = 1
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = HUN_motorized_logistics
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = HUN_the_botond }
		x = -1
		y = 4
		relative_position_id = HUN_mobile_focus

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_motorized_logistics
				bonus = 0.5
				uses = 2
				category = hospital_tech
				category = logistics_tech
			}
		}
	}

	focus = {
		id = HUN_develop_tanks
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = HUN_mobile_focus }
		mutually_exclusive = { focus = HUN_assault_gun_focus }
		x = 0
		y = 1
		relative_position_id = HUN_mobile_focus

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_develop_tanks
				ahead_reduction = 1
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = HUN_assault_gun_focus
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = HUN_mobile_focus focus = HUN_home_defense }
		mutually_exclusive = { focus = HUN_develop_tanks }
		x = 2
		y = 1
		relative_position_id = HUN_mobile_focus

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_assault_gun_focus
		}
	}

	focus = {
		id = HUN_joint_tank_procurement
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = HUN_develop_tanks focus = HUN_assault_gun_focus }
		x = 1
		y = 2
		relative_position_id = HUN_mobile_focus

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			is_in_faction = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = HUN_joint_tank_development_group
			every_other_country = {
				limit = {
					is_in_faction_with = HUN
				}
				add_to_tech_sharing_group = HUN_joint_tank_development_group
			}
			
		}
	}

	focus = {
		id = HUN_armored_warfare
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = HUN_the_botond }
		x = 0
		y = 1
		relative_position_id = HUN_the_botond

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_armored_warfare
				bonus = 0.5
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = HUN_mobile_corps_doctrine
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = HUN_armored_warfare }
		x = 0
		y = 2
		relative_position_id = HUN_the_botond

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_mobile_corps_doctrine
				bonus = 0.5
				uses = 1
				category = cat_mobile_warfare
			}
		}
	}

	############################
	##### HOME DEF BRANCH ######
	############################

	focus = {
		id = HUN_home_defense
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = HUN_army_maneuvers }
		mutually_exclusive = { focus = HUN_mobile_focus }
		x = 2
		y = 1
		relative_position_id = HUN_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_home_defense
				bonus = 0.5
				uses = 1
				category = cat_grand_battle_plan
			}
		}
	}

	focus = {
		id = HUN_danuvia_submachine_guns
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = HUN_home_defense }
		x = 0
		y = 1
		relative_position_id = HUN_home_defense

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_danuvia_submachine_guns
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = HUN_artillery_effort
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = HUN_danuvia_submachine_guns }
		x = 0
		y = 2
		relative_position_id = HUN_home_defense

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_artillery_effort
				bonus = 0.5
				uses = 2
				category = artillery
			}
		}
	}

	focus = {
		id = HUN_light_infantry_divisions_doctrine
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = HUN_danuvia_submachine_guns }
		x = 2
		y = 2
		relative_position_id = HUN_home_defense

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = HUN_light_infantry_divisions_doctrine_tech_tt
			custom_effect_tooltip = HUN_light_infantry_divisions_doctrine_unit_tt
			hidden_effect = {
				if = {
					limit = { has_tech = tech_engineers }
					division_template = {
						name = "Light Division"
						division_names_group = HUN_INF_01
						priority = 2
		
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
				
		    	   		 	infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
						}
						support = {
							recon = { x = 0 y = 0 }
							artillery = { x = 0 y = 1 }
							engineer = { x = 0 y = 1 }
						}
					}
					else = {
						division_template = {
							name = "Light Division"
							division_names_group = HUN_INF_01
							priority = 2
			
							regiments = {
								infantry = { x = 0 y = 0 }
								infantry = { x = 0 y = 1 }
								infantry = { x = 0 y = 2 }
					
			    	   		 	infantry = { x = 1 y = 0 }
								infantry = { x = 1 y = 1 }
								infantry = { x = 1 y = 2 }
							}
							support = {
								recon = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
								engineer = { x = 0 y = 1 }
							}
						}					
					}
				}	
				random_owned_controlled_state = {
					prioritize = { 43 }
					limit = { ROOT = { has_full_control_of_state = PREV } }
					create_unit = {
						division = "name = \"1. Light Division\" division_template = \"Light Division\" start_experience_factor = 1.0" 
						owner = HUN
					}
				}
			}
			hidden_effect = { set_technology = { HUN_light_infantry_tech = 1 } }
		}
	}

	focus = {
		id = HUN_form_parachute_battalions
		icon = GFX_focus_generic_paratrooper
		prerequisite = { focus = HUN_light_infantry_divisions_doctrine }
		x = 2
		y = 3
		relative_position_id = HUN_home_defense

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_form_parachute_battalions
				bonus = 0.75
				uses = 1
				category = para_tech
			}
		}
	}

	############################
	##### Naval Branch    ######
	############################

	focus = {
		id = HUN_naval_warfare
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = HUN_secret_rearmament }
		x = 12
		y = 1
		relative_position_id = HUN_secret_rearmament

		cost = 10

		ai_will_do = {
			factor = 50
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = HUN_naval_warfare
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = HUN_ganz_danubius
		}
	}

	focus = {
		id = HUN_restauration
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = HUN_naval_warfare }
		mutually_exclusive = { focus = HUN_reform }
		x = -1
		y = 2
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_restauration
				bonus = 0.75
				uses = 1
				category = cat_fleet_in_being
			}

		}
	}

	focus = {
		id = HUN_capital_ships
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = HUN_restauration }
		x = -2
		y = 3
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_capital_ships
				bonus = 0.5
				uses = 2
				category = bc_tech
				category = bb_tech
			}

		}
	}


	focus = {
		id = HUN_reform
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = HUN_naval_warfare }
		mutually_exclusive = { focus = HUN_restauration }
		x = 1
		y = 2
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_reform
				bonus = 0.5
				uses = 2
				category = cat_trade_interdiction
				category = cat_base_strike
			}

		}
	}

	focus = {
		id = HUN_destroyer
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = HUN_restauration Focus = HUN_reform }
		x = 0
		y = 3
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_destroyer
				bonus = 0.75
				uses = 1
				category = dd_tech
			}

		}
	}

	focus = {
		id = HUN_cruisers
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = HUN_destroyer }
		x = 0
		y = 4
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_cruisers
				bonus = 0.5
				uses = 2
				category = cl_tech
				category = ca_tech
			}

		}
	}

	focus = {
		id = HUN_submarines
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = HUN_reform }
		x = 2
		y = 3
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_submarines
				bonus = 0.75
				uses = 1
				category = ss_tech
			}

		}
	}


	focus = {
		id = HUN_carriers
		icon = GFX_goal_generic_navy_carrier
		prerequisite = { focus = HUN_submarines }
		x = 2
		y = 4
		relative_position_id = HUN_naval_warfare

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = HUN_carriers
				bonus = 0.75
				uses = 1
				category = cv_tech
			}

		}
	}

	focus = {
		id = RAJ_provincial_elections
		icon = GFX_goal_generic_forceful_treaty
		x = 6
		y = 0

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			threat > 0.1
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 100			
			add_autonomy_ratio = {
				value = 0.1
				localization = RAJ_provincial_elections
			}
			swap_ideas = {
				add_idea = RAJ_princely_states_election
				remove_idea = RAJ_princely_states
			}
		}
	}

	focus = {
		id = RAJ_swaraj
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = RAJ_provincial_elections }
		mutually_exclusive = { focus = RAJ_indian_national_congress }
		x = -1
		y = 1
		relative_position_id = RAJ_provincial_elections

		cost = 10

		ai_will_do = {
			factor = 15
			modifier = {
				OR = {
					communism > 0.2
					fascism > 0.2
				}
				factor = 3
			}
		}

		available = {
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_autonomy_ratio = {
				value = 0.1
				localization = RAJ_indian_national_congress
			}
			add_opinion_modifier = { target = ENG modifier = RAJ_swaraj }
			hidden_effect = { news_event = { id = news.284 hours = 12 } }
		}
	}

	focus = {
		id = RAJ_indian_national_congress
		icon = GFX_goal_generic_neutrality_focus
		prerequisite = { focus = RAJ_provincial_elections }
		mutually_exclusive = { focus = RAJ_swaraj }
		x = 1
		y = 1
		relative_position_id = RAJ_provincial_elections

		cost = 10

		ai_will_do = {
			factor = 27
		}

		available = {
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_autonomy_ratio = {
				value = 0.1
				localization = RAJ_indian_national_congress
			}
			add_opinion_modifier = { target = ENG modifier = RAJ_indian_national_congress }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RAJ_bhimrao_ramji_ambedkar
			hidden_effect = { news_event = { id = news.283 hours = 12 } }
		}
	}

	focus = {
		id = RAJ_quit_india_movement
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = RAJ_swaraj focus = RAJ_cripps_mission }
		x = 0
		y = 2
		relative_position_id = RAJ_swaraj

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = RAJ_quit_india_movement
			set_country_flag = RAJ_quit_india_movement
			custom_effect_tooltip = "tfv_raj_quit_india_unrest_tt"
			hidden_effect = {
				country_event = { id = tfv_raj.210 days = 15 random = 20 }
				news_event = { id = news.282 hours = 6 }
			}
		}
	}

	############################
	###### COMMIE/FASCIST ######
	############################

	focus = {
		id = RAJ_all_india_forward_bloc
		icon = GFX_focus_RAJ_all_india_forward_bloc
		prerequisite = { focus = RAJ_swaraj }
		x = -4
		y = 1
		relative_position_id = RAJ_swaraj

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
			add_ideas = RAJ_all_india_forward_bloc
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = RAJ_karam_singh_mann
			show_ideas_tooltip = RAJ_subhas_chanda_bose
		}
	}


	############################
	########## SOVIET ##########
	############################

	focus = {
		id = RAJ_seek_help_from_soviet
		icon = GFX_focus_RAJ_seek_help_from_soviet
		prerequisite = { focus = RAJ_all_india_forward_bloc }		
		x = -1
		y = 1
		relative_position_id = RAJ_all_india_forward_bloc

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				AND = {
					communism > 0.25
					fascism < 0.25
				}
				factor = 3
			}
		}

		available = {
			if = {
				limit = {
					NOT = { has_government = fascism }
				}
				compare_autonomy_state < autonomy_dominion
			}
			if = {
				limit = {
					has_government = fascism
				}
				compare_autonomy_state < autonomy_satellite
			}
			has_civil_war = no
			NOT = { has_country_flag = RAJ_seek_help_from_germany_promised }
			SOV_can_help_against_ENG = yes
		}

		bypass = {
			is_in_faction_with = SOV
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = {
				country_event = { id = tfv_raj.30 hours = 6 }
			}
			if = {
				limit = {
					has_idea = RAJ_all_india_forward_bloc_fascism
				}
				swap_ideas = {
					add_idea = RAJ_all_india_forward_bloc_communism
					remove_idea = RAJ_all_india_forward_bloc_fascism
				}
				else = {
					swap_ideas = {
						add_idea = RAJ_all_india_forward_bloc_communism
						remove_idea = RAJ_all_india_forward_bloc
					}
				}
			}
		}
	}

	focus = {
		id = RAJ_indian_peoples_army
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = RAJ_seek_help_from_soviet }
		mutually_exclusive = { focus = RAJ_indian_national_army }
		x = 0
		y = 1
		relative_position_id = RAJ_seek_help_from_soviet

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			has_civil_war = no
			#communism > 0.15
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			custom_effect_tooltip = RAJ_indian_peoples_army_effect
		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_research_city_excursions
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = RAJ_indian_peoples_army }
		x = -1
		y = 2
		relative_position_id = RAJ_seek_help_from_soviet

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_in_faction_with = SOV
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_combined_arms_academy
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = RAJ_research_city_excursions }
		x = -1
		y = 3
		relative_position_id = RAJ_seek_help_from_soviet

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_in_faction_with = SOV
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	############################
	######### SHARED ###########
	############################


	focus = {
		id = RAJ_rani_of_jhans
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = RAJ_indian_peoples_army focus = RAJ_indian_national_army }
		x = 0
		y = 3
		relative_position_id = RAJ_all_india_forward_bloc

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
		custom_effect_tooltip = RAJ_create_unit_rani_tt
		custom_effect_tooltip = RAJ_create_general_rani_tt
			hidden_effect = {
			create_corps_commander = {
				name = "Lakshmi Sahgal"
				gfx = "GFX_RAJ_lakshmi_sahgal"
				traits = { }
				skill = 3
				female = yes
				attack_skill = 3
				defense_skill = 2
				planning_skill = 3
				logistics_skill = 2
			}
			division_template = {
				name = "Rani of Jhansi Division"
				division_names_group = RAJ_INF_01
				regiments = {
					infantry = { x = 0 y = 0 }
					infantry = { x = 0 y = 1 }
					infantry = { x = 0 y = 2 }
		
		        	infantry = { x = 1 y = 0 }
					infantry = { x = 1 y = 1 }
					infantry = { x = 1 y = 2 }
		
		        	infantry = { x = 2 y = 0 }
					infantry = { x = 2 y = 1 }
					infantry = { x = 2 y = 2 }
				}
			}

		random_owned_controlled_state = {
			prioritize = { 439 }
			create_unit = { 
				division = "name = \"1. Rani of Jhansi Division\" division_template = \"Rani of Jhansi Division\" start_experience_factor = 0.5" 
				owner = RAJ
				}

		}
			}
		}
	}

	focus = {
		id = RAJ_rebuilding_the_nation
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = RAJ_rani_of_jhans }
		x = 0
		y = 4
		relative_position_id = RAJ_all_india_forward_bloc

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = RAJ_rebuilding_the_nation_IC1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_rebuilding_the_nation_IC2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_rebuilding_the_nation_AF
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_rebuilding_the_nation_IC1
			}
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					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
				}
				set_state_flag = RAJ_rebuilding_the_nation_IC2
			}
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_rebuilding_the_nation_AF
			}
		}
	}



	############################
	######### GERMANY ##########
	############################

	focus = {
		id = RAJ_seek_help_from_germany
		icon = GFX_focus_RAJ_lions_of_the_great_war
		prerequisite = { focus = RAJ_all_india_forward_bloc }		
		x = 1
		y = 1
		relative_position_id = RAJ_all_india_forward_bloc

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				AND = {
					communism < 0.25
					fascism > 0.25
				}
				factor = 3
			}
		}

		available = {
			if = {
				limit = { NOT = { has_government = fascism } }
				compare_autonomy_state < autonomy_dominion
			}
			if = {
				limit = {
					has_government = fascism
				}
				compare_autonomy_state < autonomy_satellite
			}
			has_civil_war = no
			NOT = { has_global_flag = RAJ_seek_help_from_soviet_promised }
			GER = {				
				exists = yes
				has_government = fascism
			}
		}

		bypass = {
			is_in_faction_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			GER = {
				country_event = { id = tfv_raj.40 hours = 6 }
			}
			if = {
				limit = {
					has_idea = RAJ_all_india_forward_bloc_communism
				}
				swap_ideas = {
					add_idea = RAJ_all_india_forward_bloc_fascism
					remove_idea = RAJ_all_india_forward_bloc_communism
				}
				else = {
					swap_ideas = {
						add_idea = RAJ_all_india_forward_bloc_fascism
						remove_idea = RAJ_all_india_forward_bloc
					}
				}
			}
		}
	}

	focus = {
		id = RAJ_indian_national_army
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = RAJ_seek_help_from_germany }
		mutually_exclusive = { focus = RAJ_indian_peoples_army }
		x = 0
		y = 1
		relative_position_id = RAJ_seek_help_from_germany

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			has_civil_war = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			custom_effect_tooltip = RAJ_indian_national_army_effect
		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_battaglione_azad_hindoustan
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = RAJ_seek_help_from_germany }
		x = 2
		y = 1
		relative_position_id = RAJ_seek_help_from_germany

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			ITA = {
				has_capitulated = no
				is_in_faction_with = GER
				has_government = fascism
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { NOT = { has_tech = paratroopers } }
				set_technology = { paratroopers = 1 }
				
				else = {
					add_tech_bonus = {
						name = RAJ_battaglione_azad_hindoustan
						bonus = 0.5
						uses = 1
						technology = paratroopers2
						technology = paratroopers3
					}
				}
			}
			
		
			ITA = {
				country_event = { id = tfv_raj.201 }
			}
			
			if = {
				limit = {
					is_ai = no
				}
				
				division_template = {
					name = "Battaglione Azad Hindoustan" #Hindu paratrooper division created for Italy
					division_names_group = RAJ_PAR_01
					regiments = {
						paratrooper = { x = 0 y = 0 }
						paratrooper = { x = 0 y = 1 }
						paratrooper = { x = 0 y = 2 }

						paratrooper = { x = 1 y = 0 }
						paratrooper = { x = 1 y = 1 }
						paratrooper = { x = 1 y = 2 }
					}
				}
					
				ITA = {
					random_owned_controlled_state = {
						prioritize = { 2 }
						
						custom_effect_tooltip = tfv_raj_focus_paratrooper_tt
						hidden_effect = {
							create_unit = { 
								division = "name = \"Battaglione Azad Hindoustan\" division_template = \"Battaglione Azad Hindoustan\" start_experience_factor = 1.0" 
								owner = RAJ
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = RAJ_german_technology
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = RAJ_indian_national_army }
		x = 1
		y = 2
		relative_position_id = RAJ_seek_help_from_germany
		dynamic = yes
		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			OR = {
				is_in_faction_with = GER
				is_in_faction_with = JAP
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			GER = { add_to_tech_sharing_group = axis_research }
			add_to_tech_sharing_group = axis_research
		}
	}

	focus = {
		id = RAJ_japanese_army_air_force_academy
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = RAJ_german_technology }
		x = 1
		y = 3
		relative_position_id = RAJ_seek_help_from_germany
		dynamic = yes
		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			OR = {
				is_in_faction_with = GER
				is_in_faction_with = JAP
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {	
			air_experience = 25
			add_tech_bonus = {
				name = RAJ_japanese_army_air_force_academy
				bonus = 0.75
				uses = 1
				category = light_fighter
				category = cas_bomber
			}
			add_tech_bonus = {
				name = RAJ_japanese_army_air_force_academy
				bonus = 0.50
				uses = 1
				category = air_doctrine
			}
		}
	}


	############################
	### SOMEWHAT DEMOCRATIC ####
	############################

	focus = {
		id = RAJ_cripps_mission
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = RAJ_indian_national_congress }
		x = 0
		y = 1
		relative_position_id = RAJ_indian_national_congress

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = RAJ_marginalized_muslim_community_angry
				remove_idea = RAJ_marginalized_muslim_community
			}
			add_autonomy_ratio = {
				value =	0.05
				localization = RAJ_cripps_mission
		 	}		 	
		}
	}

	focus = {
		id = RAJ_two_nation_theory
		icon = GFX_focus_RAJ_two_nation_theory
		prerequisite = { focus = RAJ_cripps_mission }
		x = 0
		y = 2
		relative_position_id = RAJ_indian_national_congress

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = RAJ_two_nation_theory_effect
			swap_ideas = {
				add_idea = RAJ_marginalized_muslim_community_happy
				remove_idea = RAJ_marginalized_muslim_community_angry
			}
		}
	}

	focus = {
		id = RAJ_princely_state_donations
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = RAJ_indian_national_congress }
		x = 2
		y = 1
		relative_position_id = RAJ_indian_national_congress

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = RAJ_princely_states_donations
				remove_idea = RAJ_princely_states_election
			}
		}
	}

	focus = {
		id = RAJ_imperial_service_troops
		icon = GFX_focus_generic_commonwealth_build_infantry
		prerequisite = { focus =  RAJ_princely_state_donations }
		x = 0
		y = 1
		relative_position_id = RAJ_princely_state_donations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_raf_funding
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = RAJ_imperial_service_troops }
		x = -1
		y = 2
		relative_position_id = RAJ_princely_state_donations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = { id = tfv_raj.1 }
		}
	}

	focus = {
		id = RAJ_navy_funding
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = RAJ_imperial_service_troops }
		x = 1
		y = 2
		relative_position_id = RAJ_princely_state_donations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_british_army_support
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = RAJ_indian_national_congress }
		x = 5
		y = 1
		relative_position_id = RAJ_indian_national_congress

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject_of = ENG
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 20
			add_tech_bonus = {
				name = RAJ_british_army_support
				bonus = 0.5
				uses = 1
				category = support_tech
			}
		}
	}

	focus = {
		id = RAJ_red_eagle_division
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = RAJ_british_army_support }
		x = -1
		y = 1
		relative_position_id = RAJ_british_army_support

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
		custom_effect_tooltip = RAJ_create_unit_red_eagles_tt
		army_experience = 50
			hidden_effect = {
				division_template = {
					name = "Red Eagles Division"
					priority = 2
					division_names_group = RAJ_INF_01
					regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
			
	    	   		 	infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }

						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
					}

					support = {
        				artillery = { x = 0 y = 0 }
        				engineer = { x = 0 y = 1 }
					}
				}
	
				random_owned_controlled_state = {
					prioritize = { 439 }
					create_unit = {
						division = "name = \"Red Eagles Division\" division_template = \"Red Eagles Division\" start_experience_factor = 0.75" 
						owner = RAJ
					}	
				}
			}
		}
	}

	focus = {
		id = RAJ_chindits
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = RAJ_british_army_support }
		x = 1
		y = 1
		relative_position_id = RAJ_british_army_support

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = RAJ_indian_gurkhas
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
		custom_effect_tooltip = RAJ_orde_wingate_tt
		hidden_effect = {
			create_corps_commander = {
				name = "Orde Wingate"
				gfx = "GFX_RAJ_orde_wingate"
				traits = { jungle_rat }
				skill = 4
				attack_skill = 2
				defense_skill = 2
				planning_skill = 2
				logistics_skill = 3
				}
			}
			add_tech_bonus = {
				name = RAJ_chindits
				bonus = 0.75
				uses = 2
				category = para_tech
				category = mountaineers_tech
			}
		}
	}

	focus = {
		id = RAJ_jungle_training
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = RAJ_chindits }
		prerequisite = { focus = RAJ_indian_gurkhas }
		x = 2
		y = 2
		relative_position_id = RAJ_british_army_support

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = RAJ_jungle_training_effect
			hidden_effect = { set_technology = { jungle_warfare = 1 } }
		}
	}


	############################
	#### WAR PREP SECTION ######
	############################


	focus = {
		id = RAJ_lessons_of_the_great_war
		icon = GFX_goal_generic_small_arms
		x = 20
		y = 0

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_lessons_of_the_great_war
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	############################
	####### INDIAN ARMY ########
	############################

	focus = {
		id = RAJ_indianisation_of_army
		icon = GFX_focus_RAJ_indianisation_of_army
		prerequisite = { focus = RAJ_lessons_of_the_great_war }
		x = -4
		y = 1
		relative_position_id = RAJ_lessons_of_the_great_war

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 100
			army_experience = 25
		}
	}

	focus = {
		id = RAJ_indian_gurkhas
		icon = GFX_focus_RAJ_indian_gurkhas
		prerequisite = { focus = RAJ_indianisation_of_army }
		x = -1
		y = 2
		relative_position_id = RAJ_indianisation_of_army

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = RAJ_chindits
			}
		}

		available = {
			has_tech = tech_mountaineers
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = RAJ_indian_gurkhas			
			custom_effect_tooltip = RAJ_create_unit_gurkas_tt
			hidden_effect = {	
				division_template = {
					name = "Gorkha Rifles"
					priority = 2
					division_names_group = RAJ_MNT_01
					regiments = {
						mountaineers = { x = 0 y = 0 }
						mountaineers = { x = 0 y = 1 }
						mountaineers = { x = 0 y = 2 }
			
	    	   		 	mountaineers = { x = 1 y = 0 }
						mountaineers = { x = 1 y = 1 }
						mountaineers = { x = 1 y = 2 }

						mountaineers = { x = 2 y = 0 }
						mountaineers = { x = 2 y = 1 }
						mountaineers = { x = 2 y = 2 }
					}
				}
	
				random_owned_controlled_state = {
					prioritize = { 439 }
					create_unit = {
						division = "name = \"1. Gorkha Rifles\" division_template = \"Gorkha Rifles\" start_experience_factor = 1.0" 
						owner = RAJ
					}	
				}
			}

		}
	}

	focus = {
		id = RAJ_an_indian_sandhurst
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = RAJ_indianisation_of_army }
		x = 0
		y = 1
		relative_position_id = RAJ_indianisation_of_army

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = RAJ_indian_sandhurst_tt 
			hidden_effect = {
				create_corps_commander = {
					name = "Kodandera Madappa Cariappa"
					gfx = "GFX_RAJ_kodandera_madappa_cariappa"
					traits = { }
					skill = 4
					attack_skill = 1
					defense_skill = 4
					planning_skill = 2
					logistics_skill = 2
				}
				create_corps_commander = {
					name = "Kodandera Subayya Thimayya"
					gfx = "GFX_RAJ_kodendera_subayya_thimayya"
					traits = { jungle_rat }
					skill = 3
					attack_skill = 3
					defense_skill = 1
					planning_skill = 1
					logistics_skill = 3
				}
				create_corps_commander = {
					name = "Jayanto Nath Chaudhuri"
					gfx = "GFX_RAJ_jayanto_nath_chaudhuri"
					traits = { panzer_leader }
					skill = 3
					attack_skill = 4
					defense_skill = 1
					planning_skill = 2
					logistics_skill = 2
				}
			}
		}
	}

	focus = {
		id = RAJ_lions_of_the_great_war
		icon = GFX_focus_RAJ_lions_of_the_great_war
		prerequisite = { focus = RAJ_indianisation_of_army }
		x = 1
		y = 2
		relative_position_id = RAJ_indianisation_of_army

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = RAJ_lions_of_the_great_war
			custom_effect_tooltip = RAJ_create_unit_sikh_tt
			hidden_effect = {

				division_template = {
				name = "Sikh Regiment" #sikh regiment, bro
				division_names_group = RAJ_INF_01
				regiments = {
						infantry = { x = 0 y = 0 }
						infantry = { x = 0 y = 1 }
						infantry = { x = 0 y = 2 }
		
		        		infantry = { x = 1 y = 0 }
						infantry = { x = 1 y = 1 }
						infantry = { x = 1 y = 2 }

						infantry = { x = 2 y = 0 }
						infantry = { x = 2 y = 1 }
						infantry = { x = 2 y = 2 }
							}
						}
		
					random_owned_controlled_state = {
							prioritize = { 439 }
							create_unit = { 
								division = "name = \"1. Sikh Regiment\" division_template = \"Sikh Regiment\" start_experience_factor = 0.5" 
								owner = RAJ
								}
		
					}
				}

		}
	}

	focus = {
		id = RAJ_indian_gentlemen_officers
		icon = GFX_focus_RAJ_indian_gentlemen_offcers
		prerequisite = { focus = RAJ_an_indian_sandhurst }
		x = 0
		y = 3
		relative_position_id = RAJ_indianisation_of_army

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			if = {
				limit = { NOT = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism }
				compare_autonomy_state > autonomy_reichsprotectorate
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = RAJ_indian_gentlemen_officers
		}
	}


	############################
	# ARMOR/MECH/STUFF SECTION #
	############################

	focus = {
		id = RAJ_the_bangalore_torpedo
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = RAJ_lessons_of_the_great_war }
		x = -1
		y = 1
		relative_position_id = RAJ_lessons_of_the_great_war

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_the_bangalore_torpedo
				bonus = 0.5
				uses = 2
				category = engineers_tech
			}
		}
	}

	focus = {
		id = RAJ_vickers_berthier_gun
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = RAJ_lessons_of_the_great_war }
		x = 2
		y = 0
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_vickers_berthier_gun
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = RAJ_royal_indian_artillery
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = RAJ_the_bangalore_torpedo focus = RAJ_vickers_berthier_gun }
		x = 0
		y = 1
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 10
			add_tech_bonus = {
				name = RAJ_royal_indian_artillery
				bonus = 0.5
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = RAJ_army_motorization
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = RAJ_the_bangalore_torpedo focus = RAJ_vickers_berthier_gun }
		x = 2
		y = 1
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_army_motorization
				bonus = 0.5
				uses = 1
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = RAJ_revive_the_screw_guns
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = RAJ_royal_indian_artillery }
		x = 0
		y = 2
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 30
			modifier = {
				factor = 2
				has_completed_focus = RAJ_indian_armor
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = RAJ_revive_the_screw_guns_effect
			hidden_effect = { set_technology = { mountain_gun = 1 } }
		}
	}

	focus = {
		id = RAJ_indian_armor
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = RAJ_army_motorization }
		x = 2
		y = 2
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 30
			modifier = {
				factor = 2
				has_completed_focus = RAJ_revive_the_screw_guns
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_indian_armor
				bonus = 0.5
				uses = 1
				category = armor
			}
		}
	}

	focus = {
		id = RAJ_modernizing_army
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = RAJ_revive_the_screw_guns }
		prerequisite = { focus = RAJ_indian_armor }
		x = 1
		y = 3
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_indian_defense_research
		icon = GFX_focus_research
		prerequisite = { focus = RAJ_modernizing_army }
		prerequisite = { focus = RAJ_indian_gentlemen_officers }
		x = -1
		y = 4
		relative_position_id = RAJ_the_bangalore_torpedo

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}


	############################
	######## AIR SECTION #######
	############################

	focus = {
		id = RAJ_british_pilot_training
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = RAJ_lessons_of_the_great_war }
		x = 4
		y = 1
		relative_position_id = RAJ_lessons_of_the_great_war

		cost = 10

		ai_will_do = {
			factor = 20

		}

		available = {

		}

		bypass = {
		NOT = { is_in_faction_with = ENG }

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_expand_air_bases
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = RAJ_british_pilot_training }
		prerequisite = { focus = RAJ_industrial_expansion }
		x = 0
		y = 1
		relative_position_id = RAJ_british_pilot_training

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_air_support_effort
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = RAJ_expand_air_bases }
		x = -1
		y = 2
		relative_position_id = RAJ_british_pilot_training

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {			
			add_tech_bonus = {
				name = RAJ_air_support_effort
				bonus = 0.5
				uses = 1
				category = tactical_bomber
				category = cas_bomber
				category = naval_bomber
			}
		}
	}

	focus = {
		id = RAJ_fighter_effort
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = RAJ_expand_air_bases }
		x = 1
		y = 2
		relative_position_id = RAJ_british_pilot_training

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_royal_indian_air_force
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = RAJ_air_support_effort focus = RAJ_fighter_effort }
		x = 0
		y = 3
		relative_position_id = RAJ_british_pilot_training

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 3
				OR = {
					has_completed_focus = RAJ_institute_of_fundamental_research
					has_completed_focus = RAJ_indian_institute_of_science
				}
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = RAJ_royal_indian_air_force
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = RAJ_the_smiling_buddha
		icon = GFX_focus_smiling_buddha
		prerequisite = { focus = RAJ_royal_indian_air_force }
		prerequisite = { focus = RAJ_institute_of_fundamental_research }
		x = 1
		y = 4
		relative_position_id = RAJ_british_pilot_training

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {
			if = {
				limit = { NOT = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism }
				compare_autonomy_state > autonomy_reichsprotectorate
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_the_smiling_buddha
				bonus = 0.75
				uses = 1
				category = nuclear
			}
		}
	}



	############################
	######### INDUSTRY #########
	############################

	focus = {
		id = RAJ_great_indian_peninsula_railway
		icon = GFX_goal_generic_construct_infrastructure
		x = 31
		y = 0

		cost = 10

		ai_will_do = {
			factor = 7
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = RAJ_great_indian_peninsula_railway_Inf1
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_great_indian_peninsula_railway_Inf2
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_great_indian_peninsula_railway_Inf3
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 433 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_great_indian_peninsula_railway_Inf1
			}
			random_owned_controlled_state = {
				prioritize = { 438 429 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_great_indian_peninsula_railway_Inf2
			}
			random_owned_controlled_state = {
				prioritize = { 443 427 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_great_indian_peninsula_railway_Inf3
			}
		}
	}

	focus = {
		id = RAJ_industrial_expansion
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = RAJ_great_indian_peninsula_railway }
		x = -4
		y = 1
		relative_position_id = RAJ_great_indian_peninsula_railway

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = RAJ_industrial_expansion_IC
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 437 438 433 439 }
				limit = {
					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
				}
				set_state_flag = RAJ_industrial_expansion_IC
			}
		}
	}

	focus = {
		id = RAJ_tata_steel
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = RAJ_industrial_expansion }
		x = -1
		y = 1
		relative_position_id = RAJ_industrial_expansion

		cost = 10

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 2
				has_completed_focus = RAJ_assam_oil
			}
		}

		available = {
			controls_state = 429
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			429 = {
				add_resource = {
					type = steel
					amount = 24
				}
			}
		}
	}

	focus = {
		id = RAJ_assam_oil
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = RAJ_industrial_expansion }
		x = 1
		y = 1
		relative_position_id = RAJ_industrial_expansion

		cost = 10

		ai_will_do = {
			factor = 20
			modifier = {
				factor = 2
				has_completed_focus = RAJ_tata_steel
			}
		}

		available = {
			controls_state = 640
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			432 = {
				add_resource = {
					type = oil
					amount = 3
				}
			}
		}
	}

	focus = {
		id = RAJ_indian_institute_of_science
		icon = GFX_focus_research
		prerequisite = { focus = RAJ_tata_steel }
		prerequisite = { focus = RAJ_assam_oil }
		x = 0
		y = 2
		relative_position_id = RAJ_industrial_expansion

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = RAJ_institute_of_fundamental_research
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = RAJ_indian_institute_of_science }
		x = 0
		y = 3
		relative_position_id = RAJ_industrial_expansion

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = available_theorist
			show_ideas_tooltip = RAJ_homi_j_bhabha
			add_tech_bonus = {
				name = RAJ_institute_of_fundamental_research
				bonus = 0.5
				uses = 1
				category = nuclear
			}
		}
	}

	focus = {
		id = RAJ_research_collaboration
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = RAJ_institute_of_fundamental_research }
		x = 0
		y = 4
		relative_position_id = RAJ_industrial_expansion

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = no
			has_war = yes
			is_in_faction = yes
			OR = {
				num_of_factories > 50
				any_other_country = {
					is_in_faction_with = ROOT
					num_of_factories > 50
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}


	############################
	########## NAVY ############
	############################

	focus = {
		id = RAJ_expand_mazagon_dock
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = RAJ_industrial_expansion }
		x = 3
		y = 1
		relative_position_id = RAJ_industrial_expansion

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = RAJ_expand_mazagon_dock
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				if = {
					limit = { has_state_flag = RAJ_expand_mazagon_dock_NB }
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 1349
					}
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 429 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				set_state_flag = RAJ_expand_mazagon_dock
				if = {
					limit = { state = 429 }
					add_building_construction = {
						type = naval_base
						level = 1
						instant_build = yes
						province = 1349
					}
					set_state_flag = RAJ_expand_mazagon_dock_NB
				}
			}
		}
	}

	focus = {
		id = RAJ_found_scindia_shipyard
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = RAJ_east_india_railways }
		x = 2
		y = 0
		relative_position_id = RAJ_expand_mazagon_dock

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_royal_indian_navy
		icon = GFX_goal_generic_navy_doctrines_tactics
		x = 1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_screening_effort
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = RAJ_royal_indian_navy }
		x = 0
		y = 2
		relative_position_id = RAJ_expand_mazagon_dock

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_screening_effort
				bonus = 0.6
				uses = 1
				category = dd_tech
				category = cl_tech
			}
		}
	}

	focus = {
		id = RAJ_cruiser_effort
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = RAJ_royal_indian_navy }
		x = 2
		y = 2

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_submarine_effort
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = RAJ_screening_effort focus = RAJ_cruiser_effort }
		x = 0
		y = 3
		relative_position_id = RAJ_expand_mazagon_dock

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_submarine_effort
				bonus = 0.6
				uses = 1
				category = ss_tech
			}
		}
	}

	focus = {
		id = RAJ_capital_ship_effort
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = RAJ_screening_effort focus = RAJ_cruiser_effort }
		x = 2
		y = 3
		relative_position_id = RAJ_expand_mazagon_dock

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_capital_ship_effort
				bonus = 0.6
				uses = 1
				category = cv_tech
				category = bb_tech
			}
		}
	}

	focus = {
		id = RAJ_modernizing_navy
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = RAJ_submarine_effort focus = RAJ_capital_ship_effort }
		x = 1
		y = 4
		relative_position_id = RAJ_expand_mazagon_dock

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = RAJ_modernizing_navy
				bonus = 0.70
				uses = 1
				category = naval_doctrine
			}
		}
	}


	focus = {
		id = RAJ_east_india_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = RAJ_great_indian_peninsula_railway }
		x = 4
		y = 1
		relative_position_id = RAJ_great_indian_peninsula_railway

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_integrate_princely_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = RAJ_east_india_railways }
		x = -1
		y = 1
		relative_position_id = RAJ_east_india_railways

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_ishapore_arsenal
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = RAJ_east_india_railways }
		x = 1
		y = 1
		relative_position_id = RAJ_east_india_railways

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_clamp_down_on_corruption
		icon = GFX_focus_RAJ_clamp_down_on_corruption
		prerequisite = { focus = RAJ_integrate_princely_railways }
		x = 0
		y = 1
		relative_position_id = RAJ_integrate_princely_railways

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			if = {
				limit = { NOT = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism }
				compare_autonomy_state > autonomy_reichsprotectorate
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			remove_ideas = RAJ_risk_of_famine
		}
	}

	focus = {
		id = RAJ_strengthen_ties_with_british_investors
		icon = GFX_focus_RAJ_british_investors
		prerequisite = { focus = RAJ_ishapore_arsenal }
		x = 0
		y = 1
		relative_position_id = RAJ_ishapore_arsenal

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			compare_autonomy_progress_ratio > 0.4
			compare_autonomy_state > autonomy_puppet
			is_subject_of = ENG
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = RAJ_british_rail_investors
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = RAJ_strengthen_ties_with_british_investors }
		x = -1
		y = 2
		relative_position_id = RAJ_ishapore_arsenal

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			compare_autonomy_progress_ratio > 0.4
			compare_autonomy_state > autonomy_puppet
			is_subject_of = ENG
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			add_autonomy_ratio = {
				value = -0.25
				localization = RAJ_british_rail_investors
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_british_rail_investors_IC1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_british_rail_investors_IC2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			add_autonomy_ratio = {
				value = -0.25
				localization = RAJ_british_rail_investors
			}
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_british_rail_investors_IC1
			}
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					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
				}
				set_state_flag = RAJ_british_rail_investors_IC2
			}
		}
	}

	focus = {
		id = RAJ_british_arms_investors
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = RAJ_strengthen_ties_with_british_investors }
		x = 1
		y = 2
		relative_position_id = RAJ_ishapore_arsenal

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			compare_autonomy_progress_ratio > 0.4
			compare_autonomy_state > autonomy_puppet
			is_subject_of = ENG
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			add_autonomy_ratio = {
				value = -0.25
				localization = RAJ_british_arms_investors
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_british_arms_investors_AF1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = RAJ_british_arms_investors_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			add_autonomy_ratio = {
				value = -0.25
				localization = RAJ_british_arms_investors
			}
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = RAJ_british_arms_investors_AF1
			}
			random_owned_controlled_state = {
				prioritize = {  }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = RAJ_british_arms_investors_AF2
			}
		}
	}

	focus = {
		id = FRA_metropolitan_france
		icon = GFX_goal_generic_construct_infrastructure
		available = {
		}
		x = 0
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}		

		bypass = {
			custom_trigger_tooltip = {
				tooltip = FRA_metropolitan_france_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = infrastructure
							size > 2
						}
						OR = {
							region = 19
							region = 20
						}		
					}
				}
			}
		}

		complete_tooltip = {
			every_state = {
				limit	= {	has_state_flag = FRA_french_focus_3Inf }
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 2
					}
					OR = {
						region = 19
						region = 20
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_french_focus_3Inf
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 2
					}
					OR = {
						region = 19
						region = 20
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_french_focus_3Inf
			}			
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 2
					}
					OR = {
						region = 19
						region = 20
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_french_focus_3Inf
			}			
		}
	}

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

		bypass = {
			custom_trigger_tooltip = {
				tooltip = FRA_industrial_expansion_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						OR = {
							region = 19
							region = 20
						}		
					}
				}
			}
		}

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = FRA_industrial_expansion_2IC }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = FRA_industrial_expansion_1IC }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_industrial_expansion_2IC
			}

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = FRA_industrial_expansion_1IC
			}

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = FRA_industrial_expansion_1IC
			}

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = FRA_industrial_expansion_1IC
			}
		}
	}

	focus = {
		id = FRA_military_factories
		icon = GFX_goal_generic_construct_mil_factory
		available = {
		}
		prerequisite = { focus = FRA_industrial_expansion }
		x = 0
		y = 1
		relative_position_id = FRA_industrial_expansion
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = FRA_military_factories_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
						OR = {
							region = 19
							region = 20
						}		
					}
				}
			}
		}

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = FRA_military_factories_2MF }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = FRA_military_factories_1MF }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_military_factories_2MF
			}

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = FRA_military_factories_1MF
			}

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = FRA_military_factories_1MF
			}

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
					OR = {
						region = 19
						region = 20
					}					
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = FRA_military_factories_1MF
			}						
		}
	}


	focus = {
		id = FRA_algerie_france
		icon = GFX_goal_generic_construct_civilian
		available = {
		}
		x = 2
		y = 0
		cost = 10
		ai_will_do = {
			factor = 0.2
		}

		available_if_capitulated = yes

		bypass = {
			custom_trigger_tooltip = {
				tooltip = FRA_algerie_france_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
						NOT = { is_on_continent = europe }
					}
				}
			}
		}		

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = FRA_algerie_france_2Inf }
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = FRA_algerie_france_4Inf }
				add_building_construction = {
					type = infrastructure
					level = 4
					instant_build = yes
				}
			}
		}

		completion_reward = {
			if = {
				limit = {
					NOT = {
						AND = {
							459 = {
								free_building_slots = {
									building = infrastructure
									size > 1
								}
							}
							460 = {
								free_building_slots = {
									building = infrastructure
									size > 1
								}
							}
						}
					}
					AND = {
						NOT ={
							459 = {
								free_building_slots = {
									building = infrastructure
									size > 3
								}
							}
						}
						460 = {
							NOT = {
								free_building_slots = {
									building = infrastructure
									size > 3
								}
							}
						}
					}					
				}
				random_owned_controlled_state = {
					limit =  {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
						NOT = { is_on_continent = europe }
					}
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_algerie_france_2Inf
				}
				random_owned_controlled_state = {
					limit =  {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
						NOT = { is_on_continent = europe }
					}
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_algerie_france_2Inf
				}
			}

			if = {
				limit = {
					OR = {
						NOT = {				
							459 = {
								free_building_slots = {
									building = infrastructure
									size > 1
								}
							}
						}
						NOT = {				
							460 = {
								free_building_slots = {
									building = infrastructure
									size > 1
								}
							}
						}
					}
					OR = {
						459 = {
							free_building_slots = {
								building = infrastructure
								size > 3
							}
						}
						460 = {
							free_building_slots = {
								building = infrastructure
								size > 3
							}
						}
					}
				}
				every_owned_state = {
					limit = {
						is_controlled_by = ROOT
						free_building_slots = {
							building = infrastructure
							size > 3
						}
						OR = {
							state = 459
							state = 460					
						}
					}					
					add_building_construction = {
						type = infrastructure
						level = 4
						instant_build = yes
					}
					set_state_flag = FRA_algerie_france_4Inf
				}
			}

			if = {
				limit = {
					459 = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
					}
					460 = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
					}
				}
				459 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_algerie_france_2Inf
				}
				460 = {
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_algerie_france_2Inf
				}
			}
		}
	}	

	focus = {
		id = FRA_colonial_industry
		icon = GFX_goal_generic_construct_civ_factory
		available = {
		}
		prerequisite = { focus = FRA_algerie_france }
		x = 0
		y = 1
		relative_position_id = FRA_algerie_france
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		bypass = {
			custom_trigger_tooltip = {
				tooltip = FRA_colonial_industry_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size > 1
							include_locked = yes
						}
						NOT = { is_on_continent = europe }
					}
				}
			}
		}

		completion_reward = {

		}
	}

	focus = {
		id = FRA_colonial_military_factories
		icon = GFX_goal_generic_construct_mil_factory
		available = {
		}
		prerequisite = { focus = FRA_colonial_industry }
		x = 0
		y = 1
		relative_position_id = FRA_colonial_industry
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = FRA_extra_research_slot
		icon = GFX_focus_research
		available = {
		}
		prerequisite = {
			focus = FRA_colonial_military_factories
			focus = FRA_military_factories
		}
		x = -1
		y = 1
		relative_position_id = FRA_colonial_military_factories
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_nuclear_effort
		icon = GFX_focus_wonderweapons
		mutually_exclusive = { focus = FRA_jet_effort }
		available = {
		}
		prerequisite = { focus = FRA_extra_research_slot }
		x = -1
		y = 1
		relative_position_id = FRA_extra_research_slot
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			add_tech_bonus = {
				name = FRA_nuclear_effort
				bonus = 0.5
				category = nuclear
				category = rocketry
			}
			news_event = { id = news.174 } 
		}
	}

	focus = {
		id = FRA_jet_effort
		mutually_exclusive = { focus = FRA_nuclear_effort }
		icon = GFX_focus_rocketry
		available = {
		}
		prerequisite = { focus = FRA_extra_research_slot }
		x = 1
		y = 1
		relative_position_id = FRA_extra_research_slot
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = FRA_jet_effort
				bonus = 0.5
				uses = 4
				category = jet_technology
			}
		}
	}
	
		focus = {
		id = FRA_extra_research_slot_2
		icon = GFX_focus_research
		prerequisite = { 
			focus = FRA_jet_effort
			focus = FRA_nuclear_effort 
		}
		available = {
			num_of_factories > 75
		}
		x = -1
		y = 1
		relative_position_id = FRA_jet_effort
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
		}
	}	

	#### END ####

	focus = {
		id = FRA_defensive_focus
		icon = GFX_goal_generic_defence
		mutually_exclusive = { focus = FRA_aggressive_focus }
		x = 6
		y = 0
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			#add_ideas = maxime_weygand
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = maxime_weygand
		}
	}

	focus = {
		id = FRA_fortification_focus
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = FRA_defensive_focus }
		x = -2
		y = 1
		relative_position_id = FRA_defensive_focus
		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 = FRA }
		}

		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 = FRA }
			29 = { is_controlled_by = FRA }
		}
		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_defensive_focus }
		x = 0
		y = 1
		relative_position_id = FRA_defensive_focus
		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 = 0.5
				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 = 0.5
				uses = 1
				category = cat_heavy_armor
			}
		}
	}
	focus = {
		id = FRA_aggressive_focus
		icon = GFX_goal_generic_major_war
		mutually_exclusive = { focus = FRA_defensive_focus }
		x = 8
		y = 0
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 0.2
		}
		completion_reward = {
			# add_ideas = maurice_gamelin
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = maurice_gamelin
		}
	}
	focus = {
		id = FRA_motorized_focus
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = FRA_aggressive_focus }
		x = 0
		y = 1
		relative_position_id = FRA_aggressive_focus
		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 = 0.5
				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 = 0.5
				uses = 1
				category = cat_light_armor
				category = cat_medium_armor
			}
		}
	}
	focus = {
		id = FRA_army_reform
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { 
			focus = FRA_light_medium_armor 
			focus = FRA_heavy_armor_focus 
		}
		x = -1
		y = 1
		relative_position_id = FRA_light_medium_armor
		cost = 10

		available_if_capitulated = yes

		available = {
			NOT = { has_idea = FRA_disjointed_government }
		}
		completion_reward = {
			remove_ideas = FRA_victors_of_wwi
			army_experience = 10
			add_tech_bonus = {
				name = FRA_army_reform
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = FRA_AMX
		}
	}	

#### END ####

	focus = {
		id = FRA_initiate_government_reform
		icon = GFX_goal_generic_national_unity

		x = 14
		y = 0
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

	}
	

	focus = {
		id = FRA_revise_versailles
		icon = GFX_goal_generic_forceful_treaty
	 	mutually_exclusive = {
	 		focus = FRA_support_status_quo
	 	}
	 	available = {
		}

		x = 1
		y = 1

		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 0.1
		}
		completion_reward = {
			add_tech_bonus = {
				name = FRA_revise_versailles
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = {
		id = FRA_support_the_left
		icon = GFX_goal_support_communism
	 	mutually_exclusive = {
	 		focus = FRA_support_the_right
	 	}
	 	available = {
		}
	 	prerequisite = { focus = FRA_revise_versailles }
		x = 1
		y = 1
		relative_position_id = FRA_revise_versailles
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				GER = { has_completed_focus = GER_reestablish_free_elections }
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = {	FRA_support_the_left_focus }
			hidden_effect = {
				news_event = { hours = 6 id = news.178 }
			}
		}
	}

	focus = {	
		id = FRA_scw_intervention_republicans
		icon = GFX_goal_generic_military_deal
	 	available = {

		}
	 	prerequisite = { focus = FRA_support_the_left }
		x = 0
		y = 1
		relative_position_id = FRA_support_the_left
		cost = 5
		ai_will_do = {
			factor = 10
		}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_leftist_rhetoric
		icon = GFX_goal_generic_propaganda
	 	available = {
		}
	 	prerequisite = { focus = FRA_support_the_left }
		x = -2
		y = 1
		relative_position_id = FRA_support_the_left
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_national_mobilization
		icon = GFX_goal_generic_allies_build_infantry
	 	available = {
	 		OR = {
	 			has_government = communism
	 			communism > 0.4
	 		}
		}
	 	prerequisite = { focus = FRA_leftist_rhetoric }
		x = 0
		y = 1
		relative_position_id = FRA_leftist_rhetoric
		cost = 10

		available_if_capitulated = yes


		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_join_comintern
		icon = GFX_goal_support_communism
		mutually_exclusive = { focus = FRA_humanite_unie }
	 	available = {

		}
	 	prerequisite = { focus = FRA_national_mobilization }
	 	bypass = {
	 		is_in_faction_with = SOV
	 	}
		x = 1
		y = 1
		relative_position_id = FRA_national_mobilization
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			SOV = { country_event = { id = soviet.29 days = 1 } }
		}
	}	

	focus = {
		id = FRA_humanite_unie
		icon = GFX_goal_generic_dangerous_deal
		mutually_exclusive = { focus = FRA_join_comintern }
	 	available = {
	 		is_puppet = no
		}
	 	prerequisite = { focus = FRA_national_mobilization }
		x = -1
		y = 1
		relative_position_id = FRA_national_mobilization
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {

		}
	}	

	focus = {
		id = FRA_support_status_quo
		icon = GFX_goal_support_democracy
	 	mutually_exclusive = {
	 		focus = FRA_revise_versailles
	 	}
		available = {
		}
	 	prerequisite = { focus = FRA_initiate_government_reform }
		x = -1
		y = 1
		relative_position_id = FRA_initiate_government_reform
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_little_entente
		icon = GFX_goal_generic_alliance
		available = {

		}
	 	prerequisite = { focus = FRA_support_status_quo }
	 	mutually_exclusive = { focus = FRA_go_with_britain }
	 	bypass = {
	 		is_in_faction_with = CZE
	 		is_faction_leader = yes
	 	}
		x = -2
		y = 1
		relative_position_id = FRA_support_status_quo
		cost = 10

		ai_will_do = {
			factor = 0.1

			modifier = {
				factor = 10
				ai_irrationality > 20
			}
			modifier = {
				factor = 2
				ai_irrationality > 30
			}
		}
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.1

		}
	}

	focus = {
		id = FRA_go_with_britain
		icon = GFX_goal_anschluss
		available = {
			is_puppet = no
			has_government = democratic
			ENG = {
				exists = yes
				has_government = democratic
			}
			NOT = { has_war_with = ENG }
		}
		bypass = {
			is_in_faction_with = ENG
			NOT = {
				has_completed_focus = FRA_little_entente
			}
		}
	 	prerequisite = { focus = FRA_support_status_quo }
	 	mutually_exclusive = { focus = FRA_little_entente }
		x = 0
		y = 1
		relative_position_id = FRA_support_status_quo
		cost = 10

		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_strengthen_government_support
		icon = GFX_goal_generic_demand_territory
		available = {
		}
	 	prerequisite = {
	 		focus = FRA_little_entente
	 		focus = FRA_go_with_britain
	 	}
		x = 1
		y = 1
		relative_position_id = FRA_little_entente
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {

		}
	}	

	focus = {
		id = FRA_defensive_strategems
		icon = GFX_goal_generic_fortify_city
		available = {

		}
	 	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
		#}
		completion_reward = {
			remove_ideas = FRA_disjointed_government
			set_rule = { can_send_volunteers = yes }
		}
	}	

	focus = {
		id = FRA_invite_yugoslavia
		icon = GFX_goal_generic_major_alliance
		available = { is_puppet = no }
	 	prerequisite = { focus = FRA_little_entente }
	 	bypass = {
	 		YUG = {
	 			OR = {
	 				exists = no
	 				is_puppet = yes
	 				has_war_with = FRA
	 				is_in_faction = yes
	 			}
	 		}
	 	}
		x = -1
		y = 1
		relative_position_id = FRA_little_entente
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			YUG = { country_event = france.17 }
		}
	}

	focus = {
		id = FRA_invite_romania
		icon = GFX_goal_generic_major_alliance
		available = { is_puppet = no }
	 	prerequisite = { focus = FRA_invite_yugoslavia }
	 	bypass = {
	 		ROM = {
	 			OR = {
	 				exists = no
	 				is_puppet = yes
	 				has_war_with = FRA
	 				is_in_faction = yes
	 			}
	 		}
	 	}
		x = 0
		y = 1
		relative_position_id = FRA_invite_yugoslavia
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			ROM = { country_event = france.17 }
		}
	}

	focus = {
		id = FRA_polish_guarantee
		icon = GFX_goal_generic_improve_relations
		available = {
			POL = { exists = yes }
			is_puppet = no
			NOT = { has_war_with = POL }
		}
	 	prerequisite = { focus = FRA_invite_romania }
		x = 0
		y = 1
		relative_position_id = FRA_invite_romania
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			give_guarantee = POL
		}
	}

	focus = {
		id = FRA_support_the_right
		icon = GFX_goal_support_fascism
	 	mutually_exclusive = {
	 		focus = FRA_support_the_left
	 	}
	 	available = {
		}
	 	prerequisite = { focus = FRA_revise_versailles }
		x = 3
		y = 1
		relative_position_id = FRA_revise_versailles
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 0.1
			modifier = {
				factor = 0
				has_idea = GER_communist_refugees
			}
			modifier = {
				factor = 100
				GER = { has_completed_focus = GER_reestablish_free_elections }
			}
		}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_scw_intervention_nationalists
		icon = GFX_goal_generic_military_deal
	 	available = {
	 		AND = {
	 			SPR = {	has_civil_war = yes }
				has_global_flag = spanish_civil_war
			}
		}
	 	prerequisite = { focus = FRA_support_the_right }
		x = 0
		y = 1
		relative_position_id = FRA_support_the_right
		cost = 5
		ai_will_do = {
			factor = 10
		}
		completion_reward = {

		}
	}

	focus = {
		id = FRA_right_wing_rhetoric
		icon = GFX_goal_generic_propaganda
	 	prerequisite = { focus = FRA_support_the_right }
		x = 2
		y = 1
		relative_position_id = FRA_support_the_right
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
		
		}
	}
	
	focus = {
		id = FRA_army_of_aggression
		icon = GFX_goal_generic_occupy_states_ongoing_war
	 	available = {
	 		OR = {
	 			has_government = fascism
	 			fascism > 0.4
	 		}
		}
	 	prerequisite = { focus = FRA_right_wing_rhetoric }
		x = 0
		y = 1
		relative_position_id = FRA_right_wing_rhetoric
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			
		}
	}

	focus = {
		id = FRA_france_first
		icon = GFX_goal_generic_attack_allies
	 	mutually_exclusive = { focus = FRA_join_germany focus = FRA_woo_italy }
	 	available = {
	 		is_puppet = no	 		
		}
	 	prerequisite = { focus = FRA_army_of_aggression }
		x = -2
		y = 1
		relative_position_id = FRA_army_of_aggression
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = FRA_woo_italy
		icon = GFX_goal_tripartite_pact
	 	mutually_exclusive = { focus = FRA_join_germany focus = FRA_france_first}
	 	available = {
	 		is_puppet = no
	 		NOT = { has_war_with = ITA }
	 		has_government = fascism
	 		OR = {
	 			is_faction_leader = yes
	 			is_in_faction = no
	 		}
	 		ITA = {
	 			exists = yes
	 			is_in_faction = no
	 			has_government = fascism
	 			is_puppet = no
	 		}
		}
	 	prerequisite = { focus = FRA_army_of_aggression }
		x = 0
		y = 1
		relative_position_id = FRA_army_of_aggression
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 10
				GER = { has_completed_focus = GER_reestablish_free_elections }
			}
		}
		completion_reward = {
			ITA = { country_event = { id = italy.8 days = 1 } }			
			### Fires event to ITA asking them to join your faction - creates faction if you don't already lead one.
			hidden_effect = {
				if = {
					limit = {
						AUS = { has_government = fascism }
					}
					AUS = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = antagonize
							id = ROOT
							value = -200
						}
						FRA = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = alliance
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = antagonize
								id = PREV
								value = -200
							}
						}
					}
				}
				if = {
					limit = {
						HUN = { has_government = fascism }
					}
					HUN = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = antagonize
							id = ROOT
							value = -200
						}
						FRA = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = alliance
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = antagonize
								id = PREV
								value = -200
							}
						}
					}
				}
				if = {
					limit = {
						ROM = { has_government = fascism }
					}
					ROM = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = antagonize
							id = ROOT
							value = -200
						}
						FRA = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = alliance
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = antagonize
								id = PREV
								value = -200
							}
						}
					}
				}
				if = {
					limit = {
						YUG = { has_government = fascism }
					}
					YUG = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = antagonize
							id = ROOT
							value = -200
						}
						FRA = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = alliance
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = antagonize
								id = PREV
								value = -200
							}
						}
					}
				}
				if = {
					limit = {
						BUL = { has_government = fascism }
					}
					BUL = {
						add_ai_strategy = {
							type = befriend
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = ROOT
							value = 200
						}
						add_ai_strategy = {
							type = antagonize
							id = ROOT
							value = -200
						}
						FRA = {
							add_ai_strategy = {
								type = befriend
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = alliance
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = antagonize
								id = PREV
								value = -200
							}
						}
					}
				}
	 			if = {
	 				limit = {
	 					GER = { has_completed_focus = GER_reestablish_free_elections }
	 				}
	 				random_other_country = {
	 					limit = {
	 						original_tag = SPR
	 						has_government = fascism
	 					}
	 					remove_ideas = SPA_recovering_from_civil_war
	 				}
	 			}
			}
		}
	}

	focus = {
		id = FRA_dismantle_the_democracies
		icon = GFX_goal_generic_major_war
	 	available = {
	 		is_puppet = no
	 		GER = { has_government = democratic }
		}
	 	prerequisite = { focus = FRA_woo_italy }
	 	will_lead_to_war_with = GER
		x = 0
		y = 1
		relative_position_id = FRA_woo_italy
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				date < 1940.1.1
			}
			modifier = {
				factor = 0
				NOT = { GER = { has_completed_focus = GER_central_european_alliance } }
			}
			modifier = {
				factor = 200
				GER = { has_war_with = SOV }
			}
		}
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = GER
			}
		}
	}

	focus = {
		id = FRA_join_germany
		icon = GFX_goal_support_fascism
	 	mutually_exclusive = { focus = FRA_woo_italy focus = FRA_france_first}
	 	available = {
	 		is_puppet = no
			is_in_faction = no
	 		NOT = { has_war_with = GER }
	 		OR = {
	 			has_government = fascism
	 			fascism > 0.4
	 		}
	 		
	 		GER = {
	 			exists = yes
	 			has_government = fascism
 				is_faction_leader = yes
	 		}
		}
	 	prerequisite = { focus = FRA_army_of_aggression }
		x = 2
		y = 1
		relative_position_id = FRA_army_of_aggression
		cost = 10

		available_if_capitulated = yes

		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			### EVENT ASKING GERMANY TO JOIN FACTION
			GER = { country_event = { id = germany.91 days = 1 } }			
		}
	}

	##### END ###########

	focus = {
		id = FRA_navy_focus
		icon = GFX_goal_generic_build_navy
		x = 23
		y = 0
		cost = 10

		available_if_capitulated = yes

		complete_tooltip = {
			navy_experience = 25
			every_state = {
				limit = { has_state_flag = FRA_navy_focus_2NB }
			}		
		}

		completion_reward = {
			navy_experience = 25
			21 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = naval_base
						province = 11834
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_navy_focus_2NB
				}
			}
			459 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = naval_base
						province = 1145
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_navy_focus_2NB
				}
			}
			286 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = naval_base
						province = 4401
						level = 2
						instant_build = yes
					}
					set_state_flag = FRA_navy_focus_2NB
				}
			}
		}
	}

	focus = {
		id = FRA_improved_screen_ships
		icon = GFX_goal_generic_navy_cruiser
	 	prerequisite = { focus = FRA_navy_focus }
		x = -3
		y = 1
		relative_position_id = FRA_navy_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = FRA_improved_screen_ships
				bonus = 0.5
				uses = 2
				category = dd_tech
				category = cl_tech
			}
		}
	}

	focus = {
		id = FRA_capital_ship_focus
		icon = GFX_goal_generic_navy_battleship
	 	mutually_exclusive = { focus = FRA_carrier_focus }
	 	prerequisite = { focus = FRA_navy_focus }
		x = -1
		y = 1
		relative_position_id = FRA_navy_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_capital_ship_focus
				bonus = 0.5
				uses = 2
				category = bb_tech
				category = bc_tech
			}
		}
	}

	focus = {
		id = FRA_carrier_focus
		icon = GFX_goal_generic_navy_carrier
	 	mutually_exclusive = { focus = FRA_capital_ship_focus }
	 	prerequisite = { focus = FRA_navy_focus }
		x = 1
		y = 1
		relative_position_id = FRA_navy_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_carrier_focus
				bonus = 0.5
				uses = 2
				category = cv_tech
			}
		}
	}

	focus = {
		id = FRA_naval_doctrine
		icon = GFX_goal_generic_navy_doctrines_tactics
	 	prerequisite = { 
	 		focus = FRA_carrier_focus
	 		focus = FRA_capital_ship_focus
	 		focus = FRA_improved_screen_ships
	 	}
		x = -1
		y = 1
		relative_position_id = FRA_carrier_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = FRA_naval_doctrine
				bonus = 0.5
				uses = 2
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = FRA_cas_focus
		icon = GFX_goal_generic_CAS
	 	prerequisite = { 
	 		focus = FRA_carrier_focus
	 		focus = FRA_fighter_focus
	 	}
		x = 1
		y = 1
		relative_position_id = FRA_carrier_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_cas_focus
				bonus = 0.5
				uses = 2
				category = cas_bomber
			}
		}
	}

	focus = {
		id = FRA_air_focus
		icon = GFX_goal_generic_build_airforce
		x = 29
		y = 0
		cost = 10

		available_if_capitulated = yes

		bypass = {
			custom_trigger_tooltip = {
				tooltip = air_focus_bypass_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = air_base
							size > 1
						}
					}
				}
			}
		}

		complete_tooltip = {
			air_experience = 25
			every_state = {
				limit = { has_state_flag = FRA_air_focus_2air }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			air_experience = 25

			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_air_focus_2air
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_air_focus_2air
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = FRA_air_focus_2air
			}
		}
	}

	focus = {
		id = FRA_fighter_focus
		icon = GFX_goal_generic_air_fighter
		mutually_exclusive = { focus = FRA_bomber_focus }
	 	prerequisite = { focus = FRA_air_focus }
		x = -1
		y = 1
		relative_position_id = FRA_air_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_fighter_focus
				bonus = 0.5
				uses = 1
				category = light_fighter
			}
		}
	}

	focus = {
		id = FRA_heavy_fighter_focus
		icon = GFX_goal_generic_air_fighter2
	 	prerequisite = { focus = FRA_fighter_focus }
		x = -1
		y = 1
		relative_position_id = FRA_fighter_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_heavy_fighter_focus
				bonus = 0.5
				uses = 2
				category = cat_heavy_fighter
			}
		}
	}

	focus = {
		id = FRA_bomber_focus
		icon = GFX_goal_generic_air_bomber
		mutually_exclusive = { focus = FRA_fighter_focus }
	 	prerequisite = { focus = FRA_air_focus }
		x = 1
		y = 1
		relative_position_id = FRA_air_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = FRA_bomber_focus
				bonus = 0.5
				uses = 1
				category = tactical_bomber
			}
		}
	}

	focus = {
		id = FRA_air_doctrine
		icon = GFX_goal_generic_air_doctrine
	 	prerequisite = { 
	 		focus = FRA_fighter_focus 
	 		focus = FRA_bomber_focus
	 	}
		x = 1
		y = 1
		relative_position_id = FRA_fighter_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {
			air_experience = 50

			add_tech_bonus = {
				name = FRA_air_doctrine
				bonus = 0.5
				uses = 2
				category = air_doctrine
			}
		}
	}

	focus = {
		id = FRA_heavy_bomber_focus
		icon = GFX_goal_generic_occupy_start_war
	 	prerequisite = { focus = FRA_bomber_focus }
		x = 1
		y = 1
		relative_position_id = FRA_bomber_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = FRA_naval_bomber_focus
		icon = GFX_goal_generic_air_naval_bomber
	 	prerequisite = { focus = FRA_bomber_focus }
		x = 3
		y = 1
		relative_position_id = FRA_bomber_focus
		cost = 10

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = GER_oppose_hitler
		icon = GFX_focus_ger_oppose_hitler

		allow_branch = {
			has_dlc = "Waking the Tiger"
		}

		available = {
			is_puppet = no
			has_government = fascism
		}
		x = 47
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_secure_the_new_state
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = GER_oppose_hitler }
		available = {

		}
		x = 0
		y = 2
		relative_position_id = GER_oppose_hitler
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_revive_the_kaiserreich
		icon = GFX_focus_ger_revive_kaiserreich
		prerequisite = { focus = GER_secure_the_new_state }
		mutually_exclusive = { focus = GER_reestablish_free_elections }

		available = {
			is_puppet = no
		}
		x = -1
		y = 1
		relative_position_id = GER_secure_the_new_state
		cost = 10
		ai_will_do = {
			factor = 3
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_rebuild_the_nation
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = GER_revive_the_kaiserreich focus = GER_reestablish_free_elections }
		available = {
		}
		x = 1
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 10
		ai_will_do = {
			factor = 9
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_fan_the_prussian_militarism
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = GER_rebuild_the_nation }
		available = {
		}
		x = -1
		y = 1
		relative_position_id = GER_rebuild_the_nation
		cost = 5
		ai_will_do = {
			factor = 8
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_a_new_and_better_germany
		icon = GFX_goal_generic_construction
		prerequisite = { focus = GER_rebuild_the_nation }
		available = {
		}
		x = 1
		y = 1
		relative_position_id = GER_rebuild_the_nation
		cost = 5
		ai_will_do = {
			factor = 8
		}

		completion_reward = {

		}
	}

	focus = {
		id = GER_bulwark_against_bolshevism
		icon = GFX_focus_ger_bulwark_against_bolshevism

		available = {
			is_puppet = no
		}
		x = 1
		y = 1
		relative_position_id = GER_fan_the_prussian_militarism
		cost = 10
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_return_of_the_kaiser
		icon = GFX_focus_ger_return_of_the_kaiser
		prerequisite = { focus = GER_revive_the_kaiserreich }
		available = {
			is_puppet = no
			neutrality > 0.4
			has_country_leader = { ruling_only = yes name = "August von Mackensen" }
		}

		x = -2
		y = 1
		relative_position_id = GER_revive_the_kaiserreich
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_focus_on_the_true_enemy
		icon = GFX_goal_generic_occupy_states_coastal

		available = {
			is_puppet = no
		}
		x = -6
		y = 1
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 3
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_rebuild_the_high_seas_fleet
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = GER_focus_on_the_true_enemy }
		available = {
			is_puppet = no
		}
		x = 0
		y = 2
		relative_position_id = GER_focus_on_the_true_enemy
		cost = 10
		ai_will_do = {
			factor = 1
		}

		complete_tooltip = {

		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_our_place_in_the_sun
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_rebuild_the_high_seas_fleet }
		available = {
			is_puppet = no
		}
		x = 0
		y = 1
		relative_position_id = GER_rebuild_the_high_seas_fleet
		cost = 5
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_pride_of_the_modern_germany
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = GER_our_place_in_the_sun }
		available = {
			is_puppet = no
		}
		x = 0
		y = 1
		relative_position_id = GER_our_place_in_the_sun
		cost = 10
		ai_will_do = {
			factor = 9
		}
		
		complete_tooltip = {

		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_prepare_for_the_next_blockade
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = GER_our_place_in_the_sun }
		available = {
			is_puppet = no
		}
		x = -1
		y = 2
		relative_position_id = GER_our_place_in_the_sun
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_stability = 0.05
			add_ideas = GER_prepare_for_the_next_blockade
		}
	}

	focus = {
		id = GER_break_the_anglo_french_colonial_hegemony
		icon = GFX_focus_ger_break_anglo_french_colonial_hegemony
		prerequisite = { focus = GER_prepare_for_the_next_blockade }
		available = {
			is_puppet = no
			NOT = { is_in_faction_with = ENG }
			NOT = { is_in_faction_with = FRA }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = ENG
		will_lead_to_war_with = FRA
		x = 0
		y = 1
		relative_position_id = GER_prepare_for_the_next_blockade
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_schlieffen_once_more # Schlieffen 2.0!
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_break_the_anglo_french_colonial_hegemony }
		available = {
			is_puppet = no
			OR = {
				has_war_with = FRA
				AND = {
					has_war_with = ENG
					has_global_flag = flag_franco_british_union
				}
			}
			NOT = { is_in_faction_with = BEL }
			NOT = { is_in_faction_with = LUX }
		}
		bypass = {
			NOT = { country_exists = BEL }
			NOT = { country_exists = LUX }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = BEL
		will_lead_to_war_with = LUX
		x = 0
		y = 1
		relative_position_id = GER_break_the_anglo_french_colonial_hegemony
		cost = 4
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = BEL
			}
			create_wargoal = {
				type = annex_everything
				target = LUX
			}
		}
	}

	focus = {
		id = GER_crossing_the_atlantic
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = GER_break_the_anglo_french_colonial_hegemony focus = GER_plan_z focus = GER_modular_construction }
		available = {

		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_break_the_anglo_french_colonial_hegemony
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_the_central_powers
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_our_place_in_the_sun }
		available = {
			is_puppet = no
		}
		bypass = {
			is_in_faction = yes
		}
		x = 1
		y = 2
		relative_position_id = GER_our_place_in_the_sun
		cost = 5
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_prepare_italian_coup
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_the_central_powers }
		available = {
			is_puppet = no
			NOT = { has_war_with = ITA }
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_the_central_powers
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_assassinate_mussolini
		icon = GFX_focus_ger_assassinate_mussolini
		prerequisite = { focus = GER_prepare_italian_coup }
		available = {
			is_puppet = no
			NOT = { has_war_with = ITA }
			ITA = { has_country_leader = { ruling_only = yes name = "Benito Mussolini" } }
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_prepare_italian_coup
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_rekindle_imperial_sentiment
		icon = GFX_focus_proclaim_the_restauration_of_Austria_Hungary
		prerequisite = { focus = GER_the_central_powers }
		available = {
			is_puppet = no
			NOT = { has_war_with = AUS }
			NOT = { has_war_with = HUN }
			NOT = { has_war_with = CZE }
		}
		cancel_if_invalid = yes
		x = 2
		y = 1
		relative_position_id = GER_the_central_powers
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_expatriate_the_communists
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_return_of_the_kaiser }
		mutually_exclusive = { focus = GER_focus_on_the_true_enemy }
		available = {
			is_puppet = no
			NOT = { has_war_with = FRA }
		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 0.5
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_accept_british_naval_dominance
		icon = GFX_focus_ger_accept_british_naval_dominance

		available = {
			is_puppet = no
			NOT = { has_war_with = ENG }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_expatriate_the_communists
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_ally_the_shade
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_accept_british_naval_dominance }
		available = {

		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_accept_british_naval_dominance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			ENG = {
				country_event = { id = generic.2 }
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 1000
				}
				add_ai_strategy = {
					type = alliance
					id = "GER"			
					value = 200
				}	
			}
		}
	}

	focus = {
		id = GER_carte_blanche_for_alsace_and_french_colonies
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = GER_ally_the_shade }
		will_lead_to_war_with = FRA
		available = {
			is_puppet = no
			FRA = { has_government = communism }
			NOT = { is_in_faction_with = FRA }
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_ally_the_shade
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_bypass_maginot_in_the_south
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_carte_blanche_for_alsace_and_french_colonies }
		available = {
			is_puppet = no
			has_war_with = FRA
			NOT = { is_in_faction_with = SWI }
		}
		bypass = {
			NOT = { country_exists = SWI }
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = SWI
		x = 0
		y = 2
		relative_position_id = GER_carte_blanche_for_alsace_and_french_colonies
		cost = 4
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SWI
			}
		}
	}

	focus = {
		id = GER_reinstate_imperial_possessions
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_schlieffen_once_more focus = GER_bypass_maginot_in_the_south }
		available = {

		}
		bypass = {
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_schlieffen_once_more
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_see_to_the_eastern_front
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_return_of_the_kaiser }
		available = { 
			is_puppet = no
			has_full_control_of_state = 5
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_return_of_the_kaiser
		cost = 10
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {
			188 = { add_claim_by = GER }
			add_named_threat = { threat = 3 name = GER_demand_memel_threat }
			random_other_country = {
				limit = {
					owns_state = 188
					controls_state = 188 
				}
				country_event = { id = baltic.4 }
			}
			if = {
				limit = {
					has_full_control_of_state = 5
				}
				5 = {
					custom_effect_tooltip = GER_see_to_the_eastern_front_tt
					hidden_effect = {
						add_building_construction = {
							type = bunker
							level = 2
							province = 11265
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 348
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 281
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 3384
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 9327
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 11386
							instant_build = yes
						}
						add_building_construction = {
							type = bunker
							level = 2
							province = 9372
							instant_build = yes
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_danzig_for_guarantees
		icon = GFX_focus_generic_polish_deal

		available = { 
			is_puppet = no
			NOT = { has_war_with = POL }
			NOT = { is_in_faction_with = POL }
		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 2
		y = 2
		relative_position_id = GER_see_to_the_eastern_front
		cost = 10
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {
			POL = { country_event = { id = wtt_germany.14 } }
		}
	}

	focus = {
		id = GER_safeguard_the_baltic
		icon = GFX_goal_generic_defence
		prerequisite = { focus = GER_see_to_the_eastern_front }
		available = {
			is_puppet = no
			NOT = { has_war_with = EST }
			NOT = { has_war_with = LAT }
			NOT = { has_war_with = LIT }
		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_see_to_the_eastern_front
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_support_the_finns
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_safeguard_the_baltic }
		available = {
			is_puppet = no
			NOT = { has_war_with = FIN }
		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_safeguard_the_baltic
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			diplomatic_relation = {
				country = FIN
				relation = guarantee
				active = yes
			}
			FIN = {
				add_ideas = GER_FIN_industrial_support
				add_ai_strategy = {
					type = befriend
					id = "GER"			
					value = 200
				}
				add_ai_strategy = {
					type = alliance
					id = "GER"			
					value = 200
				}
			}
		}
	}

	focus = {
		id = GER_anti_comintern_pact_unaligned
		icon = GFX_goal_anti_comintern_pact

		x = 1
		y = 1
		relative_position_id = GER_support_the_finns
		cost = 10
		available = {
			is_puppet = no
			NOT = { has_government = communism }
			NOT = { is_in_faction_with = SOV }
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {

		}
	}

	focus = {
		id = GER_anti_soviet_pact_unaligned
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_anti_comintern_pact_unaligned }
		available = {
			is_puppet = no
			has_army_manpower = { size > 849999 } #ca 90 div
		}
		x = 0
		y = 1
		relative_position_id = GER_anti_comintern_pact_unaligned
		cost = 10
		ai_will_do = {
			factor = 2.5	
		}
		completion_reward = {

		}
	}

	focus = {
		id = GER_tackle_the_communist_threat
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = GER_anti_soviet_pact_unaligned focus = GER_carte_blanche_for_alsace_and_french_colonies }
		available = {
			is_puppet = no
			SOV = {
				has_government = communism
				has_war = yes
			}
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			has_war_with = SOV
			NOT = { country_exists = SOV }
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_anti_soviet_pact_unaligned
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			if = {
				limit = {
					NOT = { is_in_faction = yes }
				}
				create_faction = "GER_anti_communist_bloc"
			}
			create_wargoal = {
				type = annex_everything
				target = SOV
			}
		}
	}

	focus = {
		id = GER_the_iberian_problem
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_tackle_the_communist_threat }
		available = {
			is_puppet = no
			any_country = {
				original_tag = SPR
				has_government = communism
				NOT = { has_war_with = ROOT }
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_tackle_the_communist_threat
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_reestablish_free_elections
		icon = GFX_goal_support_democracy
		prerequisite = { focus = GER_secure_the_new_state }
		mutually_exclusive = { focus = GER_revive_the_kaiserreich }
		available = {
			is_puppet = no
		}
		cancel_if_invalid = yes
		x = 1
		y = 1
		relative_position_id = GER_secure_the_new_state
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {
			add_ideas = { GER_reestablish_free_elections }
			set_party_name = { ideology = neutrality long_name = GER_neutrality_party_kaiserreich_long name = GER_neutrality_party_kaiserreich }
		}
	}

	focus = {
		id = GER_the_monarchy_compromise
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = GER_reestablish_free_elections }
		available = {
			is_puppet = no
			democratic > 0.4
		}
		cancel_if_invalid = yes
		x = 2
		y = 1
		relative_position_id = GER_reestablish_free_elections
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_the_great_red_menace
		icon = GFX_focus_ger_great_red_menace
		prerequisite = { focus = GER_the_monarchy_compromise }
		available = {
			is_puppet = no
			has_war = no
			SOV = { has_government = communism }
			has_added_tension_amount < 15
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_the_monarchy_compromise
		cost = 10
		ai_will_do = {
			factor = 8
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_central_european_alliance
		icon = GFX_goal_generic_national_unity
		available = {
			is_puppet = no
			has_war = no
		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_the_great_red_menace
		cost = 10
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_danubian_membership
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_central_european_alliance }
		available = {

		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_danubian_expansion
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_danubian_membership }
		available = {
			is_puppet = no
			NOT = { has_war_with = YUG }
			NOT = { has_war_with = ROM }
		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_danubian_membership
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_no_balkan_communism
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_danubian_expansion }
		available = {

		}
		x = 0
		y = 1
		relative_position_id = GER_danubian_expansion
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_low_countries_membership
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_central_european_alliance }
		available = {
			is_puppet = no
			NOT = { has_war_with = HOL }
			NOT = { has_war_with = BEL }
			NOT = { has_war_with = LUX }
		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 0
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_no_reds_in_western_europe
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_low_countries_membership }
		available = {

		}
		x = 0
		y = 1
		relative_position_id = GER_low_countries_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_scandinavian_membership
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_central_european_alliance }
		available = {

		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 3
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_baltic_membership
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_scandinavian_membership }
		available = {

		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = -2
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_polish_membership
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_puppet = no
			NOT = { has_war_with = POL }
			SOV = { NOT = { has_war_with = POL } }
		}
		bypass = {
			OR = {
				is_in_faction_with = POL
				NOT = { country_exists = POL }
				SOV = { 
					OR = {
						is_in_faction_with = POL
						has_war_with = POL
					}
				}
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_finnish_membership
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_scandinavian_membership }
		available = {
			is_puppet = no
			NOT = { has_war_with = FIN }
			SOV = { NOT = { has_war_with = FIN } }
		}
		bypass = {

		}
		cancel_if_invalid = yes
		x = 2
		y = 2
		relative_position_id = GER_scandinavian_membership
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_strike_at_the_source
		icon = GFX_focus_ger_strike_at_the_source

		available = {
			is_puppet = no
			SOV = {
				has_government = communism
			}
			NOT = { is_in_faction_with = SOV }
		}
		bypass = {
			OR = {
				has_war_with = SOV
				NOT = { country_exists = SOV }
			}
		}
		cancel_if_invalid = yes
		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_reverse_the_brain_drain
		icon = GFX_focus_research
		prerequisite = { focus = GER_the_monarchy_compromise }
		available = {
			is_puppet = no
		}
		x = 2
		y = 1
		relative_position_id = GER_the_monarchy_compromise
		cost = 10
		ai_will_do = {
			factor = 5
		}
		
		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = GER_shared_rd_programs
		icon = GFX_goal_tfv_generic_tech_sharing

		available = {
			is_puppet = no
		}
		x = 7
		y = 1
		relative_position_id = GER_central_european_alliance
		cost = 10
		ai_will_do = {
			factor = 3
		}
		
		completion_reward = {
			add_to_tech_sharing_group = ger_dem_research
			every_other_country = {
				limit = { is_in_faction_with = GER }
				add_to_tech_sharing_group = ger_dem_research 
			}
		}
	}

	focus = {
		id = GER_the_mannheim_project
		icon = GFX_focus_wonderweapons

		available = {
			is_puppet = no
			is_in_faction_with = NOR
		}
		x = -1
		y = 1
		relative_position_id = GER_shared_rd_programs
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_pool_technical_know_how
		icon = GFX_goal_generic_production
		prerequisite = { focus = GER_shared_rd_programs }
		available = {
			is_puppet = no
		}
		x = 1
		y = 1
		relative_position_id = GER_shared_rd_programs
		cost = 10
		ai_will_do = {
			factor = 3
		}
		
		completion_reward = {
			add_ideas = GER_pool_technical_know_how
			custom_effect_tooltip = GER_pool_technical_know_how_tt
			hidden_effect = {
				every_other_country = {
					limit = { is_in_faction_with = GER }
					add_ideas = GER_pool_technical_know_how
				}
			}
		}
	}

	focus = {
		id = ROM_preserve_greater_romania
		icon = GFX_focus_rom_preserve_romania
		mutually_exclusive = { focus = ROM_balkans_dominance }
		x = 3
		y = 0

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_preserve_greater_romania
		}
	}

	focus = {
		id = ROM_a_deal_with_the_devil
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = ROM_preserve_greater_romania }
		x = -2
		y = 1
		relative_position_id = ROM_preserve_greater_romania

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			NOT = { has_war_with = SOV }
			SOV = {
				exists = yes
				is_puppet = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_popularity = { ideology = communism popularity = 0.1 }
			add_opinion_modifier = { target = SOV modifier = ROM_a_deal_with_the_devil }
			SOV = { add_opinion_modifier = { target = ROOT modifier = ROM_a_deal_with_the_devil } }
		}
	}

	focus = {
		id = ROM_form_peasant_militias
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ROM_a_deal_with_the_devil }
		x = -1
		y = 1
		relative_position_id = ROM_a_deal_with_the_devil

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_a_deal_with_the_devil_2
		}
	}

	focus = {
		id = ROM_basing_rights_for_soviet_union
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = ROM_a_deal_with_the_devil }
		x = 0
		y = 2
		relative_position_id = ROM_a_deal_with_the_devil

		cost = 10

	}

	focus = {
		id = ROM_romanian_volunteer_brigades
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = ROM_basing_rights_for_soviet_union }
		x = -1
		y = 3
		relative_position_id = ROM_a_deal_with_the_devil

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_romanian_volunteer_brigades
		}
	}

	focus = {
		id = ROM_join_comintern
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = ROM_basing_rights_for_soviet_union }
		x = 0
		y = 4
		relative_position_id = ROM_a_deal_with_the_devil

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				SOV = {
					has_capitulated = yes
				}
			}
		}

		available = {
			SOV = { is_faction_leader = yes }
			is_in_faction = no
			NOT = { has_war_with = SOV }
			is_subject = no
			NOT = {
				any_other_country = {
					is_in_faction_with = SOV
					has_war_with = ROM
				}
			}
		}

		bypass = {
			is_in_faction_with = SOV
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { country_event = generic.2 }
		}
	}

	focus = {
		id = ROM_trade_treaty_with_germany
		icon = GFX_goal_generic_trade
		prerequisite = { focus = ROM_preserve_greater_romania }
		x = 0
		y = 1
		relative_position_id = ROM_preserve_greater_romania

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {
			NOT = { has_war_with = GER }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_popularity = { ideology = fascism popularity = 0.05 }
			add_opinion_modifier = { target = GER modifier = ROM_trade_treaty_with_germany }
			GER = { add_opinion_modifier = { target = ROOT modifier = ROM_trade_treaty_with_germany } }
		}
	}

	focus = {
		id = ROM_invite_german_advisors
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = ROM_trade_treaty_with_germany }
		x = 0
		y = 2
		relative_position_id = ROM_trade_treaty_with_germany

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_war_with = GER }
			OR = {
				is_in_faction = no
				is_in_faction_with = GER
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_license_german_equipment
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = ROM_invite_german_advisors }
		x = 1
		y = 3
		relative_position_id = ROM_trade_treaty_with_germany

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_in_faction = no
				is_in_faction_with = GER 
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_relation_modifier = {
				target = GER
				modifier = ROM_license_german_equipment
			}
		}
	}

	focus = {
		id = ROM_join_axis
		icon = GFX_goal_support_fascism
		prerequisite = { focus = ROM_invite_german_advisors }
		x = 0
		y = 4
		relative_position_id = ROM_trade_treaty_with_germany

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				GER = {
					has_capitulated = yes
				}
			}
		}

		available = {
			GER = { 
				is_faction_leader = yes
				has_government = fascism
			}
			is_in_faction = no
			NOT = { has_war_with = GER }
			is_subject = no
			NOT = {
				any_other_country = {
					is_in_faction_with = GER
					has_war_with = ROM
				}
			}
		}

		bypass = {
			is_in_faction_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			GER = {
				country_event = generic.2
			}
		}
	}

	focus = {
		id = ROM_german_romanian_oil_exploitation_company
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = ROM_join_axis }
		x = -1
		y = 5
		relative_position_id = ROM_trade_treaty_with_germany


		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = GER
			GER = {
				exists = yes
				is_puppet = no
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_demand_transnistria
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = ROM_join_axis }
		x = 1
		y = 5
		relative_position_id = ROM_trade_treaty_with_germany

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			192 = {
				is_owned_by = SOV
				is_controlled_by = SOV
			}
			198 = {
				is_owned_by = SOV
				is_controlled_by = SOV
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = take_state_focus
				target = SOV
				generator = { 192 198 }
			}
		}
	}

	focus = {
		id = ROM_renew_the_romanian_polish_alliance
		icon = GFX_goal_anschluss
		prerequisite = { focus = ROM_preserve_greater_romania }
		x = 2
		y = 1
		relative_position_id = ROM_preserve_greater_romania

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			POL = { 
				exists = yes 
				is_puppet = no
			}
			NOT = { has_war_with = POL }
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_popularity = { ideology = democratic popularity = 0.05 }
			POL = { country_event = DOD_romania.1 }
		}
	}

	focus = {
		id = ROM_the_cordon_sanitaire
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = ROM_renew_the_romanian_polish_alliance }
		x = 1
		y = 1
		relative_position_id = ROM_renew_the_romanian_polish_alliance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction = no
			is_subject = no
			OR = {
				country_exists = POL
				country_exists = CZE
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_demand_a_western_guarantee
		icon = GFX_goal_generic_defence
		prerequisite = { focus = ROM_renew_the_romanian_polish_alliance }
		x = 0
		y = 2
		relative_position_id = ROM_renew_the_romanian_polish_alliance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {
			OR = {
				is_in_faction_with = ENG
				is_in_faction_with = FRA
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					FRA = {
						OR = {
							NOT = { is_in_faction_with = ENG }
							is_faction_leader = yes #if France has formed the little entente
						}
					}
				}
				FRA = { country_event = DOD_romania.20 }
			}
			if = {
				limit = {
					ENG = {
						is_faction_leader = yes 
					}
				}
				ENG = { country_event = DOD_romania.20 }
			}
			
			
		}
	}

	focus = {
		id = ROM_military_modernization
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = ROM_demand_a_western_guarantee }
		x = 1
		y = 3
		relative_position_id = ROM_renew_the_romanian_polish_alliance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			
			add_relation_modifier = {
				target = ENG
				modifier = ROM_military_modernization
			}
			
			if = {
				limit = {
					FRA = {
						is_in_faction_with = ENG
					}
				}
				add_relation_modifier = {
					target = FRA
					modifier = ROM_military_modernization
				}
			
			}
		}
	}

	focus = {
		id = ROM_join_allies
		icon = GFX_goal_support_democracy
		prerequisite = { focus = ROM_demand_a_western_guarantee }
		x = 0
		y = 4
		relative_position_id = ROM_renew_the_romanian_polish_alliance

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				OR = {
					ENG = {
						has_capitulated = yes
					}
					FRA = {
						has_capitulated = yes
					}
				}
			}
		}

		available = {
			ENG = { is_faction_leader = yes }
			is_in_faction = no
			NOT = { has_war_with = ENG }
			is_subject = no
			NOT = {
				any_other_country = {
					is_in_faction_with = ENG
					has_war_with = ROM
				}
			}
		}

		bypass = {
			is_in_faction_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			ENG = {
				country_event = generic.2
			}
		}
	}

	focus = {
		id = ROM_joint_allied_staff_college
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = ROM_join_allies }
		prerequisite = { focus = ROM_military_modernization }
		x = 1
		y = 5
		relative_position_id = ROM_renew_the_romanian_polish_alliance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = ENG
			ENG = { is_faction_leader = yes }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = ROM_joint_allied_staff_college_tech_group
			ENG = { add_to_tech_sharing_group = ROM_joint_allied_staff_college_tech_group }
			if = {
				limit = {
					FRA = { is_in_faction_with = ENG }
				}
				FRA = { add_to_tech_sharing_group = ROM_joint_allied_staff_college_tech_group }
			}
		}
	}

	############################
	##### INDUSTRY BRANCH ######
	############################

	focus = {
		id = ROM_civil_works
		icon = GFX_goal_generic_construction
		prerequisite = { focus = ROM_preserve_greater_romania }
		x = 5
		y = 1
		relative_position_id = ROM_preserve_greater_romania

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_civil_works
				bonus = 0.5
				uses = 2
				category = industry
			}
		}
	}

	focus = {
		id = ROM_national_defense_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = ROM_balkans_dominance }
		x = 2
		y = 0
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = ROM_national_defense_industry_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = ROM_national_defense_industry_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = ROM_national_defense_industry_AF1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = ROM_national_defense_industry_AF2
			}
		}
	}

	focus = {
		id = ROM_agrarian_reform
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = ROM_civil_works focus = ROM_national_defense_industry }
		x = 1
		y = 1
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_agrarian_reform
		}
	}

	focus = {
		id = ROM_danubian_transport_network
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = ROM_agrarian_reform }
		x = 1
		y = 2
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = ROM_danubian_transport_network_Inf
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = ROM_danubian_transport_network_Inf_2
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = ROM_danubian_transport_network_Inf_3
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_malaxa
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = ROM_danubian_transport_network }
		mutually_exclusive = { focus = ROM_invite_foreign_motor_companies }
		x = 0
		y = 3
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = ROM_malaxa_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV } 
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = ROM_malaxa_IC
			}
		}
	}

	focus = {
		id = ROM_invite_foreign_motor_companies
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = ROM_danubian_transport_network }
		mutually_exclusive = { focus = ROM_malaxa }
		x = 2
		y = 3
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = DOD_romania.120
		}
	}

	focus = {
		id = ROM_hunedoara_steel_works
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = ROM_invite_foreign_motor_companies focus = ROM_malaxa }
		x = 0
		y = 4
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = ROM_hunedoara_steel_works_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				add_resource = {
					type = steel
					amount = 8
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV } 
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = ROM_hunedoara_steel_works_IC
				add_resource = {
					type = steel
					amount = 12
				}
			}
		}
	}

	focus = {
		id = ROM_invest_in_the_iar
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = ROM_invite_foreign_motor_companies focus = ROM_malaxa }
		x = 2
		y = 4
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = ROM_invest_in_the_iar_AF1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_expand_ploiesti_oil_production
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = ROM_invest_in_the_iar }
		prerequisite = { focus = ROM_hunedoara_steel_works }
		x = 1
		y = 5
		relative_position_id = ROM_civil_works

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_full_control_of_state = 46
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	##########################
	### BALKANS DOMINANCE ####
	#########################

	focus = {
		id = ROM_balkans_dominance
		icon = GFX_goal_demand_sudetenland
		mutually_exclusive = { focus = ROM_preserve_greater_romania }
		x = 15
		y = 0

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = ROM_invite_german_advisors_tech_group
			GER = { add_to_tech_sharing_group = ROM_invite_german_advisors_tech_group }
		}
	}

	focus = {
		id = ROM_puppet_bulgaria
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = ROM_balkans_dominance }
		x = -2
		y = 1
		relative_position_id = ROM_balkans_dominance
		will_lead_to_war_with = BUL
		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			is_subject = no
			BUL = {
				exists = yes
				NOT = { has_war_with = ROM }
			}
			strength_ratio = { tag = BUL ratio > 1.5 }
			has_army_manpower = { size > 400000 }
		}

		bypass = {
			BUL = {
				OR = {
					is_puppet_of = ROM
					exists = no 
					AND = {
						has_war_with = ROM
						has_capitulated = yes
						ROM = {
							controls_state = 48
							controls_state = 212
							controls_state = 211
						}
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			BUL = { country_event = DOD_romania.40 }
		}
	}

	focus = {
		id = ROM_align_hungary
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ROM_balkans_dominance }
		x = 1
		y = 1
		relative_position_id = ROM_balkans_dominance
		will_lead_to_war_with = HUN
		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {
			is_subject = no
			HUN = {
				exists = yes
				NOT = { has_war_with = ROM }
			}
			strength_ratio = {
				tag = HUN
				ratio > 1.5
			}
			has_army_manpower = { size > 400000 }
		}

		bypass = {
			HUN = {
				OR = {
					is_puppet_of = ROM
					exists = no 
				}
			}
		}



		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			HUN = { country_event = DOD_romania.50 }
		}
	}

	focus = {
		id = ROM_secure_greece
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = ROM_puppet_bulgaria }
		x = -1
		y = 1
		relative_position_id = ROM_puppet_bulgaria
		will_lead_to_war_with = GRE
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			GRE = {
				exists = yes
				NOT = {
					is_in_faction_with = ROM
				}
			}
			strength_ratio = { tag = GRE ratio > 1 }
			has_army_manpower = { size > 500000 }
		}
 
		bypass = {
			GRE = {
				OR = {
					is_puppet_of = ROM
					exists = no 
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = GRE
			}
		}
	}

	focus = {
		id = ROM_divide_yugoslavia
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ROM_puppet_bulgaria }
		x = 1
		y = 1
		relative_position_id = ROM_puppet_bulgaria
		will_lead_to_war_with = YUG
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			YUG = {
				exists = yes
				is_puppet = no
				NOT = {
					is_in_faction_with = ROM
				}
			}
			strength_ratio = {
				tag = YUG
				ratio > 1.5
			}
			has_army_manpower = { size > 500000 }
		}

	}

	focus = {
		id = ROM_split_czechoslovakia
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = ROM_align_hungary }
		x = 0
		y = 1
		relative_position_id = ROM_align_hungary
		will_lead_to_war_with = CZE
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			CZE = {
				exists = yes
				is_puppet = no
				NOT =  { is_in_faction_with = ROM }
			}
			strength_ratio = { tag = CZE ratio > 1.5 }
			has_army_manpower = { size > 500000 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			GER = { country_event = DOD_romania.110 }
		}
	}

	focus = {
		id = ROM_secure_the_bosporus
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = ROM_secure_greece }
		x = -1
		y = 2
		relative_position_id = ROM_puppet_bulgaria

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
			TUR = {
				exists = yes
				NOT = { has_war_with = ROM }
			}
			strength_ratio = { tag = TUR ratio > 1.5 }
			has_army_manpower = { size > 750000 }
		}

		bypass = {
			TUR = {
				is_puppet_of = ROM
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = puppet_wargoal_focus
				target = TUR
			}
		}
	}

	#############################
	######## KING BRANCH ########
	#############################

	focus = {
		id = ROM_institute_royal_dictatorship
		icon = GFX_focus_rom_royal_dictatorship
		x = 21
		y = 0

		cost = 10

	}

	focus = {
		id = ROM_king_michaels_coup
		icon = GFX_focus_rom_coup
		prerequisite = { focus = ROM_institute_royal_dictatorship }
		x = 2
		y = 1
		relative_position_id = ROM_institute_royal_dictatorship

		cost = 10

	}

	focus = {
		id = ROM_fortify_the_borders
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = ROM_institute_royal_dictatorship }
		x = -2
		y = 1
		relative_position_id = ROM_institute_royal_dictatorship

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_fortify_the_borders
		}
	}

	focus = {
		id = ROM_his_majestys_loyal_government
		icon = GFX_goal_generic_propaganda

		mutually_exclusive = { focus = ROM_flexible_foreign_policy }
		x = -1
		y = 1
		relative_position_id = ROM_fortify_the_borders

		cost = 10


	}

	focus = {
		id = ROM_militarize_the_sentinels
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ROM_his_majestys_loyal_government }
	
		x = 0
		y = 1
		relative_position_id = ROM_his_majestys_loyal_government

		cost = 10

		ai_will_do = {
			factor = 1
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = ROM_the_sentinel_of_the_motherland_2
				remove_idea = ROM_the_sentinel_of_the_motherland
			}			
		}
	}

	focus = {
		id = ROM_all_parties_must_end
		icon = GFX_focus_rom_parties_end
		prerequisite = { focus = ROM_militarize_the_sentinels }
	
		x = 0
		y = 2
		relative_position_id = ROM_his_majestys_loyal_government

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = neutrality
			custom_trigger_tooltip = {
				tooltip = ROM_carol_current_leader_trigger
				has_country_leader = { id = 550 }
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				add_idea = ROM_king_carol_ii_handled
				remove_idea = ROM_king_carol_ii_hedonist
			}
			remove_country_leader_trait = hedonist
		}
	}

	focus = {
		id = ROM_revise_the_constitution
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = ROM_institute_royal_dictatorship }
		x = 0
		y = 1
		relative_position_id = ROM_institute_royal_dictatorship

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = ROM_carol_not_leader_trigger
				NOT = { has_country_leader = { id = 550 } }
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			
			set_politics = {
				ruling_party = neutrality
				elections_allowed = no
			}
			add_country_leader_trait = camarilla_leader
			add_ideas = ROM_the_sentinel_of_the_motherland
		}
	}

	focus = {
		id = ROM_the_royal_foundation
		icon = GFX_focus_research
		prerequisite = { focus = ROM_revise_the_constitution }
		x = 2
		y = 1
		relative_position_id = ROM_revise_the_constitution

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = ROM_flexible_foreign_policy
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = ROM_revise_the_constitution }
		mutually_exclusive = { focus = ROM_his_majestys_loyal_government }
		x = 0
		y = 1
		relative_position_id = ROM_revise_the_constitution

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_flexible_foreign_policy
		}
	}

	focus = {
		id = ROM_appoint_soviet_friendly_government
		icon = GFX_goal_support_communism
		prerequisite = { focus = ROM_flexible_foreign_policy }
		x = -1
		y = 1
		relative_position_id = ROM_flexible_foreign_policy

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war_with = SOV
			}
		}

		available = {
			is_subject = no
			SOV = {
				is_faction_leader = yes
				has_government = communism
				NOT = { has_war_with = ROM}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#Remove ideas or display tooltip warning that it will happen
			if = {
				limit = {
					has_idea = ROM_constitutional_guarantees
				}
				remove_ideas = ROM_constitutional_guarantees
				else = {
					if = {
						limit = {
							has_idea = ROM_securitate
						}
						remove_ideas = ROM_securitate
						else = {
							custom_effect_tooltip = ROM_appoint_soviet_friendly_government_tooltip
						}
					}
				}
			}
			if = {
				limit = { NOT = { has_idea = ROM_flexible_foreign_policy_2 } }
				swap_ideas = {
					remove_idea = ROM_flexible_foreign_policy
					add_idea = ROM_flexible_foreign_policy_2
				}
			}
			add_popularity = {
				popularity = 0.35
				ideology = communism
			}
			add_stability = -0.05
			add_opinion_modifier = { modifier = ROM_appoint_soviet_friendly_government target = SOV }
			SOV = { add_opinion_modifier = { modifier = ROM_appoint_soviet_friendly_government target = ROOT } }
		}
	}

	focus = {
		id = ROM_securitate
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = ROM_appoint_soviet_friendly_government }
		x = 0
		y = 1
		relative_position_id = ROM_appoint_soviet_friendly_government

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_appoint_german_friendly_government
		icon = GFX_goal_support_fascism
		prerequisite = { focus = ROM_flexible_foreign_policy }
		x = 1
		y = 1
		relative_position_id = ROM_flexible_foreign_policy

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war_with = GER
			}
		}

		available = {
			is_subject = no
			GER = {
				is_faction_leader = yes
				has_government = fascism
				NOT = { has_war_with = ROM }
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#Remove ideas or display tooltip warning that it will happen
			if = {
				limit = {
					has_idea = ROM_securitate
				}
				remove_ideas = ROM_securitate
				else = {
					if = {
						limit = {
							has_idea = ROM_constitutional_guarantees
						}
						remove_ideas = ROM_constitutional_guarantees
						else = {
							custom_effect_tooltip = ROM_appoint_german_friendly_government_tooltip
						}
					}
				}
			}
			if = {
				limit = { NOT = { has_idea = ROM_flexible_foreign_policy_2 } }
				swap_ideas = {
					remove_idea = ROM_flexible_foreign_policy
					add_idea = ROM_flexible_foreign_policy_2
				}
			}
			add_popularity = {
				popularity = 0.35
				ideology = fascism
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ROM_mihail_sturdza
			add_stability = -0.05
			add_opinion_modifier = { modifier = ROM_appoint_german_friendly_government target = GER }
			GER = { add_opinion_modifier = { modifier = ROM_appoint_german_friendly_government target = ROOT } }
			
			#Cancel guarantees
			diplomatic_relation = {
				country = YUG
				relation = guarantee
				active = no
			}
			diplomatic_relation = {
				country = CZE
				relation = guarantee
				active = no
			}
			diplomatic_relation = {
				country = GRE
				relation = guarantee
				active = no
			}
			diplomatic_relation = {
				country = TUR
				relation = guarantee
				active = no
			}
		}
	}

	focus = {
		id = ROM_iron_guard
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ROM_appoint_german_friendly_government }
		x = 0
		y = 1
		relative_position_id = ROM_appoint_german_friendly_government

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { has_idea = ROM_the_sentinel_of_the_motherland }
				swap_ideas = {
					add_idea = ROM_iron_guard
					remove_idea = ROM_the_sentinel_of_the_motherland
				}
				else = {
					remove_ideas = ROM_the_sentinel_of_the_motherland
					add_ideas = ROM_iron_guard
				}
			}
			#Remove ideas or display tooltip warning that it will happen
			if = {
				limit = {
					has_idea = ROM_securitate
				}
				remove_ideas = ROM_securitate
				else = {
					if = {
						limit = {
							has_idea = ROM_constitutional_guarantees
						}
						remove_ideas = ROM_constitutional_guarantees
						else = {
							custom_effect_tooltip = ROM_appoint_german_friendly_government_tooltip
						}
					}
				}
			}
		}
	}

	focus = {
		id = ROM_force_abdication
		icon = GFX_focus_rom_abdicate
		prerequisite = { focus = ROM_iron_guard focus = ROM_securitate }
		mutually_exclusive = { focus = ROM_handle_the_king }
		x = -1
		y = 2
		relative_position_id = ROM_appoint_german_friendly_government

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {
			has_idea = ROM_king_carol_ii_hedonist
			OR = {
				democratic > 0.35
				communism > 0.35
				fascism > 0.35
			}
			is_subject = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#Removes king carol and makes the most popular party the ruling one
			if = {
				limit = { has_country_leader = { id = 550 } }
				retire_country_leader = yes
			}
			if = {
				limit = {
					democratic > 0.35
				}
				set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}
				limit = {
					communism > 0.35
				}
				set_politics = {
					ruling_party = communism
					elections_allowed = no
				}
				limit = {
					fascism > 0.35
				}
				set_politics = {
					ruling_party = fascism
					elections_allowed = no
				}
			}
			if = {
				limit = {
					has_idea = ROM_constitutional_guarantees
				}				
				else = {
					if = {
						limit = {
							has_idea = ROM_securitate
						}
					}
				}
			}
			swap_ideas = {
				add_idea = ROM_figurehead_king_michael
				remove_idea = ROM_king_carol_ii_hedonist
			}
			remove_ideas = ROM_the_sentinel_of_the_motherland
			#add_political_power = -120
			add_timed_idea = { idea = ROM_king_carol_emptied_accounts days = 360 }
			hidden_effect = {
				news_event = { id = news.323 days = 1 }
			}
		}
	}

	focus = {
		id = ROM_appoint_allied_friendly_government
		icon = GFX_goal_support_democracy
		prerequisite = { focus = ROM_flexible_foreign_policy }
		x = 3
		y = 1
		relative_position_id = ROM_flexible_foreign_policy

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				has_war_with = ENG
			}
		}

		available = {
			is_subject = no
			ENG = {
				is_faction_leader = yes
				has_government = democratic
				NOT = { has_war_with = ROM }
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#Remove ideas or display tooltip warning that it will happen
			if = {
				limit = {
					has_idea = ROM_iron_guard
				}
				remove_ideas = ROM_iron_guard
				else = {
					if = {
						limit = {
							has_idea = ROM_securitate
						}
						remove_ideas = ROM_securitate
						else = {
							custom_effect_tooltip = ROM_appoint_allied_friendly_government_tooltip
						}
					}
				}
			}
			if = {
				limit = { NOT = { has_idea = ROM_flexible_foreign_policy_2 } }
				swap_ideas = {
					remove_idea = ROM_flexible_foreign_policy
					add_idea = ROM_flexible_foreign_policy_2
				}
			}
			add_popularity = {
				popularity = 0.35
				ideology = democratic
			}
			add_stability = -0.05
			add_opinion_modifier = { modifier = ROM_appoint_allied_friendly_government target = ENG }
			ENG = { add_opinion_modifier = { modifier = ROM_appoint_allied_friendly_government target = ROOT } }
		}
	}

	focus = {
		id = ROM_constitutional_guarantees
		icon = GFX_goal_generic_neutrality_focus
		prerequisite = { focus = ROM_appoint_allied_friendly_government }
		x = 0
		y = 1
		relative_position_id = ROM_appoint_allied_friendly_government

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_constitutional_guarantees
			#Remove ideas or display tooltip warning that it will happen
			if = {
				limit = {
					has_idea = ROM_iron_guard
				}
				remove_ideas = ROM_iron_guard
				else = {
					if = {
						limit = {
							has_idea = ROM_securitate
						}
						remove_ideas = ROM_securitate
						else = {
							custom_effect_tooltip = ROM_appoint_allied_friendly_government_tooltip
						}
					}
				}
			}
		}
	}

	focus = {
		id = ROM_handle_the_king
		icon = GFX_focus_rom_handle_king
		prerequisite = { focus = ROM_constitutional_guarantees }
		mutually_exclusive = { focus = ROM_force_abdication }
		x = 0
		y = 2
		relative_position_id = ROM_appoint_allied_friendly_government

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	############################
	######## AIR BRANCH ########
	############################

	focus = {
		id = ROM_expand_the_air_force
		icon = GFX_goal_generic_build_airforce
		x = 31
		y = 0

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			air_experience = 25
			random_state = {
				limit = {
					has_state_flag = ROM_expand_the_air_force_AB
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = ROM_expand_the_air_force_AB_2
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					free_building_slots = {
						building = air_base
						size > 2
					}
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
				set_state_flag = ROM_expand_the_air_force_AB
			}
			random_owned_controlled_state = {
				limit = {
					ROOT = { has_full_control_of_state = PREV }
					free_building_slots = {
						building = air_base
						size > 2
					}
				}
				add_building_construction = {
					type = air_base
					level = 3
					instant_build = yes
				}
				set_state_flag = ROM_expand_the_air_force_AB_2
			}
		}
	}

	focus = {
		id = ROM_acquire_licenses
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = ROM_expand_the_air_force }
		mutually_exclusive = { focus = ROM_local_development }
		x = -2
		y = 1
		relative_position_id = ROM_expand_the_air_force

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_acquire_licenses
		}
	}

	focus = {
		id = ROM_air_defense
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = ROM_acquire_licenses }
		mutually_exclusive = { focus = ROM_ground_support }
		x = -2
		y = 1
		relative_position_id = ROM_acquire_licenses

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_air_defense
				bonus = 0.5
				uses = 2
				category = cat_operational_integrity
			}
		}
	}

	focus = {
		id = ROM_ground_support
		icon = GFX_goal_poland_goal
		prerequisite = { focus = ROM_acquire_licenses }
		mutually_exclusive = { focus = ROM_air_defense }
		x = 0
		y = 1
		relative_position_id = ROM_acquire_licenses

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_medium_bombers
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = ROM_ground_support }
		x = 0
		y = 2
		relative_position_id = ROM_acquire_licenses

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_medium_bombers
				bonus = 0.5
				uses = 1
				category = tactical_bomber
			}
		}
	}

	focus = {
		id = ROM_acquire_fighters
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = ROM_air_defense }
		x = -2
		y = 2
		relative_position_id = ROM_acquire_licenses

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = DOD_romania.150
		}
	}

	focus = {
		id = ROM_local_development
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = ROM_expand_the_air_force }
		mutually_exclusive = { focus = ROM_acquire_licenses }
		x = 2
		y = 1
		relative_position_id = ROM_expand_the_air_force

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_local_development
		}
	}

	focus = {
		id = ROM_air_superiority
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = ROM_local_development }
		mutually_exclusive = { focus = ROM_strategic_bomber_force }
		x = -1
		y = 1
		relative_position_id = ROM_local_development

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_air_superiority
				bonus = 0.5
				uses = 2
				category = strategic_destruction_tree
			}
		}
	}

	focus = {
		id = ROM_cas
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = ROM_air_superiority }
		x = 1
		y = 1
		relative_position_id = ROM_air_superiority

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_cas
				bonus = 0.5
				uses = 1
				category = cas_bomber
			}
		}
	}

	focus = {
		id = ROM_iar_80
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = ROM_air_superiority }
		x = -1
		y = 1
		relative_position_id = ROM_air_superiority

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			#Give generic fighter bonus if fighter_2 already researched
			if = {
				limit = {
					has_tech = fighter2
				}
				add_tech_bonus = {
					name = ROM_iar_80
					bonus = 0.5
					ahead_reduction = 1
					uses = 1
					category = light_fighter
				}
				else = {
					add_tech_bonus = {
						name = ROM_iar_80
						bonus = 0.5
						ahead_reduction = 1
						uses = 1
						technology = fighter2
					}
				}
			}
		}
	}

	focus = {
		id = ROM_strategic_bomber_force
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = ROM_local_development }
		mutually_exclusive = { focus = ROM_air_superiority }
		x = 1
		y = 1
		relative_position_id = ROM_local_development

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_strategic_bomber_force
				bonus = 0.5
				uses = 1
				category = cat_strategic_bomber
			}
		}
	}

	focus = {
		id = ROM_heavy_bombers
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = ROM_strategic_bomber_force }
		x = 1
		y = 1
		relative_position_id = ROM_strategic_bomber_force

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_heavy_bombers
				bonus = 0.5
				uses = 1
				category = cat_strategic_bomber
			}
		}
	}

	focus = {
		id = ROM_nuclear_bomb_project
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = ROM_heavy_bombers }
		x = 1
		y = 2
		relative_position_id = ROM_strategic_bomber_force

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_nuclear_bomb_project
				bonus = 0.5
				uses = 1
				category = nuclear
			}
		}
	}

	############################
	####### ARMY BRANCH ########
	############################

	focus = {
		id = ROM_army_maneuvers
		icon = GFX_goal_generic_army_doctrines
		x = 39
		y = 0

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 25
		}
	}

	focus = {
		id = ROM_army_war_college
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = ROM_army_maneuvers }
		x = -1
		y = 1
		relative_position_id = ROM_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_army_war_college
			custom_effect_tooltip = ROM_war_college_tt
			hidden_effect = {
				create_corps_commander = { 
					name = "Barbu Paraianu"
					gfx = GFX_Portrait_romania_barbu_paraianu
					traits = {  }
					skill = 2
					attack_skill = 1
					defense_skill = 1
					planning_skill = 3
					logistics_skill = 1
				}
			}
		}
	}

	focus = {
		id = ROM_the_zb_53
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = ROM_army_war_college }
		x = 0
		y = 1
		relative_position_id = ROM_army_war_college

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_the_zb_53
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {		
		id = ROM_vanatori_de_munte
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = ROM_the_zb_53 }
		x = -1
		y = 1
		relative_position_id = ROM_the_zb_53

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = tech_mountaineers
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = ROM_vanatori_de_munte_unit_tt
			hidden_effect = {
				division_template = {
					name = "Vanatori de munte"
					priority = 2
					division_names_group = ROM_MTN_01
					regiments = {
						mountaineers = { x = 0 y = 0 }
						mountaineers = { x = 0 y = 1 }
						mountaineers = { x = 0 y = 2 }
			
	    	   		 	mountaineers = { x = 1 y = 0 }
						mountaineers = { x = 1 y = 1 }
						mountaineers = { x = 1 y = 2 }
			
	    	   		 	mountaineers = { x = 2 y = 0 }
						mountaineers = { x = 2 y = 1 }
						mountaineers = { x = 2 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 46 }
					create_unit = {
						division = "name = \"Vanatori de munte\" division_template = \"Vanatori de munte\" start_experience_factor = 1.0" 
						owner = ROM
					}
				}
			}
			add_tech_bonus = {
				name = ROM_vanatori_de_munte
				bonus = 0.5
				uses = 1
				category = mountaineers_tech
			}
		}
	}

	focus = {
		id = ROM_artillery_modernization
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = ROM_the_zb_53 }
		x = 1
		y = 1
		relative_position_id = ROM_the_zb_53

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_modern_at_guns
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = ROM_artillery_modernization }
		mutually_exclusive = { focus = ROM_mobile_tank_destroyers }
		x = 1
		y = 2
		relative_position_id = ROM_the_zb_53

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_modern_at_guns
				bonus = 0.5
				uses = 2
				category = cat_anti_tank
			}
		}
	}

	focus = {
		id = ROM_mountain_artillery
		icon = GFX_goal_generic_production
		prerequisite = { focus = ROM_artillery_modernization }
		prerequisite = { focus = ROM_vanatori_de_munte }
		x = -1
		y = 2
		relative_position_id = ROM_the_zb_53

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_royal_guards_divisions
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = ROM_army_maneuvers }
		x = 1
		y = 1
		relative_position_id = ROM_army_maneuvers

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = ROM_royal_guards_divisions_tt
			hidden_effect = {
				if = {
					limit = {
						has_tech = tech_recon
					}
					division_template = {
						name = "Royal Guards Division"
						priority = 2
						division_names_group = ROM_INF_01
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
				
		    	   		 	infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
				
		    	   		 	infantry = { x = 2 y = 0 }
							artillery_brigade = { x = 2 y = 1 }
							artillery_brigade = { x = 2 y = 2 }
						}
						support = {
							engineer = { x = 0 y = 0 }
							recon = { x = 0 y = 1 }
						}
					}
					else = {
						division_template = {
							name = "Royal Guards Division"
							priority = 2
							division_names_group = ROM_INF_01
							regiments = {
								infantry = { x = 0 y = 0 }
								infantry = { x = 0 y = 1 }
								infantry = { x = 0 y = 2 }
					
			    	   		 	infantry = { x = 1 y = 0 }
								infantry = { x = 1 y = 1 }
								infantry = { x = 1 y = 2 }
					
			    	   		 	infantry = { x = 2 y = 0 }
								artillery_brigade = { x = 2 y = 1 }
								artillery_brigade = { x = 2 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 46 }
					create_unit = {
						division = "name = \"Royal Guards Division\" division_template = \"Royal Guards Division\" start_experience_factor = 1.0" 
						owner = ROM
					}
				}
			}			
		}
	}

	focus = {
		id = ROM_reserve_divisions
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = ROM_royal_guards_divisions }
		mutually_exclusive = { focus = ROM_the_armored_division }
		x = 0
		y = 1
		relative_position_id = ROM_royal_guards_divisions

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_reserve_divisions
		}
	}

	focus = {
		id = ROM_the_armored_division
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = ROM_royal_guards_divisions }
		mutually_exclusive = { focus = ROM_reserve_divisions }
		x = 2
		y = 1
		relative_position_id = ROM_royal_guards_divisions

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = ROM_the_armored_division_tt
			#Give template depending on recon tech and medium
			hidden_effect = {
				if = {
					limit = {
						has_tech = basic_medium_tank
						has_tech = tech_recon
					}
					division_template = {
						name = "Armored Division"
						priority = 2
						division_names_group = ROM_ARM_01
						regiments = {
							medium_armor = { x = 0 y = 0 }
							medium_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 = 3 y = 0 }
							motorized = { x = 3 y = 1 }
						}
						support = {
							engineer = { x = 0 y = 0 }
							artillery = { x = 0 y = 1 }
							recon = { x = 0 y = 2 }
						}
					}
					else = {
						if = {
							limit = {
								has_tech = basic_medium_tank
							}
							division_template = {
								name = "Armored Division"
								priority = 2
								division_names_group = ROM_ARM_01
								regiments = {
									medium_armor = { x = 0 y = 0 }
									medium_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 = 3 y = 0 }
									motorized = { x = 3 y = 1 }
								}
								support = {
									engineer = { x = 0 y = 0 }
									artillery = { x = 0 y = 1 }
									recon = { x = 0 y = 2 }
								}
							}
							else = {
								if = {
									limit = {
										has_tech = tech_recon
									}
									division_template = {
										name = "Armored Division"
										priority = 2
										division_names_group = ROM_ARM_01
										regiments = {
											light_armor = { x = 0 y = 0 }
											light_armor = { x = 0 y = 1 }
								
						    	   		 	light_armor = { x = 1 y = 0 }
											light_armor = { x = 1 y = 1 }
								
						    	   		 	motorized = { x = 2 y = 0 }
											motorized = { x = 2 y = 1 }

						    	   		 	motorized = { x = 3 y = 0 }
											motorized = { x = 3 y = 1 }
										}
										support = {
											engineer = { x = 0 y = 0 }
											artillery = { x = 0 y = 1 }
											recon = { x = 0 y = 2 }
										}
									}
									else = {
										division_template = {
											name = "Armored Division"
											priority = 2
											division_names_group = ROM_ARM_01
											regiments = {
												light_armor = { x = 0 y = 0 }
												light_armor = { x = 0 y = 1 }
									
							    	   		 	light_armor = { x = 1 y = 0 }
												light_armor = { x = 1 y = 1 }
									
							    	   		 	motorized = { x = 2 y = 0 }
												motorized = { x = 2 y = 1 }

							    	   		 	motorized = { x = 3 y = 0 }
												motorized = { x = 3 y = 1 }
											}
											support = {
												engineer = { x = 0 y = 0 }
												artillery = { x = 0 y = 1 }
											}
										}
									}
								}
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = { ROOT = { has_full_control_of_state = PREV } }
					prioritize = { 46 }
					create_unit = {
						division = "name = \"Armored Division\" division_template = \"Armored Division\" start_experience_factor = 0.7" 
						owner = ROM
					}
				}
			}			
		}
	}

	focus = {
		id = ROM_acquire_modern_tanks
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = ROM_the_armored_division focus = ROM_reserve_divisions	}
		x = 1
		y = 2
		relative_position_id = ROM_royal_guards_divisions

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_acquire_modern_tanks
		}
	}

	focus = {
		id = ROM_mobile_tank_destroyers
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = ROM_acquire_modern_tanks }
		prerequisite = { focus = ROM_artillery_modernization }
		mutually_exclusive = { focus = ROM_modern_at_guns }
		x = 0
		y = 1
		relative_position_id = ROM_acquire_modern_tanks

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = ROM_leonidas_works
		}
	}

	focus = {
		id = ROM_the_maresal
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = ROM_mobile_tank_destroyers }
		x = 1
		y = 3
		relative_position_id = ROM_reserve_divisions

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = ROM_the_maresal
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = cat_heavy_armor
			}
		}
	}

	############################
	####### NAVY BRANCH ########
	############################

	focus = {
		id = ROM_expand_the_galati_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 46
		y = 0

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			navy_experience = 25
			random_state = {
				limit = {
					has_state_flag = ROM_expand_the_galati_shipyards_AB
				}
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_coastal_defense_navy
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = ROM_expand_the_galati_shipyards }
		mutually_exclusive = { focus = ROM_black_sea_dominance }
		x = -1
		y = 1
		relative_position_id = ROM_expand_the_galati_shipyards

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = ROM_coastal_defense_navy_designer
		}
	}

	focus = {
		id = ROM_coastal_defense_ships
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = ROM_coastal_defense_navy }
		x = -1
		y = 1
		relative_position_id = ROM_coastal_defense_navy

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = ROM_coastal_defense_ships
			#custom_effect_tooltip = ROM_coastal_defense_ships_tech_tt
			#hidden_effect = { set_technology = { coastal_defense_ships = 1 } }
		}
	}

	focus = {
		id = ROM_modern_destroyers
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = ROM_coastal_defense_navy focus = ROM_black_sea_dominance }
		x = 1
		y = 1
		relative_position_id = ROM_coastal_defense_navy

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_torpedo_boats
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = ROM_coastal_defense_ships }
		x = -2
		y = 2
		relative_position_id = ROM_coastal_defense_navy

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_modern_submarines
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = ROM_modern_destroyers }
		x = 0
		y = 2
		relative_position_id = ROM_coastal_defense_navy

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_black_sea_dominance
		icon = GFX_goal_generic_build_navy
		prerequisite = { focus = ROM_expand_the_galati_shipyards }
		mutually_exclusive = { focus = ROM_coastal_defense_navy }
		x = 1
		y = 1
		relative_position_id = ROM_expand_the_galati_shipyards

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {			

		}
	}

	focus = {
		id = ROM_capital_ships
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = ROM_black_sea_dominance }
		x = 1
		y = 1
		relative_position_id = ROM_black_sea_dominance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_torpedo_bombers
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = ROM_modern_destroyers }
		x = 2
		y = 2
		relative_position_id = ROM_coastal_defense_navy

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ROM_expand_the_marine_regiment
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = ROM_capital_ships }
		x = 2
		y = 2
		relative_position_id = ROM_black_sea_dominance

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ITA_ethiopian_war_logistics
		icon = GFX_goal_generic_position_armies
		x = 0
		y = 0
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = ITA_industrial_effort
		icon = GFX_goal_generic_construct_civ_factory
		text = industrial_effort
		prerequisite = { focus = ITA_ethiopian_war_logistics }
		x = 0
		y = 1
		relative_position_id = ITA_ethiopian_war_logistics
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		bypass = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ITA_industrial_effort_2
		icon = GFX_goal_generic_construct_mil_factory
		text = industrial_effort_2
		prerequisite = { focus = ITA_industrial_effort }
		x = 0
		y = 1
		relative_position_id = ITA_industrial_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		bypass = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = ITA_fortification_effort
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = ITA_industrial_effort_2 }
		x = 0
		y = 2
		relative_position_id = ITA_industrial_effort_2
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {

		}
	}

	focus = {
		id = ITA_extra_tech_slot
		icon = GFX_focus_research
		text = extra_tech_slot
		prerequisite = { focus = ITA_industrial_effort_2 }
		x = 1
		y = 1
		relative_position_id = ITA_industrial_effort_2
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = ITA_italian_highways
		icon = GFX_goal_generic_construct_infrastructure
		text = ITA_italian_highways
		prerequisite = { focus = ITA_extra_tech_slot }
		x = 0
		y = 2
		relative_position_id = ITA_extra_tech_slot
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			2 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			117 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			156 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			157 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			158 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			159 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			160 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			161 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			162 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}									
			
		}
	}	
	
	
	focus = {
		id = ITA_prospect_for_oil
		icon = GFX_goal_generic_production
		text = ITA_prospect_for_oil
		prerequisite = { focus = ITA_italian_highways }
		available = {
			ITA = {
				controls_state = 662
			}
		}
		bypass = {
			662 = {
				has_state_flag = sirte_oil_developed
			}
		}
		
		x = 0
		y = 1
		relative_position_id = ITA_italian_highways
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_resource = {
				type = oil
				amount = 8
				state = 662
			}
			662 = {
				set_state_flag = sirte_oil_developed
			}
		}
	}
	
	focus = {
		id = ITA_libyan_refineries
		icon = GFX_goal_generic_oil_refinery
		text = ITA_libyan_refineries
		prerequisite = { focus = ITA_prospect_for_oil }
		available = {
			ITA = {
				controls_state = 450
			}
			450 = {
				NOT = {
					has_state_flag = benghazi_oil_developed
				}
			}
		}
		x = -1
		y = 1
		relative_position_id = ITA_prospect_for_oil
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_resource = {
				type = oil
				amount = 4
				state = 450
			}
			450 = {
				set_state_flag = benghazi_oil_developed
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = synthetic_refinery
					level = 2
					instant_build = yes
				}
			}	
		
		}
	}	
	
	
	
	focus = {
		id = ITA_libyan_infrastructure
		icon = GFX_goal_generic_construct_civilian
		text = ITA_libyan_infrastructure
		prerequisite = { focus = ITA_prospect_for_oil }
		x = 1
		y = 1
		relative_position_id = ITA_prospect_for_oil
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			450  = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 3
						instant_build = yes
					}
				}
			}
			662 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 2
						instant_build = yes
					}
				}
			}
			449 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			451 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			448 = {
				if = {
					limit = { is_controlled_by = ROOT }
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			
		}
	}		

		

	focus = {
		id = ITA_army_primacy
		icon = GFX_goal_generic_axis_build_infantry
		x = 4
		y = 0
		cost = 10
		ai_will_do = {
			factor = 0.25
		}

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			random_owned_controlled_state = {
				limit = {
					arms_factory > 0
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					arms_factory > 0
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			if = {
				limit = {
					NOT = {
						any_owned_state = {
							arms_factory > 0
							free_building_slots = {
								building = arms_factory
								size > 0
								include_locked = yes
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
					}
					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
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}				
			}

			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = {
		id = ITA_modernized_artillery
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = ITA_army_primacy }
		x = -1
		y = 1
		relative_position_id = ITA_army_primacy
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = arty_bonus
				bonus = 0.5
				uses = 2
				category = artillery
			}
		}
	}

	focus = {
		id = ITA_modernized_army
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = ITA_modernized_artillery }
		prerequisite = { focus = ITA_industrial_effort }
		x = 0
		y = 1
		relative_position_id = ITA_modernized_artillery
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = special_bonus
				bonus = 0.5
				uses = 1
				technology = tech_recon
				technology = tech_recon2
				technology = tech_recon3
			}
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.5
				uses = 2
				category = land_doctrine
			}
		}
	}

	focus = {
		id = ITA_special_forces
		icon = GFX_goal_generic_special_forces
		text = special_forces
		prerequisite = { focus = ITA_modernized_army }
		x = 0
		y = 2
		relative_position_id = ITA_modernized_army
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = special_bonus
				bonus = 0.5
				uses = 1
				technology = paratroopers
				technology = paratroopers2
			}
			add_tech_bonus = {
				name = special_bonus
				ahead_reduction = 1
				uses = 1
				technology = tech_mountaineers2
			}
		}
	}

	focus = {
		id = ITA_armored_effort
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = ITA_special_forces }
		x = 0
		y = 1
		relative_position_id = ITA_special_forces
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = armor_bonus
				bonus = 0.5
				uses = 2
				category = armor
			}
		}
	}

	focus = {
		id = ITA_mare_nostrum
		icon = GFX_goal_generic_build_navy
		x = 6
		y = 0
		cost = 10
		ai_will_do = {
			factor = 5
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 50
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}

			if = {
				limit = {
					NOT = {
						any_owned_state = {
							dockyard > 0
							free_building_slots = {
								building = dockyard
								size > 0
								include_locked = yes
							}
						}
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = dockyard
						level = 2
						instant_build = yes
					}
				}				
			}

			add_tech_bonus = {
				name = naval_doc_bonus
				bonus = 0.5
				uses = 2
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = ITA_air_innovation
		icon = GFX_goal_generic_build_airforce
		text = air_innovation
		prerequisite = { focus = ITA_army_primacy focus = ITA_mare_nostrum }
		x = 1
		y = 1
		relative_position_id = ITA_army_primacy
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 0.5
				uses = 1
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
				technology = jet_fighter1
				technology = jet_fighter2
			}
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.5
				uses = 2
				category = air_doctrine
			}
		}
	}

	focus = {
		id = ITA_carrier_effort
		icon = GFX_goal_generic_navy_carrier
		prerequisite = { focus = ITA_mare_nostrum }
		x = 1
		y = 1
		relative_position_id = ITA_mare_nostrum
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = cv_bonus
				bonus = 0.5
				uses = 2
				technology = early_carrier
				technology = basic_carrier
				technology = improved_carrier
				technology = advanced_carrier
			}
		}
	}

	focus = {
		id = ITA_capital_ships
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = ITA_mare_nostrum }
		x = 3
		y = 1
		relative_position_id = ITA_mare_nostrum
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = bb_bonus
				bonus = 0.5
				uses = 2
				technology = basic_battleship
				technology = improved_battleship
				technology = advanced_battleship
				technology = heavy_battleship
				technology = heavy_battleship2
			}
			add_tech_bonus = {
				name = cr_bonus
				bonus = 0.5
				uses = 2
				technology = improved_light_cruiser
				technology = advanced_light_cruiser
				technology = improved_heavy_cruiser
				technology = advanced_heavy_cruiser
			}
		}
	}

	focus = {
		id = ITA_bomber_effort
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = ITA_army_primacy }
		prerequisite = { focus = ITA_air_innovation }
		x = 0
		y = 3
		relative_position_id = ITA_army_primacy
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {

			add_tech_bonus = {
				name = ITA_bomber_effort
				bonus = 0.5
				uses = 1
				technology = tactical_bomber2
				technology = tactical_bomber3
			}
			add_tech_bonus = {
				name = ITA_bomber_effort
				bonus = 0.5
				uses = 1
				technology = CAS2
				technology = CAS3
			}
		}
	}

	focus = {
		id = ITA_naval_air_effort
		icon = GFX_goal_generic_air_naval_bomber
		text = naval_air_effort
		prerequisite = { focus = ITA_air_innovation }
		prerequisite = { focus = ITA_carrier_effort }
		x = 1
		y = 2
		relative_position_id = ITA_air_innovation
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			air_experience = 25

			add_tech_bonus = {
				name = naval_air_effort
				bonus = 0.5
				uses = 1
				technology = naval_bomber1
				technology = naval_bomber2
				technology = naval_bomber3
			}
		}
	}

	focus = {
		id = ITA_atlantic_fleet
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = ITA_carrier_effort }
		prerequisite = { focus = ITA_capital_ships }
		x = 1
		y = 2
		relative_position_id = ITA_carrier_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = ITA_atlantic_fleet
				bonus = 0.5
				uses = 1
				category = cv_tech
			}
			add_tech_bonus = {
				name = ITA_atlantic_fleet
				bonus = 0.5
				uses = 1
				category = bb_tech
			}
		}
	}

	focus = {
		id = ITA_marines_and_landing_craft
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = ITA_atlantic_fleet }
		x = 0
		y = 1
		relative_position_id = ITA_atlantic_fleet
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = ITA_marines_and_landing_craft
				bonus = 0.5
				uses = 1
				technology = marines
				technology = marines2
			}
			add_tech_bonus = {
				name = ITA_marines_and_landing_craft
				bonus = 0.5
				uses = 1
				technology = transport
				technology = landing_craft
				technology = tank_landing_craft
			}
		}
	}

	focus = {
		id = ITA_air_innovation_2
		icon = GFX_goal_generic_build_airforce
		text = air_innovation_2
		prerequisite = { focus = ITA_bomber_effort focus = ITA_naval_air_effort }
		x = 1
		y = 1
		relative_position_id = ITA_bomber_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = fighter_bonus
				bonus = 0.5
				uses = 1
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
				technology = jet_fighter1
				technology = jet_fighter2
			}
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.5
				uses = 2
				category = air_doctrine
			}
		}
	}

	focus = {
		id = ITA_jet_engine_effort
		icon = GFX_focus_rocketry
		prerequisite = { focus = ITA_air_innovation_2 }
		x = 0
		y = 1
		relative_position_id = ITA_air_innovation_2
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
		# Caproni Campini N.1
			add_tech_bonus = {
				name = ITA_jet_engine_effort
				bonus = 0.5
				uses = 1
				technology = jet_engines
				technology = jet_fighter1
			}
		}
	}

	focus = {
		id = ITA_light_ship_effort
		icon = GFX_goal_generic_navy_cruiser
		x = 11
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = dd_bonus
				bonus = 0.5
				uses = 1
				technology = basic_destroyer
				technology = improved_destroyer
				technology = advanced_destroyer
			}
			add_tech_bonus = {
				name = con_def_bonus
				bonus = 0.5
				uses = 1
				technology = convoy_sailing
				technology = convoy_sailing_ti
				technology = convoy_sailing_bs
			}
		}
	}

	focus = {
		id = ITA_escort_effort
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = ITA_light_ship_effort }
		x = 1
		y = 1
		relative_position_id = ITA_light_ship_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = ITA_escort_effort
				bonus = 0.5
				uses = 1
				technology = basic_destroyer
				technology = improved_destroyer
				technology = advanced_destroyer
			}
			add_tech_bonus = {
				name = ITA_escort_effort
				bonus = 0.5
				uses = 2
				technology = convoy_escorts
				technology = convoy_escorts_bs
				technology = escort_carriers
			}
		}
	}

	focus = {
		id = ITA_submarine_effort
		icon = GFX_goal_generic_navy_submarine
		text = submarine_effort
		prerequisite = { focus = ITA_light_ship_effort }
		x = -1
		y = 2
		relative_position_id = ITA_light_ship_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = ss_bonus
				bonus = 0.5
				uses = 1
				technology = basic_submarine
				technology = improved_submarine
				technology = advanced_submarine
			}
			add_tech_bonus = {
				name = sub_op_bonus
				bonus = 0.5
				uses = 2
				technology = submarine_operations
				technology = undersea_blockade
				technology = convoy_interdiction
				technology = submarine_offensive
			}
		}
	}

	focus = {
		id = ITA_sea_wolves
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = ITA_submarine_effort }
		prerequisite = { focus = ITA_german_millitary_cooperation }
		x = -1
		y = 3
		relative_position_id = ITA_submarine_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = ITA_sea_wolves
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
			add_tech_bonus = {
				name = ITA_sea_wolves
				bonus = 0.5
				uses = 2
				category = submarine_doctrine
			}
		}
	}

	focus = {
		id = ITA_victoryinETH
		icon = GFX_goal_generic_propaganda
		available = {
			OR = {
				owns_state = 271
				ETH = { is_puppet_of = ITA }
			}
		}

		available_if_capitulated = yes

		x = 15
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_stability = 0.1
			add_war_support = 0.1
		}
	}
	
	focus = {
		id = ITA_slovenia_dalmatia_claims
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = ITA_victoryinETH }
		mutually_exclusive = { focus = ITA_yugoslavia_friend }
		x = -1
		y = 1
		relative_position_id = ITA_victoryinETH
		cost = 10
		ai_will_do = {
			factor = 1
		}

		bypass = {
			NOT = { country_exists = YUG }
		}

		completion_reward = {
			add_state_claim = 102
			add_state_claim = 103
			add_named_threat = { threat = 4 name = ITA_slovenia_dalmatia_claims_threat }
			YUG = {
				add_opinion_modifier = { target = ITA modifier = claimed_western_yugoslavia }
				if = {
					limit = {
						ROOT = { has_government = fascism }
						NOT = { has_government = fascism }
						NOT = { has_idea_with_trait = fascist_demagogue }
						fascism < 0.3
					}
					add_popularity = {
						ideology = fascism
						popularity = -0.07
					}
				}
				if = {
					limit = { 
						ROOT = { has_government = communism }
						NOT = { has_government = communism }
						NOT = { has_idea_with_trait = communist_revolutionary }
						NOT = { has_completed_focus = YUG_recognize_the_soviet_union }
						communism < 0.3
					}
					add_popularity = {
						ideology = communism
						popularity = -0.07
					}
				}
				if = {
					limit = {
						ROOT = { has_government = democratic }
						NOT = { has_government = democratic }
						NOT = { has_idea_with_trait = democratic_reformer }
						democratic < 0.3
					}
					add_popularity = {
						ideology = democratic
						popularity = -0.07
					}
				}
			}

			hidden_effect = {
				news_event = { hours = 6 id = news.192 }
			}
		}
	}

	focus = {
		id = ITA_yugoslavia_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = ITA_victoryinETH }
		mutually_exclusive = { focus = ITA_slovenia_dalmatia_claims }
		x = 1
		y = 1
		relative_position_id = ITA_victoryinETH
		cost = 10
		ai_will_do = {
			factor = 0.25
		}

		available = {
			country_exists = YUG
			NOT = {
				has_war_with = YUG
			}
		}

		completion_reward = {
			YUG = {
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				if = {
					limit = { ROOT = { has_government = fascism } }
					add_ideas = fascist_influence
				}
				if = {
					limit = { ROOT = { has_government = democratic } }
					add_ideas = democratic_influence
				}
				if = {
					limit = { ROOT = { has_government = communism } }
					add_ideas = communist_influence
				}
				country_event = { id = generic.1 }
			}
			hidden_effect = {
				news_event = { id = news.193 }
			}
		}
	}

	focus = {
		id = ITA_support_nationalist_spain
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = ITA_victoryinETH }
		available = {
			any_other_country = {
				original_tag = SPR
				has_government = fascism
				has_volunteers_amount_from = {
					tag = ITA
					count > 1
				}
			}
		}
		cancel = {
			SPR = {
				has_civil_war = no
			}
		}
		cancel_if_invalid = no
		x = 5
		y = 1
		relative_position_id = ITA_victoryinETH
		cost = 4.4
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = SPR
					has_government = fascism
				}
				add_opinion_modifier = { target = ITA modifier = ita_supported_spain_civil_war }
			}
		}
	}

	focus = {
		id = ITA_demand_balearic_islands
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = ITA_support_nationalist_spain }
		mutually_exclusive = { focus = ITA_spanish_italian_faction }
		available = {
			any_other_country = {
				original_tag = SPR
				has_government = fascism
				has_war = no
				owns_state = 177
			}
			is_puppet = no
		}
		cancel = {
			any_other_country = {
				original_tag = SPR
				has_government = fascism
				has_war_with = ROOT
				owns_state = 177
			}
		}
		x = 1
		y = 3
		relative_position_id = ITA_support_nationalist_spain
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			random_other_country = {
				limit = {
					owns_state = 177
				}
				country_event = { id = italy.9 }
			}
		}
	}

	focus = {
		id = ITA_bulgaria_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = ITA_slovenia_dalmatia_claims focus = ITA_yugoslavia_friend }
		x = 0
		y = 1
		relative_position_id = ITA_slovenia_dalmatia_claims
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available = {
			country_exists = BUL
			NOT = {
				has_war_with = BUL
			}
		}
		bypass = {
			NOT = { country_exists = BUL }
		}
		completion_reward = {
			BUL = {
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				if = {
					limit = { ROOT = { has_government = fascism } }
					add_ideas = fascist_influence
				}
				if = {
					limit = { ROOT = { has_government = democratic } }
					add_ideas = democratic_influence
				}
				if = {
					limit = { ROOT = { has_government = communism } }
					add_ideas = communist_influence
				}
				country_event = { id = generic.1 }
			}
		}
	}

	focus = {
		id = ITA_albania_war_goal
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = ITA_slovenia_dalmatia_claims focus = ITA_yugoslavia_friend }
		will_lead_to_war_with = ALB
		x = 2
		y = 1
		relative_position_id = ITA_slovenia_dalmatia_claims
		
		available = {
			country_exists = ALB
		}

		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				date < 1937.1.1
			}	
		}	
		completion_reward = {
			ALB = { country_event = { id = italy.3 } }
		}
	}

	focus = {
		id = ITA_pact_of_steel
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = ITA_bulgaria_friend }
		mutually_exclusive = { focus = ITA_italy_first }

		x = -1
		y = 1
		relative_position_id = ITA_bulgaria_friend
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			GER = {
				add_opinion_modifier = { target = ITA modifier = pact_of_steel_opinion }
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.184 }
			}
		}
	}

	focus = {
		id = ITA_german_millitary_cooperation
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = ITA_pact_of_steel }

		available = {
			NOT = { has_war_with = GER }
		}
		
		x = -3
		y = 1
		relative_position_id = ITA_pact_of_steel
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			add_ideas = ITA_german_millitary_cooperation_focus
		}
	}

	

	focus = {
		id = ITA_italy_first
		icon = GFX_goal_support_fascism
		prerequisite = { focus = ITA_bulgaria_friend }
		mutually_exclusive = { focus = ITA_pact_of_steel }
		available = {
			is_puppet = no
			NOT = { has_war_with = BUL }
			NOT = { is_in_faction_with = GER }
			OR = {
				owns_state = 44
				owns_state = 102
			}
			BUL = {
				is_in_faction = no
				is_puppet = no
			}
		}
		bypass = {
			FRA = { has_completed_focus = FRA_woo_italy }
			is_in_faction_with = FRA
		}
		cancel = {
			is_in_faction_with = GER
		}
		x = 1
		y = 1
		relative_position_id = ITA_bulgaria_friend
		cost = 10
		ai_will_do = {
			factor = 2.5

			modifier = {
				factor = 2
				ai_irrationality > 20
			}

			modifier = {
				factor = 2
				ai_irrationality > 30
			}

			modifier = {
				factor = 2
				ai_irrationality > 35
			}
		}	
		completion_reward = {
			add_political_power = 120
			set_rule = { can_create_factions = yes }
			create_faction = "italy_empire_faction"

			if = {
				limit = {
					BUL = { 
						is_ai = yes
						is_puppet = no
					}					
				}
				add_to_faction = BUL
				BUL = {
					add_ai_strategy = {
						type = alliance
						id = "ITA"
						value = 200
					}
				}
			}
			YUG = {
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				# REVISIT Possibly clear old negative modifier if Slovenia and Dalmatia were taken
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.185 }
			}
		}
	}

	focus = {
		id = ITA_go_after_france
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = ITA_italy_first }
		available = {
			country_exists = FRA
			FRA = {
				OR = {
					owns_state = 1
					owns_state = 735
					owns_state = 458
				}
			}
			NOT = { is_in_faction_with = FRA }
		}
		will_lead_to_war_with = FRA
		x = 2
		y = 1
		relative_position_id = ITA_italy_first
		cost = 10
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 1.5
				ai_irrationality > 25
			}

			modifier = {
				factor = 1.5
				ai_irrationality > 30
			}

			modifier = {
				factor = 2
				ai_irrationality > 35
			}
		}			
		completion_reward = {
			create_wargoal = {
				target = FRA
				type = take_state_focus
				generator = { 1 735 458 }
			}
		}
	}	

	focus = {
		id = ITA_romania_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = ITA_bulgaria_friend }
		x = 3
		y = 1
		relative_position_id = ITA_bulgaria_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}

	}

	focus = {
		id = ITA_german_rd_treaty
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = ITA_pact_of_steel }
		cancel = { has_war_with = GER }
		x = -1
		y = 1
		relative_position_id = ITA_pact_of_steel
		cost = 10
		ai_will_do = {
			factor = 1
		}

	}

	focus = {
		id = ITA_secret_weapons
		icon = GFX_goal_generic_secret_weapon
		text = secret_weapons
		prerequisite = { focus = ITA_german_millitary_cooperation }
		x = 1
		y = 1
		relative_position_id = ITA_german_millitary_cooperation
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = secret_bonus
				bonus = 0.5
				uses = 2
				category = electronics
				category = rocketry
				category = nuclear
			}
		}
	}

	focus = {
		id = ITA_spanish_italian_faction
		icon = GFX_goal_support_fascism
		prerequisite = { focus = ITA_italy_first }
		prerequisite = { focus = ITA_support_nationalist_spain }
		mutually_exclusive = { focus = ITA_demand_balearic_islands }
		available = {
			any_other_country = {
				original_tag = SPR
				has_government = fascism
				has_civil_war = no
				NOT = { has_war_with = ROOT }
				OR = {
					is_in_faction = no
					is_in_faction_with = ROOT
				}
			}
			FRA = {
				OR = {
					NOT = { country_exists = THIS }
					has_capitulated = yes
					has_government = fascism
				}
			}			
		}
		bypass = {
			any_other_country = {
				original_tag = SPR
				has_government = fascism
				is_in_faction_with = ROOT
			}
		}
		x = 4
		y = 1
		relative_position_id = ITA_italy_first
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = SPR
					has_government = fascism
				}
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				add_ideas = fascist_influence 
				country_event = { id = generic.1 }           
			}
		}
	}

	focus = {
		id = ITA_portugal_friend
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = ITA_spanish_italian_faction }
		x = 0
		y = 1
		relative_position_id = ITA_spanish_italian_faction
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = POR
			NOT = {
				has_war_with = POR
			}
		}

		completion_reward = {
			POR = {
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				if = {
					limit = { ROOT = { has_government = fascism } }
					add_ideas = fascist_influence
				}
				if = {
					limit = { ROOT = { has_government = democratic } }
					add_ideas = democratic_influence
				}
				if = {
					limit = { ROOT = { has_government = communism } }
					add_ideas = communist_influence
				}
				country_event = { id = generic.1 }
			}
		}
	}

	focus = {
		id = ITA_greece_war_goal
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = ITA_pact_of_steel focus = ITA_italy_first }
		mutually_exclusive = { focus = ITA_greece_friend }
		available = {
			NOT = { is_in_faction_with = GRE }
			NOT = { has_war_with = GRE }
			GRE = { NOT = { is_puppet_of = ITA } }
			country_exists = GRE
		}
		will_lead_to_war_with = GRE
		x = 1
		y = 3
		relative_position_id = ITA_pact_of_steel
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			create_wargoal = {
				type = take_state_focus
				target = GRE
				generator = { 47 } # Athens
			}

			hidden_effect = {
				news_event = { hours = 6 id = news.186 } 
			}
		}
	}

	focus = {
		id = ITA_greece_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = ITA_italy_first }
		mutually_exclusive = { focus = ITA_greece_war_goal focus = ITA_turkey_friend }
		x = 1
		y = 3
		relative_position_id = ITA_italy_first
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available = {
			country_exists = GRE
			NOT = {
				has_war_with = GRE
			}
			has_government = fascism
		}

		bypass = {
			NOT = { country_exists = GRE }
		}

		completion_reward = {
			GRE = {
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				if = {
					limit = { ROOT = { has_government = fascism } }
					add_ideas = fascist_influence
				}
				if = {
					limit = { ROOT = { has_government = democratic } }
					add_ideas = democratic_influence
				}
				if = {
					limit = { ROOT = { has_government = communism } }
					add_ideas = communist_influence
				}
				country_event = { id = generic.1 }
			}

			hidden_effect = {
				news_event = { hours = 6 id = news.187 } 
			}
		}
	}

	focus = {
		id = ITA_claims_on_turkey
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = ITA_greece_friend }
		available = {
			TUR = {
				owns_state = 342
			}
		}
		will_lead_to_war_with = TUR
		x = 0
		y = 1
		relative_position_id = ITA_greece_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			if = {
				limit = {
					is_in_faction_with = GRE
					TUR = { owns_state = 339 }
				}

				GRE = { country_event = greece.4 }
			}
			create_wargoal = {
			target = TUR
			type = take_state_focus
			generator = { 342 }
			}

			hidden_effect = {
				news_event = { hours = 6 id = news.189 }
			}
		}
	}

	focus = {
		id = ITA_claims_on_france
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = ITA_pact_of_steel }
		available = {
			is_puppet = no
			is_in_faction_with = GER
			GER = { 
				controls_state = 16 				
				GER = { is_faction_leader = yes }
			}
			custom_trigger_tooltip = {
			 tooltip = ITA_claims_on_france_tt
				any_other_country = {
					original_tag = FRA
					has_government = fascism
					owns_state = 735
					controls_state = 735
					owns_state = 1
					controls_state = 1
				}
			}
		}
		x = 0
		y = 2
		relative_position_id = ITA_pact_of_steel
		cost = 10
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 1.5
				ai_irrationality > 25
			}

			modifier = {
				factor = 1.5
				ai_irrationality > 30
			}

			modifier = {
				factor = 2
				ai_irrationality > 35
			}
		}	
		completion_reward = {
			if = {
				limit = { 
					any_other_country = {
						original_tag = FRA
						has_government = fascism
						owns_state = 735
					}
				}
				set_global_flag = ITA_claims_on_france_735
			}
			if = {
				limit = { 
					any_other_country = {
						original_tag = FRA
						has_government = fascism
						owns_state = 1
					}
				}
				set_global_flag = ITA_claims_on_france_1
			}

			GER = { country_event = germany.104 }			
		}
	}
	

	focus = {
		id = ITA_turkey_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = ITA_italy_first }
		mutually_exclusive = { focus = ITA_greece_friend }
		x = 3
		y = 3
		relative_position_id = ITA_italy_first
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = TUR
			NOT = {
				has_war_with = TUR
			}
			has_government = fascism
		}

		completion_reward = {
			TUR = {
				add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus }
				if = {
					limit = { ROOT = { has_government = fascism } }
					add_ideas = fascist_influence
				}
				if = {
					limit = { ROOT = { has_government = democratic } }
					add_ideas = democratic_influence
				}
				if = {
					limit = { ROOT = { has_government = communism } }
					add_ideas = communist_influence
				}
				country_event = { id = generic.1 }
			}
			hidden_effect = {
				news_event = {
					hours = 6 id = news.188
				}
			}
		}
	}

	focus = {
		id = ITA_anti_uk_war_goals
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = ITA_italy_first }		
		bypass = {
			OR = {
				has_war_with = ENG
				is_in_faction_with = GER
				NOT = { country_exists = ENG }
			}
		}
		will_lead_to_war_with = ENG
		x = 0
		y = 1
		relative_position_id = ITA_italy_first
		cost = 10
		ai_will_do = {
			factor = 1

			modifier = {
				factor = 1.5
				ai_irrationality > 25
			}

			modifier = {
				factor = 1.5
				ai_irrationality > 30
			}

			modifier = {
				factor = 2
				ai_irrationality > 35
			}
		}	
		completion_reward = {
			create_wargoal = {
				type = take_state_focus
				target = ENG
				generator = { 118 453 116 183 } # Gibraltar, Suez, Malta, Cyprus
			}
		}
	}

	focus = {
		id = ITA_japan_friend
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = ITA_anti_uk_war_goals }
		available = {
			JAP = { 
				is_in_faction = no
				country_exists = JAP
				has_government = ROOT
			}
		}
		x = 0
		y = 1
		relative_position_id = ITA_anti_uk_war_goals
		cost = 10

		available_if_capitulated = yes
		
		ai_will_do = {
			factor = 1
		}			
		completion_reward = {
			JAP = { add_opinion_modifier = { target = ITA modifier = ita_diplomacy_focus } }
		}
	}

	focus = {
		id = AST_additional_militia_training
		icon = GFX_goal_generic_allies_build_infantry
		x = 2
		y = 0

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = AST_additional_militia_training
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = AST_royal_australian_artillery
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = AST_additional_militia_training }
		x = -1
		y = 1
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_royal_australian_artillery
				bonus = 0.5
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = AST_promote_reservists
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_additional_militia_training }
		x = 1
		y = 1
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = AST_promote_reservists
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
			custom_effect_tooltip = AST_new_general_tt
			hidden_effect = {
				create_corps_commander = {
					name = "Iven Mackay"
					gfx = "GFX_AST_iven_mackay"
					traits = { }
					skill = 3
					attack_skill = 2
					defense_skill = 2
					planning_skill = 3
					logistics_skill = 2
				}
			}		
		}
	}

	focus = {
		id = AST_daimler_dingo
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = AST_royal_australian_artillery }
		x = -2
		y = 2
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = motorized_bonus
				bonus = 0.50
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = AST_hmas_assault
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_royal_australian_artillery focus = AST_promote_reservists }
		x = 0
		y = 2
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = AST_hmas_assault
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
			add_tech_bonus = {
				name = AST_hmas_assault
				bonus = 0.5
				uses = 1
				category = marine_tech
			}
		}
	}

	focus = {
		id = AST_specialize_equipment
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = AST_promote_reservists }
		x = 2
		y = 2
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_specialize_equipment
				bonus = 0.5
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}

	focus = {
		id = AST_australian_womens_army_service
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = AST_hmas_assault }
		x = -1
		y = 3
		relative_position_id = AST_additional_militia_training

		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 = AST_australian_womens_army_service
		}
	}

	focus = {
		id = AST_australian_army_catering_corps
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = AST_hmas_assault }
		x = 0
		y = 4
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_fund_owen_gun_research
				bonus = 0.75
				uses = 1
				technology = tech_logistics_company
				technology = tech_logistics_company2
				technology = tech_logistics_company3
				technology = tech_logistics_company4
			}
			
			
		}
	}

	focus = {
		id = AST_fund_owen_gun_research
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_hmas_assault }
		x = 1
		y = 3
		relative_position_id = AST_additional_militia_training
		
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_fund_owen_gun_research
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = AST_sentinel_tank_project
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = AST_daimler_dingo }
		x = -2
		y = 4
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AST_sentinel_tank_project
				bonus = 0.5
				uses = 2
				category = armor
			}
		}
	}

	focus = {
		id = AST_airborne_defence
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AST_specialize_equipment }
		prerequisite = { focus = AST_volunteer_air_observers_corps }
		x = 2
		y = 4
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_airborne_defence
				bonus = 0.75
				uses = 1
				category = para_tech
			}
		}
	}

	focus = {
		id = AST_introduce_unconventional_warfare
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = AST_sentinel_tank_project focus = AST_airborne_defence }
		x = 0
		y = 5
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = AST_introduce_unconventional_warfare
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = AST_z_special_unit
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = AST_introduce_unconventional_warfare }
		x = -1
		y = 6
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_z_special_unit
				bonus = 0.75
				uses = 1
				category = marine_tech
				category = para_tech
			}
		}
	}

	focus = {
		id = AST_m_special_unit
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = AST_introduce_unconventional_warfare }
		x = 1
		y = 6
		relative_position_id = AST_additional_militia_training

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = AST_m_special_unit
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				technology = tech_recon
				technology = tech_recon2
				technology = tech_recon3
				technology = tech_recon4
			}
		}
	}

	############################
	####### AIR SECTION ########
	############################


	focus = {
		id = AST_expand_the_raaf
		icon = GFX_goal_generic_build_airforce
		x = 7
		y = 0
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_expand_the_raaf_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = AST_expand_the_raaf
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_expand_the_raaf_AB
			}
			add_tech_bonus = {
				name = AST_expand_the_raaf
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AST_cac_boomerang
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = AST_expand_the_raaf }
		x = -1
		y = 1
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = AST_cac_boomerang
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
			}
		}
	}

	focus = {
		id = AST_expand_northern_presence
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AST_expand_the_raaf }
		x = 0
		y = 2
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_expand_northern_presence_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = AST_expand_northern_presence
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				prioritize = { 521 520 }
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_expand_the_raaf_AB
			}
			add_tech_bonus = {
				name = AST_expand_northern_presence
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AST_cac_woomera
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = AST_expand_the_raaf }
		relative_position_id = AST_expand_the_raaf

		x = 1
		y = 1
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AST_cac_woomera
				bonus = 0.75
				uses = 1
				category = cat_strategic_bomber
				category = tactical_bomber
				category = naval_air
			}
			add_tech_bonus = {
				name = AST_cac_woomera
				bonus = 0.5
				uses = 1
				category = cat_strategic_bomber
			}
		}
	}

	focus = {
		id = AST_volunteer_air_observers_corps
		icon = GFX_goal_generic_radar
		prerequisite = { focus = AST_cac_boomerang focus = AST_expand_northern_presence }
		relative_position_id = AST_expand_the_raaf

		x = -1
		y = 3
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = radio
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			add_tech_bonus = {
				name = AST_volunteer_air_observers_corps
				bonus = 0.5
				uses = 1
				category = radar_tech
			}
			random_state = {
				limit = {
					has_state_flag = AST_volunteer_air_observers_corps_radar1
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = AST_volunteer_air_observers_corps_radar2
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = AST_volunteer_air_observers_corps_radar3
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = AST_volunteer_air_observers_corps
				bonus = 0.5
				uses = 1
				category = radar_tech
			}

			if = {
				limit = { has_tech = radio_detection }
				random_owned_controlled_state = {
					prioritize = { 521 }
					limit = {
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = AST_volunteer_air_observers_corps_radar1
				}

				random_owned_controlled_state = {
					prioritize = { 285 }
					limit = {
						NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = AST_volunteer_air_observers_corps_radar2
				}

				random_owned_controlled_state = {
					prioritize = { 520 }
					limit = {
						NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
						NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar2 }
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = AST_volunteer_air_observers_corps_radar3
				}
				else = {
					set_technology = {
						radio_detection = 1
					}
					effect_tooltip = {
						random_owned_controlled_state = {
							prioritize = { 521 }
							limit = {
								is_in_home_area = yes
							}
							add_building_construction = {
								type = radar_station
								level = 1
								instant_build = yes
							}
						}

						random_owned_controlled_state = {
							prioritize = { 285 }
							limit = {
								NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
								is_in_home_area = yes
							}
							add_building_construction = {
								type = radar_station
								level = 1
								instant_build = yes
							}
						}
					}
					random_owned_controlled_state = {
						prioritize = { 521 }
						limit = {
							is_in_home_area = yes
							free_building_slots = {
								building = radar_station
								size > 0
							}
						}
						add_building_construction = {
							type = radar_station
							level = 1
							instant_build = yes
						}
						set_state_flag = AST_volunteer_air_observers_corps_radar1
					}

					random_owned_controlled_state = {
						prioritize = { 285 }
						limit = {
							NOT = { has_state_flag = AST_volunteer_air_observers_corps_radar1 }
							is_in_home_area = yes
							free_building_slots = {
								building = radar_station
								size > 0
							}
						}
						add_building_construction = {
							type = radar_station
							level = 1
							instant_build = yes
						}
						set_state_flag = AST_volunteer_air_observers_corps_radar2
					}
				}
			}
		}
	}

	focus = {
		id = AST_naval_bombers
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = AST_cac_woomera }
		x = 1
		y = 3
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AST_naval_bombers
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = naval_bomber
			}
		}
	}

	focus = {
		id = AST_death_from_down_under
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = AST_volunteer_air_observers_corps }
		x = -1
		y = 5
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AA1
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AA2
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			random_state = {				
				limit = {
					has_state_flag = AST_death_from_down_under_AA3
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = AST_death_from_down_under
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AB
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = anti_air_building
						size > 1
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AA1
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = anti_air_building
						size > 1
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AA2
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = anti_air_building
						size > 1
					}
				}
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_death_from_down_under_AA3
			}

			add_tech_bonus = {
				name = AST_death_from_down_under
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = AST_womens_auxilliary_australian_air_force
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = AST_volunteer_air_observers_corps focus = AST_naval_bombers }
		x = 0
		y = 4
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			air_experience = 50
			set_rule = {
				can_generate_female_aces = yes
			}
		}
	}

	focus = {
		id = AST_dominate_the_skies
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = AST_womens_auxilliary_australian_air_force }
		x = 1
		y = 5
		relative_position_id = AST_expand_the_raaf

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = AST_dominate_the_skies_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = AST_dominate_the_skies
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_dominate_the_skies_AB
			}
			add_tech_bonus = {
				name = AST_expand_the_raaf
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	############################
	###### NAVY SECTION ########
	############################


	focus = {
		id = AST_cockatoo_island_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 11
		y = 0

		cost = 10

		ai_will_do = {
			factor = 1
		}

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

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			navy_experience = 25
			random_state = {
				limit = {
					has_state_flag = AST_cockatoo_island_shipyards_DY
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				prioritize = { 285 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
				set_state_flag = AST_cockatoo_island_shipyards_DY
			}
		}
	}

	focus = {
		id = AST_protect_overseas_commerce
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = AST_cockatoo_island_shipyards }
		mutually_exclusive = { focus = AST_fly_the_jolly_roger }
		x = -1
		y = 1
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_protect_overseas_commerce
				bonus = 0.5
				uses = 2
				category = fleet_in_being_tree
				category = convoy_defense_tree
			}
		}
	}

	focus = {
		id = AST_fly_the_jolly_roger
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = AST_cockatoo_island_shipyards }
		mutually_exclusive = { focus = AST_protect_overseas_commerce }
		x = 1
		y = 1
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_fly_the_jolly_roger
				bonus = 0.5
				uses = 2
				category = submarine_doctrine
			}
		}
	}

	focus = {
		id = AST_scrap_iron_flotilla
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = AST_protect_overseas_commerce focus = AST_fly_the_jolly_roger }
		x = -1
		y = 2
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AST_scrap_iron_flotilla
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = dd_tech
			}
		}
	}

	focus = {
		id = AST_royal_australian_submarine_service
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = AST_protect_overseas_commerce focus = AST_fly_the_jolly_roger }
		x = 1
		y = 2
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AST_royal_australian_submarine_service
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = ss_tech
			}
		}
	}

	focus = {
		id = AST_naval_auxiliary_patrol
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = AST_royal_australian_submarine_service focus = AST_scrap_iron_flotilla }
		x = 0
		y = 3
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_naval_auxiliary_patrol
		}
	}

	focus = {
		id = AST_cruisers
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = AST_naval_auxiliary_patrol }
		x = -1
		y = 4
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {
			add_tech_bonus = {
				name = AST_cruisers
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}
	}

	focus = {
		id = AST_pacific_area_navy
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = AST_naval_auxiliary_patrol }
		x = 1
		y = 4
		relative_position_id = AST_cockatoo_island_shipyards

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = AST_pacific_area_navy
				bonus = 0.5
				uses = 1
				category = naval_doctrine
			}
		}
	}


	############################
	##### INDUSTRY SECTION #####
	############################


	focus = {
		id = AST_standard_gauge_railway
		icon = GFX_goal_generic_construct_infrastructure
		x = 14
		y = 0

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_standard_gauge_railway_Inf1
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_state = {
				limit = {
					has_state_flag = AST_standard_gauge_railway_Inf2
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 285 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					free_building_slots = { # avoid wastelands
						building = industrial_complex
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = AST_standard_gauge_railway_Inf1
			}

			random_owned_controlled_state = {
				prioritize = { 674 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					free_building_slots = { # avoid wastelands
						building = industrial_complex
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = AST_standard_gauge_railway_Inf2
			}
		}
	}

	focus = {
		id = AST_industries_assistance_corporation
		icon = GFX_goal_generic_production
		x = 2
		y = 0
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = industrial_bonus
				bonus = 0.5
				uses = 1
				category = industry
			}			
		}
	}

	focus = {
		id = AST_western_australian_government_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = AST_standard_gauge_railway }
		prerequisite = { focus = AST_industries_assistance_corporation }
		x = 1
		y = 1
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_western_australian_government_railways_Inf1
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_owned_controlled_state = {
				limit = {
					has_state_flag = AST_western_australian_government_railways_Inf2
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 522 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					free_building_slots = { # avoid wastelands
						building = industrial_complex
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = AST_western_australian_government_railways_Inf1
			}

			random_owned_controlled_state = {
				prioritize = { 674 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = AST_western_australian_government_railways_Inf2
			}
		}
	}

	focus = {
		id = AST_south_australian_housing_trust
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = AST_western_australian_government_railways }
		x = 0
		y = 2
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = AST_department_of_supply_and_development
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_western_australian_government_railways }
		x = 2
		y = 2
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = AST_expand_lithgow_small_arms_factory
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_south_australian_housing_trust }
		x = 0
		y = 3
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_expand_lithgow_small_arms_factory_AF
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 285 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_expand_lithgow_small_arms_factory_AF
			}
		}
	}

	focus = {
		id = AST_allied_works_council
		icon = GFX_goal_generic_production2
		prerequisite = { focus = AST_department_of_supply_and_development }
		prerequisite = { focus = AST_civil_construction_corps }
		x = 2
		y = 3
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_allied_works_council_IC1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = AST_allied_works_council_IC2
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {					
					is_in_home_area = yes					
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_allied_works_council_IC1
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes					
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_allied_works_council_IC2
			}
		}
	}

	focus = {
		id = AST_expand_the_northern_railway
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = AST_expand_lithgow_small_arms_factory }
		x = 0
		y = 4
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = AST_expand_the_northern_railway_Inf
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 520 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = AST_expand_the_northern_railway_Inf
			}
		}
	}

	focus = {
		id = AST_australian_arms_production
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = AST_allied_works_council }
		x = 2
		y = 4
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_australian_arms_production
		}
	}

	focus = {
		id = AST_uranium_mining
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = AST_expand_the_northern_railway }
		prerequisite = { focus = AST_australian_arms_production }
		x = 1
		y = 5
		relative_position_id = AST_standard_gauge_railway

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = AST_uranium_mining
				bonus = 0.5
				uses = 2
				category = nuclear
			}
		}
	}

	############################
	#### WAR PREP SECTION ######
	############################

	focus = {
		id = AST_establish_advisory_war_council
		icon = GFX_goal_generic_demand_territory
		x = 22
		y = 0

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			threat > 0.20
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = AST_national_security_act
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = AST_establish_advisory_war_council }
		x = -2
		y = 1
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 8
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_great_depression_1
				add_idea = AST_great_depression_2
			}
		}
	}

	focus = {
		id = AST_volunteer_defence_corps
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_establish_advisory_war_council }
		x = 2
		y = 1
		relative_position_id = AST_establish_advisory_war_council

		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 = AST_volunteer_defence_corps
		}
	}

	focus = {
		id = AST_civil_construction_corps
		icon = GFX_goal_generic_production2
		prerequisite = { focus = AST_national_security_act }
		x = -4
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_great_depression_2
				add_idea = AST_great_depression_3
			}
		}
	}

	focus = {
		id = AST_army_inventions_directorate
		icon = GFX_focus_research
		prerequisite = { focus = AST_national_security_act }
		x = -2
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 15
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = AST_invest_in_victory
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = AST_national_security_act }
		x = 0
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			has_war = yes
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = AST_invest_in_victory
		}
	}

	focus = {
		id = AST_citizen_military_forces
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_volunteer_defence_corps }
		x = 2
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_citizen_military_forces
		}
	}

	focus = {
		id = AST_rats_of_tobruk
		icon = GFX_focus_AST_rats_tobruk
		prerequisite = { focus = AST_volunteer_defence_corps }
		prerequisite = { focus = AST_strengthen_ties_with_uk }
		x = 4
		y = 2
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = ENG
			#Requires UK at war in Africa
			any_country = {
				has_war_with = ENG
				any_state = {
					is_controlled_by = PREV
					is_on_continent = africa
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			#Starts with recon and engineers
			hidden_effect = {
				if = {
					limit = {
						has_tech = tech_logistics_company
					}
					division_template = {
						name = "Rats of Tobruk"
						division_names_group = AST_INF_01
						regiments = {
							infantry = { x = 0 y = 0 }
							infantry = { x = 0 y = 1 }
							infantry = { x = 0 y = 2 }
							infantry = { x = 1 y = 0 }
							infantry = { x = 1 y = 1 }
							infantry = { x = 1 y = 2 }
							infantry = { x = 2 y = 0 }
							infantry = { x = 2 y = 1 }
							infantry = { x = 2 y = 2 }
							infantry = { x = 3 y = 0 }
							infantry = { x = 3 y = 1 }
						}
						support = {
					        recon = { x = 0 y = 0 }
					        engineer = { x = 0 y = 1 }
					        logistics_company = { x = 0 y = 2 }
						}
					}
					else = {
						division_template = {
							name = "Rats of Tobruk"
							division_names_group = AST_INF_01
							regiments = {
								infantry = { x = 0 y = 0 }
								infantry = { x = 0 y = 1 }
								infantry = { x = 0 y = 2 }
								infantry = { x = 1 y = 0 }
								infantry = { x = 1 y = 1 }
								infantry = { x = 1 y = 2 }
								infantry = { x = 2 y = 0 }
								infantry = { x = 2 y = 1 }
								infantry = { x = 2 y = 2 }
								infantry = { x = 3 y = 0 }
								infantry = { x = 3 y = 1 }
							}
							support = {
						        recon = { x = 0 y = 0 }
						        engineer = { x = 0 y = 1 }
							}
						}
					}
				}

				#Spawn unit in Africa
				if = {
					limit = {
						any_country = {
							is_in_faction_with = AST
							controls_state = 273
						}
						any_country = {
							is_in_faction_with = AST
							controls_state = 552
						}
					}
					load_oob = "AST_TFV_rats_africa"					
					else = {
						if = {
							limit = {
								controls_state = 285
							}
							load_oob = "AST_TFV_rats_australia"
						}
					}
				}
			}
			if = {
				limit = {
					any_country = {
						is_in_faction_with = AST
						controls_state = 273
					}
					any_country = {
						is_in_faction_with = AST
						controls_state = 552
					}
				}
				custom_effect_tooltip = AST_rats_of_tobruk_effect_1
				else = {
					if = {
						limit = {
							controls_state = 285
						}
					}
					custom_effect_tooltip = AST_rats_of_tobruk_effect_2
				}
			}
		}
	}

	focus = {
		id = AST_fight_work_or_perish
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = AST_civil_construction_corps }
		prerequisite = { focus = AST_squash_the_squanderbugs }
		x = -3
		y = 4
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 15
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#if effect is there for the tooltips sake
			if = {
				limit = { has_idea = AST_great_depression_1 }
				remove_ideas = AST_great_depression_1
				add_ideas = AST_all_in
			}
			if = {
				limit = { has_idea = AST_great_depression_2 }
				remove_ideas = AST_great_depression_2
				add_ideas = AST_all_in
				
			}
			if = {
				limit = { has_idea = AST_great_depression_3 }
				swap_ideas = {
					remove_idea = AST_great_depression_3
					add_idea = AST_all_in
				}
			}
		}
	}

	focus = {
		id = AST_research_collaboration
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = AST_fight_work_or_perish }
		prerequisite = { focus = AST_australian_arms_production }
		x = -5
		y = 5
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = no
			has_war = yes
			is_in_faction = yes
			OR = {
				num_of_factories > 50
				any_other_country = {
					is_in_faction_with = ROOT
					num_of_factories > 50
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = AST_squash_the_squanderbugs
		icon = GFX_focus_AST_squander_bug
		prerequisite = { focus = AST_invest_in_victory }
		x = -2
		y = 3
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_invest_in_victory
				add_idea = AST_invest_in_victory_2
			}
		}
	}

	focus = {
		id = AST_rationing_and_recycling
		icon = GFX_goal_generic_trade
		prerequisite = { focus = AST_invest_in_victory }
		x = 0
		y = 3
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = AST_rationing_and_recycling_alu }
				add_resource = {
					type = aluminium
					amount = 24
				}
			}
			random_state = {
				limit = { has_state_flag = AST_rationing_and_recycling_oil }
				add_resource = {
					type = oil
					amount = 12
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = { is_in_home_area = yes }
				add_resource = {
					type = aluminium
					amount = 24
				}
				set_state_flag = AST_rationing_and_recycling_alu
			}
			random_owned_controlled_state = {
				limit = { is_in_home_area = yes }
				add_resource = {
					type = oil
					amount = 12
				}
				set_state_flag = AST_rationing_and_recycling_oil
			}
		}
	}

	focus = {
		id = AST_classify_aliens
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_citizen_military_forces }
		x = 2
		y = 3
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_classify_aliens
			if = {
				limit = {
					has_government = democratic
				}
				add_popularity = {
					ideology = fascism
					popularity = -0.1
				}
				add_popularity = {
					ideology = communism
					popularity = -0.1
				}
			}
			if = {
				limit = {
					has_government = fascism
				}
				add_popularity = {
					ideology = democratic
					popularity = -0.1
				}
				add_popularity = {
					ideology = communism
					popularity = -0.1
				}
			}
			if = {
				limit = {
					has_government = communism
				}
				add_popularity = {
					ideology = democratic
					popularity = -0.1
				}
				add_popularity = {
					ideology = fascism
					popularity = -0.1
				}
			}
		}
	}

	focus = {
		id = AST_fund_australian_defense_research
		icon = GFX_focus_research
		prerequisite = { focus = AST_rationing_and_recycling }
		prerequisite = { focus = AST_classify_aliens }
		x = 1
		y = 4
		relative_position_id = AST_establish_advisory_war_council

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject = no
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	############################
	#### GO WITH UK SECTION ####
	############################

	focus = {
		id = AST_support_the_policy_of_appeasement
		icon = GFX_goal_generic_improve_relations
		mutually_exclusive = { focus = AST_never_another_gallipoli }
		x = 28
		y = 0

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				NOT = { ENG = { has_government = democratic } } #less likely to do if ENG not democratic
				factor = 0.5
			}
			modifier = {
				OR = {
					communism > 0.15
					fascism > 0.15
					}
				factor = 0.2
			}
		}

		available = {
			is_subject_of = ENG
			ENG = { has_war = no }
		}
		
		bypass = {
			is_subject_of = ENG
			has_war_together_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {			
			modify_tech_sharing_bonus = {
 				id = commonwealth_research
 				bonus = 0.03
			}
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_support_the_policy_of_appeasement
				}
			}
		}
	}

	focus = {
		id = AST_strengthen_ties_with_uk
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		prerequisite = { focus = AST_support_the_policy_of_appeasement }
		relative_position_id = AST_support_the_policy_of_appeasement
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				ENG = { NOT = { has_government = democratic } }
				factor = 0
			}
		}

		available = {
			is_subject_of = ENG
			is_in_faction_with = ENG
			ENG = { has_idea = ENG_george_vi }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			country_event = { id = tfv_australia.90 }
		}
	}

	focus = {
		id = AST_the_singapore_strategy
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = AST_support_the_policy_of_appeasement }
		x = 1
		y = 1
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 0.2
		}

		available = {
			is_in_faction_with = ENG
			ENG = { has_government = ROOT }
			MAL = {
				is_puppet_of = ENG
			}
		}
		
		bypass = {
			OR = {
				NOT = {
					OR = {
						336 = {
							is_owned_by = MAL
						}
						333 = {
							is_owned_by = MAL
						}
					}
				}
				NOT = {
					MAL = {
						is_puppet_of = ENG
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ENG = {
				country_event = { id = tfv_australia.1 }
			}
		}
	}

	focus = {
		id = AST_adopt_westminster
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = AST_strengthen_ties_with_uk focus = AST_the_singapore_strategy }
		x = 0
		y = 2
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject_of = ENG
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
			add_autonomy_ratio = {
				value = 0.1
				localization = AST_adopt_westminster
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_arthur_calwell
		}
	}

	focus = {
		id = AST_CSIR
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_adopt_westminster }
		x = -1
		y = 3
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {
			is_subject_of = ENG
			is_in_tech_sharing_group = commonwealth_research
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			AST = {
  				modify_tech_sharing_bonus = {
     				id = commonwealth_research
     				bonus = 0.05  
				}
			}
		}
	}

	focus = {
		id = AST_swpa_protector
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_adopt_westminster }
		x = 1
		y = 3
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				NOT = { AST = { has_completed_focus = AST_the_singapore_strategy } } #ENG can defend its own stuff!
				factor = 0.2
			}
		}

		available = {
			is_subject_of = ENG
			336 = {
				controller = { is_in_faction_with = ROOT }
			}
			333 = {
				controller = { is_in_faction_with = ROOT }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			336 = {
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}

				#Fortify entire coastline
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}

				#border inland bunker
				add_building_construction = {
					type = bunker
					province = 4310
					level = 2
					instant_build = yes
				}

				#Extra fort on naval bases
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}

			}

			333 = {
				#Fortify entire coastline
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 2
					instant_build = yes
				}

				#Extra fort on naval bases
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_naval_base = yes
					}
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = AST_empire_air_training_scheme
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = AST_CSIR focus = AST_swpa_protector }
		x = -1
		y = 4
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject_of = ENG
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_empire_air_training_scheme
		}
	}

	focus = {
		id = AST_commonwealth_aircraft_corporation
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = AST_CSIR focus = AST_swpa_protector }
		x = 1
		y = 4
		relative_position_id = AST_support_the_policy_of_appeasement

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_subject_of = ENG
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_commonwealth_aircraft_corporation
		}
	}

	############################
	#### LEAVE COMMONWEALTH ####
	############################
	
	focus = {
		id = AST_never_another_gallipoli
		icon = GFX_focus_AST_never_gallipoli
		mutually_exclusive = { focus = AST_support_the_policy_of_appeasement }
		x = 35
		y = 0

		cost = 10

		ai_will_do = {
			factor = 0.5 
			modifier = {
				OR = {
						fascism > 0.25
						communism > 0.25
					}
				factor = 20
			}
			modifier = {
				OR = {
						fascism > 0.45
						communism > 0.45
					}
				factor = 30
			}
			modifier = {
				NOT = { ENG = { has_government = democratic } } 
				factor = 5
			}
		}

		available = {

		}
		
		bypass = {
			NOT = { is_subject_of = ENG }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_decline_call_to_war = yes }
			add_autonomy_ratio = {
				value = 0.2
				localization = AST_never_another_gallipoli
			}
			hidden_effect = {
				news_event = { id = news.253 hours = 5 }
			}
		}
	}


	############################
	#### GO WITH US SECTION ####
	############################

	focus = {
		id = AST_protect_the_homeland
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = AST_never_another_gallipoli }
		mutually_exclusive = { focus = AST_abandon_the_westminster_system }
		x = -3
		y = 1
		relative_position_id = AST_never_another_gallipoli

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = AST_homeland_defense_tt
			hidden_effect = {
				every_owned_state =	{
					limit = {
						is_controlled_by = ROOT
						is_on_continent = australia
						is_in_home_area = yes
					}
					#Fortify entire coastline
					add_building_construction = {
						type = bunker
						province = {
							all_provinces = yes
							limit_to_coastal = yes
						}
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						province = {
							all_provinces = yes
							limit_to_coastal = yes
						}
						level = 2
						instant_build = yes
					}
	
					#Extra fort on naval bases
					add_building_construction = {
						type = bunker
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						level = 2
						instant_build = yes
					}
					add_building_construction = {
						type = coastal_bunker
						province = {
							all_provinces = yes
							limit_to_naval_base = yes
						}
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = AST_the_swpa_menace
		icon = GFX_goal_generic_trade
		prerequisite = { focus = AST_protect_the_homeland }
		x = -1
		y = 1
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			JAP = {			
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_the_swpa_menace
				}
			}
			USA = {
				add_opinion_modifier = {
					target = JAP
					modifier = AST_the_swpa_menace_boycot_JAP
				}
				add_opinion_modifier = {
					target = JAP
					modifier = AST_the_swpa_menace
				}
			}
			add_opinion_modifier = {
				target = JAP
				modifier = AST_the_swpa_menace_boycot_JAP
			}
			add_opinion_modifier = {
				target = JAP
				modifier = AST_the_swpa_menace
			}
		}
	}

	focus = {
		id = AST_sever_ties_with_uk
		icon = GFX_goal_tfv_sever_ties_with_uk
		prerequisite = { focus = AST_protect_the_homeland }
		x = 1
		y = 1
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = { NOT = { has_government = fascism } }
				has_autonomy_state = autonomy_dominion
			}
			if = {
				limit = { has_government = fascism }
				has_autonomy_state = autonomy_satellite
			}
		}
		
		bypass = {
			has_war_with = ENG
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			set_autonomy = {
				target = AST
				autonomy_state = autonomy_free
			}
			ENG = { remove_from_faction = ROOT }
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_arthur_calwell
			hidden_effect = {
				news_event = { id = news.286 hours = 6}
			}
		}
	}

	focus = {
		id = AST_woo_usa
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = AST_the_swpa_menace }
		prerequisite = { focus = AST_sever_ties_with_uk }
		x = -1
		y = 2
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				is_in_faction = no
				factor = 10 #we're all alone here!
			}
		}

		available = {
			NOT = {
				has_war_with = USA
			}
			USA = { 
				has_government = ROOT
				is_puppet = no
			 }
			
		}
		
		bypass = {
			USA = {
				is_in_faction = yes
				NOT = {
					is_in_faction_with = AST
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			USA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_woo_usa
				}
			}
			add_opinion_modifier = {
				target = USA
				modifier = AST_woo_usa
			}
		}
	}

	focus = {
		id = AST_protect_the_dutch_colonies
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_sever_ties_with_uk }
		x = 1
		y = 2
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_war_with = HOL }
			HOL = { has_capitulated = yes }
		}
		
		bypass = {
			INS = {
				NOT = { is_puppet_of = HOL }
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			HOL = {
				country_event = { id = tfv_australia.10 }
			}
		}
	}

	focus = {
		id = AST_the_south_west_pacific_initiative
		icon = GFX_goal_anschluss
		prerequisite = { focus = AST_woo_usa focus = AST_protect_the_dutch_colonies }
		x = 0
		y = 3
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction = south_west_pacific_initiative
			if = {
				limit = {
					has_completed_focus = AST_protect_the_dutch_colonies
					INS = { is_puppet_of = AST }
				}
				set_country_flag = INS_is_a_puppet
			}
			if = {
				limit = {
					has_completed_focus = AST_woo_usa
					USA = {
						is_puppet = no
						OR = {
							is_in_faction = no
							has_war = no
						}
					}
				}
				USA = {
					country_event = { id = tfv_australia.32 } #Ask USA to join faction
				}
				else = {
					country_event = { id = tfv_australia.31 } #Start faction without asking USA
				}
			}
		}
	}

	focus = {
		id = AST_research_cooperation
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = AST_the_south_west_pacific_initiative }
		x = 0
		y = 4
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
		custom_effect_tooltip = AST_swpi_research_tt
			if = {
				limit = { AST = { is_in_faction_with = USA } }
				add_to_tech_sharing_group = us_research
				USA = { add_to_tech_sharing_group = us_research }
				else = {
					AST = { add_to_tech_sharing_group = swpi_research }
					if = {
						limit = { all_country = { is_in_faction_with = AST } }
						add_to_tech_sharing_group = swpi_research 
						}
					}
			}
		}
	}

	focus = {
		id = AST_preemptive_intervention
		icon = GFX_focus_AST_war_japan
		prerequisite = { focus = AST_research_cooperation }
		x = 0
		y = 5
		relative_position_id = AST_protect_the_homeland

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = {
				JAP = { has_government = ROOT }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = topple_government
				target = JAP
			}
		}
	}

	############################
	##### FASCIST/COMMUNIST ####
	############################
	
	focus = {
		id = AST_abandon_the_westminster_system
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = AST_never_another_gallipoli }
		mutually_exclusive = { focus = AST_protect_the_homeland }
		x = 3
		y = 1
		relative_position_id = AST_never_another_gallipoli

		cost = 10

		ai_will_do = {
			factor = 0.5
			modifier = {
				OR = {
					communism > 0.2
					fascism > 0.2
					}
				factor = 20
			}
			modifier = {
				OR = {
					communism > 0.4
					fascism > 0.4
					}
				factor = 20
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}
			add_popularity = {
				ideology = communism 
				popularity = 0.05
			}
			add_ideas = AST_abandon_the_westminster_system
		}
	}

	############################
	#### GO FASCIST SECTION ####
	############################

	focus = {
		id = AST_support_the_centre_party
		icon = GFX_goal_support_fascism
		prerequisite = { focus = AST_abandon_the_westminster_system }
		mutually_exclusive = { focus = AST_empower_the_workers }
		x = -2
		y = 1
		relative_position_id = AST_abandon_the_westminster_system

		cost = 10

		ai_will_do = {
			factor = 0.5
			modifier = {
				NOT = { JAP = { has_government = fascism } }
				factor = 0 #let's not go fascist if Japan isn't
			}
			modifier = {
				fascism > 0.3
				factor = 20
			}
		}

		available = {
			compare_autonomy_progress_ratio > 0.55
			if = {
				limit = { not = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism } 
				compare_autonomy_state > autonomy_reichsprotectorate
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_abandon_the_westminster_system
				add_idea = AST_abandon_the_westminster_system_fascism
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_generic_fascist_demagogue
		}
	}

	focus = {
		id = AST_supply_indonesian_nationalists
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_support_the_centre_party }
		x = -1
		y = 1
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			ROOT = {
				fascism > 0.15
			}
			has_equipment = {
				infantry_equipment > 199
			}
		}

		select_effect = {
			add_equipment_to_stockpile = {
				type = infantry_equipment_1
				amount = -200
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			#Boosts fascism in Indonesia
			INS = {
				add_timed_idea = { days = 730 idea = AST_indonesian_nationalists } 
			}
			hidden_effect = {
				INS = { country_event = { id = tfv_australia.95 } }
				HOL = { country_event = { id = tfv_australia.95 } }
			}
		}
	}

	focus = {
		id = AST_support_indonesian_uprising
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = AST_supply_indonesian_nationalists }
		x = -1
		y = 2
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				is_subject = no
				AND = {
					compare_autonomy_progress_ratio > 0.75
					if = {
						limit = { not = { has_government = fascism } }
						has_autonomy_state = autonomy_dominion
					}
					if = {
						limit = { has_government = fascism } 
						has_autonomy_state = autonomy_satellite
					}
				}
			}
			fascism > 0.3
			INS = {
				fascism > 0.3
			}
		}
		
		bypass = {
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					INS = { has_civil_war = no }
				}
				INS = { country_event = { id = tfv_australia.96 } }
			}
			add_ideas = AST_support_indonesian_uprising
		}
	}

	focus = {
		id = AST_demand_new_zealand
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = AST_support_the_centre_party }
		x = 1
		y = 1
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1.5
		}

		available = {
			has_government = fascism
			NOT = { has_war_together_with = ENG }
			NOT = { is_in_faction_with = NZL }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { is_in_faction_with = ENG }
				ENG = { remove_from_faction = ROOT }
			}
			set_autonomy = {
				target = AST
				autonomy_state = autonomy_free
			}
			NZL = {
				country_event = { id = tfv_australia.20 }
			}
		}
	}

	focus = {
		id = AST_protect_the_south_west_pacific
		icon = GFX_goal_generic_defence
		prerequisite = { focus = AST_support_indonesian_uprising }
		x = -1
		y = 3
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = { not = { has_government = fascism } }
				has_autonomy_state = autonomy_dominion
			}
			if = {
				limit = { has_government = fascism } 
				has_autonomy_state = autonomy_satellite
			}
			MAL = {
				is_puppet_of = ENG
			}
		}
		
		bypass = {
			is_subject = no
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {			
			ENG = {
				country_event = { id = tfv_australia.70 }
			}
		}
	}

	focus = {
		id = AST_a_deal_with_japan
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = AST_protect_the_south_west_pacific }
		mutually_exclusive = { focus = AST_our_own_empire }
		x = -1
		y = 4
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 8
			modifier = {
				JAP = { has_capitulated = yes }
				factor = 0
				}
		}

		available = {
			OR = {
				is_subject = no
				AND = {
					if = {
						limit = { not = { has_government = fascism } }
						has_autonomy_state = autonomy_dominion
					}
					if = {
						limit = { has_government = fascism } 
						has_autonomy_state = autonomy_satellite
					}
					compare_autonomy_progress_ratio > 0.8
				}
			}
			NOT = { has_war_together_with = ENG }
			JAP = {
				has_government = ROOT
				OR = {
					is_faction_leader = yes
					is_in_faction = no
				}
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = AST_deal_with_japan_tt
			if = {
				limit = { is_in_faction_with = ENG }
				ENG = { remove_from_faction = ROOT }
			}
			set_autonomy = {
				target = AST
				autonomy_state = autonomy_free
			}
			set_rule = { can_create_factions = yes }
			JAP = {
				country_event = { id = tfv_australia.80 }
			}
		}
	}

	focus = {
		id = AST_our_own_empire
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = AST_protect_the_south_west_pacific focus = AST_demand_new_zealand }
		mutually_exclusive = { focus = AST_a_deal_with_japan }
		x = 1
		y = 4
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 4
			modifier = {
				ENG = { has_capitulated = yes }
				factor = 10
			}
			modifier = { #power vacuum in SouthPac
				JAP = { has_capitulated = yes }
				factor = 10
			}
		}

		available = {
			OR = {
				is_subject = no
				AND = {
					if = {
						limit = { not = { has_government = fascism } }
						has_autonomy_state = autonomy_dominion
					}
					if = {
						limit = { has_government = fascism } 
						has_autonomy_state = autonomy_satellite
					}
					compare_autonomy_progress_ratio > 0.8
				}
			}
			NOT = { has_war_together_with = ENG }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ENG = { remove_from_faction = ROOT }
			set_autonomy = {
				target = AST
				autonomy_state = autonomy_free
			}
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = AST_japan_tech_sharing
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_a_deal_with_japan }
		x = -1
		y = 5
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {
			is_in_faction_with = JAP
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = japanese_research
			JAP = { add_to_tech_sharing_group = japanese_research }
		}
	}

	focus = {
		id = AST_war_on_japan
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AST_our_own_empire }
		x = 1
		y = 5
		relative_position_id = AST_support_the_centre_party

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { is_in_faction_with = JAP }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = JAP
			}
		}
	}


	############################
	### GO COMMUNIST SECTION ###
	############################

	focus = {
		id = AST_empower_the_workers
		icon = GFX_goal_support_communism
		prerequisite = { focus = AST_abandon_the_westminster_system }
		mutually_exclusive = { focus = AST_support_the_centre_party }
		x = 2
		y = 1
		relative_position_id = AST_abandon_the_westminster_system

		cost = 10

		ai_will_do = {
			factor = 0.5
			modifier = {
				communism > 0.3
				factor = 10
			}
		}

		available = {			
			compare_autonomy_progress_ratio > 0.55
			if = {
				limit = { not = { has_government = fascism } }
				compare_autonomy_state > autonomy_colony
			}
			if = {
				limit = { has_government = fascism } 
				compare_autonomy_state > autonomy_reichsprotectorate
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = AST_abandon_the_westminster_system
				add_idea = AST_abandon_the_westminster_system_communism			
			}
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = AST_lance_sharkey
		}
	}

	focus = {
		id = AST_delegation_to_china
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = AST_empower_the_workers }
		x = 0
		y = 1
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			ROOT = {
				communism > 0.3
			}
			PRC = { exists = yes }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			PRC = {
				add_opinion_modifier = {
					target = ROOT
					modifier = AST_delegation_to_china
				}
			}
			add_opinion_modifier = {
				target = PRC
				modifier = AST_delegation_to_china
			}
		}
	}

	focus = {
		id = AST_commitment_to_the_cause
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = AST_delegation_to_china }
		x = 0
		y = 2
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_war_together_with = ENG }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ENG = { remove_from_faction = ROOT }
			set_autonomy = {
				target = AST
				autonomy_state = autonomy_free
			}
			if = {
				limit = {
					NOT = { has_war_with = SOV }
				}
				SOV = {
					add_opinion_modifier = {
						target = ROOT
						modifier = AST_commitment_to_the_cause
					}
				}
			}
			if = {
				limit = {
					NOT = { has_war_with = PRC }
				}
				add_opinion_modifier = {
					target = PRC
					modifier = AST_commitment_to_the_cause
				}
			}
		}
	}

	focus = {
		id = AST_indirect_support
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = AST_commitment_to_the_cause }
		mutually_exclusive = { focus = AST_direct_support }
		x = -1
		y = 3
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 8
		}

		available = {
			has_equipment = {
				infantry_equipment > 499
			}
		}

		bypass = {
			PRC = {
				OR = {
					exists = no
					is_puppet = yes
				}
			}
		}
		select_effect = {
			send_equipment = {
				target = PRC
				type = infantry_equipment
				amount = 500
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_timed_idea = { idea = AST_arms_for_the_revolution days = 365 }
		}
	}

	focus = {
		id = AST_direct_support
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = AST_commitment_to_the_cause }
		mutually_exclusive = { focus = AST_indirect_support }
		x = 1
		y = 3
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = AST_direct_support
			add_timed_idea = { idea = AST_arms_for_the_revolution days = 365 }
		}
	}

	focus = {
		id = AST_join_comintern
		icon = GFX_goal_support_communism
		prerequisite = { focus = AST_indirect_support focus = AST_direct_support }
		mutually_exclusive = { focus = AST_workers_paradise }
		x = 0
		y = 4
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 8
			modifier = { #let's not tie ourselves to SOV if they are in a bad spot
				SOV = { surrender_progress > 0.75 }
				factor = 0
			}
		}

		available = {
			SOV = { 
				exists = yes 
				is_puppet = no
			}

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

			set_rule = { can_create_factions = yes }
			SOV = {
				country_event = { id = tfv_australia.50 }
			}
		}
	}

	focus = {
		id = AST_workers_paradise
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = AST_direct_support }
		mutually_exclusive = { focus = AST_join_comintern }
		x = 2
		y = 4
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = AST_research_city_excursions
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = AST_join_comintern }
		x = -1
		y = 5
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_in_faction_with = SOV
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = AST_nz_puppet
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = AST_workers_paradise focus = AST_join_comintern }
		x = 1
		y = 5
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				NZL = { has_government = democratic } 
				factor = 10
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			NZL = {
				country_event = { id = tfv_australia.60 }
			}
		}
	}

	focus = {
		id = AST_the_threat_against_the_people
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = AST_workers_paradise }
		x = 3
		y = 5
		relative_position_id = AST_empower_the_workers

		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				JAP = { has_government = communism }
				factor = 0
			}
		}

		available = {
			NOT = { is_in_faction_with = JAP }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				target = JAP
				type = puppet_wargoal_focus
			}
		}
	}

	focus = {
		id = CZE_fortification_studies
		icon = GFX_goal_generic_construct_military
		x = 3
		y = 0

		cost = 10

		ai_will_do = {
			factor = 200			
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_fortification_focus
		}
	}

	focus = {
		id = CZE_fallback_line
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = CZE_fortification_studies }
		x = -2
		y = 1
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
		}

		available = {
			CZE = { controls_state = 9 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			9 = {
				add_building_construction = { type = bunker province = 6440 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6418 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6592 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 9414 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 3462 level = 3 instant_build = yes }
			}
		}
	}

	focus = {
		id = CZE_sudeten_1
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_fortification_studies }
		x = 0
		y = 1
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 1.5
				is_in_faction = no
			}
		}

		available = {
			CZE = { controls_state = 69 }
		}

		bypass = {
			NOT = {			
				69 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				9 = {
					any_province_building_level = {
						province = {
							id = 445
							id = 494
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				74 = {
					any_province_building_level = {
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
				70 = {
					any_province_building_level = {
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
						}
						building = bunker
						level < 3
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			if = {
				limit = { controls_state = 69 }
				69 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 9 }
				9 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							id = 445
							id = 494
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 74 }
				74 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
							level < 3
						}
					}
				}
			}

			if = {
				limit = { controls_state = 70 }
				70 = {
					set_building_level = {
						type = bunker
						level = 3
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
							level < 3
						}
					}
				}
			}
			swap_ideas = {
				add_idea = CZE_fortification_focus2
				remove_idea = CZE_fortification_focus
			}	
		}
	}

	focus = {
		id = CZE_sudeten_2
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_1 }
		x = 0
		y = 1
		relative_position_id = CZE_sudeten_1

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 1.5
				is_in_faction = no
			}
		}

		available = {
			CZE = { controls_state = 69 }
		}

		bypass = {
			NOT = {			
				69 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
				9 = {
					any_province_building_level = {
						province = {
							id = 445
							id = 494
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
				74 = {
					any_province_building_level = {
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
				70 = {
					any_province_building_level = {
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
						}
						building = bunker
						level < 5
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			if = {
				limit = { controls_state = 69 }
				69 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 9 }
				9 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							id = 445
							id = 494
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 74 }
				74 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
							level < 5
						}
					}
				}
			}

			if = {
				limit = { controls_state = 70 }
				70 = {
					set_building_level = {
						type = bunker
						level = 5
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
							level < 5
						}
					}
				}
			}
			swap_ideas = {
				add_idea = CZE_fortification_focus3
				remove_idea = CZE_fortification_focus2
			}	
		}
	}

	focus = {
		id = CZE_sudeten_3
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_2 }
		x = 0
		y = 2
		relative_position_id = CZE_sudeten_1

		cost = 10

		bypass = {
			NOT = {			
				69 = {
					any_province_building_level = {
						province = {
							all_provinces = yes
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				9 = {
					any_province_building_level = {
						province = {
							id = 445
							id = 494
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				74 = {
					any_province_building_level = {
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
				70 = {
					any_province_building_level = {
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
						}
						building = bunker
						level < 7
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			if = {
				limit = { controls_state = 69 }
				69 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							all_provinces = yes
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 9 }
				9 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							id = 445
							id = 494
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 74 }
				74 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							id = 421
							id = 6485
							id = 3414
							id = 3583
							limit_to_border = yes
							level < 7
						}
					}
				}
			}

			if = {
				limit = { controls_state = 70 }
				70 = {
					set_building_level = {
						type = bunker
						level = 7
						province = {
							id = 9539
							id = 9692
							limit_to_border = yes
							level < 7
						}
					}
				}
			}
			swap_ideas = {
				add_idea = CZE_fortification_focus4
				remove_idea = CZE_fortification_focus3
			}	
		}
	}

	focus = {
		id = CZE_hungarian_line
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_2 }
		x = -2
		y = 2
		relative_position_id = CZE_sudeten_1

		cost = 10

		ai_will_do = {
			factor = 60
			modifier = {
				factor = 0.5
				is_in_faction_with = GER
			}
			modifier = {
				factor = 0.5
				is_in_faction_with = HUN
			}
			modifier = {
				factor = 0.5
				HUN = { exists = no }
			}
		}

		available = {
			CZE = { controls_state = 664 }
			CZE = { controls_state = 73 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {       
			army_experience = 5
			664 = {
				add_building_construction = { type = bunker province = 3565 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 3716 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6561 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 6573 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 9537 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 11679 level = 3 instant_build = yes }
			}
			
			73 = {
				add_building_construction = { type = bunker province = 11691 level = 3 instant_build = yes }
				add_building_construction = { type = bunker province = 3548 level = 3 instant_build = yes }
			}
		}
	}

	focus = {
		id = CZE_polish_line
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CZE_sudeten_2 }
		x = 2
		y = 2
		relative_position_id = CZE_sudeten_1

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 0.25
				is_in_faction_with = POL
			}
		}

		available = {
			CZE = { controls_state = 71 }
			CZE = { controls_state = 72 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			72 = {
				add_building_construction = { type = bunker province = 9567 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 9551 level = 2 instant_build = yes }
			}
			71 = {      
				add_building_construction = { type = bunker province = 581 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 3550 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 3581 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 6604 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 11554 level = 2 instant_build = yes }
			}
		}
	}

	focus = {
		id = CZE_internal_redoubts
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = CZE_fortification_studies }
		x = 2
		y = 1
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 70 }
			CZE = { controls_state = 75 }
			CZE = { controls_state = 664 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			664 = {
				add_building_construction = { type = bunker province = 6573 level = 2 instant_build = yes }
			}
			70 = {
				add_building_construction = { type = bunker province = 9692 level = 2 instant_build = yes }
			}
			75 = {
				add_building_construction = { type = bunker province = 3569 level = 2 instant_build = yes }
			}
			9 = {
				add_building_construction = { type = bunker province = 6418 level = 2 instant_build = yes }
				add_building_construction = { type = bunker province = 11542 level = 3 instant_build = yes }
			}
		}
	}

	###################################
	######## INDUSTRIAL LEGACY ########
	###################################

	focus = {
		id = CZE_industrial_legacy
		icon = GFX_goal_generic_construct_civ_factory
		x = 6
		y = 0
		relative_position_id = CZE_fortification_studies

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_industrial_legacy_idea
		}
	}

	focus = {
		id = CZE_favor_czechs_1
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CZE_industrial_legacy }
		mutually_exclusive = { focus = CZE_balanced_1 }
		x = -2
		y = 1
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 40
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			75 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_favor_czechs_2
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CZE_favor_czechs_1 }
		x = 0
		y = 1
		relative_position_id = CZE_favor_czechs_1

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 75 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			75 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_favor_czechs_3
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CZE_favor_czechs_2 }
		x = 0
		y = 2
		relative_position_id = CZE_favor_czechs_1

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 75 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			75 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_balanced_1
		icon = GFX_goal_generic_construction
		prerequisite = { focus = CZE_industrial_legacy }
		mutually_exclusive = { focus = CZE_favor_czechs_1 }
		x = 0
		y = 1
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 0.5
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 0.5
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 70 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			70 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_balanced_2
		icon = GFX_goal_generic_construction
		prerequisite = { focus = CZE_balanced_1 }
		x = 0
		y = 1
		relative_position_id = CZE_balanced_1

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 71 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			71 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_balanced_3
		icon = GFX_goal_generic_construction
		prerequisite = { focus = CZE_balanced_2 }
		x = 0
		y = 2
		relative_position_id = CZE_balanced_1

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			CZE = { controls_state = 9 }
			CZE = { controls_state = 73 }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			9 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			73 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_united_population
		icon = GFX_goal_tripartite_pact
		prerequisite = { focus = CZE_balanced_3 }
		x = 0
		y = 3
		relative_position_id = CZE_balanced_1

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { has_idea = CZE_divided_nation }
				remove_ideas = CZE_divided_nation
			}
		}
	}

	focus = {
		id = CZE_arms_exports_1
		icon = GFX_goal_generic_production
		prerequisite = { focus = CZE_industrial_legacy }
		x = 2
		y = 1
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 80
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_export_focus1
		}
	}

	focus = {
		id = CZE_arms_exports_2
		icon = GFX_goal_generic_production
		prerequisite = { focus = CZE_arms_exports_1 }
		x = 0
		y = 1
		relative_position_id = CZE_arms_exports_1

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = { remove_idea = CZE_export_focus1 add_idea = CZE_export_focus2  }
		}
	}

	focus = {
		id = CZE_arms_exports_3
		icon = GFX_goal_generic_production
		prerequisite = { focus = CZE_arms_exports_2 }
		x = 0
		y = 2
		relative_position_id = CZE_arms_exports_1

		cost = 10

		ai_will_do = {
			factor = 70
			modifier = {
				factor = 2
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = { remove_idea = CZE_export_focus2 add_idea = CZE_export_focus3 }
		}
	}

	##################################
	######## POLITICAL DIRECTION #####
	##################################

	focus = {
		id = CZE_political_direction
		icon = GFX_goal_generic_intelligence_exchange
		x = 8
		y = 0
		relative_position_id = CZE_industrial_legacy

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = CZE_go_left
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = CZE_political_direction }
		mutually_exclusive = { focus = CZE_democratic_bastion focus = CZE_go_right }
		x = -2
		y = 1
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 30
			modifier = {
				factor = 0
				has_completed_focus = CZE_go_right
			}
			modifier = {
				factor = 0
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
			#allow communist reformer
			# relations changes
			every_other_country = {
				limit = { 
					has_government = communism
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT 
					modifier =  FRA_leftist_rhetoric_communism
				}
			}
			every_other_country = {
				limit = { 
					has_government = democratic
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT
					modifier = FRA_leftist_rhetoric_democratic
				}
			}
			every_other_country = {
				limit = { 
					has_government = fascism
					num_of_factories > 30
				}
				add_opinion_modifier = { 
					target = ROOT 
					modifier = FRA_leftist_rhetoric_fascism
				}
			}
		}
	}

	focus = {
		id = CZE_czech_socialism
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = CZE_communist_support }
		x = -2
		y = 3
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { has_idea = CZE_divided_nation }
				remove_ideas = CZE_divided_nation
			}
			add_ideas = CZE_czech_socialism
			add_political_power = 120
		}
	}

	focus = {
		id = CZE_communism_with_a_human_face
		icon = GFX_goal_support_communism
		prerequisite = { focus = CZE_czech_socialism }
		x = 0
		y = 1
		relative_position_id = CZE_czech_socialism

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_communism_with_a_human_face
		}
	}

	focus = {
		id = CZE_communist_support
		icon = GFX_focus_generic_soviet_politics
		prerequisite = { focus = CZE_go_left }
		x = 0
		y = 1
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			communism > 0.2
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = communist_influence
		}
	}

	focus = {
		id = CZE_join_comintern
		icon = GFX_goal_support_communism
		prerequisite = { focus = CZE_communist_support }
		x = 0
		y = 2
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			communism > 0.3
			SOV = {
				has_government = communism 
			}
			is_in_faction = no
			NOT = {
				any_other_country = {
					is_in_faction_with = SOV
					has_war_with = CZE
				}
			}
		}

		bypass = {
			is_in_faction_with = SOV
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { country_event = { hours = 1 id = czech.1 } }
		}
	}

	focus = {
		id = CZE_the_romanian_question
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = CZE_join_comintern }
		x = 0
		y = 3
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { country_event = { hours = 1 id = czech.4 } }
		}
	}

	focus = {
		id = CZE_the_polish_division
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = CZE_the_romanian_question }
		x = 0
		y = 4
		relative_position_id = CZE_go_left

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { country_event = { hours = 1 id = czech.7 } }
		}
	}

	focus = {
		id = CZE_democratic_bastion
		icon = GFX_focus_generic_the_giant_wakes
		prerequisite = { focus = CZE_political_direction }
		mutually_exclusive = { focus = CZE_go_right focus = CZE_go_left }
		x = 0
		y = 1
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 90
			modifier = {
				factor = 0
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 200
			add_ideas = CZE_democratic_bastion
		}
	}

	focus = {
		id = CZE_beacon_of_liberty
		icon = GFX_goal_support_democracy
		prerequisite = { focus = CZE_democratic_bastion }
		x = 0
		y = 1
		relative_position_id = CZE_democratic_bastion

		cost = 2

		ai_will_do = {
			factor = 70
		}

		available = {
			democratic > 0.7
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = { remove_idea = CZE_democratic_bastion add_idea = CZE_beacon_of_liberty }
		}
	}

	focus = {
		id = CZE_defensive_preparations
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = CZE_beacon_of_liberty }
		x = 0
		y = 3
		relative_position_id = CZE_democratic_bastion

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			threat > 0.1
		}

		bypass = {
			OR = {
				has_idea = extensive_conscription
				has_idea = service_by_requirement
				has_idea = all_adults_serve
				has_idea = scraping_the_barrel
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = extensive_conscription
		}
	}

	focus = {
		id = CZE_bonus_research_slot_1
		icon = GFX_focus_research
		prerequisite = { focus = CZE_the_romanian_question focus = CZE_defensive_preparations focus = CZE_the_polish_question }
		x = 0
		y = 5
		relative_position_id = CZE_democratic_bastion

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			num_of_factories > 34
			amount_research_slots < 5
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
			custom_effect_tooltip = CZE_war_college_effect_tt
		}
	}

	focus = {
		id = CZE_go_right
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = CZE_political_direction }
		mutually_exclusive = { focus = CZE_democratic_bastion focus = CZE_go_left }
		x = 2
		y = 1
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 3
				has_completed_focus = CZE_german_leanings
			}
			modifier = {
				factor = 0
				has_completed_focus = CZE_trust_in_the_west
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#allow nazi leader
			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 = CZE_czech_fascism
		icon = GFX_goal_support_fascism
		prerequisite = { focus = CZE_go_right }
		x = 0
		y = 1
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			fascism > 0.35
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_czech_fascism
		}
	}

	focus = {
		id = CZE_aggressive_wars
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = CZE_czech_fascism }
		x = 0
		y = 2
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {
			fascism > 0.5
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = FRA_army_of_aggression_focus
		}
	}

	focus = {
		id = CZE_the_polish_question
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = CZE_aggressive_wars focus = CZE_german_puppet }
		x = -1
		y = 4
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.10 } }
		}
	}

	focus = {
		id = CZE_exclude_the_slovaks
		icon = GFX_goal_generic_propaganda
		mutually_exclusive = { focus = CZE_national_fascism }
		prerequisite = { focus = CZE_czech_fascism }
		x = 2
		y = 2
		relative_position_id = CZE_go_right

		cost = 5

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {
			fascism > 0.6
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
		
		}

		completion_reward = {
			if = {
				limit = {
					has_idea = CZE_divided_nation
				}
				swap_ideas = { remove_idea = CZE_divided_nation add_idea = CZE_czech_fascism_idea  }	
			}
			if = {
				limit = {
					NOT = { has_idea = CZE_divided_nation }
				}
				add_ideas = CZE_czech_fascism_idea	
			}
			country_event = { days = 6 random = 120 id = czech.14 }			
		}
	}
	
	focus = {
		id = CZE_national_fascism
		icon = GFX_goal_generic_propaganda
		mutually_exclusive = { focus = CZE_exclude_the_slovaks }
		prerequisite = { focus = CZE_czech_fascism }
		x = 4
		y = 2
		relative_position_id = CZE_go_right

		cost = 15

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {
			fascism > 0.6
			NOT = {
				has_idea = CZE_divided_nation
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
		
		}

		completion_reward = {
			add_ideas = CZE_national_fascism_idea
		}
	}
	
	focus = {
		id = CZE_german_minor_ally
		icon = GFX_goal_generic_dangerous_deal
		mutually_exclusive = { focus = CZE_german_ally focus = CZE_german_puppet }
		prerequisite = { focus = CZE_exclude_the_slovaks focus = CZE_national_fascism }
		x = 4
		y = 3
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 40
			modifier = {
				factor = 2
				has_completed_focus = CZE_german_leanings
			}
		}

		available = {
			is_in_faction = no
			GER = { has_government = fascism }
			GER = { exists = yes }
			GER = { is_subject = no }
			has_army_manpower = { size > 249999 } 
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
		
		}

		completion_reward = {
			custom_effect_tooltip = CZE_german_minor_ally_tt
			hidden_effect = {
				GER = {
					set_autonomy = { target = CZE autonomy_state = autonomy_satellite }
				}
			}
		}
	}

	focus = {
		id = CZE_german_ally
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = CZE_exclude_the_slovaks focus = CZE_national_fascism }
		mutually_exclusive = { focus = CZE_german_puppet focus = CZE_german_minor_ally }
		x = 2
		y = 3
		relative_position_id = CZE_go_right

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			is_in_faction = no
			GER = { has_government = fascism }
			GER = { exists = yes }
			GER = { is_subject = no }
			has_army_manpower = { size > 299999 } 
			NOT = {
				any_other_country = {
					is_in_faction_with = GER
					has_war_with = CZE
				}
			}
		}

		bypass = {
			is_in_faction_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.16 } }
		}
	}

	#######################################
	######### STRATEGY DECISIONS ##########
	#######################################
	
	focus = {
		id = CZE_strategy_decisions
		icon = GFX_goal_generic_position_armies
		x = 12
		y = 0
		relative_position_id = CZE_political_direction

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 150
		}
	}

	focus = {
		id = CZE_german_leanings
		icon = GFX_goal_generic_propaganda

		x = -2
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			 GER = { add_opinion_modifier = { target = CZE modifier = CZE_german_leanings } }
		}
	}

	focus = {
		id = CZE_german_puppet
		icon = GFX_focus_CZE_german_puppet
		prerequisite = { focus = CZE_deliver_sudetenland }
		mutually_exclusive = { focus = CZE_german_ally focus = CZE_german_minor_ally }
		x = -2
		y = 3
		relative_position_id = CZE_german_leanings

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {
			GER = { exists = yes }
			GER = { is_subject = no }
		}

		bypass = {
			is_subject_of = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.19 } }
		}
	}

	focus = {
		id = CZE_hungarian_situation
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = CZE_german_puppet focus = CZE_aggressive_wars }
		x = -7
		y = 4
		relative_position_id = CZE_german_leanings
		
		will_lead_to_war_with = HUN

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {
			NOT = {
				is_in_faction_with = HUN
			}
			HUN = { exists = yes }
		}

		bypass = {
			HUN = { exists = no }
			HUN = { is_subject_of = CZE}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = HUN
			}
		}
	}

	focus = {
		id = CZE_deliver_sudetenland
		icon = GFX_focus_CZE_german_puppet 
		prerequisite = { focus = CZE_german_leanings }
		x = 0
		y = 1
		relative_position_id = CZE_german_leanings

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			GER = { exists = yes }
			GER = { is_subject = no }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			GER = { country_event = { hours = 1 id = czech.22 } }
		}
	}

	focus = {
		id = CZE_german_technology
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = CZE_deliver_sudetenland }
		x = 0
		y = 2
		relative_position_id = CZE_german_leanings

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			GER = { exists = yes }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_german_millitary_cooperation_focus
		}
	}

	focus = {
		id = CZE_trust_in_the_west
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = CZE_strategy_decisions }
		mutually_exclusive = { focus = CZE_german_leanings focus = CZE_an_entente_of_our_own }
		x = 0
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			ENG = {
				add_opinion_modifier = { 
						target = ROOT 
						modifier =  CZE_trust_in_the_west
				}
			}
			FRA = {
				add_opinion_modifier = { 
					target = ROOT 
					modifier =  CZE_trust_in_the_west
				}
			
			}
			diplomatic_relation = {
				country = YUG
				relation = guarantee
				active = no
			}
			ROM = {
				diplomatic_relation = {
					country = CZE
					relation = guarantee
					active = no
				}
			}
		}
	}

	focus = {
		id = CZE_doctrinal_innovation
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CZE_trust_in_the_west }
		x = 0
		y = 2
		relative_position_id = CZE_trust_in_the_west

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.75
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CZE_bonus_research_slot_2
		icon = GFX_focus_research
		prerequisite = { focus = CZE_doctrinal_innovation }
		x = 0
		y = 1
		relative_position_id = CZE_doctrinal_innovation

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			num_of_factories > 34
		}

		bypass = {
			NOT = { amount_research_slots < 5 }
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
			custom_effect_tooltip = CZE_war_college_effect_tt	
		}
	}

	focus = {
		id = CZE_secret_weapons
		icon = GFX_goal_generic_radar
		prerequisite = { focus = CZE_bonus_research_slot_2 }
		mutually_exclusive = { focus = CZE_nukes }
		x = -1
		y = 2
		relative_position_id = CZE_doctrinal_innovation

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = secret_bonus
				bonus = 0.5
				uses = 3
				category = electronics
				category = jet_technology
				category = rocketry
			}
		}
	}

	focus = {
		id = CZE_nukes
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = CZE_bonus_research_slot_2 }
		mutually_exclusive = { focus = CZE_secret_weapons }
		x = 1
		y = 2
		relative_position_id = CZE_doctrinal_innovation

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = nuclear_bonus
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = nuclear
			}
		}
	}

	focus = {
		id = CZE_an_entente_of_our_own
		icon = GFX_focus_generic_little_entente
		x = 3
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			is_in_faction = no
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_faction = "CZE_little_entente"
		}
	}

	focus = {
		id = CZE_invite_yugoslavia
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CZE_an_entente_of_our_own }
		x = -1
		y = 1
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			YUG = { is_in_faction = no }
			YUG = { exists = yes }
			YUG = { is_subject = no }

			CZE = { is_faction_leader = yes }
		}

		bypass = {
			YUG = {
				is_in_faction = yes
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			YUG = { country_event = { hours = 1 id = czech.25 } }
		}
	}

	focus = {
		id = CZE_invite_romania
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CZE_an_entente_of_our_own }
		x = 1
		y = 1
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			ROM = { is_in_faction = no }
			ROM = { exists = yes }
			ROM = { is_subject = no }
			
			CZE = { is_faction_leader = yes }
		}

		bypass = {
			ROM = {
				is_in_faction = yes
			}
		}	

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			ROM = { country_event = { hours = 1 id = czech.28 } }
		}
	}

	focus = {
		id = CZE_faction_tech_sharing
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = CZE_invite_yugoslavia focus = CZE_invite_romania }
		x = -1
		y = 2
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_romania
			}
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_yugoslavia
			}
		}

		available = {
			is_in_faction = yes
			is_faction_leader = yes
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_to_tech_sharing_group = little_entente_research_group
			every_country = {
				limit = {
					is_in_faction_with = CZE
				}
				add_to_tech_sharing_group = little_entente_research_group
			}
		}
	}

	focus = {
		id = CZE_security_council
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = CZE_invite_yugoslavia focus = CZE_invite_romania }
		x = 1
		y = 2
		relative_position_id = CZE_an_entente_of_our_own

		cost = 10

		ai_will_do = {
			factor = 50
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_romania
			}
			modifier = {
				factor = 1.5
				has_completed_focus = CZE_invite_yugoslavia
			}
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			#events for faction members. add 10% planning cap bonus
			add_ideas = CZE_planning_bonus
			every_country = {
				limit = {
					is_in_faction_with = THIS
					NOT = { tag = THIS }
				}
				country_event = { id = czech.31 }
			}
		}
	}

	focus = {
		id = CZE_deal_with_hungary
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = CZE_security_council }
		mutually_exclusive = { focus = CZE_rapprochement_with_hungary }
		x = 0
		y = 1
		relative_position_id = CZE_security_council

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {
			NOT = {
				is_in_faction_with = HUN
			}
			HUN = { exists = yes }
			HUN = { is_subject = no }
		}

		bypass = {
			HUN = { exists = no }
			HUN = { is_subject_of = CZE}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = HUN
			}
		}
	}

	focus = {
		id = CZE_deal_with_bulgaria
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = CZE_security_council }
		x = 2
		y = 1
		relative_position_id = CZE_security_council

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {
			NOT = {
				is_in_faction_with = BUL
			}
			BUL = { exists = yes }
			BUL = { is_subject = no }
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = BUL
			}
		}
	}

	focus = {
		id = CZE_rapprochement_with_hungary
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = CZE_security_council }
		mutually_exclusive = { focus = CZE_deal_with_hungary }
		x = -2
		y = 1
		relative_position_id = CZE_security_council

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			NOT = {
				is_in_faction_with = HUN
			}
			HUN = { exists = yes }
			HUN = { is_subject = no }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			HUN = { country_event = { hours = 1 id = czech.32 } }
		}
	}

	focus = {
		id = CZE_czechoslovak_legion
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = CZE_strategy_decisions }
		x = 5
		y = 1
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = {
				can_send_volunteers = yes
			}
			add_ideas = foreign_expeditions_focus
		}
	}
	#######################################
	##### MILITARY RESEARCH INSTITUTE #####	
	#######################################

	focus = {
		id = CZE_military_research_institute
		icon = GFX_focus_CZE_military_research_institute
		x = 11
		y = 0
		relative_position_id = CZE_strategy_decisions

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 10
		}
	}

	focus = {
		id = CZE_mountain_bonus
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = CZE_military_research_institute }
		x = -3
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = cze_mountain_bonus
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = mountaineers_tech
			}
		}
	}

	focus = {
		id = CZE_inf_and_artillery_advancement
		icon = GFX_goal_rhineland
		prerequisite = { focus = CZE_military_research_institute }
		x = -1
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CZE_inf_and_artillery_advancement
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = infantry_weapons
			}
		}
	}

	focus = {
		id = CZE_support_bonus
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = CZE_mountain_bonus }
		x = -3
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CZE_support_bonus #@#
				bonus = 0.5
				uses = 2
				#category = hospital_tech
				#category = logistics_tech
				#category = signal_company_tech
				#category = maintenance_company_tech
				#category = engineers_tech
				#category = recon_tech
				#category = military_police_tech
				category = support_tech	
			}
		add_tech_bonus = {
			name = CZE_support_bonus #@#
			bonus = 0.5
			uses = 1
			technology = support_weapons2
			technology = support_weapons3
			}
		}
	}

	focus = {
		id = CZE_inf_and_artillery_advancement_2
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = CZE_inf_and_artillery_advancement }
		x = -1
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CZE_inf_and_artillery_advancement_2 #@#
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = CZE_doctrine_bonus
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CZE_support_bonus }
		prerequisite = { focus = CZE_inf_and_artillery_advancement_2 }
		x = -2
		y = 3
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = land_doc_bonus
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CZE_motorization_scheme
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = CZE_military_research_institute }
		x = 1
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_armour_bonus_1
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = CZE_military_research_institute }
		x = 3
		y = 1
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_mechanization
		icon = GFX_goal_generic_production2
		prerequisite = { focus = CZE_motorization_scheme }
		x = 1
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_armour_bonus_ii
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = CZE_armour_bonus_1 }
		x = 3
		y = 2
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 60
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_doctrine_bonus_2
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CZE_mechanization }
		prerequisite = { focus = CZE_armour_bonus_ii }
		x = 2
		y = 3
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_war_college
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = CZE_doctrine_bonus }
		prerequisite = { focus = CZE_doctrine_bonus_2 }
		x = 0
		y = 4
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	#######################################
	####### AERONAUTICAL INSTITUTE ########	
	#######################################

	focus = {
		id = CZE_military_aeronautical_institute
		icon = GFX_focus_CZE_military_aeronautical_institute
		x = 8
		y = 0
		relative_position_id = CZE_military_research_institute

		cost = 10

		ai_will_do = {
			factor = 90
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_import_foreign_fighters
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = CZE_military_aeronautical_institute }
		x = -2
		y = 1
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_light_fighter_focus
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = CZE_import_foreign_fighters }
		mutually_exclusive = { focus = CZE_heavy_fighter_focus }
		x = -1
		y = 1
		relative_position_id = CZE_import_foreign_fighters

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {
			
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_heavy_fighter_focus
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = CZE_import_foreign_fighters }
		mutually_exclusive = { focus = CZE_light_fighter_focus }
		x = 1
		y = 1
		relative_position_id = CZE_import_foreign_fighters

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_air_is_our_sea
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = CZE_military_aeronautical_institute }
		x = 0
		y = 1
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CZE_rule_the_air
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = CZE_air_is_our_sea }
		prerequisite = { focus = CZE_light_fighter_focus focus = CZE_heavy_fighter_focus }
		prerequisite = { focus = CZE_tac_focus focus = CZE_cas_focus }
		x = 0
		y = 3
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = air_doc_bonus
				bonus = 0.5
				uses = 3
				category = air_doctrine
			}
		}
	}

	focus = {
		id = CZE_import_foreign_bombers
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = CZE_military_aeronautical_institute }
		x = 2
		y = 1
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CZE_import_foreign_bombers #@#
				bonus = 0.5
				uses = 1
				category = cas_bomber
				category = tactical_bomber
			}
		}
	}

	focus = {
		id = CZE_cas_focus
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = CZE_import_foreign_bombers }
		mutually_exclusive = { focus = CZE_tac_focus }
		x = -1
		y = 1
		relative_position_id = CZE_import_foreign_bombers

		cost = 10

		ai_will_do = {
			factor = 70
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CZE_cas_focus #@#
				bonus = 0.5
				uses = 1
				category = cas_bomber
			}
		}
	}

	focus = {
		id = CZE_tac_focus
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = CZE_import_foreign_bombers }
		mutually_exclusive = { focus = CZE_cas_focus }
		x = 1
		y = 1
		relative_position_id = CZE_import_foreign_bombers

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CZE_tac_focus #@#
				bonus = 0.5
				uses = 1
				category = tactical_bomber
			}
		}
	}

	#######################################
	######### ACCESS TO THE SEA ###########	
	#######################################

	focus = {
		id = CZE_access_to_the_sea
		icon = GFX_goal_generic_occupy_states_coastal
		x = 7
		y = 0
		relative_position_id = CZE_military_aeronautical_institute

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			any_owned_state = {
				is_coastal = yes
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			navy_experience = 25
		}
	}

	focus = {
		id = CZE_sudden_shipyard
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = CZE_access_to_the_sea }
		x = -2
		y = 1
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 70
		}

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

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			navy_experience = 10
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = dockyard
										size > 2
										include_locked = yes
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CZE_shipbuilding_legacy
		icon = GFX_goal_generic_amphibious_assault
		prerequisite = { focus = CZE_access_to_the_sea }
		x = 0
		y = 1
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CZE_naval_focus
		}
	}

	focus = {
		id = CZE_battleship_catchup_1
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = CZE_shipbuilding_legacy }
		x = 2
		y = 2
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 2
				category = bb_tech
			}
		}
	}

	focus = {
		id = CZE_destroyer_catchup_1
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = CZE_shipbuilding_legacy }
		x = -2
		y = 2
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 2
				category = dd_tech
			}
		}
	}

	focus = {
		id = CZE_cruiser__catchup_1
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = CZE_shipbuilding_legacy }
		x = 0
		y = 2
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.5
				uses = 2
				category = cl_tech
				category = ca_tech
			}
		}
	}

	focus = {
		id = CZE_raiding_focus
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = CZE_destroyer_catchup_1 }
		prerequisite = { focus = CZE_cruiser__catchup_1 }
		mutually_exclusive = { focus = CZE_capital_focus }
		x = -1
		y = 3
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = naval_doc_bonus
				bonus = 0.5
				uses = 2
				category = cat_trade_interdiction
			}
		}
	}

	focus = {
		id = CZE_capital_focus
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = CZE_cruiser__catchup_1 }
		prerequisite = { focus = CZE_battleship_catchup_1 }
		mutually_exclusive = { focus = CZE_raiding_focus }
		x = 1
		y = 3
		relative_position_id = CZE_access_to_the_sea

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = naval_doc_bonus
				bonus = 0.5
				uses = 2
				category = cat_fleet_in_being
			}
		}
	}

	focus = {
		id = MAN_pacify_the_countryside
		icon = GFX_goal_generic_major_war
		x = 6
		y = 0

		cost = 10

		ai_will_do = {
			factor = 1
		}
		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = MAN_army_modernization
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = MAN_pacify_the_countryside }
		x = -2
		y = 1
		relative_position_id = MAN_pacify_the_countryside

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 30
		}
	}

	focus = {
		id = MAN_mukden_military_academy
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = MAN_army_modernization }
		x = 0
		y = 1
		relative_position_id = MAN_army_modernization

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}	

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = MAN_mukden_military_academy
		}
	}

	focus = {
		id = MAN_invite_japanese_settlers
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = MAN_pacify_the_countryside }
		x = 0
		y = 1
		relative_position_id = MAN_pacify_the_countryside

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_idea = MAN_banditry }
			NOT = { has_war_with = JAP }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_industrial_effort_2_2IC }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_collective_farms
		icon = GFX_goal_generic_construction
		prerequisite = { focus = MAN_invite_japanese_settlers }
		x = 0
		y = 1
		relative_position_id = MAN_invite_japanese_settlers

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_law_university
		icon = GFX_focus_research
		prerequisite = { focus = MAN_collective_farms focus = MAN_mukden_military_academy focus = MAN_expand_the_textile_industry }
		x = 0
		y = 1
		relative_position_id = MAN_collective_farms

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_research_and_education_department
		icon = GFX_focus_research
		prerequisite = { focus = MAN_law_university }
		x = 0
		y = 1
		relative_position_id = MAN_law_university

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1			
		}
	}

	focus = {
		id = MAN_trade_delegation
		icon = GFX_goal_generic_trade
		prerequisite = { focus = MAN_pacify_the_countryside }
		x = 2
		y = 1
		relative_position_id = MAN_pacify_the_countryside

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_expand_the_textile_industry
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = MAN_trade_delegation }
		x = 0
		y = 1
		relative_position_id = MAN_trade_delegation

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = MAN_obedience
		icon = GFX_focus_CZE_german_puppet
		prerequisite = { focus = MAN_army_modernization }
		mutually_exclusive = { focus = MAN_assertiveness }
		x = -2
		y = 4
		relative_position_id = MAN_army_modernization

		cost = 10

		ai_will_do = {
			factor = 6
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = MAN_hoankyoku
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = MAN_obedience }
		x = -2
		y = 1
		relative_position_id = MAN_obedience

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_stability = 0.1
		}
	}

	focus = {
		id = MAN_first_five_year_plan
		icon = GFX_goal_generic_production
		prerequisite = { focus = MAN_obedience }
		x = 0
		y = 1
		relative_position_id = MAN_obedience

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = wtt_manchukou.11
		}
	}

	focus = {
		id = MAN_invite_japanese_investors
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = MAN_first_five_year_plan }
		x = -1
		y = 1
		relative_position_id = MAN_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			NOT = { has_war_with = JAP }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = MAN_songgotu_zhanshan
			random_state = {
				limit = {
					has_state_flag = MAN_invite_japanese_investors_IC
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = MAN_songgotu_zhanshan
			random_owned_controlled_state = {
				prioritize = { 328 }
				limit = {
					is_fully_controlled_by = ROOT
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = MAN_invite_japanese_investors_IC
			}
		}
	}

	focus = {
		id = MAN_expand_the_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = MAN_invite_japanese_investors }
		x = 0
		y = 1
		relative_position_id = MAN_invite_japanese_investors

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			OR = {
				716 = {
					is_fully_controlled_by = ROOT
				}
				328 = {
					is_fully_controlled_by = ROOT
				} 
				610 = {
					is_fully_controlled_by = ROOT
				} 
				717 = {
					is_fully_controlled_by = ROOT
				}
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { 716 = { is_fully_controlled_by = ROOT } }
				716 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			if = {
				limit = { 328 = { is_fully_controlled_by = ROOT } }
				328 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				} 
			}
			if = {
				limit = { 610 = { is_fully_controlled_by = ROOT } }
				610 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				} 
			}
			if = {
				limit = { 717 = { is_fully_controlled_by = ROOT } }
				717 = {
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = MAN_develop_aluminum_sources
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = MAN_invite_japanese_investors }
		x = -2
		y = 1
		relative_position_id = MAN_invite_japanese_investors

		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

	}

	focus = {
		id = MAN_expand_showa_steel_works
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = MAN_develop_aluminum_sources }
		x = 0
		y = 1
		relative_position_id = MAN_develop_aluminum_sources

		cost = 10

		ai_will_do = {
			factor = 4
		}

	}

	focus = {
		id = MAN_social_research_unit
		icon = GFX_focus_research
		prerequisite = { focus = MAN_expand_the_railways }
		x = 0
		y = 2
		relative_position_id = MAN_invite_japanese_investors

		cost = 10

		ai_will_do = {
			factor = 8
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_second_five_year_plan
		icon = GFX_goal_generic_production
		prerequisite = { focus = MAN_social_research_unit }
		prerequisite = { focus = MAN_expand_showa_steel_works }
		prerequisite = { focus = MAN_mamc }
		x = 0
		y = 4
		relative_position_id = MAN_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {
			if = {
				limit = { has_idea = MAN_five_year_plan_air }
				NOT = { has_idea = MAN_five_year_plan_air }
			}
			if = {
				limit = { has_idea = MAN_five_year_plan_tank }
				NOT = { has_idea = MAN_five_year_plan_tank }
			}
			if = {
				limit = { has_idea = MAN_five_year_plan_industry }
				NOT = { has_idea = MAN_five_year_plan_industry }
			}
			if = {
				limit = {
					NOT = { has_idea = MAN_five_year_plan_air }
					NOT = { has_idea = MAN_five_year_plan_tank }
					NOT = { has_idea = MAN_five_year_plan_industry }
				}
				NOT = { has_idea = MAN_five_year_plan_air }
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			country_event = wtt_manchukou.11
		}
	}

	focus = {
		id = MAN_national_defense_state
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = MAN_second_five_year_plan }
		x = 0
		y = 1
		relative_position_id = MAN_second_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = MAN_national_defense_state
		}
	}

	focus = {
		id = MAN_mukden_arsenal
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = MAN_first_five_year_plan }
		x = 1
		y = 1
		relative_position_id = MAN_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			716 = { is_fully_controlled_by = ROOT }
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			716 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = MAN_mamc
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = MAN_mukden_arsenal }
		x = 0
		y = 1
		relative_position_id = MAN_mukden_arsenal

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = MAN_mamc_light
			show_ideas_tooltip = MAN_mamc_medium
			show_ideas_tooltip = MAN_mamc_heavy
		}
	}

	focus = {
		id = MAN_alliance_with_the_kwantung_army
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = MAN_first_five_year_plan }
		x = 3
		y = 1
		relative_position_id = MAN_first_five_year_plan

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			remove_ideas = MAN_kwantung_veto
			add_tech_bonus = {
				name = MAN_alliance_with_the_kwantung_army
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = MAN_chinese_leadership
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = MAN_alliance_with_the_kwantung_army }
		x = 0
		y = 1
		relative_position_id = MAN_alliance_with_the_kwantung_army

		cost = 10

		ai_will_do = {
			factor = 1
		}

	}

	focus = {
		id = MAN_vassalize_mengukuo
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = MAN_chinese_leadership }
		x = -1
		y = 1
		relative_position_id = MAN_chinese_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

	}

	focus = {
		id = MAN_national_cooperation_government
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = MAN_chinese_leadership }
		x = 1
		y = 1
		relative_position_id = MAN_chinese_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			every_state = {
				limit = { is_core_of = CHI }
				add_core_of = ROOT
			}
		}
	}

	focus = {
		id = MAN_the_two_emperors
		icon = GFX_goal_anschluss
		prerequisite = { focus = MAN_vassalize_mengukuo }
		prerequisite = { focus = MAN_national_cooperation_government }
		x = 0
		y = 2
		relative_position_id = MAN_chinese_leadership

		cost = 10

		ai_will_do = {
			factor = 1
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_assertiveness
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = MAN_trade_delegation }
		mutually_exclusive = { focus = MAN_obedience }
		x = 2
		y = 4
		relative_position_id = MAN_trade_delegation

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {
			is_subject = no
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			
		}
	}

	focus = {
		id = MAN_request_control_of_the_railways
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = MAN_assertiveness }
		x = 0
		y = 1
		relative_position_id = MAN_assertiveness

		cost = 10


	}

	focus = {
		id = MAN_staff_the_court_with_manchus
		icon = GFX_goal_generic_intelligence_exchange

		x = -1
		y = 1
		relative_position_id = MAN_request_control_of_the_railways

		cost = 10

	}

	focus = {
		id = MAN_expand_the_imperial_guards
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = MAN_staff_the_court_with_manchus }
		x = -1
		y = 1

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no


		completion_reward = {
			
		}
	}

	focus = {
		id = MAN_local_arms_procurement
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = MAN_expand_the_imperial_guards }
		x = 0
		y = 1
		relative_position_id = MAN_expand_the_imperial_guards

		cost = 10

		ai_will_do = {
			factor = 6
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

	}

	focus = {
		id = MAN_bolster_nationalism
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = MAN_staff_the_court_with_manchus focus = MAN_five_equal_peoples }
		x = 1
		y = 1
		relative_position_id = MAN_staff_the_court_with_manchus

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

	}

	focus = {
		id = MAN_five_equal_peoples
		icon = GFX_goal_generic_national_unity
		mutually_exclusive = { focus = MAN_staff_the_court_with_manchus }
		prerequisite = { focus = MAN_request_control_of_the_railways }
		x = 1
		y = 1
		relative_position_id = MAN_request_control_of_the_railways

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_war_support = 0.1
		}
	}

	focus = {
		id = MAN_white_russian_advisers
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = MAN_five_equal_peoples }
		x = 1
		y = 1
		relative_position_id = MAN_five_equal_peoples

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = MAN_white_russian_advisers
		}
	}

	focus = {
		id = MAN_empower_the_legislative_council
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = MAN_five_equal_peoples }
		x = 3
		y = 1
		relative_position_id = MAN_five_equal_peoples

		cost = 10

		ai_will_do = {
			factor = 1
		}

	}

	focus = {
		id = MAN_five_people_armies
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = MAN_white_russian_advisers }
		x = 0
		y = 1
		relative_position_id = MAN_white_russian_advisers

		cost = 10

		ai_will_do = {
			factor = 1
		}

	}

	focus = {
		id = MAN_purge_the_general_affairs_council
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = MAN_bolster_nationalism  }
		x = 0
		y = 1
		relative_position_id = MAN_bolster_nationalism 

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {
			is_subject = no
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		completion_reward = {

		}
	}

	focus = {
		id = MAN_reform_the_civil_service
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = MAN_purge_the_general_affairs_council }
		x = -2
		y = 1
		relative_position_id = MAN_purge_the_general_affairs_council

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_stability = 0.1
		}
	}

	focus = {
		id = MAN_independence_war
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = MAN_purge_the_general_affairs_council }
		x = 0
		y = 1
		relative_position_id = MAN_purge_the_general_affairs_council

		cost = 10

		ai_will_do = {
			factor = 100
			modifier = {
				strength_ratio = { tag = JAP ratio < 0.3 }
				factor = 0
			}
			
		}

		available = {
		
		}

		bypass = {
			is_subject = no
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = no

		will_lead_to_war_with = JAP

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_imperial_divinity
		icon = GFX_goal_generic_secret_weapon
		prerequisite = { focus = MAN_independence_war }
		x = -1
		y = 1
		relative_position_id = MAN_independence_war

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_imperial_university
		icon = GFX_focus_research
		prerequisite = { focus = MAN_imperial_divinity }
		x = -1
		y = 1
		relative_position_id = MAN_imperial_divinity

		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = MAN_move_capitals
		icon = GFX_goal_generic_propaganda

		x = 1
		y = 1
		relative_position_id = MAN_imperial_divinity

		cost = 10

		ai_will_do = {
			factor = 10
		}


		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_claim_the_mandate_of_heaven
		icon = GFX_focus_man_claim_the_mandate_of_heaven
		prerequisite = { focus = MAN_move_capitals }
		x = 0
		y = 1
		relative_position_id = MAN_move_capitals

		cost = 10

		ai_will_do = {
			factor = 20
		}

		available = {
			all_state = { 
				OR = {
					NOT = { is_core_of = ROOT }
					state = 729
					state = 326
					state = 728
					state = 524
					is_controlled_by = ROOT
				}
				
			}
		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = MAN_reclaim_the_empire
		icon = GFX_focus_generic_strike_at_democracy1
		prerequisite = { focus = MAN_independence_war }
		x = 1
		y = 1
		relative_position_id = MAN_independence_war

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_war_support = 0.1
			set_rule = { can_create_factions = yes }
			every_state = {
				limit = { is_core_of = CHI }
				add_core_of = ROOT
			}
		}
	}

	focus = {
		id = MAN_assert_our_authority
		icon = GFX_goal_demand_sudetenland
		mutually_exclusive = { focus = MAN_offer_vassalization }
		prerequisite = { focus = MAN_reclaim_the_empire }
		x = 1
		y = 1
		relative_position_id = MAN_reclaim_the_empire

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			every_country = {
				limit = {
					is_independent_china_or_warlord = yes
				}
				ROOT = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					}
				}
			}
		}
	}

	focus = {
		id = MAN_offer_vassalization
		icon = GFX_goal_generic_air_doctrine
		mutually_exclusive = { focus = MAN_assert_our_authority }
		prerequisite = { focus = MAN_reclaim_the_empire }
		x = 3
		y = 1
		relative_position_id = MAN_reclaim_the_empire

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = GER_west_wall
		icon = GFX_goal_generic_construct_military

		x = -5
		y = 1

		cost = 10
		ai_will_do = {
			factor = 8
		}
			
		completion_reward = {
		
		}
	}

	focus = {
		id = GER_atlantikwall
		icon = GFX_focus_generic_coastal_fort

		available = {

		}
		cancel_if_invalid = yes
		x = -1
		y = 1

		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_ostwall
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = GER_west_wall }
		available = {

		}
		x = 1
		y = 1
		relative_position_id = GER_west_wall
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_autarky
		icon = GFX_goal_generic_construct_civilian

		x = 4
		y = 1

		cost = 10
		ai_will_do = {
			factor = 9
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_hermann_goring_werke
		icon = GFX_goal_generic_construct_civ_factory
		dynamic = yes
		prerequisite = { focus = GER_autarky }
		x = 2
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 9
		}

		available_if_capitulated = no

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2IC
			}
		}
	}

	focus = {
		id = GER_kdf_wagen
		icon = GFX_goal_generic_construct_civ_factory
		dynamic = yes
		prerequisite = { focus = GER_hermann_goring_werke }
		x = 0
		y = 1
		relative_position_id = GER_hermann_goring_werke
		cost = 10
		ai_will_do = {
			factor = 5
		}

		available_if_capitulated = no

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_industrial_effort_2_2IC
			}
		}
	}

	focus = {
		id = GER_coal_liquidization
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = GER_autarky }
		x = 0
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 4
		}

		available = {
			has_full_control_of_state = 65
		}
		
		completion_reward = {
			add_tech_bonus = {
				name = GER_coal_liquidization
				bonus = 0.75
				uses = 1
				category = synth_resources
			}
			if = {
				limit = {
					has_full_control_of_state = 65
				}
				65 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = GER_synthetic_rubber
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = GER_coal_liquidization }
		x = 0
		y = 1
		relative_position_id = GER_coal_liquidization
		cost = 10
		ai_will_do = {
			factor = 4
		}
		
		completion_reward = {
			#modify_building_resources = {
        	#   building = synthetic_refinery
        	#   resource = oil
        	#   amount = -2
        	#}
	
        	modify_building_resources = {
        	   building = synthetic_refinery
        	   resource = rubber
        	   amount = 2
        	}
		}
	}

	focus = {
		id = GER_extra_tech_slot
		icon = GFX_focus_research
		text = extra_tech_slot
		prerequisite = { focus = GER_kdf_wagen focus = GER_synthetic_rubber }
		x = -1
		y = 1
		relative_position_id = GER_kdf_wagen
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = GER_autobahn
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = GER_autarky }
		x = -2
		y = 1
		relative_position_id = GER_autarky
		cost = 10
		ai_will_do = {
			factor = 12
		}

		available = {
			OR = {
				has_full_control_of_state = 64
				has_full_control_of_state = 59
				has_full_control_of_state = 60
				has_full_control_of_state = 54
			}
		}
		
		completion_reward = {
			custom_effect_tooltip = GER_autobahn_tt
			hidden_effect = {
				64 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
				59 = {
					if = {
						limit = { is_controlled_by = ROOT }

						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
				60 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
				54 = {
					if = {
						limit = { is_controlled_by = ROOT }
						add_building_construction = {
							type = infrastructure
							level = 10
							instant_build = yes
						}
					}
				}
			}		
		}
	}

	focus = {
		id = GER_german_war_economy
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_autobahn }
		mutually_exclusive = { focus = GER_integrate_war_economies }
		x = 0
		y = 1
		relative_position_id = GER_autobahn
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = no
		available = {
			has_war_support > 0.49
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_grosraumwirtschaft
		icon = GFX_goal_generic_construct_infrastructure

		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = GER_align_hungary
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_grosraumwirtschaft }
		x = 0
		y = 1
		relative_position_id = GER_grosraumwirtschaft
		cost = 10
		ai_will_do = {
			factor = 1
		}

		bypass = {
			HUN = {
				OR = {
					exists = no
					is_subject = yes			
					AND = {
						is_subject = no
						is_in_faction_with = ROOT
					}
				}
			}
		}
		
		completion_reward = {
			if = {
				limit = {
					has_government = fascism
				}
				HUN = {
					add_ideas = GER_align_hungary
				}
			}	
			if = {
				limit = {
					has_government = neutrality
				}
				HUN = {
					add_ideas = GER_align_hungary_unaligned
				}
			}	
			if = {
				limit = {
					has_government = democratic
				}
				HUN = {
					add_ideas = GER_align_hungary_democratic
				}
			}	
			HUN = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_align_hungary
				}
			}
		}
	}

	focus = {
		id = GER_align_romania
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = GER_grosraumwirtschaft }
		x = -2
		y = 1
		relative_position_id = GER_grosraumwirtschaft
		cost = 10
		ai_will_do = {
			factor = 1
		}

		bypass = {
			ROM = {
				OR = {
					exists = no
					is_subject = yes		
					AND = {
						is_subject = no
						is_in_faction_with = ROOT
					}
				}
			}
		}
		
		completion_reward = {
			if = {
				limit = {
					has_government = fascism
				}
				ROM = {
					add_ideas = GER_align_romania
				}
			}	
			if = {
				limit = {
					has_government = neutrality
				}
				ROM = {
					add_ideas = GER_align_romania_unaligned
				}
			}	
			if = {
				limit = {
					has_government = democratic
				}
				ROM = {
					add_ideas = GER_align_romania_democratic
				}
			}	
			ROM = {
				add_opinion_modifier = {
					target = ROOT
					modifier = GER_align_romania
				}
			}
		}
	}

	focus = {
		id = GER_integrate_war_economies
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = GER_align_hungary }
		prerequisite = { focus = GER_align_romania }
		mutually_exclusive = { focus = GER_german_war_economy }
		x = 0
		y = 1
		relative_position_id = GER_align_hungary
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				HUN = {
					is_in_faction_with = ROOT
					is_free_or_subject_of_root = yes
				}
				ROM = {
					is_in_faction_with = ROOT
					is_free_or_subject_of_root = yes
				}
			}
		}

		available_if_capitulated = no
		
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_integrate_war_economies_1 }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = GER_integrate_war_economies_2 }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			HUN = {
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_1 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_2 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
			ROM = {
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_1 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
				every_state = {
					limit = { has_state_flag = GER_integrate_war_economies_2 }
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
				}
			}
		}
		
		completion_reward = {
			if = {
				limit = {
					NOT = { is_in_faction_with = HUN }
				}
				custom_effect_tooltip = GER_integrate_war_economies_tt
			}
			if = {
				limit = {
					NOT = { is_in_faction_with = ROM }
				}
				custom_effect_tooltip = GER_integrate_war_economies_tt2
			}
			if = {
				limit = {
					HUN = {
						is_in_faction_with = GER
						is_free_or_subject_of_root = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					set_state_flag = GER_integrate_war_economies_1
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					set_state_flag = GER_integrate_war_economies_2
				}
			}
			if = {
				limit = {
					ROM = {
						is_in_faction_with = GER
						is_free_or_subject_of_root = yes
					}
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					set_state_flag = GER_integrate_war_economies_1
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 1
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 2
					add_building_construction = {
						type = arms_factory
						level = 2
						instant_build = yes
					}
					set_state_flag = GER_integrate_war_economies_2
				}
			}
			if = {
				limit = {
					HUN = {
						is_in_faction_with = GER
						is_free_or_subject_of_root = yes
					}
				}
				HUN = {
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies_1
					}
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies_2
					}
				}
			}
			if = {
				limit = {
					ROM = {
						is_in_faction_with = GER
						is_free_or_subject_of_root = yes
					}
				}
				ROM = {
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies_1
					}
					random_owned_controlled_state = {
						limit = {
							free_building_slots = {
								building = arms_factory
								size > 1
								include_locked = yes
							}
						}
						add_extra_state_shared_building_slots = 2
						add_building_construction = {
							type = arms_factory
							level = 2
							instant_build = yes
						}
						set_state_flag = GER_integrate_war_economies_2
					}
					country_event = { id = wtt_germany.7 days = 1 }
				}
			}
			if = {
				limit = {
					has_dlc = "Death or Dishonor" 
					HUN = {
						is_in_faction_with = GER
					}
					is_subject = no
				}
				GER = {
					set_autonomy = { target = HUN autonomy_state = autonomy_satellite }
				}
			}
			if = {
				limit = { 
					has_dlc = "Death or Dishonor" 
					ROM = {
						is_in_faction_with = GER
					}
					is_subject = no
				}
				GER = {
					set_autonomy = { target = ROM autonomy_state = autonomy_satellite }
				}
			}
			if = {
				limit = { 
					has_dlc = "Together for Victory"
					NOT = { has_dlc = "Death or Dishonor" } 
					HUN = {
						is_in_faction_with = GER
					}
					is_subject = no
				}
				GER = {
					set_autonomy = { target = HUN autonomy_state = autonomy_dominion }
				}
			}
			if = {
				limit = { 
					has_dlc = "Together for Victory" 
					NOT = { has_dlc = "Death or Dishonor" }
					ROM = {
						is_in_faction_with = GER
					}
					is_subject = no
				}
				GER = {
					set_autonomy = { target = ROM autonomy_state = autonomy_dominion }
				}
			}
			if = {
				limit = { 
					NOT = { has_dlc = "Together for Victory" }
					NOT = { has_dlc = "Death or Dishonor" }
					HUN = {
						is_in_faction_with = GER
					}
					is_subject = no
				}
				puppet = HUN
			}
			if = {
				limit = { 
					NOT = { has_dlc = "Together for Victory" }
					NOT = { has_dlc = "Death or Dishonor" }
					ROM = {
						is_in_faction_with = GER
					}
					is_subject = no
				}
				puppet = ROM
			}
		}
	}

	focus = {
		id = GER_form_the_reichskommissariats
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = GER_german_war_economy focus = GER_integrate_war_economies }
		available = {
			has_government = fascism
		}
		x = 1
		y = 1
		relative_position_id = GER_integrate_war_economies
		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}


	focus = {
		id = GER_air_innovation
		text = air_innovation
		icon = GFX_goal_generic_build_airforce
		x = 16
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = GER_tactical_air_effort
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = GER_air_innovation }
		mutually_exclusive = { focus = GER_strategic_air_effort }
		x = 1
		y = 2
		relative_position_id = GER_air_innovation
		cost = 10
		ai_will_do = {
			factor = 0.25
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = GER_long_range_escorts
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = GER_tactical_air_effort focus = GER_strategic_air_effort }
		x = -1
		y = 1
		relative_position_id = GER_tactical_air_effort
		cost = 10
		ai_will_do = {
			factor = 0.1
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}
	

	focus = {
		id = GER_naval_air_effort
		text = naval_air_effort
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = GER_tactical_air_effort }
		x = 0
		y = 2
		relative_position_id = GER_tactical_air_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = nav_bomber_bonus
				bonus = 0.5
				uses = 2
				category = naval_bomber
			}
		}
	}

	focus = {
		id = GER_strategic_air_effort
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = GER_air_innovation }
		mutually_exclusive = { focus = GER_tactical_air_effort }
		x = -1
		y = 2
		relative_position_id = GER_air_innovation
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = GER_army_innovation
		icon = GFX_goal_generic_axis_build_infantry
		x = 19
		y = 0
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
		
		}
	}
	
	focus = {
		id = GER_soviet_treaty
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = GER_army_innovation }
		available = {
			NOT = { has_completed_focus = GER_anti_soviet_pact }
			OR = {
				NOT = { has_completed_focus = GER_bulwark_against_bolshevism }
				NOT = { has_completed_focus = GER_the_great_red_menace }
			}
		}

		x = 0
		y = 2
		relative_position_id = GER_army_innovation
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {

		}
	}

	focus = {
		id = GER_air_innovation_2
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = GER_strategic_air_effort focus = GER_tactical_air_effort focus = GER_soviet_treaty }
		x = 0
		y = 2
		relative_position_id = GER_strategic_air_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = { 

		}
	}

	focus = {
		id = GER_army_innovation_2
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = GER_soviet_treaty }
		x = 0
		y = 2
		relative_position_id = GER_soviet_treaty
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = GER_rocketry_focus
		icon = GFX_focus_rocketry
		prerequisite = { focus = GER_extra_tech_slot }
		prerequisite = { focus = GER_air_innovation_2 }
		x = 2
		y = 1
		relative_position_id = GER_extra_tech_slot
		cost = 10
		ai_will_do = {
			factor = 1
		}	

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = GER_rocketry_idea
			add_tech_bonus = {
				name = GER_rocketry_focus
				bonus = 0.5
				uses = 2
				category = rocketry
			}
			add_tech_bonus = {
				name = GER_rocketry_focus
				bonus = 0.5
				uses = 2
				category = jet_technology
			}
		}
	}

	focus = {
		id = GER_wunderwaffe
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = GER_rocketry_focus }
		x = 0
		y = 1
		relative_position_id = GER_rocketry_focus
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}
	
	focus = { #should already be signed in 39
		id = GER_mol_rib_pact
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = GER_soviet_treaty }
		mutually_exclusive = { focus = GER_anti_soviet_pact }
		available = {
			is_puppet = no
			has_government = fascism
			has_army_manpower = { size > 849999 } #ca 90 div
			SOV = {
				NOT = { has_war_with = GER }
				country_exists = SOV
			}
			NOT = { has_completed_focus = GER_bulwark_against_bolshevism }
			NOT = { has_completed_focus = GER_the_great_red_menace }
		}

		cancel_if_invalid = no
		x = 1
		y = 3
		relative_position_id = GER_soviet_treaty
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				NOT = { has_completed_focus = GER_anti_comitern_pact }
			}
		}	
		completion_reward = {
			# REVISIT Rework event series to fit new design or retain old design
			SOV = {
				country_event = { id = germany.11 days = 1 }
				custom_effect_tooltip = GER_mol_rib_pact_tt
				custom_effect_tooltip = needs_approval
			}
		}
	}
	
	focus = {
		id = GER_soviet_ally
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = GER_mol_rib_pact }
		mutually_exclusive = { focus = GER_ussr_war_goal }
		available = {
			is_puppet = no
			has_government = fascism
			has_war = no
			SOV = {
				has_war = no
				NOT = { has_war_with = GER }
				is_puppet = no
			}
		}
		bypass = {
			SOV = {
				is_in_faction_with = GER
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_mol_rib_pact
		cost = 10
		ai_will_do = {
			factor = 0.01
			modifier = {
				factor = 0
				NOT = { is_in_faction_with = POL }
				country_exists = POL
			}			
			modifier = {
				factor = 0
				OR = {
					has_war_with = POL
					has_war_with = FRA
				}
			}				
		}	
		completion_reward = {

		}
	}
	
	focus = {
		id = GER_turkey_puppet
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_soviet_ally }
		available = {
			is_puppet = no
			has_government = fascism
			OR = {
				GRE = {
					is_in_faction_with = GER
					all_owned_state = {
						controller = { is_in_faction_with = GER }
					}
				}
			}
			NOT = { has_war_with = SOV }
			country_exists = TUR
		}
		x = 0
		y = 2
		relative_position_id = GER_soviet_ally
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			TUR = { country_event = { id = germany.79 days = 1 } }
		}
	}

	focus = {
		id = GER_rhineland
		icon = GFX_goal_generic_military_sphere
		mutually_exclusive = { focus = GER_oppose_hitler }
		x = 25
		y = 0
		cost = 10
		available = { is_puppet = no }
		bypass = {
			42 = { is_demilitarized_zone = no }
			51 = { is_demilitarized_zone = no }
		}
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {

		}		
	}

	focus = {
		id = GER_japan_friend
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_rhineland }
		mutually_exclusive = { focus = GER_china_friend }
		available = {
			AND = {
				country_exists = JAP
				JAP = { is_puppet = no }
				NOT = { has_war_with = JAP }
				JAP = {
					custom_trigger_tooltip = {
						tooltip = GER_alone_or_peace_faction_tt
						is_alone_or_in_faction_at_peace_with_GER = yes
					}
				}
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_rhineland
		cost = 10

		available_if_capitulated = yes

		ai_will_do = {
			factor = 1
			modifier = {
				is_in_faction_with = JAP
				factor = 0 #GER-sempai has already noticed you!
			}
		}	
		completion_reward = {
			JAP = {
				add_opinion_modifier = { target = GER modifier = ger_jap_diplomacy_focus }
			}
			CHI = {
				add_opinion_modifier = { target = GER modifier = withdrew_advisors }
			}
		}
	}

	focus = {
		id = GER_china_friend
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_rhineland }
		mutually_exclusive = { focus = GER_japan_friend }
		available = {

		}
		x = -1
		y = 1
		relative_position_id = GER_rhineland
		cost = 10
		ai_will_do = {
			factor = 0.5
			modifier = {
				is_in_faction_with = JAP
				factor = 0
			}
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = GER_anti_comitern_pact
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_rhineland  }
		x = -3
		y = 2
		relative_position_id = GER_rhineland
		cost = 10
		available = {
			is_puppet = no
			NOT = { has_government = communism }
			NOT = { is_in_faction_with = SOV }
		}
		ai_will_do = {
			factor = 1
		}
		completion_reward = {

		}
	}

	focus = {
		id = GER_anti_soviet_pact
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = GER_anti_comitern_pact }
		mutually_exclusive = { focus = GER_mol_rib_pact }
		available = {
			is_puppet = no
			has_army_manpower = { size > 849999 } #ca 90 div
		}
		x = 0
		y = 3
		relative_position_id = GER_anti_comitern_pact
		cost = 10
		ai_will_do = {
			factor = 2.5	
		}
		completion_reward = {

		}
	}

	focus = {
		id = GER_ussr_war_goal
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = GER_anti_comitern_pact }
		mutually_exclusive = { focus = GER_soviet_ally }
		will_lead_to_war_with = SOV

		cancel = {
			NOT = { country_exists = SOV }
		}
		x = 1
		y = 4
		relative_position_id = GER_anti_comitern_pact
		cost = 10
		historical_ai = {
			NOT = {
				any_home_area_neighbor_country = {
					has_war_with = ROOT					
				}		
			}
		}
		bypass = {
			has_war_with = SOV
		}
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				OR = {
					has_army_manpower = { size < 1199999 }
					any_home_area_neighbor_country = {
						has_war_with = ROOT
					}
				}
			}
			modifier = {
				factor = 0 #AI should not pick this focus if it does not share a border with the Soviets
				NOT = { 
					any_home_area_neighbor_country = {
						tag = SOV
					}
				}
			}
			modifier = {
				factor = 0
				is_historical_focus_on = yes
				date < 1939.1.1
			}
		}	
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SOV
			}
		}
	}

	focus = {
		id = GER_turkey_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_ussr_war_goal }
		prerequisite = { focus = GER_italy_ally }


		available = { 

		}

		x = 0
		y = 2
		relative_position_id = GER_ussr_war_goal
		cost = 10
		ai_will_do = {
			factor = 1
		}	

		available_if_capitulated = no
		completion_reward = {

		}
	}

	focus = {
		id = GER_anschluss
		icon = GFX_goal_anschluss
		prerequisite = { focus = GER_rhineland }
		available = {
			is_puppet = no
			has_army_manpower = { size > 549999 }
			NOT = { has_idea = rhineland_challenge_met }
		}
		cancel = {
			OR = {
				is_subject = yes
				has_idea = rhineland_challenge_met
				has_war_with = AUS
			}
		}
		cancel_if_invalid = no
		x = 3
		y = 2
		relative_position_id = GER_rhineland
		cost = 10
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				date < 1938.1.1
			}
		}

		bypass = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = GER_demand_memel
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = GER_anschluss }
		available = { is_puppet = no }
		x = 1
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		bypass = {
			188 = { is_owned_by = GER }
			85 = { is_owned_by = GER }
			86 = { is_owned_by = GER }
		}
		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				date < 1939.1.1
			}
		}	
		completion_reward = {

		}
	}

	focus = {
		id = GER_danzig_or_war
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = GER_demand_memel }
		mutually_exclusive = { focus = GER_danzig_vs_slovakia }
		will_lead_to_war_with = POL
		available = {

		}

		bypass = {
			OR = {
				has_war_with = POL
				is_in_faction_with = POL
				NOT = {
					85 = {
						controller = {
							original_tag = POL 
						}
						owner = {
							original_tag = POL 
						}
					}
				}
			}
		}
		cancel_if_invalid = no
		x = 0
		y = 3
		relative_position_id = GER_demand_memel
		cost = 10
		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				OR = {
					date < 1939.1.1
					any_neighbor_country = {
						has_war_with = GER
						NOT = { has_capitulated = yes }
						strength_ratio = {
							tag = GER
							ratio > 0.6
						}
					}
				}
			}
		}	
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_danzig_or_war }
			if = {
				limit = {
					85 = {
						controller = {
							tag = POL
							has_civil_war = no
						}
					}
				}
				effect_tooltip = {
					transfer_state = 85
					add_state_core = 85
					remove_state_claim = 86
					remove_state_claim = 762
				}
				POL = {
					country_event = { id = germany.86 }
					if = {
						limit = { NOT = { is_in_faction_with = ROOT } }
						custom_effect_tooltip = needs_approval
					}
					if = {
						limit = { 
							is_in_faction_with = ROOT 
							ROOT = { is_faction_leader = yes }
						}
						custom_effect_tooltip = GER_danzig_or_war_POL_faction_GER_leader
					}
					if = {
						limit = {
							is_in_faction_with = ROOT 
							NOT = { ROOT = { is_faction_leader = yes } }
						}
						custom_effect_tooltip = GER_danzig_or_war_POL_faction_GER_noleader
					}
				}
			}
			if = {
				limit = {
					85 = {
						owner = {
							OR = {
								original_tag = POL
								tag = POL
							}
						}
					}
				}
				random_other_country = {
					limit = {
						original_tag = POL
						has_civil_war = yes
						OR = {
							is_in_faction_with = GER
							has_volunteers_amount_from = {
								tag = GER
								count > 0
							}
						}
					}
					country_event = { id = germany.113 days = 1 }
				}
				custom_effect_tooltip = GER_danzig_or_war_POL_civil_war
			}
		}
	}
	
	focus = {
		id = GER_weserubung
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = GER_danzig_or_war }
		mutually_exclusive = { focus = GER_denmark_friend }
		will_lead_to_war_with = DEN 
		will_lead_to_war_with = NOR

		bypass = {
			AND = {
				OR = {
					DEN = { 
						is_in_faction_with = GER 
						NOT = { country_exists = DEN }
					}
				}
			}
		}
		
		available = {
			POL = {
				NOT = { controls_state = 85 }
				NOT = { controls_state = 10 }	
			}
			OR = { 
				has_war_with = ENG
				NOT = {country_exists = ENG}
			}
		}
		
		x = 1
		y = 2
		relative_position_id = GER_danzig_or_war
		cost = 4
		ai_will_do = {
			factor = 10	
			modifier = {
				factor = 0
				date < 1939.1.1
			}
		}	
		completion_reward = {

			if = {
				limit = {
					NOT = { DEN = { is_in_faction_with = GER } }
					country_exists = DEN					
				} 
				create_wargoal = {
					type = take_state_focus
					target = DEN
					generator = { 37 }
				}
			}


			if = {
				limit = {
					NOT = { NOR = { is_in_faction_with = GER } }
					country_exists = NOR					
				} 
				create_wargoal = {
					type = take_state_focus
					target = NOR
					generator = { 110 }
				}
			}
			
			add_tech_bonus = {
				name = tp_bonus
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				technology = transport
				technology = landing_craft
				technology = tank_landing_craft
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.233 }
			}	
		}
	}
	
	focus = {
		id = GER_around_maginot
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = GER_danzig_or_war focus = GER_poland_friend}
		
		available = {
			OR = {
				NOT = { HOL = { is_in_faction_with = GER } }
				NOT = { BEL = { is_in_faction_with = GER } }
				NOT = { LUX = { is_in_faction_with = GER } }
			}
		}

		bypass = {
			HOL = {
				OR = {
					exists = no
					is_in_faction_with = GER
					has_war_with = ROOT
				}
			}
			BEL = {
				OR = {
					exists = no
					is_in_faction_with = GER
					has_war_with = ROOT
				}
			}
			LUX = {
				OR = {
					exists = no
					is_in_faction_with = GER
					has_war_with = ROOT
				}
			}
		}

		historical_ai = {
			date > 1939.1.1
			NOT = {
				any_home_area_neighbor_country = {
					NOT = { tag = FRA }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
		}
		will_lead_to_war_with = BEL
		will_lead_to_war_with = HOL
		will_lead_to_war_with = LUX
		will_lead_to_war_with = FRA
		x = -1
		y = 2
		relative_position_id = GER_danzig_or_war
		cost = 4
		ai_will_do = {
			factor = 10			
			modifier = {
				factor = 0.05
				date < 1939.1.1
			}			
			modifier = {
				factor = 0.2
				any_home_area_neighbor_country = {
					NOT = { tag = FRA }
					has_war_with = ROOT
					surrender_progress < 0.5
				}
			}
		}	
		completion_reward = {
			#limit wargoals to when it makes sense to give them. No faction, war or non exist
			if = { 
				limit = {
					country_exists = BEL
					NOT = { BEL = { is_in_faction_with = GER } }
					NOT = { has_war_with = BEL }
				}
				create_wargoal = {
					type = take_state_focus
					target = BEL
					generator = { 6 }
				}
			}
			if =  {
				limit = {
					country_exists = HOL
					NOT = { HOL = { is_in_faction_with = GER } }
					NOT = { has_war_with = HOL }
				}
				create_wargoal = {
					type = take_state_focus
					target = HOL
					generator = { 7 }
				}
			}
			if = {
				limit = {
					country_exists = LUX
					NOT = { LUX = { is_in_faction_with = GER } }
					NOT = { has_war_with = LUX }
				}
				create_wargoal = {
					type = take_state_focus
					target = LUX
					generator = { 8 }
				}			
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.234 }
			}
		}
	}
	
	focus = {
		id = GER_czech_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_anschluss }
		mutually_exclusive = { focus = GER_demand_sudetenland }
		available = { 
			has_army_manpower = { size > 749999 }
			NOT = { has_war_with = CZE }
			CZE = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
				exists = yes
			}
		}
		bypass = {
			CZE = { is_in_faction_with = GER }
		}
		cancel = {
			OR = {
				NOT = { country_exists = CZE }
				has_war_with = CZE
			}
		}
		cancel_if_invalid = no
		x = -3
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		ai_will_do = {
			factor = 2.5
			modifier = {
				factor = 0
				CZE = {
					has_opinion = {
						target = GER
						value < 0
					}
				}
			}
			modifier = {
				factor = 5
				CZE = {
					has_opinion = {
						target = GER
						value > 20
					}
				}
			}
			modifier = {
				factor = 4
				CZE = {
					has_completed_focus = CZE_german_leanings
				}
			}
			modifier = {
				factor = 4
				CZE = {
					has_completed_focus = CZE_deliver_sudetenland
				}
			}
			modifier = {
				factor = 2
				CZE = {
					has_completed_focus = CZE_go_right
				}
			}
		}		
		completion_reward = {
			CZE = {
				add_opinion_modifier = { target = GER modifier = ger_cze_diplomatic_focus }
				if = {
					limit = {
						GER = {
							has_government = fascism
						}
					}
					add_ideas = fascist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = communism
						}
					}
					add_ideas = communist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = democratic
						}
					}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
			}
			hidden_effect = {
				news_event = { hours = 6 id = news.200 }
			}
		}
	}
	
	focus = {
		id = GER_demand_sudetenland
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = GER_anschluss }
		mutually_exclusive = { focus = GER_czech_friend }
		will_lead_to_war_with = CZE
		will_lead_to_war_with = FRA
		available = {
			is_puppet = no
			has_army_manpower = { size > 749999 } #80 div		
			NOT = {
				AND = {
					CZE = { is_in_faction_with = GER }
					has_war = yes
				}
			}
		}
		bypass = {
			OR = {
				CZE = { is_puppet_of = GER }
				69 = { 
					CONTROLLER = {
						has_war_with = GER
					}
				}
				GER = { controls_state = 69 }
			}
		}
		cancel = {
			is_puppet = yes
		}
		cancel_if_invalid = yes
		x = -1
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			if =  {
				limit = {
					OR = {
						ENG = { exists = no }
						ENG = {
							is_subject = yes
						}
						has_war_with = ENG
						has_war_with = FRA
						AND = {
							CZE = { is_subject = yes }
							OR = {
								CZE = { 
									NOT = {
										is_puppet_of = HUN
									}
								}
								NOT = { has_dlc = "Death or Dishonor" }
							}
						}
						CZE = { has_war_with = ENG }
						CZE = { has_war_with = FRA }
						CZE = { is_in_faction_with = GER }
					}
					CZE = { controls_state = 69 }
				}
				if = {
					limit = {
						CZE = { is_subject = no }
					}
					CZE = {
						country_event = { id = germany.122 }
					}
					else = {
						CZE = {
							OVERLORD = { country_event = { id = germany.122 } }
						}
					}
				}
			}
			if = {
				limit = {
					has_dlc = "Death or Dishonor"
					CZE = { NOT = { is_in_faction_with = GER } } #in case AH is in faction with GER and dragged a subject CZE along.
					OR = {
						69 = { is_owned_by = HUN } #AH restored
						AND = {
							CZE = { is_subject_of = HUN }
							69 = { is_owned_by = CZE }
						}
					}
				}
				HUN = {
					country_event = germany.122
				}
			}
			if = {
				limit = {
					
					ENG = { exists = yes }
					ENG = { is_subject = no }
					NOT = { has_war_with = ENG }
					NOT = { has_war_with = FRA }
					CZE = { is_subject = no }
					CZE = { NOT = { is_in_faction_with = GER } }
					CZE = { NOT = { has_war_with = ENG } }
					CZE = { controls_state = 69 }
					OR = {
						HUN = {
							NOT = {
								has_completed_focus = HUN_protect_czechoslovakia #DOD only
							}
						}
						CZE = {
							has_country_flag = HUN_AH_CZE_refused
						}
					}
				}
				ENG = {
					country_event = germany.40
				}
				add_named_threat = { threat = 3 name = GER_demand_sudetenland_threat }
			}
			69 = {
				add_claim_by = GER
			}
			if = {
				limit = {
					NOT = { CZE = { controls_state = 69 } }
					NOT = {
						69 = { is_controlled_by = HUN }
						HUN = { has_completed_focus = HUN_protect_czechoslovakia }
					}
					69 = {
						controller = {
							NOT = { is_in_faction_with = GER }
						}
					}
				}
				add_named_threat = { threat = 3 name = GER_demand_sudetenland_threat }
				69 = {
					controller = {
						GER = {
							create_wargoal = {
								type = take_state_focus
								target = PREV
								generator = { 69 }
							}
						}
					}
				}
			}
		}
	}

	focus = {
		id = GER_first_vienna_award
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_demand_sudetenland }
		bypass = {
			OR = {
				AND = {
					NOT = { CZE = { controls_state = 664 } }
					NOT = { owns_state = 664 }
				}
				HUN = { is_friend_or_potential_friend_of_GER = no }
				CZE = { is_puppet_of = GER }
				CZE = { is_in_faction_with = GER }
			}
		}
		available = {
			is_puppet = no
			owns_state = 69
		}
		x = 0
		y = 1
		relative_position_id = GER_demand_sudetenland
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			HUN = {
				country_event = { id = germany.51 }
				add_opinion_modifier = { target = GER modifier = GER_first_vienna_award_GER }
			}
			every_other_country = {
				limit = {
					is_faction_leader = yes
				}
				reverse_add_opinion_modifier = { target = HUN modifier = GER_first_vienna_award_other }
			}
		}
	}

	focus = {
		id = GER_end_of_czechoslovakia
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = GER_first_vienna_award }
		available = { 
			is_puppet = no
			has_army_manpower = { size > 749999 }
			NOT = { has_war_with = CZE }
		}

		bypass = {
			OR = {
				CZE = { is_puppet_of = GER }
				CZE = { is_in_faction_with = GER }
				has_war_with = CZE
				NOT = { country_exists = CZE }
				any_other_country = {
					is_in_faction_with = GER
					CZE = {
						is_puppet_of = PREV
					}
				}
			}
		}

		x = 0
		y = 1
		relative_position_id = GER_first_vienna_award
		cost = 10
		ai_will_do = {
			factor = 10
		}


		completion_reward = {
			if = {
				limit = { 
					country_exists = CZE 
					CZE = {
						NOT = {
							is_subject_of = HUN
						}
					}
				}
				set_global_flag = end_of_czechoslovakia
				CZE = { country_event = germany.53 }
			}
			if = {
				limit = { 
					OR = {
						CZE = {
							is_subject_of = HUN
						}
						HUN = {
							owns_state = 9#Prague - AH annexed CZE
						}
					}
				}
				add_state_claim = 9
				add_state_claim = 75
			}
			if = {
				limit = { NOT = { country_exists = CZE } }
				country_event = { id = germany.55 hours = 6 }
			}
			add_named_threat = { threat = 5 name = GER_end_of_czechoslovakia }
			custom_effect_tooltip = end_of_czechoslovakia_mefo_bills_tt
		}
	}

	focus = {
		id = GER_second_vienna_award
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = GER_czech_friend focus = GER_end_of_czechoslovakia }
		x = 0
		y = 3
		relative_position_id = GER_czech_friend
		cost = 10
		ai_will_do = {
			factor = 10
		}
		available = {
			is_puppet = no
			has_army_manpower = { size > 749999 }
			has_capitulated = no
		}
		bypass = {
			OR = {
				AND = {
					OR = {
						HUN = {
							NOT = { has_government = fascism }
							is_friend_or_potential_friend_of_GER = no
						}
						ROM = {
							OR = {
								AND = {
									NOT = { controls_state = 76 }
									NOT = { controls_state = 83 }
									NOT = { controls_state = 84 }
								}
								has_war_with = HUN
								AND = {
									is_in_faction_with = GER
									HUN = { NOT = { is_in_faction_with = GER } }#GER should not want to give territory to Hungary if Romania joined the axis early.
								}
							}
						}
					}
					OR = {
						BUL = { is_friend_or_potential_friend_of_GER = no }
						ROM = {
							OR = {
								NOT = { controls_state = 77 }
								has_war_with = BUL					
							}
						}					
					}
				}
				HUN = { exists = no } 
				ROM = { exists = no	}
				HUN = { has_capitulated = yes }
				ROM = { has_capitulated = yes }
				HUN = { is_subject_of = ROM } #just rude
			}
		}
		completion_reward = {
			if = {
				limit = {
					HUN = {
						is_friend_or_potential_friend_of_GER = yes
					}
					ROM = {
						controls_state = 76
						NOT = { has_war_with = HUN }
					}
				}
				country_event = { id = germany.20 }
			}
		}
	}

	focus = {
		id = GER_italy_ally
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_second_vienna_award }
		available = {
			NOT = { has_war_with = ITA }
		}

		bypass = {
			
			OR = {
				is_in_faction_with = ITA
				has_war_with = ITA
				NOT = { country_exists = ITA }
			}
		}

		x = 0
		y = 1
		relative_position_id = GER_second_vienna_award
		cost = 10
		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			ITA = {
				add_opinion_modifier = { target = GER modifier = ger_ita_alliance_focus }
			}
		}
	}
	
	focus = {
		id = GER_nationalist_spain_ally
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_italy_ally }
		available = {
			SPR = { has_civil_war = no }
			any_other_country = {
				original_tag = SPR
				has_government = fascism
				NOT = { has_war_with = GER }
				NOT = { is_in_faction_with = GER }
			}
			FRA = {
				OR = {
					exists = no
					has_capitulated = yes
					has_government = fascism
				}
			}
		}
		
		#bypass = {
		#	any_other_country = {
		#		original_tag = SPR
		#		has_government = fascism
		#		is_in_faction_with = GER
		#	}
		#}
		x = 0
		y = 1
		relative_position_id = GER_italy_ally
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			if = {
				limit = {
					OR = { 
						SPR = { NOT = { has_government = fascism } }
						NOT = { country_exists = SPR }
					}
				}
				custom_effect_tooltip = GER_nationalist_spain_ally_tt
			}
			random_other_country = {
				limit = {
					original_tag = SPR
					has_government = fascism
				}
				remove_ideas = SPA_recovering_from_civil_war
				add_opinion_modifier = { target = GER modifier = ger_spa_alliance_focus }
			}
		}
	}



	focus = {
		id = GER_danzig_vs_slovakia
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = GER_end_of_czechoslovakia }
		mutually_exclusive = { focus = GER_danzig_or_war }
		available = {
			is_puppet = no
			OR = {
				SLO = {
					exists = yes
					is_in_faction_with = GER
				}
				owns_state = 70
			}
			NOT = { owns_state = 85 }
			NOT = { has_war_with = POL }
			POL = { owns_state = 72 }
		}


		x = 0
		y = 1
		relative_position_id = GER_end_of_czechoslovakia
		cost = 10
		ai_will_do = {
			factor = 0
		}	
		completion_reward = {
			POL = {
				country_event = { id = germany.80 days = 1 }
			}
		}
	}

	focus = {
		id = GER_poland_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_danzig_vs_slovakia }
		available = {
			NOT = { has_global_flag = sov_yes_pact }
			NOT = { has_war_with = POL }
			POL = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			is_in_faction_with = POL
			is_alone_or_in_faction_at_peace_with_GER = no
		}
		x = 0
		y = 1
		relative_position_id = GER_danzig_vs_slovakia
		cost = 10
		ai_will_do = {
			factor = 0
		}	
		completion_reward = {
			POL = {
				add_opinion_modifier = { target = GER modifier = ger_pol_diplomacy_focus }
				if = {
					limit = {
						GER = {
							has_government = fascism
						}
					}
					add_ideas = fascist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = communism
						}
					}
					add_ideas = communist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = democratic
						}
					}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
			}
		}
	}

	focus = {
		id = GER_war_with_france
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = GER_around_maginot focus = GER_weserubung }
		available = {
			is_puppet = no			
			NOT = { is_in_faction_with = FRA }
		}
		x = 1
		y = 1
		relative_position_id = GER_around_maginot
		cost = 10
		bypass = {
			OR = {
				NOT = { country_exists = FRA }
				has_war_with = FRA
			}
		}
		historical_ai = {
			date > 1939.1.1
			NOT = {
				any_neighbor_country = {
					has_war_with = ROOT
				}		
			}
		}
		ai_will_do = {
			factor = 10			
			modifier = {
				factor = 0.05
				date < 1939.1.1
			}
		}	
		completion_reward = {
			add_named_threat = { threat = 5 name = GER_war_with_france_threat }
 			create_wargoal = {
 				type = take_state_focus
 				target = FRA
 				generator = { 28 }
 			}
		}
	}	

	focus = {
		id = GER_operation_tannenbaum
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = GER_war_with_france }
		available = {
			is_puppet = no
			NOT = { is_in_faction_with = SWI }
		}
		bypass = {
			NOT = { country_exists = SWI }
			has_war_with = SWI
		}
		cancel_if_invalid = yes
		will_lead_to_war_with = SWI
		x = 0
		y = 1
		relative_position_id = GER_war_with_france
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = SWI
			}
		}
	}

	focus = {
		id = GER_reintegrate_luxemburg_and_alsace_lorraine
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = GER_war_with_france }
		available = {
			is_puppet = no
			has_full_control_of_state = 8
			has_full_control_of_state = 28
			OR = {
				FRA = { has_capitulated = yes }
				FRA = { is_subject_of = GER }
				NOT = {
					any_country = {
						original_tag = FRA
						exists = yes
					}
				}
				owns_state = 28
			}
			OR = {
				LUX = { has_capitulated = yes }
				NOT = {
					any_country = {
						original_tag = LUX
						exists = yes
					}
				}
			}
		}
		bypass = {
		}
		cancel_if_invalid = yes
		x = -2
		y = 1
		relative_position_id = GER_war_with_france
		cost = 10
		ai_will_do = {
			factor = 10
		}
		
		completion_reward = {
			add_state_core = 8
			add_state_core = 28
			if = {
				limit = {
					NOT = { owns_state = 28 }
				}
				transfer_state = 28
			}
			28 = { set_state_name = "Elsass-Lothringen" }
			set_province_name = { id = 9503 name = "Strassburg" }
			set_province_name = { id = 678 name = "Mulhausen" }
			FRA = {
				country_event = { id = wtt_germany.63 }
			}
			LUX = {
				country_event = { id = wtt_germany.64 }
			}
		}
	}

	
	focus = {
		id = GER_naval_rearmament
		icon = GFX_goal_generic_build_navy
		x = 35
		y = 1
		cost = 5
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		bypass = {
			custom_trigger_tooltip =  {
				tooltip = naval_effort_tt
				NOT = {
					any_owned_state = {
						free_building_slots = {
							building = dockyard
							size > 1
							include_locked = yes
						}
					}
				}
			}
		}

		complete_tooltip = {
			every_state = {
				limit = {	has_state_flag = GER_naval_rearmament_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			every_state = {
				limit = {	has_state_flag = GER_naval_rearmament_1dockyard }
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_naval_rearmament_2dockyards
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
				set_state_flag = GER_naval_rearmament_1dockyard
			}
		}
	}
	
	focus = {
		id = GER_naval_effort
		text = naval_effort
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = GER_naval_rearmament }
		x = 0
		y = 3
		relative_position_id = GER_naval_rearmament
		cost = 5
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		complete_tooltip = {
			navy_experience = 25
			every_state = {
				limit = { has_state_flag = GER_naval_effort_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = dd_bonus
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = cr_bonus
				bonus = 0.5
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}

		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_naval_effort_2dockyards
			}
			add_tech_bonus = {
				name = dd_bonus
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
			add_tech_bonus = {
				name = cr_bonus
				bonus = 0.5
				uses = 1
				category = cl_tech
				category = ca_tech
			}
		}
	}

	focus = {
		id = GER_naval_effort2
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = GER_naval_effort }
		x = 0
		y = 1
		relative_position_id = GER_naval_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = GER_naval_effort_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					NOT = { has_state_flag = GER_naval_effort2_2dockyards }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_naval_effort2_2dockyards
			}
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
					NOT = { has_state_flag = GER_naval_effort2_2dockyards }
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_naval_effort2_2dockyards
			}
		}
	}

	focus = {
		id = GER_plan_z
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_u_boat_effort focus = GER_rebuild_the_high_seas_fleet focus = GER_accept_british_naval_dominance }
		x = -1
		y = 3
		relative_position_id = GER_naval_effort
		cost = 10
		ai_will_do = {
			factor = 0.25
		}	

		available_if_capitulated = yes

		complete_tooltip = {
			navy_experience = 50
			every_state = {
				limit = { has_state_flag = GER_plan_z_dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = bc_bonus
				bonus = 0.5
				uses = 1
				category = bc_tech
			}
			add_tech_bonus = {
				name = bb_bonus
				bonus = 0.5
				uses = 1
				category = bb_tech
				category = shbb_tech
			}
			add_tech_bonus = {
				name = cv_bonus
				bonus = 0.5
				uses = 1
				category = cv_tech
			}
		}

		completion_reward = {
			navy_experience = 50
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_plan_z_dockyards
			}
			add_tech_bonus = {
				name = bc_bonus
				bonus = 0.5
				uses = 1
				category = bc_tech
			}
			add_tech_bonus = {
				name = bb_bonus
				bonus = 0.5
				uses = 1
				category = bb_tech
				category = shbb_tech
			}
			add_tech_bonus = {
				name = cv_bonus
				bonus = 0.5
				uses = 1
				category = cv_tech
			}
		}
	}

	focus = {
		id = GER_u_boat_effort
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = GER_naval_effort }
		mutually_exclusive = { focus = GER_plan_z focus = GER_rebuild_the_high_seas_fleet focus = GER_accept_british_naval_dominance }
		x = 1
		y = 3
		relative_position_id = GER_naval_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		complete_tooltip = {
			navy_experience = 25
			every_state = {
				limit = { has_state_flag = GER_u_boat_effort_2dockyards }
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = GER_u_boat_effort
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
		}
		
		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				limit = {
					dockyard > 0
					free_building_slots = {
						building = dockyard
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}
				set_state_flag = GER_u_boat_effort_2dockyards
			}
			add_tech_bonus = {
				name = GER_u_boat_effort
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
		}
	}

	focus = {
		id = GER_trade_interdiction
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = GER_u_boat_effort }
		x = 0
		y = 1
		relative_position_id = GER_u_boat_effort
		cost = 10
		ai_will_do = {
			factor = 1
		}
			
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = ti_bonus
				name = GER_trade_interdiction
				bonus = 0.5
				uses = 2
				category = trade_interdiction_tree
			}
		}
	}

	focus = {
		id = GER_modular_construction
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = GER_trade_interdiction }
		x = 0
		y = 1
		relative_position_id = GER_trade_interdiction
		cost = 10
		ai_will_do = {
			factor = 1
		}
			
		available_if_capitulated = yes

		completion_reward = {
			add_ideas = GER_modular_construction
		}
	}

	focus = {
		id = GER_denmark_friend
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = GER_plan_z }
		mutually_exclusive = { focus = GER_weserubung }

		available = {
			has_government = fascism
			country_exists = DEN
			NOT = {
				has_war_with = DEN
			}
			DEN = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				is_in_faction_with = DEN
			}
		}
		x = -2
		y = 1
		relative_position_id = GER_plan_z
		cost = 10
		ai_will_do = {
			factor = 1
		}	

	}

	focus = {
		id = GER_norway_friend
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = GER_denmark_friend }
		available = {
			has_government = fascism
			NOT = { has_war_with = NOR }
			NOR = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				is_in_faction_with = NOR
				NOT = { country_exists = NOR }
			}
		}
		x = -1
		y = 1
		relative_position_id = GER_denmark_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			NOR = {
				add_opinion_modifier = { target = GER modifier = ger_naval_intimidation_focus }
				if = {
					limit = {
						GER = {
							has_government = fascism
						}
					}
					add_ideas = fascist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = communism
						}
					}
					add_ideas = communist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = democratic
						}
					}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
			}
			
			add_tech_bonus = {
				name = tp_bonus
				bonus = 0.5
				uses = 2
				technology = transport
				technology = landing_craft
				technology = tank_landing_craft
			}			
		}
	}

	focus = {
		id = GER_dutch_friend
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = GER_denmark_friend }
		available = {
			has_government = fascism
			NOT = { has_war_with = HOL }
			HOL = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				HOL = { is_in_faction_with = GER }
				NOT = { country_exists = HOL }
			}
		}
		x = 1
		y = 1
		relative_position_id = GER_denmark_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	

	}

	focus = {
		id = GER_sweden_friend
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = GER_norway_friend }
		available = {
			has_government = fascism
			NOT = { has_war_with = SWE }
			SWE = {
				custom_trigger_tooltip = {
					tooltip = GER_alone_or_peace_faction_tt
					is_alone_or_in_faction_at_peace_with_GER = yes
				}
			}
		}
		bypass = {
			OR = {
				SWE = { is_in_faction_with = GER }
				NOT = { country_exists = SWE }
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_norway_friend
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			SWE = {
				add_opinion_modifier = { target = GER modifier = ger_naval_intimidation_focus }
				if = {
					limit = {
						GER = {
							has_government = fascism
						}
					}
					add_ideas = fascist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = communism
						}
					}
					add_ideas = communist_influence
				}
				if = {
					limit = {
						GER = {
							has_government = democratic
						}
					}
					add_ideas = democratic_influence
				}
				country_event = { id = generic.1 }
				if = {
					limit = { has_idea = neutrality_idea }
					remove_ideas = neutrality_idea
				}
			}
		}
	}

	focus = {
		id = GER_improve_national_spirit
		prerequisite = { focus = GER_anschluss }
		icon = GFX_goal_support_fascism
		available = {
			custom_trigger_tooltip = {
				tooltip = GER_improve_national_spirit_tooltip
				OR = {
					GER = { controls_state = 126 }
					any_other_country = {
						is_in_faction_with = GER
						controls_state = 126
					}
				}
				OR = {
					GER = { controls_state = 16 }
					any_other_country = {
						is_in_faction_with = GER
						controls_state = 16
					}
				}
			}
		}
		cancel = {
			AND = {
				has_war = no
				126 = {
					owner = {
						NOT = { tag = GER }
						NOT = { is_in_faction_with = GER }
					}
				}
				16 = {
					owner = {
						NOT = { tag = GER }
						NOT = { is_in_faction_with = GER }
					}
				}
			}
		}
		cancel_if_invalid = no
		x = 5
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			remove_ideas = sour_loser
			add_ideas = triumphant_will
		}
	}

	############################################
	############## BALKAN BRANCH ###############
	############################################

	focus = {
		id = GER_demand_slovenia
		prerequisite = { focus = GER_anschluss }
		icon = GFX_goal_generic_political_pressure
		available = {
			NOT = { has_war_with = YUG }
			NOT = { is_in_faction_with = YUG }
			is_puppet = no
			controls_state = 4
			controls_state = 152
			has_army_manpower = { size > 749999 } #ca 80 div
			YUG = { owns_state = 102 }
			NOT = { YUG = { is_puppet_of = GER } }
		}
		bypass = {
			GER = { owns_state = 102 }
		}
		cancel = {
			OR = {
				is_in_faction_with = YUG
				has_war_with = YUG
				YUG = { is_puppet_of = GER }
				NOT = { controls_state = 4 }
				NOT = { controls_state = 152 }
				NOT = { YUG = { owns_state = 102 } }
			}
		}
		cancel_if_invalid = no
		x = 3
		y = 1
		relative_position_id = GER_anschluss
		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			add_named_threat = { threat = 2 name = GER_demand_slovenia_threat }
			YUG = { add_opinion_modifier = { target = GER modifier = GER_demand_slovenia_YUG } }
			if = {
				limit = {
					NOT = { has_war_with = ENG }
					YUG = { 
						is_puppet = no
						NOT = { has_war_with = ENG }
					}
				}
				ENG = {
					country_event = { id = britain.14 }
				}
			}
			if = {
				limit = {
					OR = {
						YUG = { is_puppet = yes }
						YUG = { has_war_with = ENG }
						has_war_with = ENG
					}
				}
				create_wargoal = {
					type = annex_everything
					target = YUG
				}
			}
		}
	}

	focus = {
		id = GER_first_ljubljana_award
		prerequisite = { focus = GER_demand_slovenia }
		icon = GFX_goal_generic_military_deal
		available = {
			is_puppet = no
			NOT = { is_in_faction_with = YUG }
			OR = {
				AND = {
					country_exists = YUG
					NOT = { has_war_with = YUG }
					owns_state = 102
				}
				AND = {
					NOT = { country_exists = YUG }
					owns_state = 102
					owns_state = 45
					owns_state = 106
					owns_state = 103
					owns_state = 105
				}
			}
			OR = {
				YUG = {
					is_puppet = no
				}
				YUG = {
					is_puppet_of = GER
				}
			}
		}

		bypass = {
			OR = {	
				is_in_faction_with = YUG
				NOT = { country_exists = YUG }
				NOT = {
					OR = {
						YUG = {
							owns_state = 45
						}
						YUG = {
							owns_state = 106
						}
					}
				}
				AND = {
					HUN = { is_friend_or_potential_friend_of_GER = no }
					BUL = { is_friend_or_potential_friend_of_GER = no }
					ITA = { is_friend_or_potential_friend_of_GER = no }
				}
			}
		}

		x = 0
		y = 1
		relative_position_id = GER_demand_slovenia
		cost = 10
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					HUN = {
						is_friend_or_potential_friend_of_GER = yes
						NOT = { is_in_faction_with = YUG }
					}
				}
				hidden_effect = {
					if = {
						limit = { 
							OR = {
								45 = { is_owned_by = YUG }
								45 = { is_owned_by = GER }
							}
						}
						HUN = {
							country_event = { id = hungary.6 days = 1 }
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							set_country_flag = GER_first_ljubljana_award
						}
					}
				}
				effect_tooltip = {
					if = {
						limit = {
								OR = {
									45 = { is_owned_by = YUG }
									45 = { is_owned_by = GER }
								}
						}
						HUN = {
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							transfer_state = 45
						}
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = HUN modifier = GER_first_ljubljana_award_other }
				}				
			}
			if = {
				limit = {
					BUL = {
						is_friend_or_potential_friend_of_GER = yes
						NOT = { is_in_faction_with = YUG }
					}
				}
				hidden_effect = {
					if = {
						limit = {
							OR = {
								106 = { is_owned_by = YUG }
								106 = { is_owned_by = GER }
							}
						}
						BUL = { 
							country_event = { id = bulgaria.3 days = 1 } 
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							set_country_flag = GER_first_ljubljana_award
						}
					}
				}
				effect_tooltip = {
					if = {
						limit = {
							OR = {
								106 = { is_owned_by = YUG }
								106 = { is_owned_by = GER }
							}
						}
						BUL = {
							add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
							transfer_state = 106
						}
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = BUL modifier = GER_first_ljubljana_award_other }
				}				
			}
			if = {
				limit = {
					ITA = {
						OR = {
							has_completed_focus = ITA_slovenia_dalmatia_claims
							owns_state = 44
						}
						is_friend_or_potential_friend_of_GER = yes
						NOT = { is_in_faction_with = YUG }
					}
				}
				hidden_effect = {
					ITA = { country_event = { id = italy.13 days = 1 } 
						add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
					}
					set_country_flag = GER_first_ljubljana_award
				}
				effect_tooltip = {
					ITA = {
						add_opinion_modifier = { target = GER modifier = GER_first_ljubljana_award_GER }
						if = {
							limit = { has_completed_focus = ITA_slovenia_dalmatia_claims }
							transfer_state = 103
						}
						if = {
							limit = { owns_state = 44 }
							transfer_state = 105
						}	
					}
				}
				every_other_country = {
					limit = { 
						is_faction_leader = yes
						NOT = { tag = GER }
					}
					reverse_add_opinion_modifier = { target = ITA modifier = GER_first_ljubljana_award_other }
				}				
			}
			#hidden_effect = {
			#	news_event = { hours = 6 id = news.208 }
			#}
		}
	}

	focus = {
		id = GER_fate_of_yugoslavia
		prerequisite = { focus = GER_first_ljubljana_award }
		icon = GFX_goal_generic_territory_or_war
		available = {
			is_puppet = no
			NOT = { has_war_with = YUG }
			NOT = { is_in_faction_with = YUG }
		}
		bypass = {
			OR = {
				NOT = { country_exists = YUG }
				any_other_country = {
					is_in_faction_with = ROOT
					YUG = {
						is_puppet_of = PREV
					}
				}
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_first_ljubljana_award
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			country_event = { id = germany.98 }
			custom_effect_tooltip = yugoslavia_mefo_bills_tt
		}
	}

	focus = {
		id = GER_second_ljubljana_award
		mutually_exclusive = { focus = GER_war_with_greece } 
		prerequisite = { focus = GER_fate_of_yugoslavia }
		icon = GFX_goal_generic_forceful_treaty
		available = {
			is_puppet = no
			GRE = { 
				has_war = no 
				owns_state = 731
				owns_state = 186
				owns_state = 185
				owns_state = 47 
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_fate_of_yugoslavia
		cost = 10
		ai_will_do = {
			factor = 10
		}

		#bypass = {
		#	OR = {
		#		GRE = {
		#			NOT = { owns_state = 731 }
		#			NOT = { owns_state = 186 }
		#			NOT = { owns_state = 185 }
		#			NOT = { owns_state = 47 }
		#		}
		#		AND = {
		#			OR = {
		#				NOT = { country_exists = ITA }
		#				ITA = { has_war_with = GRE }
		#				NOT = { has_completed_focus = ITA_greece_war_goal }
		#				AND = {
		#					ITA = {
		#						NOT = { is_in_faction_with = GER }
		#						is_in_faction = yes
		#					}
		#				}
		#			}
		#			OR = {
		#				NOT = { country_exists = BUL }
		#				BUL = { has_war_with = GRE }
		#				AND = {
		#					BUL = {
		#						NOT = { is_in_faction_with = GER }
		#						is_in_faction = yes
		#					}
		#				}
		#			}
		#			AND = {
		#				731 = {
		#					OR = {
		#						NOT = { any_neighbor_state = { is_owned_by = GER } }
		#						NOT = { is_owned_by = GRE }
		#					}
		#				}
		#				47 = {
		#					OR = {
		#						NOT = { any_neighbor_state = { is_owned_by = GER } }
		#						NOT = { is_owned_by = GRE }
		#					}
		#				}
		#				185 = {
		#					OR = {
		#						NOT = { any_neighbor_state = { is_owned_by = GER } }
		#						NOT = { is_owned_by = GRE }
		#					}
		#				}
		#			}
		#		}
		#	}
		#}

		completion_reward = {
			add_named_threat = { threat = 2 name = GER_second_ljubljana_award }
			if = {
				limit = {
					GRE = {
						OR = {
							owns_state = 185
							owns_state = 186
							owns_state = 47
						} 
					}
					ITA = {
						NOT = { has_war_with = GRE }
						country_exists = ITA
						has_completed_focus = ITA_greece_war_goal
						OR = {
							is_in_faction_with = GER
							is_in_faction = no							
						}
					}
				}
				set_global_flag = GER_second_ljubljana_award_ITA_event
				country_event = { id = germany.99 }
			}
			if = {
				limit = {
					GRE = { owns_state = 184 }
					BUL = {
						NOT = { has_war_with = GRE }
						country_exists = BUL
						OR = {
							is_in_faction_with = GER
							is_in_faction = no							
						}
					}
				}
				set_global_flag = GER_second_ljubljana_award_BUL_event
				country_event = { id = germany.100 }
			}
			if = {
				limit = {
					any_neighbor_country = {
						tag = GRE
					}
					OR = {
						NOT = { country_exists = ITA }
						AND = {
							ITA = {
								NOT = { is_in_faction_with = GER }
								is_in_faction = yes
							}
						}
					}
					OR = {
						NOT = { country_exists = BUL }
						AND = {
							BUL = {
								NOT = { is_in_faction_with = GER }
								is_in_faction = yes
							}
						}
					}
				}
				set_global_flag = GER_second_ljubljana_award_GER_event
				country_event = { id = germany.101 }
			}
			custom_effect_tooltip = GER_second_ljubljana_award_tt
		}
	}

	focus = {
		id = GER_war_with_greece
		prerequisite = { focus = GER_fate_of_yugoslavia }
		icon = GFX_goal_generic_occupy_states_ongoing_war
		available = {

		}
		x = 2
		y = 1
		relative_position_id = GER_fate_of_yugoslavia
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {

		}
	}

	focus = {
		id = GER_fate_of_greece
		prerequisite = { focus = GER_second_ljubljana_award }
		icon = GFX_goal_demand_sudetenland
		available = {
			country_exists = GRE
			NOT = { has_war_with = GRE }
			GRE = {
				is_puppet = no
			}
		}
		x = 0
		y = 1
		relative_position_id = GER_second_ljubljana_award
		cost = 10
		ai_will_do = {
			factor = 10
		}	
		completion_reward = {
			GRE = { country_event = { id = greece.3 hours = 6 } }
		}
	}

	focus = {
		id = POL_central_region_strategy
		icon = GFX_goal_generic_construction
		x = 1
		y = 0
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_central_region_strategy
				bonus = 0.5
				uses = 1
				category = industry
			}
		}
	}	

	focus = {
		id = POL_expansion_of_new_towns
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = POL_central_region_strategy }
		x = 0
		y = 1
		relative_position_id = POL_central_region_strategy
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_expansion_of_new_towns_1 }
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			#	Adds a civilian Factory (Warsaw)
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {									
					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
				}
				set_state_flag = POL_expansion_of_new_towns_1
			}
		}
	}

	focus = {
		id = POL_fill_the_railways_gaps
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = POL_expansion_of_new_towns }
		x = 1
		y = 1
		relative_position_id = POL_expansion_of_new_towns
		cost = 10

		ai_will_do = {
			factor = 10
		}

		bypass = {
			custom_trigger_tooltip = {
				tooltip = infrastructure_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = infrastructure
						size < 1
					}
				}
			}
		}

		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_fill_the_railways_gaps_1 }
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}
			random_state = {
				limit = { has_state_flag = POL_fill_the_railways_gaps_2 }
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}	
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = POL_fill_the_railways_gaps_1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 0
					}
					OR = {
						is_in_home_area = yes
						NOT = {
							owner = {
								any_owned_state = {
									free_building_slots = {
										building = infrastructure
										size > 0
									}
									is_in_home_area = yes
								}
							}
						}
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				set_state_flag = POL_fill_the_railways_gaps_2
			}
		}
	}	

	focus = {
		id = POL_start_central_industrial_region
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = POL_expansion_of_new_towns }
		x = -1
		y = 1
		relative_position_id = POL_expansion_of_new_towns
		cost = 10

		ai_will_do = {
			factor = 10
		}
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_start_central_industrial_region_1 }
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 92 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = POL_start_central_industrial_region_1
			}			
		}

	}
	
	focus = {
		id = POL_expand_central_industrial_region
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = POL_start_central_industrial_region }
		prerequisite = { focus = POL_fill_the_railways_gaps }
		x = 1
		y = 1
		relative_position_id = POL_start_central_industrial_region
		cost = 10

		ai_will_do = {
			factor = 10
		}
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_start_central_industrial_region_1 }
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 92 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = POL_start_central_industrial_region_1
			}
		}
	}

	focus = {
		id = POL_the_four_year_plan
		icon = GFX_goal_generic_construct_civilian
		x = 5
		y = 0
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_tech_bonus = {
				name = POL_the_four_year_plan
				bonus = 0.5
				uses = 1
				category = construction_tech
			}
		}
	}
	
	focus = {
		id = POL_national_defence_fund
		icon = GFX_goal_generic_defence
		prerequisite = { focus = POL_the_four_year_plan }
		x = -1
		y = 1
		relative_position_id = POL_the_four_year_plan
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes
		
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_national_defence_fund_1 }
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					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
				}
				set_state_flag = POL_national_defence_fund_1
			}
		}
	}

	focus = {
		id = POL_warsaw_main_railway_station
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = POL_the_four_year_plan }
		x = 1
		y = 1
		relative_position_id = POL_the_four_year_plan
		cost = 10

		ai_will_do = {
			factor = 10
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_warsaw_main_railway_station_1 }
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = POL_warsaw_main_railway_station_1
			}
		}
			#	Increase Infrastructure in Warsaw
	}

	focus = {
		id = POL_invest_in_the_old_polish_region
		icon = GFX_goal_generic_production
		prerequisite = { focus = POL_warsaw_main_railway_station }
		prerequisite = { focus = POL_national_defence_fund }
		x = -1
		y = 1
		relative_position_id = POL_warsaw_main_railway_station
		cost = 10

		ai_will_do = {
			factor = 10
		}
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_invest_in_the_old_polish_region_1 }
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = POL_invest_in_the_old_polish_region_1
			}
		}
	}

	focus = {
		id = POL_develop_upper_silesia
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = POL_invest_in_the_old_polish_region }
		x = 1
		y = 1
		relative_position_id = POL_invest_in_the_old_polish_region
		cost = 10

		ai_will_do = {
			factor = 10
		}

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_develop_upper_silesia_1 }
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 88 }
				limit = {
					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
				}
				set_state_flag = POL_develop_upper_silesia_1
			}
		}		
	}		

	focus = {
		id = POL_additional_research_slot1
		icon = GFX_focus_research
		prerequisite = { focus = POL_invest_in_the_old_polish_region }
		x = -1
		y = 1
		relative_position_id = POL_invest_in_the_old_polish_region
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
		}
	}


	focus = {
		id = POL_the_bombe
		icon = GFX_goal_generic_radar
		prerequisite = { focus = POL_additional_research_slot1 }
		x = 0
		y = 1
		relative_position_id = POL_additional_research_slot1
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_the_bombe
				bonus = 0.5
				uses = 1
				category = computing_tech
			}		
		}
	}

	focus = {
		id = POL_the_cyclometer
		icon = GFX_goal_generic_production2
		prerequisite = { focus = POL_expand_central_industrial_region focus = POL_additional_research_slot1 }
		x = 1
		y = 1
		relative_position_id = POL_expand_central_industrial_region
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_the_cyclometer
				bonus = 0.5
				uses = 1
				category = encryption_tech
				category = decryption_tech
			}
		}
	}

	focus = {
		id = POL_atomic_physics_institute
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = POL_the_cyclometer }
		x = 0
		y = 1
		relative_position_id = POL_the_cyclometer
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_atomic_physics_institute
				bonus = 0.5
				uses = 1
				category = nuclear
			}
		}
	}		

	focus = {
		id = POL_additional_research_slot2
		icon = GFX_focus_research
		prerequisite = { focus = POL_atomic_physics_institute }
	
		available = {
			num_of_factories > 50
		}
		
		available_if_capitulated = yes

		x = 0
		y = 1
		relative_position_id = POL_atomic_physics_institute
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_research_slot = 1
		}
	}

	############################
	####### ARMY SECTION #######
	############################


	focus = {
		id = POL_prepare_for_the_next_war
		icon = GFX_goal_generic_build_tank
		
		x = 10
		y = 0
		cost = 10

		ai_will_do = {
			factor = 5
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_prepare_for_the_next_war
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
			#1x 50% cost reduction for one land doctrine research
		}
	}

	focus = {
		id = POL_the_defence_of_poland
		icon = GFX_goal_generic_defence
		prerequisite = { focus = POL_prepare_for_the_next_war }
		
		x = 1
		y = 1
		relative_position_id = POL_prepare_for_the_next_war
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_the_defence_of_poland
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
			#1x 50% reduction in land doctrine research
		}
	}

	focus = {
		id = POL_romanian_bridgehead_strategy
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = POL_the_defence_of_poland }
		
		x = 0
		y = 1
		relative_position_id = POL_the_defence_of_poland
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_romanian_bridgehead_strategy
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
			#1x 50% reduction in land doctrine research
		}
	}

	focus = {
		id = POL_silesia_fortified_area
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = POL_romanian_bridgehead_strategy }

		bypass = {
			88 = { NOT = { is_owned_by = ROOT } }
			88 = { NOT = { is_controlled_by = ROOT } }
		}
		
		x = 1
		y = 1
		relative_position_id = POL_romanian_bridgehead_strategy
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			88 = {
				add_building_construction = {
					type = bunker
					province = 9427
					level = 3
					instant_build = yes
				}
			}
			#Adds three Land Forts to Krakow province
		}
	}
	
	focus = {
		id = POL_hel_fortified_area
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = POL_romanian_bridgehead_strategy }
		
		bypass = {
			85 = { NOT = { is_owned_by = ROOT } }
			85 = { NOT = { is_controlled_by = ROOT } }
		}

		x = -1
		y = 1
		relative_position_id = POL_romanian_bridgehead_strategy
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			85 = {

				add_building_construction = {
					type = coastal_bunker
					province = 362
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = 9263
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					province = 9263
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					province = 334
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					province = 279
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					province = 362
					level = 1
					instant_build = yes
				}
			}
			#Adds two Coast Forts and two Land Forts to Danzig province
		}
	}

	focus = {
		id = POL_standardisation_of_equipment
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = POL_prepare_for_the_next_war }
		
		x = -1
		y = 1
		relative_position_id = POL_prepare_for_the_next_war
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_standardisation_of_equipment
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
			#1x 50% for Infantry Equipment
		}
	}

	focus = {
		id = POL_modernising_the_cavalry
		icon = GFX_goal_generic_cavalry
		prerequisite = { focus = POL_standardisation_of_equipment }
		
		x = -1
		y = 1
		relative_position_id = POL_standardisation_of_equipment
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_modernising_the_cavalry
				bonus = 0.75
				uses = 1
				category = motorized_equipment
			}
			#75% research bonus for Motorised
		}
	}

	focus = {
		id = POL_study_foreign_tanks
		icon = GFX_goal_generic_production
		prerequisite = { focus = POL_modernising_the_cavalry }
		
		x = 0
		y = 1
		relative_position_id = POL_modernising_the_cavalry
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_study_foreign_tanks
				bonus = 0.5
				uses = 1
				category = armor
			}
			#50% armor research
		}
	}

	focus = {
		id = POL_cruiser_tank_experiments
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = POL_study_foreign_tanks }
		
		x = 0
		y = 1
		relative_position_id = POL_study_foreign_tanks
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_cruiser_tank_experiments
				bonus = 0.5
				uses = 1
				technology = basic_medium_tank
			}
			#1x 50% reduction on research for medium tanks
		}
	}

	focus = {
		id = POL_artillery_modernisation
		icon = GFX_goal_generic_army_artillery
		prerequisite = { focus = POL_hel_fortified_area focus = POL_silesia_fortified_area }
		
		x = 2
		y = 1
		relative_position_id = POL_hel_fortified_area
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_artillery_modernisation
				bonus = 0.5
				uses = 1
				category = artillery
			}
			#1 x 50% for Artillery Equipment
		}
	}

	focus = {
		id = POL_anti_tank_guns
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = POL_hel_fortified_area focus = POL_silesia_fortified_area }
		
		x = 0
		y = 1
		relative_position_id = POL_hel_fortified_area
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_anti_tank_guns
				bonus = 0.5
				uses = 1
				category = cat_anti_tank
			}
			#1x 50% bonus for Anti-Tank guns
		}
	}

	focus = {
		id = POL_army_modernisation
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = POL_artillery_modernisation focus = POL_anti_tank_guns }
		
		x = -1
		y = 1
		relative_position_id = POL_artillery_modernisation
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_army_modernisation
				bonus = 0.5
				uses = 1
				category = infantry_weapons
			}
			#1 x 50% for Infantry Equipment
		}
	}


	############################
	##### AIRFORCE SECTION #####
	############################


	focus = {
		id = POL_air_base_expansion
		icon = GFX_goal_generic_air_production
		
		x = 16
		y = 0
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_air_base_expansion_1 }
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 10 }
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = POL_air_base_expansion_1
			}
			#Add 2 Airbases in Warsaw
			
		}
	}

	focus = {
		id = POL_fighter_modernisation
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = POL_air_base_expansion }
		
		x = 1
		y = 1
		relative_position_id = POL_air_base_expansion
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_fighter_modernisation
				bonus = 0.5
				uses = 1
				category = light_fighter
			}
			#1x50% research bonus to fighter models
		}
	}



	focus = {
		id = POL_air_innovations
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = POL_air_base_expansion }
		
		x = -1
		y = 1
		relative_position_id = POL_air_base_expansion
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_air_innovations
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
			#1x50% research bonus to Air Doctrine Research
		}
	}

	focus = {
		id = POL_heavy_fighter_concept
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = POL_air_innovations focus = POL_fighter_modernisation }
		
		x = 1
		y = 1
		relative_position_id = POL_air_innovations
		cost = 10

		ai_will_do = {
			factor = 10
		}
		
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_heavy_fighter_concept
				bonus = 0.5
				uses = 1				
				category = cat_heavy_fighter
			}
			#1x 50% research bonus to Heavy Fighters
		}
	}

	focus = {
		id = POL_naval_bomber_experiments
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = POL_air_innovations }
		
		x = -1
		y = 1
		relative_position_id = POL_air_innovations
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_naval_bomber_experiments
				bonus = 0.5
				uses = 1				
				category = naval_bomber
			}
			#1x50% research bonus to NAV
		}
	}

	focus = {
		id = POL_medium_bomber_focus
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = POL_heavy_fighter_concept focus = POL_air_innovations }
		mutually_exclusive = { focus = POL_light_bomber_focus }
		
		x = -1
		y = 1
		relative_position_id = POL_heavy_fighter_concept
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_medium_bomber_focus
				bonus = 0.5
				uses = 1				
				category = tactical_bomber
			}
			#1 x 50% research bonus to Tactical Bomber models
		}
	}

	focus = {
		id = POL_light_bomber_focus
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = POL_heavy_fighter_concept focus = POL_fighter_modernisation }
		mutually_exclusive = { focus = POL_medium_bomber_focus }
		
		x = 1
		y = 1
		relative_position_id = POL_heavy_fighter_concept
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_light_bomber_focus
				bonus = 0.5
				uses = 1				
				category = cas_bomber
			}
			#1 x 50% research bonus to CAS
		}
	}

	focus = {
		id = POL_air_modernisations_programme
		icon = GFX_goal_generic_air_doctrine
		prerequisite = { focus = POL_light_bomber_focus focus = POL_medium_bomber_focus }
		
		x = -1
		y = 1
		relative_position_id = POL_light_bomber_focus
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_air_modernisations_programme
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
			#1x 50% reduction in an air doctrine research
			
		}
	}

	focus = {
		id = POL_rocket_development
		icon = GFX_focus_rocketry
		prerequisite = { focus = POL_air_modernisations_programme }
		
		x = 0
		y = 1
		relative_position_id = POL_air_modernisations_programme
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_rocket_development
				bonus = 0.5
				uses = 2
				category = jet_technology
				category = rocketry
			}
			#2x50% research to Rockets and Jet Engine Research
		}
	}


	############################
	####### NAVY SECTION #######
	############################


	focus = {
		id = POL_develop_polish_ship_building
		icon = GFX_goal_generic_construct_naval_dockyard
		
		x = 21
		y = 0
		cost = 10

		ai_will_do = {
			factor = 2
		}

		available_if_capitulated = yes
		
		complete_tooltip = {
			random_state = {
				limit = { has_state_flag = POL_develop_polish_ship_building_1 }
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 85 }
				limit = {
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
				set_state_flag = POL_develop_polish_ship_building_1
			}
			#Add 3 Dockyards at Gdansk			
		}
	}

	focus = {
		id = POL_study_foreign_built_ships
		icon = GFX_goal_generic_production
		prerequisite = { focus = POL_develop_polish_ship_building }
		
		x = 1
		y = 1
		relative_position_id = POL_develop_polish_ship_building
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_study_foreign_built_ships
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
			#1x 50% research bonus for Destroyers
		}
	}

	focus = {
		id = POL_a_cruiser_navy
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = POL_study_foreign_built_ships }
		
		x = 1
		y = 1
		relative_position_id = POL_study_foreign_built_ships
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_a_cruiser_navy
				bonus = 0.5
				uses = 1
				category = cl_tech
			}
			#1x50% research bonus to Light Cruisers
		}
	}

	focus = {
		id = POL_import_submarine_technology
		icon = GFX_goal_generic_production2
		prerequisite = { focus = POL_develop_polish_ship_building }
		
		x = -1
		y = 1
		relative_position_id = POL_develop_polish_ship_building
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_import_submarine_technology
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
			#1 x50% research bonus for Submarines
		}
	}

	focus = {
		id = POL_commerce_attack
		icon = GFX_goal_generic_navy_submarine
		prerequisite = { focus = POL_import_submarine_technology }
		x = -1
		y = 1
		relative_position_id = POL_import_submarine_technology
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_commerce_attack
				bonus = 0.5
				uses = 1
				category = submarine_doctrine
			}
			#1x50% research bonus to Submarine Doctrine
		}
	}

	focus = {
		id = POL_the_twin_threats
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = POL_import_submarine_technology focus = POL_study_foreign_built_ships }
		
		x = 1
		y = 1
		relative_position_id = POL_import_submarine_technology
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_the_twin_threats
				bonus = 0.5
				uses = 1
				category = naval_doctrine
			}
			#1x50% bonus to Naval Doctrine Research
		}
	}

	focus = {
		id = POL_coastal_defense
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = POL_the_twin_threats }
		mutually_exclusive = { focus = POL_strike_force }
		x = 1
		y = 1
		relative_position_id = POL_the_twin_threats
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_coastal_defense
				bonus = 0.5
				uses = 1
				category = ss_tech
			}
			add_tech_bonus = {
				name = POL_coastal_defense
				bonus = 0.5
				uses = 1
				category = dd_tech
			}
			#1x50% research bonus to destroyers & 1 x50% bonus to Submarines
		}
	}
	
	focus = {
		id = POL_strike_force
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = POL_the_twin_threats }
		mutually_exclusive = { focus = POL_coastal_defense }
		x = -1
		y = 1
		relative_position_id = POL_the_twin_threats
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_strike_force
				bonus = 0.5
				uses = 1
				category = cl_tech
			}
			add_tech_bonus = {
				name = POL_strike_force
				bonus = 0.5
				uses = 1
				category = ca_tech
			}
			#1x50% research bonus to Light Cruisers & 1x50% bonus to Heavy Cruisers
		}
	}

	focus = {
		id = POL_baltic_navy
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = POL_strike_force focus = POL_coastal_defense }
		
		x = 1
		y = 1
		relative_position_id = POL_strike_force
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = POL_baltic_navy
				bonus = 0.5
				uses = 1
				category = naval_doctrine
			}
			#1x50% bonus to Naval Doctrine research
		}
	}

	############################
	##### POLITICS SECTION #####
	############################


	focus = {
		id = POL_strengthen_the_polish_state
		icon = GFX_goal_generic_demand_territory
		
		x = 29
		y = 0
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_political_power = 120
			#PP +120
		}
	}

	focus = {
		id = POL_defensive_focus
		icon = GFX_goal_generic_defence
		prerequisite = { focus = POL_strengthen_the_polish_state }
		
		x = 2
		y = 1
		relative_position_id = POL_strengthen_the_polish_state
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = deterrence
			#Grants Deterrence modifier
		}
	}

	focus = {
		id = POL_polish_militarism
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = POL_strengthen_the_polish_state }
		
		x = -2
		y = 1
		relative_position_id = POL_strengthen_the_polish_state
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			army_experience = 20
			add_ideas = POL_militarism_focus
		}
	}

	focus = {
		id = POL_polish_revanchism
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = POL_polish_militarism }
		
		x = -2
		y = 1
		relative_position_id = POL_polish_militarism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = POL_polish_revanchism_focus
			#grants a -10% PP cost to war goal justification
		}
	}

	focus = {
		id = POL_poland_first
		icon = GFX_goal_generic_defence
		prerequisite = { focus = POL_polish_militarism }
		mutually_exclusive = { focus = POL_internationalism }

		x = 0
		y = 1
		relative_position_id = POL_polish_militarism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = indoctrination_focus
			#Gains the Indoctrination Modifier
		}
	}

	focus = {
		id = POL_ideological_fanaticism
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = POL_poland_first }

		x = -1
		y = 1
		relative_position_id = POL_poland_first
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = POL_ideological_fanaticism
			#Same as in Generic Focus
		}
	}

	focus = {
		id = POL_the_between_the_seas_concept
		icon = GFX_goal_anschluss
		available = {
			is_puppet = no
			is_in_faction = no
		}
		prerequisite = { focus = POL_poland_first }
		x = -3
		y = 1
		relative_position_id = POL_poland_first
		cost = 10

		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				has_idea = anti_soviet_pact
			}
		}
		completion_reward = {
			set_rule = { can_create_factions = yes }

			hidden_effect = {
				news_event = { hours = 6 id = news.214 }
			}
		}
	}

	focus = {
		id = POL_treaty_with_lithuania
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = POL_the_between_the_seas_concept }

		available = {
			is_faction_leader = yes
		}

		bypass = {
			NOT = { country_exists = LIT }
			LIT = { is_puppet = yes }
			has_war_with = LIT
		}

		x = 0
		y = 1
		relative_position_id = POL_the_between_the_seas_concept
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {

		}
	}

	focus = {
		id = POL_the_baltic_alliance
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = POL_treaty_with_lithuania }
		available = {
			OR = {
				LAT = {
					exists = yes
					is_puppet = no
					NOT = { has_war_with = POL }
				}
				EST = {
					exists = yes
					is_puppet = no
					NOT = { has_war_with = POL }
				}
			}
		}

		x = 0
		y = 1
		relative_position_id = POL_treaty_with_lithuania
		cost = 10

		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_opinion_modifier = { 
				target = EST modifier = POL_the_baltic_alliance 
			}
			EST = { 
				add_opinion_modifier = { target = ROOT modifier = POL_the_baltic_alliance } 
			}
			hidden_effect = {
				if = {
					limit = {
						EST = {
							is_in_faction = no
							is_puppet = no
							NOT = { has_war_with = POL }
						}
					}
					EST = {
						country_event = { id = baltic.7 days = 1 }
					}
				}
			}
			add_opinion_modifier = { target = LAT modifier = POL_the_baltic_alliance }
			LAT = { 
				add_opinion_modifier = { target = ROOT modifier = POL_the_baltic_alliance }
			}
			hidden_effect = {
				if = {
					limit = {
						LAT = {
							is_in_faction = no
							is_puppet = no
							NOT = { has_war_with = POL }
						}
					}
					LAT = {
						country_event = { id = baltic.7 days = 1 }
					}
				}
			}
			#Adds the same thing to Estonia and Latvia
			if = {
				limit = {
					EST = {
						is_in_faction = no
						is_puppet = no
						NOT = { has_war_with = POL }
					}
				}
				EST = {
					custom_effect_tooltip = POL_invite_to_faction_tooltip
				}
			}
			if = {
				limit = {
					LAT = {
						is_in_faction = no
						is_puppet = no
						NOT = { has_war_with = POL }
					}
				}
				LAT = {
					custom_effect_tooltip = POL_invite_to_faction_tooltip
				}
			}
		}
	}

	focus = {
		id = POL_internationalism
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = POL_polish_militarism focus = POL_defensive_focus }
		mutually_exclusive = { focus = POL_poland_first }

		x = 2
		y = 1
		relative_position_id = POL_polish_militarism
		cost = 10

		ai_will_do = {
			factor = 2.5
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = POL_internationalism_focus
			#Some sort of Relations boost modifier
		}
	}

	focus = {
		id = POL_authoritarianism
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = POL_internationalism }
		mutually_exclusive = { focus = POL_liberalism }

		x = 1
		y = 1
		relative_position_id = POL_internationalism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = POL_authoritarianism_focus
			#Reduction in Democratic Support
		}
	}

	focus = {
		id = POL_paramilitarism
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = POL_authoritarianism }

		x = 1
		y = 1
		relative_position_id = POL_authoritarianism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = paramilitarism_focus
			#As Per Generic Focus
		}
	}

	focus = {
		id = POL_go_right
		icon = GFX_goal_support_fascism
		prerequisite = { focus = POL_authoritarianism }
		mutually_exclusive = { focus = POL_go_left }

		x = -1
		y = 1
		relative_position_id = POL_authoritarianism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = fascist_influence
			#Increases Fascist Support
		}
	}

	focus = {
		id = POL_military_youth
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = POL_go_right }

		x = 1
		y = 2
		relative_position_id = POL_go_right
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = military_youth_focus
			#As per generic
		}
	}

	focus = {
		id = POL_seek_accommodation_with_germany
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = POL_go_right }
		available = {
			country_exists = GER
			GER = { has_government = fascism }
		}
		
		x = 0
		y = 1
		relative_position_id = POL_go_right
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_opinion_modifier = { target = GER modifier = POL_seek_accommodation_with_germany }
			GER = { add_opinion_modifier = { target = ROOT modifier = POL_seek_accommodation_with_germany } }
			#Relation Boost With Germany
		}
	}

	focus = {
		id = POL_go_left
		icon = GFX_goal_support_communism
		prerequisite = { focus = POL_authoritarianism }
		mutually_exclusive = { focus = POL_go_right }

		x = -3
		y = 1
		relative_position_id = POL_authoritarianism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = communist_influence
			#Increases Communist Support
		}
	}

	focus = {
		id = POL_political_commissars
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = POL_go_left }

		x = -1
		y = 2
		relative_position_id = POL_go_left
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = political_commissars_focus
			#as per generic focus
		}
	}

	focus = {
		id = POL_seek_accommodation_with_USSR
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = POL_go_left }
		available = {
			country_exists = SOV
		}
		x = 0
		y = 1
		relative_position_id = POL_go_left
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_opinion_modifier = { target = SOV modifier = POL_seek_accommodation_with_USSR }
			SOV = { add_opinion_modifier = { target = ROOT modifier = POL_seek_accommodation_with_USSR } }
			#Relation Boost with the USSR
		}
	}

	focus = {
		id = POL_liberalism
		icon = GFX_goal_support_democracy
		prerequisite = { focus = POL_internationalism }
		prerequisite = { focus = POL_defensive_focus }
		mutually_exclusive = { focus = POL_authoritarianism }

		x = 3
		y = 1
		relative_position_id = POL_internationalism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = democratic_influence
			#Increase in Democratic Support
		}
	}

	focus = {
		id = POL_intervention_focus
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = POL_liberalism }

		x = 1
		y = 1
		relative_position_id = POL_liberalism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes
		
		completion_reward = {
			set_rule = { can_send_volunteers = yes }
			add_political_power = 150
			#As per generic
		}
	}

	focus = {
		id = POL_draw_closer_to_britain
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = POL_liberalism }
		available = {
			country_exists = ENG
		}

		x = 3
		y = 1
		relative_position_id = POL_liberalism
		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = POL_volunteer_corps
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = POL_intervention_focus }

		x = 0
		y = 1

		cost = 10

		ai_will_do = {
			factor = 10
		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = CAN_rowell_sirois_commission
		icon = GFX_goal_generic_consumer_goods
		x = 0
		y = 0

		cost = 10

		ai_will_do = {
			factor = 24
			modifier = {
				factor = 3
				has_completed_focus = CAN_crown_corporations
			}
		}

		available = {
		
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_political_power = 120
		}
	}

	focus = {
		id = CAN_crown_corporations
		icon = GFX_goal_generic_construct_civ_factory
		x = 3
		y = 0
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 3
				has_completed_focus = CAN_rowell_sirois_commission
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = CAN_c_d_howe
		}
	}


	focus = {
		id = CAN_national_housing_act
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = CAN_rowell_sirois_commission }
		prerequisite = { focus = CAN_crown_corporations }
		x = 2
		y = 1
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {
		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_national_housing_act_IC
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_national_housing_act_IC
			}
		}
	}


	focus = {
		id = CAN_dollar_a_year_men
		icon = GFX_goal_generic_construction
		prerequisite = { focus = CAN_national_housing_act}
		x = 2
		y = 2
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_dollar_a_year_men
				bonus = 0.5
				uses = 1
				category = industry
			}
		}
	}

	focus = {
		id = CAN_canada_pacific_railway
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = CAN_rowell_sirois_commission }
		x = 0
		y = 2
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = infrastructure_effort_tt
				all_owned_state = {			
					free_building_slots = {
						building = infrastructure
						size < 1
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_canada_pacific_railway_Inf
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 473 471 }
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_canada_pacific_railway_Inf
			}
		}
	}

	focus = {
		id = CAN_maritime_colonial_railway
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = CAN_canada_pacific_railway }
		x = 0
		y = 3
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = infrastructure_effort_tt
				all_owned_state = {			
					free_building_slots = {
						building = infrastructure
						size < 1
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_maritime_colonial_railway_Inf
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 1
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_maritime_colonial_railway_Inf
			}
		}
	}

	focus = {
		id = CAN_retool_angus_shops
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CAN_canada_pacific_railway }
		prerequisite = { focus = CAN_bits_and_pieces_program }
		x = 2
		y = 3
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}					
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_retool_angus_shops_AF
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 285 517 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_retool_angus_shops_AF
			}
		}
	}

	focus = {
		id = CAN_imperial_oil
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = CAN_retool_angus_shops }
		x = 2
		y = 4
		relative_position_id = CAN_rowell_sirois_commission

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {
			controls_state = 470
			controls_state = 471
			controls_state = 472
			controls_state = 683
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			470 = {
				add_resource = {
					type = oil
					amount = 2
				}
			}
			471 = {
				add_resource = {
					type = oil
					amount = 4
				}
			}
			472 = {
				add_resource = {
					type = oil
					amount = 4
				}
			}
			683 = {
				add_resource = {
					type = oil
					amount = 4
				}
			}
		}
	}


	############################
	#### WAR PREP SECTION ######
	############################

	focus = {
		id = CAN_defence_of_canada_regulations
		icon = GFX_goal_generic_construct_military
		x = 8
		y = 0

		cost = 10

		ai_will_do = {
			factor = 30
		}

		available = {
			threat > 0.2
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = { has_government = democratic }
				add_ideas = CAN_defence_of_canada_regulations_democratic
			}
			if = {
				limit = { has_government = communism }
				add_ideas = CAN_defence_of_canada_regulations_communism
			}
			if = {
				limit = { has_government = fascism }
				add_ideas = CAN_defence_of_canada_regulations_fascism
			}
		}
	}

	focus = {
		id = CAN_war_bonds
		icon = GFX_goal_generic_consumer_goods
		x = -2
		y = 0
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 80
		}

		available = {
			has_war = yes
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_war_bonds_1
		}
	}

	focus = {
		id = CAN_department_of_munitions_and_supply
		icon = GFX_goal_generic_build_tank

		x = -3
		y = 1
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}					
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_department_of_munitions_and_supply_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_department_of_munitions_and_supply_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_department_of_munitions_and_supply_AF1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_department_of_munitions_and_supply_AF2
			}
		}
	}

	focus = {
		id = CAN_national_resources_mobilization_act
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = CAN_defence_of_canada_regulations }
		x = -1
		y = 1
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_national_resources_mobilization_act
		}
	}

	focus = {
		id = CAN_wartime_prices_and_trade_board
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = CAN_defence_of_canada_regulations }
		x = 2
		y = 1
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_wartime_prices_and_trade_board
		}
	}

	focus = {
		id = CAN_bits_and_pieces_program
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CAN_department_of_munitions_and_supply }
		x = -4
		y = 2
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_bits_and_pieces_program
		}
	}

	focus = {
		id = CAN_fund_the_national_research_council
		icon = GFX_focus_research
		prerequisite = { focus = CAN_department_of_munitions_and_supply focus = CAN_national_resources_mobilization_act }
		x = -1
		y = 2
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 75
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = CAN_mine_the_shield
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = CAN_national_resources_mobilization_act }
		x = 1
		y = 2
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_canada_wheat_board
			}
		}

		available = {

		}
		
		bypass = {
			NOT = {
				any_owned_state = {
					is_in_home_area = yes
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 471 472 683 }
				limit = {
					is_in_home_area = yes
				}
				add_resource = {
					type = steel
					amount = 2
				}
			}
			random_owned_controlled_state = {
				prioritize = { 471 472 683 }
				limit = {
					is_in_home_area = yes
				}
				add_resource = {
					type = steel
					amount = 2
				}
			}
			random_owned_controlled_state = {
				prioritize = { 471 472 683 }
				limit = {
					is_in_home_area = yes
				}
				add_resource = {
					type = chromium
					amount = 3
				}
			}
		}
	}

	focus = {
		id = CAN_canada_wheat_board
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = CAN_wartime_prices_and_trade_board }
		x = 3
		y = 2
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_mine_the_shield
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = CAN_great_depression_1
				add_idea = CAN_great_depression_2		
			}
		}
	}

	focus = {
		id = CAN_victory_aircraft_limited
		icon = GFX_goal_generic_production2
		prerequisite = { focus = CAN_department_of_munitions_and_supply }
		x = -2
		y = 3
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_john_inglis_and_company
			}
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}					
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_victory_aircraft_limited_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_victory_aircraft_limited_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 276 682 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_victory_aircraft_limited_AF1
			}
			random_owned_controlled_state = {
				prioritize = { 276 682 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_victory_aircraft_limited_AF2
			}
		}
	}

	focus = {
		id = CAN_alberta_coal_towns
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = CAN_mine_the_shield }
		prerequisite = { focus = CAN_canada_wheat_board }		
		x = 2
		y = 3
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}					
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_alberta_coal_towns_IC
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 470 }
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}
				set_state_flag = CAN_alberta_coal_towns_IC
			}
		}
	}

	focus = {
		id = CAN_commit_to_the_war
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = CAN_canada_wheat_board }
		x = 4
		y = 3
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			has_war = yes
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_commit_to_the_war
		}
	}

	focus = {
		id = CAN_john_inglis_and_company
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = CAN_bits_and_pieces_program }
		x = -4
		y = 4
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_victory_aircraft_limited
			}
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_john_inglis_and_company_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_john_inglis_and_company_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				prioritize = { 276 682 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_john_inglis_and_company_AF1
			}
			random_owned_controlled_state = {
				prioritize = { 276 682 }
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_john_inglis_and_company_AF2
			}
		}
	}

	focus = {
		id = CAN_polymer_corporation
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = CAN_victory_aircraft_limited focus = CAN_fund_the_national_research_council }
		x = -1
		y = 4
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 50
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = synth_oil_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = synthetic_refinery
						size < 0
						include_locked = yes
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes


		complete_tooltip = {
			if = {
				limit = { has_country_flag = CAN_polymer_corporation_unlock }
				set_technology = { synth_oil_experiments = 1 }
				else = {					
					add_tech_bonus = {
						name = CAN_polymer_corporation
						ahead_reduction = 1
						bonus = 0.5
						uses = 1
						category = synth_resources
					}
				}				
			}
			random_state = {
				limit = {
					has_state_flag = CAN_polymer_corporation_1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_polymer_corporation_2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_tech = synth_oil_experiments }
				}
				set_technology = { synth_oil_experiments = 1 }
				set_country_flag = CAN_polymer_corporation_unlock
				effect_tooltip = {
					random_owned_controlled_state = {
						prioritize = { 682 }
						limit = {
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = synthetic_refinery
							level = 1
							instant_build = yes
						}
						set_state_flag = CAN_polymer_corporation_1
					}
					random_owned_controlled_state = {
						prioritize = { 276 }
						limit = {
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = synthetic_refinery
							level = 1
							instant_build = yes
						}
						set_state_flag = CAN_polymer_corporation_2
					}
				}
				else = {
					add_tech_bonus = {
						name = CAN_polymer_corporation
						ahead_reduction = 1
						bonus = 0.5
						uses = 1
						category = synth_resources
					}
				}
			}
			random_owned_controlled_state = {
				prioritize = { 682 }
				limit = {
					free_building_slots = {
						building = synthetic_refinery
						size > 0
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_polymer_corporation_1
			}
			random_owned_controlled_state = {
				prioritize = { 276 }
				limit = {
					free_building_slots = {
						building = synthetic_refinery
						size > 0
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_polymer_corporation_2
			}
		}
	}

	focus = {
		id = CAN_national_steel_car
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = CAN_alberta_coal_towns }
		mutually_exclusive = { focus = CAN_send_in_the_zombies }
		x = 1
		y = 4
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_if_day
			}
		}

		available = {

		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = construction_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = industrial_complex
						size < 1
						include_locked = yes
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_national_steel_car_IC1
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_national_steel_car_IC2
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_national_steel_car_IC1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = industrial_complex
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_national_steel_car_IC2
			}
		}
	}

	focus = {
		id = CAN_send_in_the_zombies
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = CAN_commit_to_the_war }
		mutually_exclusive = { focus = CAN_national_steel_car }
		x = 3
		y = 4
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_send_in_the_zombies
		}
	}

	focus = {
		id = CAN_if_day
		icon = GFX_goal_generic_propaganda
		prerequisite = { focus = CAN_john_inglis_and_company }
		prerequisite = { focus = CAN_victory_aircraft_limited }
		x = -2
		y = 5
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_national_steel_car
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = CAN_war_bonds_1
				add_idea = CAN_war_bonds_2
			}
		}
	}

	focus = {
		id = CAN_defense_research_grants
		icon = GFX_focus_research
		prerequisite = { focus = CAN_john_inglis_and_company }
		prerequisite = { focus = CAN_if_day }
		x = -3
		y = 6
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			num_of_factories > 50
			is_subject = no
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_research_slot = 1
		}
	}

	focus = {
		id = CAN_uranium_mining
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = CAN_polymer_corporation focus = CAN_national_steel_car }
		x = 0
		y = 5
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_uranium_mining
				bonus = 0.5
				uses = 2
				category = nuclear
			}	
		}
	}

	focus = {
		id = CAN_long_branch_arsenal
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = CAN_send_in_the_zombies }
		x = 2
		y = 5
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_long_branch_arsenal
				bonus = 0.5
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}

	focus = {
		id = CAN_independent_command
		icon = GFX_goal_generic_army_doctrines
		prerequisite = { focus = CAN_send_in_the_zombies }
		prerequisite = { focus = CAN_red_deer_training_camp }
		x = 4
		y = 5
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 20
			add_tech_bonus = {
				name = CAN_independent_command
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CAN_forced_quebec_conscription
		icon = GFX_goal_tfv_can_forced_quebec_conscription 
		prerequisite = { focus = CAN_long_branch_arsenal focus = CAN_independent_command }
		mutually_exclusive = { focus =  CAN_compromise_with_quebec }
		x = 2
		y = 6
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			remove_ideas = CAN_conscription_crisis
			custom_effect_tooltip = "CAN_ANGERED_WORKERS"
			
			# Opens up the MTTH events tfv_canada.50 - tfv_canada.53
		}
	}

	focus = {
		id = CAN_compromise_with_quebec
		icon = GFX_goal_tfv_can_compromise_with_quebec
		prerequisite = { focus = CAN_long_branch_arsenal focus = CAN_independent_command }
		mutually_exclusive = { focus =  CAN_forced_quebec_conscription }
		x = 4
		y = 6
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = CAN_conscription_crisis
				add_idea = CAN_conscription_crisis_mended
			}
		}
	}

	focus = {
		id = CAN_war_fueled_economy
		icon = GFX_goal_generic_trade
		prerequisite = { focus = CAN_national_steel_car }
		prerequisite = { focus = CAN_if_day }
		x = 1
		y = 7
		relative_position_id = CAN_defence_of_canada_regulations

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			remove_ideas = CAN_great_depression_2
			random_state = {
				limit = {
					has_state_flag = CAN_war_fueled_economy_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_war_fueled_economy_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_war_fueled_economy_AF3
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			remove_ideas = CAN_great_depression_2
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_war_fueled_economy_AF1
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_war_fueled_economy_AF2
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_war_fueled_economy_AF3
			}
		}
	}


	############################
	####### ARMY SECTION #######
	############################

	focus = {
		id = CAN_army_modernization
		icon = GFX_goal_generic_army_doctrines
		x = 15
		y = 0

		cost = 10

		ai_will_do = {
			factor = 4
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5 
			add_tech_bonus = {
				name = CAN_army_modernization
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CAN_canadian_infantry_corps
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = CAN_army_modernization }
		x = -1
		y = 1
		relative_position_id = CAN_army_modernization

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_canadian_infantry_corps
				bonus = 0.5
				uses = 1
				category = infantry_weapons
				category = artillery
			}
		}
	}

	focus = {
		id = CAN_cmp_truck
		icon = GFX_goal_generic_army_motorized
		prerequisite = { focus = CAN_army_modernization }
		x = 1
		y = 1
		relative_position_id = CAN_army_modernization

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_cmp_truck
				ahead_reduction = 1
				bonus = 0.75
				uses = 1
				category = motorized_equipment
			}
		}
	}

	focus = {
		id = CAN_the_walkie_talkie
		icon = GFX_goal_generic_radar
		prerequisite = { focus = CAN_canadian_infantry_corps focus = CAN_cmp_truck }
		x = 0
		y = 2
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_the_walkie_talkie
				bonus = 0.5
				uses = 1
				category = electronics
			}
			add_tech_bonus = {
				name = CAN_the_walkie_talkie
				bonus = 0.5
				uses = 1
				technology = tech_signal_company
				technology = tech_signal_company2
				technology = tech_signal_company3
				technology = tech_signal_company4
			}
		}
	}

	focus = {
		id = CAN_royal_regiment_of_canadian_artillery
		icon = GFX_goal_generic_army_artillery2
		prerequisite = { focus = CAN_canadian_infantry_corps }
		x = -1
		y = 3
		relative_position_id = CAN_army_modernization

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_royal_regiment_of_canadian_artillery
				bonus = 0.5
				uses = 1
				category = artillery
			}
		}
	}

	focus = {
		id = CAN_a_motorized_army
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = CAN_cmp_truck }
		x = 1
		y = 3
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_a_motorized_army
				bonus = 0.5
				uses = 1
				category = motorized_equipment
				technology = tech_field_hospital
				technology = tech_field_hospital2
				technology = tech_field_hospital3
				technology = tech_field_hospital4
				technology = tech_logistics_company
				technology = tech_logistics_company2
				technology = tech_logistics_company3
				technology = tech_logistics_company4
				technology = tech_signal_company
				technology = tech_signal_company2
				technology = tech_signal_company3
				technology = tech_signal_company4
			}
		}
	}

	focus = {
		id = CAN_red_deer_training_camp
		icon = GFX_goal_generic_military_sphere
		prerequisite = { focus = CAN_royal_regiment_of_canadian_artillery focus = CAN_a_motorized_army }
		x = -2
		y = 4
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = CAN_red_deer_training_camp
				bonus = 0.5
				uses = 1
				category = land_doctrine
			}
		}
	}

	focus = {
		id = CAN_1st_canadian_parachute_battalion
		icon = GFX_goal_generic_special_forces 
		prerequisite = { focus = CAN_the_plan focus = CAN_a_motorized_army }
		x = 2
		y = 4
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_1st_canadian_parachute_battalion
				bonus = 0.75
				uses = 1
				category = para_tech
			}
		}
	}

	focus = {
		id = CAN_the_black_devils
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = CAN_red_deer_training_camp }
		x = -1
		y = 5
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_the_black_devils
				bonus = 0.50
				uses = 1
				category = marine_tech
				category = para_tech
			}
		}
	}

	focus = {
		id = CAN_the_rocky_mountain_rangers
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = CAN_red_deer_training_camp }
		x = 1
		y = 5
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_the_rocky_mountain_rangers
				bonus = 0.50
				uses = 1
				category = mountaineers_tech
			}
		}
	}

	focus = {
		id = CAN_the_valentine_tank
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = CAN_red_deer_training_camp }
		x = 0
		y = 6
		relative_position_id = CAN_army_modernization 

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_the_valentine_tank
				bonus = 0.5
				uses = 1
				category = armor
			}
			add_tech_bonus = {
				name = CAN_the_valentine_tank
				ahead_reduction = 1
				bonus = 0.5
				uses = 1
				category = cat_light_armor
			}
		}
	}


	############################
	#### GO WITH UK SECTION ####
	############################

	focus = {
		id = CAN_strengthen_the_commonwealth_ties
		mutually_exclusive = { focus = CAN_patriation }
		icon = GFX_goal_tfv_strengthen_commonwealth_ties
		x = 21
		y = 0

		cost = 10

		ai_will_do = {
			factor = 9
			modifier = {
				democratic < 0.5
				factor = 0.5
			}
		}

		available = {
			ENG = { has_government = ROOT }
			is_in_tech_sharing_group = commonwealth_research
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
   			modify_tech_sharing_bonus = {
         		id = commonwealth_research
         		bonus = 0.03
			}
			ENG = {
				add_opinion_modifier = {
					target = ROOT
					modifier = CAN_strengthen_the_commonwealth_ties
				}
			}
		}
	}

	focus = {
		id = CAN_shadow_factories
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = CAN_strengthen_the_commonwealth_ties }
		x = -2
		y = 1
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 35
		}

		available = {
			threat > 0.05
		}
		
		bypass = {
			custom_trigger_tooltip = {
				tooltip = production_effort_tt
				all_owned_state = {
					free_building_slots = {
						building = arms_factory
						size < 1
						include_locked = yes
					}
				}
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			random_state = {
				limit = {
					has_state_flag = CAN_shadow_factories_AF1
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_shadow_factories_AF2
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_shadow_factories_AF3
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_shadow_factories_AF1
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_shadow_factories_AF2
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = CAN_shadow_factories_AF3
			}
		}
	}

	focus = {
		id = CAN_montreal_laboratory_collaboration
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = CAN_strengthen_the_commonwealth_ties }
		x = 0
		y = 1
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 35
		}

		available = {
			is_in_faction_with = ENG
			is_in_tech_sharing_group = commonwealth_research
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			CAN = {
   				 modify_tech_sharing_bonus = {
        			id = commonwealth_research
        			bonus = 0.05  
    			}
			}
		}
	}

	focus = {
		id = CAN_the_plan
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = CAN_shadow_factories }
		x = -2
		y = 2
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_supply_the_empire
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_the_plan
		}
	}

	focus = {
		id = CAN_camp_x
		icon = GFX_goal_generic_intelligence_exchange 
		prerequisite = { focus = CAN_montreal_laboratory_collaboration focus = CAN_permanent_joint_defense_board }
		x = 0
		y = 2
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_the_plan
			}
		}

		available = {
			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_camp_x
				bonus = 0.5
				uses = 1
				category = encryption_tech
				category = decryption_tech
			}
		}
	}

	focus = {
		id = CAN_supply_the_empire
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = CAN_the_plan}
		prerequisite = { focus = CAN_camp_x }
		x = -1
		y = 3
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_supply_the_empire
				bonus = 0.5
				uses = 3
				technology = excavation1
				technology = excavation2
				technology = excavation3
				technology = excavation4
				technology = excavation5
			}
		}
	}

	focus = {
		id = CAN_aluminium_company_of_canada
		icon = GFX_goal_generic_positive_trade_relations 
		prerequisite = { focus = CAN_supply_the_empire }
		x = -2
		y = 4
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			controls_state = 682
			controls_state = 466
			controls_state = 468
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			682 = {
				add_resource = {
					type = aluminium
					amount = 14
				}
			}
			466 = {
				add_resource = {
					type = aluminium
					amount = 4
				}
			}
			468 = {
				add_resource = {
					type = aluminium
					amount = 4
				}
			}
		}
	}

	focus = {
		id = CAN_turner_valley_oilfield
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = CAN_supply_the_empire }
		x = 0
		y = 4
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			controls_state = 470
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			470 = {
				add_resource = {
					type = oil
					amount = 36
				}
			}
		}
	}


	############################
	#### LEAVE COMMONWEALTH ####
	############################

	focus = {
		id = CAN_patriation
		icon = GFX_goal_tfv_sever_ties_with_uk #GFX_goal_generic_demand_territory
		mutually_exclusive = { focus = CAN_strengthen_the_commonwealth_ties }
		x = 2
		y = 0
		relative_position_id = CAN_strengthen_the_commonwealth_ties

		cost = 10

		ai_will_do = {
			factor = 5
			modifier = {
				OR = {
					communism > 0.15
					fascism > 0.15
					}
				factor = 2.5
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {			
			add_ideas = CAN_patriation
			ENG = {
				add_opinion_modifier = { target = CAN modifier = CAN_patriation_mod }
			}

			hidden_effect = {
				news_event = { id = news.251 hours = 3 }
			}
		}
	}


	############################
	#### GO WITH US SECTION ####
	############################
	focus = {
		id = CAN_permanent_joint_defense_board
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = CAN_patriation }
		mutually_exclusive = { focus = CAN_burn_the_royal_portraits }
		mutually_exclusive = { focus = CAN_swastika_clubs }
		x = 0
		y = 1
		relative_position_id = CAN_patriation

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				democratic > 0.6
				factor = 2
			}
			modifier = {
				democratic < 0.4
				factor = 0.5
			}
		}

		available = {
			is_subject = no
			NOT = {
				has_war_with = USA
				is_justifying_wargoal_against = USA
				has_wargoal_against = USA
				has_war_together_with = ENG
			}
			USA = { has_government = ROOT }			
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ENG = { remove_from_faction = ROOT }
			USA = {
				add_opinion_modifier = {
					target = ROOT
					modifier = CAN_permanent_joint_defense_board
				}
			}
			add_opinion_modifier = {
				target = USA
				modifier = CAN_permanent_joint_defense_board
			}
			give_guarantee = USA
		}
	}

	focus = {
		id = CAN_north_american_alliance
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CAN_permanent_joint_defense_board }
		x = 0
		y = 1
		relative_position_id = CAN_permanent_joint_defense_board

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			USA = {
				country_event = { id = tfv_canada.1 }
			}
		}
	}

	focus = {
		id = CAN_habakkuk_carrier
		icon = GFX_goal_generic_navy_carrier
		prerequisite = { focus = CAN_north_american_alliance }
		x = -1
		y = 2
		relative_position_id = CAN_permanent_joint_defense_board

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_habakkuk_carrier
				bonus = 0.5
				uses = 2
				category = cv_tech
			}
		}
	}

	focus = {
		id = CAN_refuge_for_scientists
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = CAN_north_american_alliance }
		x = 1
		y = 2
		relative_position_id = CAN_permanent_joint_defense_board

		cost = 10

		ai_will_do = {
			factor = 35
		}

		available = {
			is_in_faction_with = USA
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
		USA = {
			add_to_tech_sharing_group = us_research
		}
		add_to_tech_sharing_group = us_research
		}
	}


	############################
	#### GO FASCIST SECTION ####
	############################

	focus = {
		id = CAN_swastika_clubs
		icon = GFX_goal_support_fascism
		prerequisite = { focus = CAN_patriation }
		mutually_exclusive = { focus = CAN_burn_the_royal_portraits }
		mutually_exclusive = { focus = CAN_permanent_joint_defense_board }
		x = 4
		y = 1
		relative_position_id = CAN_patriation

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				fascism > 0.25
				factor = 2
			}
			modifier = {
				fascism > 0.35
				factor = 4
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_autonomy_ratio = {
				value = 0.1
				localization = CAN_swastika_clubs
			}
			add_ideas = CAN_swastika_clubs
		}
	}

	focus = {
		id = CAN_support_the_blue_shirts
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = CAN_swastika_clubs }
		x = 0
		y = 1
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = no
			has_government = fascism
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = CAN_swastika_clubs
				add_idea = CAN_swastika_clubs_2
			}
		}
	}

	focus = {
		id = CAN_join_germany
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CAN_support_the_blue_shirts }
		mutually_exclusive = { focus = CAN_support_a_synarchist_baja }
		x = -1
		y = 2
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				GER = { surrender_progress > 0.5 }
				factor = 0 #nopenopenopenope
			}
		}

		available = {
			has_government = fascism
			GER = { has_government = fascism }

			NOT = {
				has_war_with = GER
				is_justifying_wargoal_against = GER
				has_wargoal_against = GER
			}
		}
		
		bypass = {
			is_in_faction_with = GER
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			GER = { 
				country_event = { id = tfv_canada.20 }
			}
		}
	}

	focus = {
		id = CAN_support_a_synarchist_baja
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = CAN_support_the_blue_shirts }
		mutually_exclusive = { focus = CAN_join_germany }
		x = 1
		y = 2
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {

		}
	}

	focus = {
		id = CAN_pinion_the_eagle
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = CAN_join_germany }
		x = -1
		y = 3
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					any_neighbor_state = {
						controller = { NOT = { is_in_faction_with = CAN } }
					}
				}
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_border = yes
					}
					level = 3
					instant_build = yes
				}
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_coastal = yes
					is_in_home_area = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 3
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CAN_skewer_the_eagle
		icon = GFX_goal_generic_military_deal
		prerequisite = { focus = CAN_support_a_synarchist_baja }
		x = 1
		y = 3
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			has_government = fascism
			any_country = {
				original_tag = MEX
				has_government = fascism
				NOT = { has_war_with = ROOT }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			random_country = {
				limit = {
					original_tag = MEX
					has_government = fascism
				}
				country_event = { id = tfv_canada.40 }
			}
		}
	}

	focus = {
		id = CAN_defence_scheme_no_1
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = CAN_skewer_the_eagle focus = CAN_pinion_the_eagle }
		x = -1
		y = 4
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			is_subject = no
			USA = {
				NOT = { is_subject_of = CAN }
			}
			NOT = { is_in_faction_with = USA }
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
			create_wargoal = {
				type = annex_everything
				target = USA
			}
		}
	}

	focus = {
		id = CAN_demand_labrador_and_newfoundland
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = CAN_skewer_the_eagle focus = CAN_pinion_the_eagle }
		x = 1
		y = 4
		relative_position_id = CAN_swastika_clubs

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			ENG = {
				country_event = { id = tfv_canada.60 }
			}
		}
	}


	############################
	### GO COMMUNIST SECTION ###
	############################

	focus = {
		id = CAN_burn_the_royal_portraits
		icon = GFX_goal_tfv_burn_the_royal_portraits #GFX_goal_support_communism
		prerequisite = { focus = CAN_patriation }
		mutually_exclusive = { focus = CAN_swastika_clubs }
		mutually_exclusive = { focus = CAN_permanent_joint_defense_board }
		x = 8
		y = 1
		relative_position_id = CAN_patriation

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				communism > 0.2
				factor = 2
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_autonomy_ratio = {
				value = 0.1
				localization = CAN_burn_the_royal_portraits
			}
			add_ideas = CAN_communist_ideals
		}
	}

	focus = {
		id = CAN_communist_labor_total_war_committee
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = CAN_burn_the_royal_portraits }
		x = 0
		y = 1
		relative_position_id = CAN_burn_the_royal_portraits

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {			
			is_subject = no
			has_government = communism
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = CAN_communist_ideals
				add_idea = CAN_communist_ideals_2
			}
		}
	}

	focus = {
		id = CAN_defence_scheme_no_2
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = CAN_communist_labor_total_war_committee }
		mutually_exclusive = { focus = CAN_supply_the_red_army }
		x = -1
		y = 2
		relative_position_id = CAN_burn_the_royal_portraits

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			OR = {
				USA = { has_war_with = JAP }
				USA = { has_wargoal_against = JAP }
				JAP = { has_wargoal_against = USA }
				USA = { is_justifying_wargoal_against = JAP }
				JAP = { is_justifying_wargoal_against = USA }
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					any_neighbor_state = {
						controller = { NOT = { is_in_faction_with = CAN } }
					}
				}
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_border = yes
					}
					level = 3
					instant_build = yes
				}
			}
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_coastal = yes
					is_in_home_area = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 3
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = CAN_supply_the_red_army
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = CAN_communist_labor_total_war_committee }
		mutually_exclusive = { focus = CAN_defence_scheme_no_2 }
		x = 1
		y = 2
		relative_position_id = CAN_burn_the_royal_portraits

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				SOV = { 
					has_war = yes 
					has_government = communism
				}
				factor = 3
			}
			modifier = {
				SOV = { 
					has_government = communism
					surrender_progress > 0.3
					 }
				factor = 10
			}
		}

		available = {
			NOT = {
				has_war_with = SOV
				is_justifying_wargoal_against = SOV
				has_wargoal_against = SOV
			}
			country_exists = SOV
			has_equipment = {
				infantry_equipment > 499
			}
		}

		bypass = {

		}

		select_effect = {
			send_equipment = {
				target = SOV
				type = infantry_equipment
				amount = 500
			}
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = {
				add_opinion_modifier = {
					target = ROOT
					modifier = CAN_supply_the_red_army
				}
			}
			add_opinion_modifier = {
				target = SOV
				modifier = CAN_supply_the_red_army
			}
			every_country = {
				limit = {
					NOT = { has_government = communism }
				}
				add_opinion_modifier = {
					target = PREV
					modifier = CAN_supply_the_red_army_trade
				}
			}
		}
	}

	focus = {
		id = CAN_canada_united
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = CAN_defence_scheme_no_2 }
		x = -1
		y = 3
		relative_position_id = CAN_burn_the_royal_portraits

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			set_rule = { can_create_factions = yes }
		}
	}

	focus = {
		id = CAN_join_comintern
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = CAN_supply_the_red_army }
		x = 1
		y = 3
		relative_position_id = CAN_burn_the_royal_portraits

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {			
			has_government = communism
			SOV = { has_government = communism }

			NOT = {
				has_war_with = SOV
				is_justifying_wargoal_against = SOV
				has_wargoal_against = SOV
			}
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			SOV = { 
				country_event = { id = tfv_canada.10 }
			}
		}
	}

	focus = {
		id = CAN_support_the_world_revolution
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = CAN_canada_united focus = CAN_join_comintern }
		x = 0
		y = 4
		relative_position_id = CAN_burn_the_royal_portraits

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			swap_ideas = {
				remove_idea = CAN_communist_ideals_2
				add_idea = CAN_communist_ideals_3
			}
		}
	}


	############################
	####### AIR SECTION ########
	############################

	focus = {
		id = CAN_rcaf_station_borden
		icon = GFX_goal_generic_build_airforce
		x = 35
		y = 0

		cost = 10

		ai_will_do = {
			factor = 3
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes


		complete_tooltip = {
			air_experience = 25
			random_state = {				
				limit = {
					has_state_flag = CAN_rcaf_station_borden_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = CAN_rcaf_station_borden
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_rcaf_station_borden_AB
			}
			add_tech_bonus = {
				name = CAN_rcaf_station_borden
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = CAN_we_have_the_hurricane
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = CAN_rcaf_station_borden }
		x = -1
		y = 1
		relative_position_id = CAN_rcaf_station_borden

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_we_have_the_hurricane
				bonus = 0.5
				uses = 1
				technology = early_fighter
				technology = fighter1
				technology = fighter2
				technology = fighter3
			}
		}
	}

	focus = {
		id = CAN_the_pacific_coast_air_defence_radar_system
		icon = GFX_goal_generic_radar
		prerequisite = { focus = CAN_rcaf_station_borden }
		x = 1
		y = 1
		relative_position_id = CAN_rcaf_station_borden

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {
			has_tech = radio
		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			add_tech_bonus = {
				name = CAN_the_pacific_coast_air_defence_radar_system
				bonus = 0.5
				uses = 1
				category = radar_tech
			}
			random_state = {
				limit = {
					has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar2
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
			random_state = {
				limit = {
					has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar3
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_the_pacific_coast_air_defence_radar_system
				bonus = 0.5
				uses = 1
				category = radar_tech
			}

			if = {
				limit = { has_tech = radio_detection }
				random_owned_controlled_state = {
					prioritize = { 473 }
					limit = {
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1
				}

				random_owned_controlled_state = {
					limit = {
						NOT = { has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1 }
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar2
				}

				random_owned_controlled_state = {
					limit = {
						NOT = { has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1 }
						NOT = { has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar2 }
						is_in_home_area = yes
						free_building_slots = {
							building = radar_station
							size > 0
						}
					}
					add_building_construction = {
						type = radar_station
						level = 1
						instant_build = yes
					}
					set_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar3
				}
				else = {
					set_technology = {
						radio_detection = 1
					}
					effect_tooltip = {
						random_owned_controlled_state = {
							prioritize = { 473 }
							limit = {
								is_in_home_area = yes
							}
							add_building_construction = {
								type = radar_station
								level = 1
								instant_build = yes
							}
						}

						random_owned_controlled_state = {
							limit = {
								NOT = { state = 473 }
								NOT = { has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1 }
								is_in_home_area = yes
							}
							add_building_construction = {
								type = radar_station
								level = 1
								instant_build = yes
							}
						}
					}
					random_owned_controlled_state = {
						prioritize = { 473 }
						limit = {
							is_in_home_area = yes
							free_building_slots = {
								building = radar_station
								size > 0
							}
						}
						add_building_construction = {
							type = radar_station
							level = 1
							instant_build = yes
						}
						set_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1
					}

					random_owned_controlled_state = {
						limit = {
							NOT = { has_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar1 }
							is_in_home_area = yes
							free_building_slots = {
								building = radar_station
								size > 0
							}
						}
						add_building_construction = {
							type = radar_station
							level = 1
							instant_build = yes
						}
						set_state_flag = CAN_the_pacific_coast_air_defence_radar_system_radar2
					}
				}
			}
		}
	}

	focus = {
		id = CAN_commonwealth_air_training_plan
		icon = GFX_goal_generic_build_airforce
		prerequisite = { focus = CAN_the_pacific_coast_air_defence_radar_system focus = CAN_we_have_the_hurricane }
		x = 0
		y = 2
		relative_position_id = CAN_rcaf_station_borden

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			air_experience = 25
			random_state = {
				limit = {
					has_state_flag = CAN_commonwealth_air_training_plan_AB
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = CAN_commonwealth_air_training_plan
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}

		completion_reward = {
			air_experience = 25
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = air_base
						size > 1
					}
				}
				add_building_construction = {
					type = air_base
					level = 2
					instant_build = yes
				}
				set_state_flag = CAN_commonwealth_air_training_plan_AB
			}
			add_tech_bonus = {
				name = CAN_commonwealth_air_training_plan
				bonus = 0.5
				uses = 1
				category = air_doctrine
			}
		}
	}

	focus = {
		id = CAN_fund_fairchilds_development
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = CAN_commonwealth_air_training_plan }
		x = -1
		y = 3
		relative_position_id = CAN_rcaf_station_borden

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_cookie_carriers
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_fund_fairchilds_development
				bonus = 0.5
				uses = 1
				category = tactical_bomber
				category = cas_bomber
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = CAN_fairchild_aircraft_ltd
		}
	}

	focus = {
		id = CAN_cookie_carriers
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = CAN_commonwealth_air_training_plan }
		x = 1
		y = 3
		relative_position_id = CAN_rcaf_station_borden

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				factor = 2
				has_completed_focus = CAN_fund_fairchilds_development
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_cookie_carriers
				bonus = 0.5
				uses = 1
				category = cat_strategic_bomber
			}
			custom_effect_tooltip = available_designer
			show_ideas_tooltip = CAN_handley_page
		}
	}

	focus = {
		id = CAN_the_sabre_project
		icon = GFX_focus_rocketry
		prerequisite = { focus = CAN_cookie_carriers }
		prerequisite = { focus = CAN_fund_fairchilds_development }
		x = 0
		y = 4
		relative_position_id = CAN_rcaf_station_borden

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_the_sabre_project
				ahead_reduction = 0.5
				uses = 2
				category = rocketry
				category = jet_technology
			}
		}
	}


	############################
	###### NAVY SECTION ########
	############################

	focus = {
		id = CAN_halifax_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard
		x = 39
		y = 0

		cost = 10

		ai_will_do = {
			factor = 9
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {
			navy_experience = 25
			random_state = {
				limit = {
					has_state_flag = CAN_halifax_shipyards_DY
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
			}
		}

		completion_reward = {
			navy_experience = 25
			random_owned_controlled_state = {
				prioritize = { 464 }
				limit = {
					is_coastal = yes
					free_building_slots = {
						building = dockyard
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 3
					instant_build = yes
				}
				set_state_flag = CAN_halifax_shipyards_DY
			}
		}
	}

	focus = {
		id = CAN_destroyer_effort
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = CAN_halifax_shipyards }
		x = 0
		y = 1
		relative_position_id = CAN_halifax_shipyards

		cost = 10

		completion_reward = {
			add_tech_bonus = {
				name = CAN_destroyer_effort
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = dd_tech
			}
		}
	}

	focus = {
		id = CAN_light_cruiser_effort
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = CAN_destroyer_effort }
		x = -1
		y = 2
		relative_position_id = CAN_halifax_shipyards

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_light_cruiser_effort
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = cl_tech
			}
		}
	}

	focus = {
		id = CAN_heavy_cruiser_effort
		icon = GFX_goal_generic_occupy_states_coastal
		prerequisite = { focus = CAN_destroyer_effort }
		x = 1
		y = 2
		relative_position_id = CAN_halifax_shipyards

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			add_tech_bonus = {
				name = CAN_heavy_cruiser_effort
				bonus = 0.5
				ahead_reduction = 1
				uses = 1
				category = ca_tech
			}
		}
	}

	focus = {	
		id = CAN_escort_fleet
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = CAN_light_cruiser_effort }
		mutually_exclusive = { focus = CAN_fleet_in_being }
		x = -1
		y = 3
		relative_position_id = CAN_halifax_shipyards

		cost = 10

		ai_will_do = {
			factor = 25
			modifier = {
				has_war_with = GER
				factor = 2
			}
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = CAN_escort_fleet
				bonus = 0.5
				uses = 2
				category = convoy_defense_tree
			}
		}
	}

	focus = {
		id = CAN_fleet_in_being
		icon = GFX_goal_generic_navy_battleship

		x = 1
		y = 3
		relative_position_id = CAN_halifax_shipyards

		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			navy_experience = 25
			add_tech_bonus = {
				name = CAN_fleet_in_being
				bonus = 0.5
				uses = 2
				category = cat_fleet_in_being
			}			
		}
	}

	focus = {
		id = CAN_degauss_ship_hulls
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = CAN_escort_fleet focus = CAN_fleet_in_being }
		x = -1
		y = 4
		relative_position_id = CAN_halifax_shipyards

		cost = 10

		ai_will_do = {
			factor = 25
		}

		completion_reward = {
			add_ideas = CAN_degauss_ship_hulls
		}
	}

	focus = {
		id = CAN_trade_fleet
		icon = GFX_goal_generic_positive_trade_relations

		x = 1
		y = 4


		cost = 10

		ai_will_do = {
			factor = 25
		}

		available = {

		}
		
		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		complete_tooltip = {

		}

		completion_reward = {
			add_ideas = CAN_trade_fleet			
		}
	}

	focus = {
		id = CAN_united_shipyards
		icon = GFX_goal_generic_construct_naval_dockyard

		x = 0
		y = 5
		relative_position_id = CAN_halifax_shipyards

		cost = 10

	}

	focus = {
		id = SAF_Union_of_the_African_People
		icon = GFX_goal_anschluss
		x = 4
		y = 4

		cost = 10

	}

	focus = {
		id = SAF_south_africa_first
		icon = GFX_goal_generic_political_pressure

		x = 2
		y = 3

		cost = 10

	}

	focus = {
		id = SOV_great_purge
		icon = GFX_goal_generic_war_with_comintern
		available = {
			NOT = { has_country_flag = counter_purge }
			has_government = communism
		}
		x = 22
		y = 0
		cost = 30
		ai_will_do = {
			factor = 10
			modifier = {
				factor = 0
				any_claim = yes
				has_war = yes
			}
		}

		select_effect = {
			country_event = { id = soviet.24 days = 1 }
#			set_country_flag = SOV_purge_started
		}
		completion_reward = {

		}
	}

	focus = {
		id = SOV_reconcile_japan
		icon = GFX_goal_generic_major_alliance

		available = {			
			is_puppet = no
			JAP = { NOT = { is_in_faction = yes } } 
			NOT = { has_war_with = JAP }
		}

		bypass = {

		}
		x = 2
		y = 1

		cost = 10
		ai_will_do = {
			factor = 1
		}	
		completion_reward = {
			JAP = {

				effect_tooltip = { transfer_state = 655 }
			}
		}
	}

	focus = {
		id = SOV_claim_on_sinkiang
		icon = GFX_goal_generic_occupy_states_ongoing_war

		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 1
		}
		
		completion_reward = {

		}
	}

	focus = {
		id = SOV_southern_thrust
		icon = GFX_goal_generic_military_sphere

		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 1

		}

		bypass = {

		}
		completion_reward = {

		}
	}
	focus = {
		id = SOV_claims_on_baltic
		icon = GFX_goal_generic_more_territorial_claims

		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 10

		}
		bypass = {

		}
		completion_reward = {

		}
	}

	focus = {
		id = SOV_claims_on_poland
		icon = GFX_goal_generic_occupy_states_ongoing_war

		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 10
		}
	}

	focus = {
		id = SOV_baltic_security
		icon = GFX_goal_generic_forceful_treaty

		x = 0
		y = 1

		cost = 10
		ai_will_do = {
			factor = 10	
		}
		bypass = {

		}
		completion_reward = {

		}
	}

	focus = {
		id = SOV_claim_bessarabia
		icon = GFX_goal_generic_more_territorial_claims

		x = -2
		y = 1

		cost = 10
		ai_will_do = {
			factor = 2.5		
		}
		bypass = {

		}
		completion_reward = {

		}
	}

	focus = {
		id = SOV_anti_capitalist_diplomacy
		icon = GFX_goal_molotov_ribbentrop_pact

		x = 3
		y = 1

		cost = 30
		ai_will_do = {
			factor = 0.5

		}

		available_if_capitulated = yes

		completion_reward = {

		}
	}

	focus = {
		id = SOV_claim_on_the_straits
		icon = GFX_goal_generic_political_pressure

		x = 1
		y = 1

		cost = 10
	}


	focus = {
		id = SAF_support_the_german_coup
		icon = GFX_goal_generic_political_pressure

		x = 1
		y = 1

		cost = 10
	}
	focus = {
		id = SAF_anti_colonialist_crusade
		icon = GFX_goal_generic_political_pressure

		x = 1
		y = 1

		cost = 10
	}
	focus = {
		id = CHI_combined_arms_warfare
		icon = GFX_goal_generic_political_pressure

		x = 1
		y = 1

		cost = 10
	}
	focus = {
		id = CHI_mission_to_the_soviet_union
		icon = GFX_goal_generic_political_pressure

		x = 1
		y = 1

		cost = 10
	}
	focus = {
		id = MEX_focus_plan_of_agua_prieta
		icon = GFX_focus_hol_the_foundations_of_defense
		x = 23
		y = 0

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_stability = 0.05
		}
	}

	focus = {
		id = MEX_focus_exile_calles
		icon = GFX_focus_mex_exile_calles
		prerequisite = { focus = MEX_focus_plan_of_agua_prieta }
		mutually_exclusive = { focus = MEX_focus_jefe_maximo }
		x = -1
		y = 1
		relative_position_id = MEX_focus_plan_of_agua_prieta

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}


	}

	focus = {
		id = MEX_focus_jefe_maximo
		icon = GFX_focus_mex_jefe_maximo
		mutually_exclusive = { focus = MEX_focus_exile_calles }
		prerequisite = { focus = MEX_focus_plan_of_agua_prieta }
		x = 1
		y = 1
		relative_position_id = MEX_focus_plan_of_agua_prieta

		cost = 5

		ai_will_do = {
			factor = 100
			
			modifier = {
				factor = 0.1
				is_historical_focus_on = yes
			}
		}

		available = {
			
		}

		bypass = {
			
		}


	}
	
	focus = {
		id = MEX_focus_national_bank
		icon = GFX_focus_usa_reestablish_the_gold_standard
		x = 9
		y = 0

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

	}

	focus = {
		id = MEX_focus_agricultural_credit_bank
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = MEX_focus_national_bank }
		mutually_exclusive = { focus = MEX_focus_liberalize_the_banking_sector }
		x = 1
		y = 1
		relative_position_id = MEX_focus_national_bank

		cost = 5

		ai_will_do = {
			factor = 100
			
			modifier = {
				factor = 10
				has_government = communism
			}
		}


	}
	focus = {
		id = MEX_focus_confederation_of_mexican_workers
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = MEX_focus_agricultural_credit_bank }
		x = -2
		y = 1
		relative_position_id = MEX_focus_agricultural_credit_bank

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}
	focus = {
		id = MEX_focus_rent_freeze
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = MEX_focus_confederation_of_mexican_workers }
		x = 0
		y = 1
		relative_position_id = MEX_focus_confederation_of_mexican_workers

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}


	}
	focus = {
		id = MEX_focus_ejido_worker_militias
		icon = GFX_focus_YUG_pan_slavic_congress
		prerequisite = { focus = MEX_focus_rent_freeze }
		x = 0
		y = 1
		relative_position_id = MEX_focus_rent_freeze

		cost = 10

	}
	
	focus = {
		id = MEX_focus_party_of_the_revolution
		icon = GFX_goal_support_communism
		prerequisite = { focus = MEX_focus_ejido_worker_militias }
		x = 0
		y = 1
		relative_position_id = MEX_focus_ejido_worker_militias

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}
	
	focus = {
		id = MEX_focus_rural_infrastructure
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = MEX_focus_agricultural_credit_bank }
		x = 0
		y = 1
		relative_position_id = MEX_focus_agricultural_credit_bank

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}


	}

	focus = {
		id = MEX_focus_peripheral_infrastructure
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = MEX_focus_rural_infrastructure }
		x = 0
		y = 1
		relative_position_id = MEX_focus_rural_infrastructure

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}


	}

	focus = {
		id = MEX_focus_rural_schools
		icon = GFX_focus_research
		prerequisite = { focus = MEX_focus_peripheral_infrastructure }
		x = 0
		y = 1
		relative_position_id = MEX_focus_peripheral_infrastructure

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}
			

	}

	focus = {
		id = MEX_focus_liberalize_the_banking_sector
		icon = GFX_goal_generic_consumer_goods
		prerequisite = { focus = MEX_focus_national_bank }
		mutually_exclusive = { focus = MEX_focus_agricultural_credit_bank }
		x = 3
		y = 1
		relative_position_id = MEX_focus_national_bank

		cost = 5


	}

	focus = {
		id = MEX_focus_strike_breaking
		icon = GFX_focus_CZE_german_puppet
		prerequisite = { focus = MEX_focus_liberalize_the_banking_sector }
		x = 0
		y = 1
		relative_position_id = MEX_focus_liberalize_the_banking_sector

		cost = 10


	}

	focus = {
		id = MEX_focus_urban_development
		icon = GFX_goal_generic_construct_infrastructure
		prerequisite = { focus = MEX_focus_strike_breaking }
		x = 0
		y = 1
		relative_position_id = MEX_focus_strike_breaking

		cost = 5

		ai_will_do = {
			factor = 100
			
			modifier = {
				factor = 10
				has_war = yes
			}
		}

		available = {
			
		}

		bypass = {
			
		}


	}

	focus = {
		id = MEX_focus_cientifico_camarilla
		icon = GFX_focus_research
		prerequisite = { focus = MEX_focus_urban_development }
		x = 0
		y = 1
		relative_position_id = MEX_focus_urban_development

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}

	focus = {
		id = MEX_focus_end_land_reform
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = MEX_focus_liberalize_the_banking_sector }
		x = 2
		y = 1
		relative_position_id = MEX_focus_liberalize_the_banking_sector

		cost = 5

		ai_will_do = {
			factor = 100
		}


	}

	focus = {
		id = MEX_focus_privatization
		icon = GFX_focus_mex_privatisation
		prerequisite = { focus = MEX_focus_end_land_reform }
		x = 0
		y = 1
		relative_position_id = MEX_focus_end_land_reform

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}


	}

	focus = {
		id = MEX_focus_caudillo_private_armies
		icon = GFX_focus_mex_caudillo_private_armies
		prerequisite = { focus = MEX_focus_privatization }
		x = 0
		y = 1
		relative_position_id = MEX_focus_privatization

		cost = 10

	}

	focus = {
		id = MEX_focus_support_general_cedillo
		icon = GFX_focus_mex_support_general_cedillo
		prerequisite = { focus = MEX_focus_caudillo_private_armies }
		mutually_exclusive = { focus = MEX_focus_arrest_general_cedillo }
		x = 0
		y = 1
		relative_position_id = MEX_focus_caudillo_private_armies

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}
	
	focus = {
		id = MEX_focus_oil_field_expansion
		icon = GFX_goal_generic_oil_refinery
		prerequisite = { focus = MEX_focus_rural_schools focus = MEX_focus_cientifico_camarilla }
		x = 1
		y = 2
		relative_position_id = MEX_focus_rural_schools

		cost = 5


	}
	
	focus = {
		id = MEX_focus_royal_dutch_shell
		icon = GFX_focus_generic_the_giant_wakes
		prerequisite = { focus = MEX_focus_oil_field_expansion }
		mutually_exclusive = { focus = MEX_focus_nationalize_the_oil_fields }
		x = -2
		y = 1
		relative_position_id = MEX_focus_oil_field_expansion

		cost = 10


	}
	
	focus = {
		id = MEX_focus_oil_revenue_reinvestment
		icon = GFX_goal_generic_construct_civilian
		prerequisite = { focus = MEX_focus_royal_dutch_shell focus = MEX_focus_nationalize_the_oil_fields }
		x = 0
		y = 2
		relative_position_id = MEX_focus_oil_field_expansion

		cost = 10


	}

	focus = {
		id = MEX_focus_capital_reserves
		icon = GFX_focus_generic_license_production
		prerequisite = { focus = MEX_focus_oil_revenue_reinvestment }
		x = 0
		y = 1
		relative_position_id = MEX_focus_oil_revenue_reinvestment

		cost = 10

		ai_will_do = {
			factor = 1 # Don't think the AI bothers with licences
		}


	}
	
	focus = {
		id = MEX_focus_community_of_nations
		icon = GFX_focus_chi_british_cooperation
		prerequisite = { focus = MEX_focus_royal_dutch_shell }
		x = 0
		y = 2
		relative_position_id = MEX_focus_royal_dutch_shell

		cost = 5

		ai_will_do = {
			factor = 100
		}


	}

	focus = {
		id = MEX_focus_purchase_belize
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = MEX_focus_community_of_nations }
		x = 0
		y = 1
		relative_position_id = MEX_focus_community_of_nations

		cost = 10


	}

	focus = {
		id = MEX_focus_nationalize_the_oil_fields
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		prerequisite = { focus = MEX_focus_oil_field_expansion }
		mutually_exclusive = { focus = MEX_focus_royal_dutch_shell }
		x = 2
		y = 1
		relative_position_id = MEX_focus_oil_field_expansion

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}
	focus = {
		id = MEX_focus_northern_steel_plants
		icon = GFX_focus_generic_steel
		prerequisite = { focus = MEX_focus_oil_field_expansion }
		x = 7
		y = 1
		relative_position_id = MEX_focus_oil_field_expansion

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}
	focus = {
		id = MEX_focus_german_resource_exchange
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = MEX_focus_nationalize_the_oil_fields }
		mutually_exclusive = { focus = MEX_focus_oppose_yanqui_imperialism }
		mutually_exclusive = { focus = MEX_focus_compensation }
		x = 4
		y = 1
		relative_position_id = MEX_focus_nationalize_the_oil_fields

		cost = 5


	}

	focus = {
		id = MEX_focus_new_world_order
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = MEX_focus_german_resource_exchange }
		x = 0
		y = 1
		relative_position_id = MEX_focus_german_resource_exchange

		cost = 5


	}

	focus = {
		id = MEX_focus_oppose_yanqui_imperialism
		icon = GFX_focus_generic_strike_at_democracy3
		prerequisite = { focus = MEX_focus_nationalize_the_oil_fields }
		mutually_exclusive = { focus = MEX_focus_german_resource_exchange }
		mutually_exclusive = { focus = MEX_focus_compensation }
		x = 2
		y = 1
		relative_position_id = MEX_focus_nationalize_the_oil_fields

		cost = 5


	}

	focus = {
		id = MEX_focus_international_proletarianism
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = MEX_focus_oppose_yanqui_imperialism }
		x = 0
		y = 1
		relative_position_id = MEX_focus_oppose_yanqui_imperialism

		cost = 5


	}
	
	focus = {
		id = MEX_focus_interior_defence_plan # hurr build the wall. how's that swampy drainy stuff workin out for ya?
		icon = GFX_goal_generic_construct_military
		prerequisite = { focus = MEX_focus_international_proletarianism focus = MEX_focus_new_world_order }
		x = 1
		y = 1
		relative_position_id = MEX_focus_international_proletarianism

		cost = 5


	}

	focus = {
		id = MEX_focus_compensation
		icon = GFX_focus_generic_concessions
		prerequisite = { focus = MEX_focus_nationalize_the_oil_fields }
		mutually_exclusive = { focus = MEX_focus_german_resource_exchange }
		mutually_exclusive = { focus = MEX_focus_oppose_yanqui_imperialism }
		x = 0
		y = 1
		relative_position_id = MEX_focus_nationalize_the_oil_fields

		cost = 5


	}

	focus = {
		id = MEX_focus_liberty_and_justice_for_all
		icon = GFX_focus_chi_mission_to_the_us
		prerequisite = { focus = MEX_focus_compensation }
		x = 0
		y = 1
		relative_position_id = MEX_focus_compensation

		cost = 5


	}

	focus = {
		id = MEX_focus_aztec_eagles
		icon = GFX_focus_chi_flying_tigers
		prerequisite = { focus = MEX_focus_liberty_and_justice_for_all }
		x = 0
		y = 1
		relative_position_id = MEX_focus_liberty_and_justice_for_all

		cost = 10


	}

	focus = {
		id = MEX_focus_international_peacekeepers
		icon = GFX_focus_generic_paratrooper
		prerequisite = { focus = MEX_focus_aztec_eagles focus = MEX_focus_purchase_belize }
		x = -2
		y = 1
		relative_position_id = MEX_focus_aztec_eagles

		cost = 10

		ai_will_do = {
			factor = 100
		}


	}
	
	focus = {
		id = MEX_focus_purge_the_bureaucracy
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		prerequisite = { focus = MEX_focus_exile_calles }
		x = -5
		y = 1
		relative_position_id = MEX_focus_exile_calles

		cost = 10


	}

	focus = {
		id = MEX_focus_institutional_revolution
		icon = GFX_goal_support_democracy
		prerequisite = { focus = MEX_focus_purge_the_bureaucracy }
		x = 1
		y = 1
		relative_position_id = MEX_focus_purge_the_bureaucracy

		cost = 10


	}	

	focus = {
		id = MEX_focus_arrest_general_cedillo
		icon = GFX_focus_mex_arrest_general_cedillo
		prerequisite = { focus = MEX_focus_purge_the_bureaucracy }
		mutually_exclusive = { focus = MEX_focus_support_general_cedillo }
		x = -1
		y = 3
		relative_position_id = MEX_focus_purge_the_bureaucracy

		cost = 10

	}

	focus = {
		id = MEX_focus_control_the_army
		icon = GFX_focus_generic_military_mission
		prerequisite = { focus = MEX_focus_exile_calles focus = MEX_focus_jefe_maximo }
		x = 1
		y = 1
		relative_position_id = MEX_focus_exile_calles

		cost = 5


	}

	focus = {
		id = MEX_focus_repeal_the_calles_law
		icon = GFX_focus_renounce_the_treaty_of_trianon
		prerequisite = { focus = MEX_focus_control_the_army }
		mutually_exclusive = { focus = MEX_focus_enforce_the_calles_law }
		x = -3
		y = 1
		relative_position_id = MEX_focus_control_the_army

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_stability = 0.05
			MEX_increase_church_power = yes
		}
	}

	focus = {
		id = MEX_focus_abolish_capital_punishment
		icon = GFX_goal_generic_neutrality_focus
		prerequisite = { focus = MEX_focus_repeal_the_calles_law }
		x = 0
		y = 1
		relative_position_id = MEX_focus_repeal_the_calles_law

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_political_power = 160
		}
	}

	focus = {
		id = MEX_focus_enforce_the_calles_law
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = MEX_focus_control_the_army }
		mutually_exclusive = { focus = MEX_focus_repeal_the_calles_law }
		x = -1
		y = 1
		relative_position_id = MEX_focus_control_the_army

		cost = 5

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_war_support = 0.05
			MEX_decrease_church_power = yes
		}
	}

	focus = {
		id = MEX_focus_triumph_over_the_cristeros
		icon = GFX_focus_mex_triumph_over_the_cristeros
		prerequisite = { focus = MEX_focus_enforce_the_calles_law }
		x = 0
		y = 1
		relative_position_id = MEX_focus_enforce_the_calles_law

		cost = 10

	}

	focus = {
		id = MEX_focus_state_education
		icon = GFX_focus_research
		prerequisite = { focus = MEX_focus_abolish_capital_punishment focus = MEX_focus_triumph_over_the_cristeros }
		mutually_exclusive = { focus = MEX_focus_knights_of_columbus }
		mutually_exclusive = { focus = MEX_focus_legion_of_christ }
		x = 1
		y = 1
		relative_position_id = MEX_focus_abolish_capital_punishment

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
		
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
			MEX_decrease_church_power = yes
			
		}
	}

	focus = {
		id = MEX_focus_xefo
		icon = GFX_goal_generic_radar
		prerequisite = { focus = MEX_focus_state_education }
		x = 0
		y = 1
		relative_position_id = MEX_focus_state_education

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_tech_bonus = {
				name = electronics
				bonus = 1.0
				uses = 2
				category = electronics
			}
		}
	}

	focus = {
		id = MEX_focus_law_on_industrial_promotion
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = MEX_focus_xefo }
		x = 0
		y = 1
		relative_position_id = MEX_focus_xefo

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			every_state = {
				limit = {
					OR = {
						state = 277
						state = 478
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = MEX_focus_nafinsa
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = MEX_focus_law_on_industrial_promotion }
		x = 0
		y = 1
		relative_position_id = MEX_focus_law_on_industrial_promotion

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = {
					has_tech = synth_oil_experiments
				}
				every_state = {
					limit = {
						OR = {
							state = 277
							state = 485
						}
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = synthetic_refinery
						level = 1
						instant_build = yes
					}
				}
				else = {
					every_state = {
						limit = {
							OR = {
								state = 277
								state = 485
							}
						}
						add_extra_state_shared_building_slots = 1
						add_building_construction = {
							type = arms_factory
							level = 1
							instant_build = yes
						}
					}
				}
			}
		}
	}

	focus = {
		id = MEX_focus_engineering_school
		icon = GFX_focus_research2
		prerequisite = { focus = MEX_focus_northern_steel_plants focus = MEX_focus_xefo }
		x = 1
		y = 1
		relative_position_id = MEX_focus_northern_steel_plants

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = MEX_escuela_de_ingeneria_electrica
			add_tech_bonus = {
				name = electronics
				bonus = 1.0
				uses = 1
				category = electronics
			}
		}
	}

	focus = {
		id = MEX_focus_television_innovators
		icon = GFX_focus_research
		prerequisite = { focus = MEX_focus_engineering_school }
		x = 0
		y = 1
		relative_position_id = MEX_focus_engineering_school

		cost = 20

		available = {
			num_of_factories > 50
		}
		
		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
			add_tech_bonus = {
				name = electronics
				bonus = 1.0
				uses = 1
				category = electronics
			}
		}
	}

	focus = {
		id = MEX_focus_antidisestablishmentarianism
		icon = GFX_goal_generic_demand_territory
		prerequisite = { focus = MEX_focus_control_the_army }
		x = 1
		y = 1
		relative_position_id = MEX_focus_control_the_army

		cost = 5

	}

	focus = {
		id = MEX_focus_rewrite_the_constitution
		icon = GFX_goal_generic_dangerous_deal
		prerequisite = { focus = MEX_focus_antidisestablishmentarianism }
		x = 0
		y = 1
		relative_position_id = MEX_focus_antidisestablishmentarianism

		cost = 5

		ai_will_do = {
			factor = 100
		}

	}

	focus = {
		id = MEX_focus_knights_of_columbus
		icon = GFX_goal_support_democracy
		prerequisite = { focus = MEX_focus_rewrite_the_constitution }
		mutually_exclusive = { focus = MEX_focus_state_education }
		mutually_exclusive = { focus = MEX_focus_legion_of_christ }
		x = -1
		y = 1
		relative_position_id = MEX_focus_rewrite_the_constitution

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			MEX_increase_church_power = yes
			add_ideas = MEX_knights_of_columbus
		}
	}
	
	focus = {
		id = MEX_focus_catholic_politics
		icon = GFX_goal_generic_improve_relations
		prerequisite = { focus = MEX_focus_knights_of_columbus }
		x = 0
		y = 2
		relative_position_id = MEX_focus_knights_of_columbus

		cost = 10

		ai_will_do = {
			factor = 100
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

	}
	
	focus = {
		id = MEX_focus_social_catholicism
		icon = GFX_focus_generic_the_giant_wakes
		prerequisite = { focus = MEX_focus_catholic_politics }
		x = 0
		y = 1
		relative_position_id = MEX_focus_catholic_politics

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = MEX_knights_of_columbus
				add_idea = MEX_social_catholicism
			}
		}
	}
	
	focus = {
		id = MEX_focus_legion_of_christ
		icon = GFX_goal_support_fascism
		prerequisite = { focus = MEX_focus_rewrite_the_constitution }
		mutually_exclusive = { focus = MEX_focus_state_education }
		mutually_exclusive = { focus = MEX_focus_knights_of_columbus }
		x = 1
		y = 1
		relative_position_id = MEX_focus_rewrite_the_constitution

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			MEX_increase_church_power = yes
			add_ideas = MEX_legion_of_christ
		}
	
	}
	
	focus = {
		id = MEX_focus_crusade_against_atheism
		icon = GFX_focus_mex_restore_the_army_of_christ
		prerequisite = { focus = MEX_focus_legion_of_christ }
		x = 0
		y = 2
		relative_position_id = MEX_focus_legion_of_christ

		cost = 10


	}

	focus = {
		id = MEX_focus_triumph_of_synarchism
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = MEX_focus_crusade_against_atheism }
		x = 0
		y = 1
		relative_position_id = MEX_focus_crusade_against_atheism

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			swap_ideas = {
				remove_idea = MEX_legion_of_christ
				add_idea = MEX_triumph_of_synarchism
			}
		}
	}

	focus = {
		id = MEX_focus_church_schools
		icon = GFX_focus_research
		prerequisite = { focus = MEX_focus_knights_of_columbus focus = MEX_focus_legion_of_christ }
		x = 1
		y = 1
		relative_position_id = MEX_focus_knights_of_columbus

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_research_slot = 1
		}
	}
	
	focus = {
		id = MEX_focus_synarchist_communes
		icon = GFX_focus_generic_industry_2
		prerequisite = { focus = MEX_focus_social_catholicism focus = MEX_focus_triumph_of_synarchism }
		x = 1
		y = 1
		relative_position_id = MEX_focus_social_catholicism

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}


	}
	
	focus = {
		id = MEX_focus_reform_the_cristero_guard
		icon = GFX_focus_generic_little_entente
		prerequisite = { focus = MEX_focus_synarchist_communes }
		mutually_exclusive = { focus = MEX_focus_synarchist_youth }
		x = -1
		y = 1
		relative_position_id = MEX_focus_synarchist_communes

		cost = 10

		ai_will_do = {
			factor = 100
		}

	}
	
	focus = {
		id = MEX_focus_synarchist_youth
		icon = GFX_goal_generic_more_territorial_claims
		prerequisite = { focus = MEX_focus_synarchist_communes }
		mutually_exclusive = { focus = MEX_focus_reform_the_cristero_guard}
		x = 1
		y = 1
		relative_position_id = MEX_focus_synarchist_communes

		cost = 10


	}
	
	focus = {
		id = MEX_focus_ban_political_militias
		icon = GFX_goal_generic_allies_build_infantry
		prerequisite = { focus = MEX_focus_plan_of_agua_prieta }
		mutually_exclusive = { focus = MEX_focus_legacy_of_revolution }
		x = 4
		y = 1
		relative_position_id = MEX_focus_plan_of_agua_prieta

		cost = 10

	}
	
	focus = {
		id = MEX_focus_revolutionary_women
		icon = GFX_focus_generic_diplomatic_treaty
		prerequisite = { focus = MEX_focus_ban_political_militias focus = MEX_focus_legacy_of_revolution }
		x = 1
		y = 1
		relative_position_id = MEX_focus_ban_political_militias

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

	}

	focus = {
		id = MEX_focus_womens_suffrage
		icon = GFX_goal_generic_scientific_exchange
		prerequisite = { focus = MEX_focus_revolutionary_women }
		x = 1
		y = 1
		relative_position_id = MEX_focus_revolutionary_women

		cost = 10

		ai_will_do = {
			factor = 100
		}

	}
	
	focus = {
		id = MEX_focus_soldaderas
		icon = GFX_focus_mex_soldaderas
		prerequisite = { focus = MEX_focus_revolutionary_women }
		mutually_exclusive = { focus = MEX_focus_professional_army }
		x = 0
		y = 2
		relative_position_id = MEX_focus_revolutionary_women

		cost = 10

		ai_will_do = {
			factor = 100
			
			modifier = {
				factor = 0.1
				is_historical_focus_on = yes
			}
		}


	}

	focus = {
		id = MEX_focus_depoliticised_army
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = MEX_focus_control_the_army }
		prerequisite = { focus = MEX_focus_ban_political_militias }
		x = 3
		y = 1
		relative_position_id = MEX_focus_control_the_army

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

	}
	
	focus = {
		id = MEX_focus_professional_army
		icon = GFX_focus_secret_rearmament
		prerequisite = { focus = MEX_focus_depoliticised_army }
		mutually_exclusive = { focus = MEX_focus_soldaderas }
		x = 0
		y = 1
		relative_position_id = MEX_focus_depoliticised_army

	}

	focus = {
		id = MEX_focus_legacy_of_revolution
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = MEX_focus_plan_of_agua_prieta }
		mutually_exclusive = { focus = MEX_focus_ban_political_militias }
		x = 9
		y = 1
		relative_position_id = MEX_focus_plan_of_agua_prieta

		cost = 10

	}
	
	focus = {
		id = MEX_focus_the_gold_shirts
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = MEX_focus_legacy_of_revolution }
		mutually_exclusive = { focus = MEX_focus_the_red_shirts }
		x = -1
		y = 2
		relative_position_id = MEX_focus_legacy_of_revolution

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

	}

	focus = {
		id = MEX_focus_revanchist_revolution
		icon = GFX_goal_support_fascism
		prerequisite = { focus = MEX_focus_the_gold_shirts }
		x = -1
		y = 1
		relative_position_id = MEX_focus_the_gold_shirts

		cost = 10

	}

	focus = {
		id = MEX_focus_the_red_shirts
		icon = GFX_focus_prc_agrarian_socialism
		prerequisite = { focus = MEX_focus_legacy_of_revolution }
		mutually_exclusive = { focus = MEX_focus_the_gold_shirts }
		x = 1
		y = 2
		relative_position_id = MEX_focus_legacy_of_revolution

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}


	}
	
	focus = {
		id = MEX_focus_communist_revolution
		icon = GFX_goal_support_communism
		prerequisite = { focus = MEX_focus_the_red_shirts }
		x = 1
		y = 1
		relative_position_id = MEX_focus_the_red_shirts

		cost = 10

		ai_will_do = {
			factor = 100
		}

	}
	
	focus = {
		id = MEX_focus_hispanic_culture
		icon = GFX_goal_generic_political_pressure
		prerequisite = { focus = MEX_focus_the_gold_shirts }
		prerequisite = { focus = MEX_focus_international_struggle }
		x = 0
		y = 2
		relative_position_id = MEX_focus_the_gold_shirts

		cost = 5

	}

	focus = {
		id = MEX_focus_revolutionary_class_war
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = MEX_focus_the_red_shirts }
		prerequisite = { focus = MEX_focus_international_struggle }
		x = 0
		y = 2
		relative_position_id = MEX_focus_the_red_shirts

	}

	focus = {
		id = MEX_focus_international_struggle
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = MEX_focus_the_gold_shirts focus = MEX_focus_the_red_shirts }
		x = 1
		y = 1
		relative_position_id = MEX_focus_the_gold_shirts

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			set_rule = { can_send_volunteers = yes }
			add_ideas = MEX_international_struggle
		}
	}
	
	focus = {
		id = MEX_focus_spanish_civil_war_refugees
		icon = GFX_goal_generic_intelligence_exchange
		prerequisite = { focus = MEX_focus_professional_army focus = MEX_focus_soldaderas focus = MEX_focus_hispanic_culture focus = MEX_focus_revolutionary_class_war }
		x = 1
		y = 2
		relative_position_id = MEX_focus_soldaderas

		cost = 5


	}
	
	focus = {
		id = MEX_focus_falangist_veterans
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { focus = MEX_focus_spanish_civil_war_refugees }
		mutually_exclusive = { focus = MEX_focus_support_spains_loyalists }
		x = -1
		y = 1
		relative_position_id = MEX_focus_spanish_civil_war_refugees

	}

	focus = {
		id = MEX_focus_support_spains_loyalists
		icon = GFX_goal_generic_war_with_comintern
		prerequisite = { focus = MEX_focus_spanish_civil_war_refugees }
		mutually_exclusive = { focus = MEX_focus_falangist_veterans }
		x = 1
		y = 1
		relative_position_id = MEX_focus_spanish_civil_war_refugees

		cost = 5

	}
	
	focus = {
		id = MEX_focus_hispanic_alliance
		icon = GFX_goal_generic_alliance
		prerequisite = { focus = MEX_focus_falangist_veterans }
		mutually_exclusive = { focus = MEX_focus_realpolitik }
		x = -2
		y = 2
		relative_position_id = MEX_focus_spanish_civil_war_refugees

		cost = 10

	}

	focus = {
		id = MEX_focus_propaganda_pact
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = MEX_focus_hispanic_alliance }
		x = -1
		y = 1
		relative_position_id = MEX_focus_hispanic_alliance

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			has_government = fascism
			any_allied_country = {
				has_government = fascism
			}
			any_enemy_country = {
				has_government = communism
			}
		}

		bypass = {
			
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		available_if_capitulated = yes

		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
		}
	}
	
	focus = {
		id = MEX_focus_invite_brazil
		icon = GFX_goal_generic_major_alliance
		prerequisite = { focus = MEX_focus_hispanic_alliance focus = MEX_focus_bolivarian_alliance }
		x = 1
		y = 1
		relative_position_id = MEX_focus_hispanic_alliance

	}

	focus = {
		id = MEX_focus_realpolitik
		icon = GFX_goal_molotov_ribbentrop_pact
		prerequisite = { focus = MEX_focus_falangist_veterans focus = MEX_focus_support_spains_loyalists }
		mutually_exclusive = { focus = MEX_focus_hispanic_alliance focus = MEX_focus_bolivarian_alliance }
		x = 0
		y = 2
		relative_position_id = MEX_focus_spanish_civil_war_refugees

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			set_rule = { can_create_factions = yes }
			add_stability = 0.05
			add_war_support = 0.05
			add_political_power = 120
		}
	}
	
	focus = {
		id = MEX_focus_bolivarian_alliance
		icon = GFX_goal_anschluss
		prerequisite = { focus = MEX_focus_support_spains_loyalists }
		mutually_exclusive = { focus = MEX_focus_realpolitik }
		x = 2
		y = 2
		relative_position_id = MEX_focus_spanish_civil_war_refugees

		cost = 10

		ai_will_do = {
			factor = 100
			
			modifier = {
				factor = 0.1
				is_historical_focus_on = yes
			}
		}

	}
	
	focus = {
		id = MEX_focus_smash_the_bureaucrats
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = MEX_focus_bolivarian_alliance }
		x = 0
		y = 1
		relative_position_id = MEX_focus_bolivarian_alliance

		cost = 10

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

	}
	
	focus = {
		id = MEX_focus_liberate_the_antilles
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		prerequisite = { focus = MEX_focus_bolivarian_alliance }
		x = 2
		y = 1
		relative_position_id = MEX_focus_bolivarian_alliance

		cost = 10

		ai_will_do = {
			factor = 100
		}
	}
	
	focus = {
		id = MEX_focus_one_world_government
		icon = GFX_goal_support_fourth_int
		prerequisite = { focus = MEX_focus_smash_the_bureaucrats }
		x = 0
		y = 1
		relative_position_id = MEX_focus_smash_the_bureaucrats

		cost = 10

	}

	focus = {
		id = MEX_focus_coastal_defence_plan
		icon = GFX_goal_generic_fortify_city
		prerequisite = { focus = MEX_focus_hispanic_alliance focus = MEX_focus_bolivarian_alliance }
		x = 2
		y = 2
		relative_position_id = MEX_focus_hispanic_alliance

	}
	
	focus = {
		id = MEX_focus_march_southwards
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = MEX_focus_interior_defence_plan focus = MEX_focus_coastal_defence_plan }
		x = 8
		y = 1
		relative_position_id = MEX_focus_interior_defence_plan

		cost = 5

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		completion_reward = {
			add_named_threat = {
				threat = 2
				name = threat_mexico_marching_southwards
			}
			every_state = {
				limit = {
					OR = {
						is_core_of = GUA
						is_core_of = HON
						is_core_of = ELS
						state = 311 # British Honduras
					}
					NOT = {
						is_core_of = ROOT
					}
				}
				add_claim_by = ROOT
			}
            if = {
            	limit = {
            		GUA = {
						exists = yes
            			NOT = {
            				OR = {
            					is_in_faction_with = ROOT
                            	is_subject_of = ROOT
            				}
            			}
            		}
            	}
            	create_wargoal = {
                    type = annex_everything
                    target = GUA
                }
            }
            if = {
            	limit = {
            		HON = {
						exists = yes
            			NOT = {
            				OR = {
            					is_in_faction_with = ROOT
                            	is_subject_of = ROOT
            				}
            			}
            		}
            	}
            	create_wargoal = {
                    type = annex_everything
                    target = HON
                }
            }
            if = {
            	limit = {
            		ELS = {
						exists = yes
            			NOT = {
            				OR = {
            					is_in_faction_with = ROOT
                            	is_subject_of = ROOT
            				}
            			}
            		}
            	}
            	create_wargoal = {
                    type = annex_everything
                    target = ELS
                }
            }
		}
		will_lead_to_war_with = GUA
		will_lead_to_war_with = HON
		will_lead_to_war_with = ELS
	}
	
	focus = {
		id = MEX_focus_unify_centroamerica
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = MEX_focus_march_southwards }
		x = 0
		y = 1
		relative_position_id = MEX_focus_march_southwards

	}
	
	focus = {
		id = MEX_focus_liberate_the_caribbean
		icon = GFX_goal_demand_sudetenland
		prerequisite = { focus = MEX_focus_unify_centroamerica }
		x = -2
		y = 1
		relative_position_id = MEX_focus_unify_centroamerica

		cost = 10

		ai_will_do = {
			factor = 100
		}

		available = {
			
		}

		bypass = {
			
		}
	
	}
	
	focus = {
		id = MEX_focus_integrate_the_caribbean
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = MEX_focus_liberate_the_caribbean }
		x = 0
		y = 1
		relative_position_id = MEX_focus_liberate_the_caribbean

		cost = 10

	}
	
	focus = {
		id = MEX_focus_push_past_the_darien_gap
		icon = GFX_goal_generic_occupy_states_ongoing_war
		prerequisite = { focus = MEX_focus_unify_centroamerica }
		x = 3
		y = 1
		relative_position_id = MEX_focus_unify_centroamerica

		cost = 10

		ai_will_do = {
			factor = 100
		}

	}

	focus = {
		id = MEX_focus_andean_offensive
		icon = GFX_goal_generic_attack_allies
		prerequisite = { focus = MEX_focus_push_past_the_darien_gap }
		x = 0
		y = 1
		relative_position_id = MEX_focus_push_past_the_darien_gap

		cost = 10


	}	

	focus = {
		id = MEX_focus_seize_the_panama_canal
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = MEX_focus_unify_centroamerica }
		x = 1
		y = 2
		relative_position_id = MEX_focus_unify_centroamerica

		cost = 5

	}

	focus = {
		id = MEX_focus_integrate_the_south
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = MEX_focus_unify_centroamerica }
		x = 0
		y = 1
		relative_position_id = MEX_focus_unify_centroamerica

		cost = 10

	}
	
	focus = {
		id = MEX_focus_fortify_the_canal
		icon = GFX_focus_generic_coastal_fort
		prerequisite = { focus = MEX_focus_seize_the_panama_canal }
		x = 1
		y = 1
		relative_position_id = MEX_focus_seize_the_panama_canal

		cost = 5

		ai_will_do = {
			factor = 80
		}



	}
	focus = {
		id = MEX_focus_rescind_the_mexican_cession
		icon = GFX_focus_generic_strike_at_democracy3
		prerequisite = { focus = MEX_focus_seize_the_panama_canal }
		x = -1
		y = 1
		relative_position_id = MEX_focus_seize_the_panama_canal


	}
	
	focus = {
		id = MEX_focus_redeem_aztlan
		icon = GFX_focus_mex_redeem_aztlan
		prerequisite = { focus = MEX_focus_rescind_the_mexican_cession }
		x = 0
		y = 1
		relative_position_id = MEX_focus_rescind_the_mexican_cession

		cost = 30


	}
	
	focus = {
		id = MEX_focus_military_budget_review
		icon = GFX_focus_generic_combined_arms
		prerequisite = { focus = MEX_focus_national_bank }
		x = -6
		y = 1
		relative_position_id = MEX_focus_national_bank

		cost = 10


	}

	focus = {
		id = MEX_focus_gulf_coast_naval_yards
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = MEX_focus_military_budget_review }
		x = -2
		y = 1
		relative_position_id = MEX_focus_military_budget_review

		cost = 10

	}

	focus = {
		id = MEX_focus_pacific_coast_naval_yards
		icon = GFX_goal_generic_construct_naval_dockyard
		prerequisite = { focus = MEX_focus_military_budget_review }
		x = 0
		y = 1
		relative_position_id = MEX_focus_military_budget_review

		cost = 10

	}

	focus = {
		id = MEX_focus_brown_water_navy
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = MEX_focus_pacific_coast_naval_yards focus = MEX_focus_gulf_coast_naval_yards }
		x = -1
		y = 2
		relative_position_id = MEX_focus_pacific_coast_naval_yards


	}

	focus = {
		id = MEX_focus_blue_water_navy
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = MEX_focus_brown_water_navy }
		mutually_exclusive = { focus = MEX_focus_raiding_navy }
		x = -1
		y = 1
		relative_position_id = MEX_focus_brown_water_navy

		cost = 10

	}

	focus = {
		id = MEX_focus_raiding_navy
		icon = GFX_goal_generic_wolf_pack
		prerequisite = { focus = MEX_focus_brown_water_navy }
		mutually_exclusive = { focus = MEX_focus_blue_water_navy }
		x = 1
		y = 1
		relative_position_id = MEX_focus_brown_water_navy

		cost = 10

	}

	focus = {
		id = MEX_focus_heroic_military_college
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = MEX_focus_military_budget_review }
		x = 2
		y = 1
		relative_position_id = MEX_focus_military_budget_review

		cost = 10

	}
	
	focus = {
		id = MEX_focus_weapons_modernisation
		icon = GFX_goal_generic_small_arms
		prerequisite = { focus = MEX_focus_heroic_military_college }
		x = -1
		y = 1
		relative_position_id = MEX_focus_heroic_military_college

		cost = 10

	}
	
	focus = {
		id = MEX_focus_tank_workshops
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = MEX_focus_weapons_modernisation }
		x = 0
		y = 1
		relative_position_id = MEX_focus_weapons_modernisation


	}
	
	focus = {
		id = MEX_focus_aviation_workshops
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = MEX_focus_heroic_military_college }
		x = 1
		y = 1
		relative_position_id = MEX_focus_heroic_military_college


	}
	
	focus = {
		id = MEX_focus_military_aviation_specialists
		icon = GFX_goal_generic_air_production
		prerequisite = { focus = MEX_focus_aviation_workshops }
		x = 0
		y = 1
		relative_position_id = MEX_focus_aviation_workshops


	}

	focus = {
		id = MEX_focus_army_expansion_programme
		icon = GFX_goal_generic_construct_mil_factory
		x = 1
		y = 1
		relative_position_id = MEX_focus_tank_workshops

		cost = 10


	}
	
	focus = {
		id = MEX_focus_heavy_artillery
		icon = GFX_goal_generic_army_artillery2
		x = -1
		y = 1
		relative_position_id = MEX_focus_army_expansion_programme
		
		cost = 10

	}

	focus = {
		id = MEX_focus_aerial_artillery
		icon = GFX_goal_generic_occupy_start_war
		x = 1
		y = 1		
		cost = 10

	}	

}