focus_tree = {
	id = usa_focus
	
	country = {
		factor = 0
		
		modifier = {
			add = 10
			tag = USA
		}
		
		modifier = {
			add = 10
			original_tag = USA
		}
	}
	continuous_focus_position = { x = 3600 y = 1200 }
	default = no

	focus = {
		id = USA_continue_the_new_deal
		icon = GFX_Goal_USA_new_deal
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = USA_reestablish_the_gold_standard
				}
			}
		}
		x = 16
		y = 0
		offset = {
			x = -12
			y = 0
			trigger = {
				OR = {
					NOT = { has_dlc = "Man the Guns" }
					if = {
						limit = {
							has_game_rule = {
								rule = obsolete_focus_branches_visibility
								option = HIDE
							}
						}
						has_completed_focus = USA_reestablish_the_gold_standard
					}
				}
			}
		}
		offset = {
			x = -12
			y = 0
			trigger = {
				not = { has_dlc = "Man the Guns" }
			}
		}

		mutually_exclusive = { focus = USA_reestablish_the_gold_standard }
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = democratic
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_political_power = 120
			mark_focus_tree_layout_dirty = yes
		}
	}

	focus = {
		id = USA_double_victory
		icon = GFX_Goal_USA_double_victory
		x = -6
		y = 2
		prerequisite = { focus = USA_wpa focus = USA_suspend_the_presecution }
		relative_position_id = USA_continue_the_new_deal
		cost = 5

		ai_will_do = {
			factor = 0.9
			modifier = {
				add = 100
				has_war_support < 0.20
			}
		}

		available = {
			congress_low_support_trigger = yes
			if = {
				limit = {
					has_government = democratic
				}
				democratic > 0.95
			}
			else = {
				has_government = communism
			}
			if = {
				limit = {
					NOT = {
						has_completed_focus = USA_suspend_the_presecution 
					}
				}
				has_war = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_political_power = 25
			add_war_support = 0.03 #placeholder for better idea and concepts later - SpicyAlfredo
			add_stability = 0.03 #placeholder for better idea and concepts later - SpicyAlfredo
		}
	}

	focus = {
		id = USA_fight_jim_crow_now
		icon = GFX_goal_african_diplomacy
		x = -6
		y = 3
		prerequisite = { focus = USA_double_victory }
		relative_position_id = USA_continue_the_new_deal
		cost = 10

		ai_will_do = {
			factor = 0.2
			modifier = {
				add = 0.8
				is_historical_focus_on = no
			}
		}

		allow_branch = {
			has_government = democratic
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = USA_reestablish_the_gold_standard
				}
			}
		}

		available = {
			congress_high_support_trigger = yes
			democratic > 0.95
			date < 1954.01.01
			if = {
				limit = {
					370 = {
						is_fully_controlled_by = ROOT
					}
				}
				divisions_in_state = {
					size > 0
					state = 370
				}
			}
			if = {
				limit = {
					367 = {
						is_fully_controlled_by = ROOT
					}
				}
				divisions_in_state = {
					size > 0
					state = 367
				}
			}
			if = {
				limit = {
					371 = {
						is_fully_controlled_by = ROOT
					}
				}
				divisions_in_state = {
					size > 0
					state = 371
				}
			}

		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_USA_CONGRESS FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			unlock_decision_tooltip = { decision = USA_pass_a_new_civil_rights_bill show_effect_tooltip = yes } 
			add_stability = -0.10
		}
	}

	focus = {
		id = USA_suspend_the_presecution
		icon = GFX_focus_generic_diplomatic_treaty
		x = -7
		y = 1
		prerequisite = { focus = USA_continue_the_new_deal }
		relative_position_id = USA_continue_the_new_deal
		cost = 5

		available = { 
			congress_low_support_trigger = yes
		}

		ai_will_do = {
			factor = 1
			modifier = { #Always one commie big bad
				add = 9
				date < 1939.1.1
				SOV = {
					OR = {
						NOT = { 
							has_government = communism
						}
						has_completed_focus = SOV_counter_coup
						has_completed_focus = SOV_beaten_but_not_defeated
					}
				}
			}
		}

		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = USA_reestablish_the_gold_standard
				}
			}
		}
		
		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		completion_reward = {
			add_stability = -0.05
			add_war_support = 0.05 #upside of going commie
			custom_effect_tooltip = available_political_advisor
		    show_ideas_tooltip = earl_browder
			if = {
		    	limit = {
					has_idea = rt56_j_edgar_hoover
				}
				remove_ideas = rt56_j_edgar_hoover
			}
		    if = {
		    	limit = {
		    		is_ai = yes
		    		OR = {
						has_country_flag = USA_AI_RANDOM_COMMUNIST
						has_game_rule = {
							rule = USA_ai_behavior
							option = COMMUNIST
						}
					}
		    	}
		    	add_ideas = earl_browder
			}
			effect_tooltip = {
				remove_ideas = rt56_far_left_suppression
			}
			hidden_effect = {
				if = {
					limit = {
						has_idea = rt56_far_left_suppression
					}
					remove_ideas = rt56_far_left_suppression
				}
			}
			USA_congress_small_opposition = yes #Making rushing alt USA a little harder in Rt56
		}
	}
	focus = {
		id = USA_desegregate_the_armed_forces
		icon = GFX_Goal_USA_Desegregated_military
		x = -6
		y = 1
		prerequisite = { focus = USA_suspend_the_presecution }
		relative_position_id = USA_suspend_the_presecution
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				communism > 0.1
				has_country_leader = { ruling_only = yes name = "Harry S. Truman" }
				has_country_leader = { ruling_only = yes character = USA_wendell_willkie }
			}
		}

		
		
		
		search_filters = {FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_ideas = USA_armed_forces_desegregation
		}
	}
	
	focus = {
		id = USA_democratic_socialism
		icon = GFX_goal_generic_red_freedom
		text = USA_democratic_socialism_focus
		x = -1
		y = 1
		prerequisite = { focus = USA_desegregate_the_armed_forces }
		relative_position_id = USA_desegregate_the_armed_forces
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			communism > 0.35
		}
		
		bypass = {
			has_government = communism
		}

		
		
		
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			set_politics = { ruling_party = communism elections_allowed = yes } #good and nice communism has elections
			add_popularity = { ideology = communism popularity = 0.25 }
			set_cosmetic_tag = USA_Non_civil_war_communist_tag
			hidden_effect = {
				if = {
					limit = {
						has_war = no
						has_country_flag = mtg_usa_civil_war_fascists_2
						not = {
							has_country_flag = mucwf4
						}
						NOT = {
							country_exists = CSA
						}
					}
					country_event = mtg_usa_civil_war_fascists.4
				}
			}
		}
	}
	focus = {
		id = USA_communist_secret_police
		icon = GFX_focus_SOV_military_purge
		cost = 10
		text = POR_communist_secret_police
		prerequisite = {
			focus = USA_democratic_socialism
		}
		available = {
			NOT = {
				has_completed_focus = USA_office_of_strategic_services
			}
		}
		relative_position_id = USA_democratic_socialism
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = yes
					NOT = {
						has_done_agency_upgrade = upgrade_interrogation_techniques
					}
				}
				upgrade_intelligence_agency = upgrade_interrogation_techniques
			}
			else_if = {
				limit = {
					has_dlc = "La Resistance"
					NOT = {
						has_intelligence_agency = yes
					}
				}
				create_intelligence_agency = yes
			}
						
			add_tech_bonus = {
				name = mp_tech_bonus_name
				bonus = 1
				uses = 1
				category = military_police_tech
			}
			
			if = {
				limit = {
					NOT = {
						has_idea = r56i_laws_security_balanced
						has_idea = r56i_laws_security_rights
						has_idea = r56i_laws_security_order
					}
				}
				custom_effect_tooltip = EFFECT_CHANGE_LAW_r56i_laws_social
				show_ideas_tooltip = r56i_laws_security_order
				hidden_effect = {
					add_ideas = r56i_laws_security_order
				}
				
			}
		}
		search_filters = {  FOCUS_FILTER_RESEARCH FOCUS_FILTER_ESPIONAGE }
	}

	focus = {
		id = USA_expand_the_intelligence_services
		text = POR_expand_the_intelligence_services
		icon = GFX_goal_generic_spy_connection
		cost = 5
		prerequisite = {
			focus = USA_communist_secret_police
		}
		available = {
			has_intelligence_agency = yes
			agency_upgrade_number > 4
		}
		relative_position_id = USA_communist_secret_police
		x = 0
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			add_ideas = GER_abwehr_contacts
		}
		search_filters = {  FOCUS_FILTER_ESPIONAGE }
	}

	focus = {
		id = r56_USA_join_the_mexican_revolutionaries
		icon = GFX_goal_mexico_mexico_for_mexicans
		prerequisite = { focus = USA_democratic_socialism }
		available = {
			has_government = communism
			is_puppet = no
			OR = {
				AND = {
					MEX = { 
						is_faction_leader = yes
						is_in_faction_with = ROOT
					}
				}
				AND = {
					is_in_faction = yes
					is_faction_leader = yes
				}
				is_in_faction = no
			}
			NOT = {
				has_war_with = MEX
			}
			OR = {
				threat > 0.5
				has_war_support > 0.5
				has_war_with = CSA
				has_war_with = JAP
				has_war_with = ENG
				has_war_with = SOV
			}
		}

		
		
		x = 0
		y = 3
		relative_position_id = USA_democratic_socialism
		cost = 5
		ai_will_do = {
			factor = 1
			modifier = { #Go for the unthinkable asap
				add = 25
				MEX = {
					exists = yes
					is_major = yes
				}
				surrender_progress > 0.1
			}
		}
		completion_reward = {
			if = {
				limit = {
					MEX = { is_in_faction = no }
				}
				ROOT = {
					MEX = { 
						country_event = generic.5 
						add_ai_strategy = {
							type = alliance
							id = "USA"
							value = 200
						}
					}
				}				
			}
		#	if = {
		#		limit = {
		#			any_other_country = { 
		#				is_in_faction_with = YUG
		#				is_faction_leader = yes
		#				NOT = {
		#					original_tag = SOV							
		#				}
		#			}
		#		}
		#		random_other_country = {
		#			limit = {
		#				is_in_faction_with = YUG
		#				is_faction_leader = yes
		#				NOT = {
		#					original_tag = SOV
		#				}
		#			}					
		#			country_event = generic.2
		#		}
		#	}			
			if = {
				limit = {
					OR = {
						MEX = { 
							is_faction_leader = yes
							is_ai = no
						}
					#	AND = {
					#		YUG = { 
					#			is_faction_leader = yes
					#			is_ai = yes
					#		}
					#		NOT = {
					#			any_other_country = {
					#				is_in_faction_with = ROOT
					#			}
					#		}							
					#	}						
					}

				}
				every_country = {
					limit = {
						OR = {
							tag = ROOT
							is_in_faction_with = ROOT
						}
					}

					MEX = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					save_event_target_as = alliance_applicant
					MEX = { save_event_target_as = alliance_inviter }					
					set_country_flag = alliance_applicant@ROOT
					MEX = { set_country_flag = alliance_inviter@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}			
			if = {
				limit = {	
					MEX = { 
						is_faction_leader = yes
						is_ai = yes
					}		
				}
				every_country = {
					limit = {
						OR = {
							tag = MEX
							is_in_faction_with = MEX
						}
					}

					ROOT = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					save_event_target_as = alliance_inviter
					MEX = { save_event_target_as = alliance_applicant }					
					set_country_flag = alliance_inviter@ROOT
					MEX = { set_country_flag = alliance_applicant@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}	
		}
	}	
	focus = {
		id = USA_full_desegregation
		icon = GFX_Goal_USA_desegregation
		x = 1
		y = 1
		prerequisite = { focus = USA_desegregate_the_armed_forces }
		relative_position_id = USA_desegregate_the_armed_forces
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			communism > 0.2
		}
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			swap_ideas = {
				remove_idea = USA_armed_forces_desegregation
				add_idea = USA_full_desegregation
			}
			if = {
				limit = {
					NOT = {
						has_country_flag = r56_USA_democratic_rebel_check
					}
				}
				show_unit_leaders_tooltip = USA_benjamin_o_davis
				#create_corps_commander = {
				#	name = "Benjamin O. Davis"
				#	gfx = GFX_r56_portrait_usa_benjamin_o_davis
				#	traits = { career_officer old_guard cavalry_officer } 
				#	id = 6298
				#	skill = 3
				#
				#	attack_skill = 2
				#	defense_skill = 1
				#	planning_skill = 4
				#	logistics_skill = 3
				#}
			}
			if = {
				limit = {
					not = { has_government = communism }
				}
				USA_congress_large_opposition = yes
			}
			if = {
				limit = {
					NOT = {
						country_exists = CSA
					}
				}
				if = {
					limit = {
						has_country_flag = mtg_usa_civil_war_fascists_1
						not = { has_country_flag = mtg_usa_civil_war_fascists_2 }
					}
					country_event = mtg_usa_civil_war_fascists.2
					custom_effect_tooltip = mtg_usa_civil_war_warning_tt
				}
				else_if = {
					limit = { not = { has_country_flag = mtg_usa_civil_war_fascists_1 } }
					country_event = mtg_usa_civil_war_fascists.1
					custom_effect_tooltip = mtg_usa_civil_war_warning_tt
				}				
			}

		}
	}
	focus = {
		id = USA_liberty_for_the_philippines
		icon = GFX_goal_philippines_post_independence_stabilization
		x = 0
		y = 2
		prerequisite = { focus = USA_democratic_socialism }
		prerequisite = { focus = USA_full_desegregation }
		relative_position_id = USA_desegregate_the_armed_forces
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			country_exists = PHI
		}
		
		bypass = {
			PHI = {
				NOT = { is_subject_of = ROOT }
			}
		}

		
		
		

		completion_reward = {
			if = {
				limit = {
					"PHI" = {
						is_subject_of = ROOT
					}
				}
				set_autonomy = { target = "PHI" autonomy_state = autonomy_free }
			}
			if = {
				limit = {
					is_faction_leader = yes
				}
				add_to_faction = "PHI"
			}
		}
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }
	}
	focus = {
		id = USA_pacific_decolonisation
		icon = GFX_goal_generic_national_unity
		x = 0
		y = 3
		prerequisite = { focus = USA_liberty_for_the_philippines }
		relative_position_id = USA_desegregate_the_armed_forces
		cost = 10

		ai_will_do = {
			factor = 1
		}

		
		
		

		

		completion_reward = {
			if = {
				limit = {
					INS = {
						exists = yes
						is_subject = yes
					}
				}
				create_wargoal = {
					target = INS
					expire = 0
					type = puppet_wargoal_focus
				}
			}
			if = {
				limit = { 
					523 = {
						not = {
							is_owned_by = PNG #already decolonized
						}	
					}
				}
				523 = {
					OWNER = {
						ROOT = {
							create_wargoal = {
								target = PREV
								type = take_state
								expire = 0
								generator = { 523 }
							}
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	
#  # #  # ###  ##  #  #     ###  ### ###  ###  ###  ## ### #  # ###  ##  ### ###  ##  #  # 
#  # ## #  #  #  # ## #     #  # #   #  # #  # #   #   #   ## #  #  #  #  #   #  #  # ## # 
#  # # ##  #  #  # # ##     ###  ##  ###  ###  ##   #  ##  # ##  #  ####  #   #  #  # # ## 
#  # #  #  #  #  # #  #     #  # #   #    #  # #     # #   #  #  #  #  #  #   #  #  # #  # 
 ##  #  # ###  ##  #  #     #  # ### #    #  # ### ##  ### #  #  #  #  #  #  ###  ##  #  # 

	
	focus = {
		id = USA_union_representation_act
		icon = GFX_focus_usa_union_representation_act
		x = -3
		y = 1
		prerequisite = { focus = USA_suspend_the_presecution }
		relative_position_id = USA_suspend_the_presecution
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_high_support_trigger = yes
			OR = {
				has_idea_with_trait = communist_revolutionary
				has_government = communism
			}
			not = { has_completed_focus = USA_limited_intervention }
			not = { has_completed_focus = USA_neutrality_act }
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		

		completion_reward = {
			if = {
				limit = {
					not = { congress_high_support_trigger = yes }
				}
				add_stability = -0.1
			}
			USA_return_majority = yes
			if = {
				limit = {
					has_country_flag = mtg_usa_civil_war_fascists_1
					not = {
						has_country_flag = mtg_usa_civil_war_fascists_2
					}
				}
				country_event = mtg_usa_civil_war_fascists.2
				custom_effect_tooltip = mtg_usa_civil_war_warning_tt
			}
			else_if = {
				limit = { not = { has_country_flag = mtg_usa_civil_war_fascists_1 } }
				country_event = mtg_usa_civil_war_fascists.1
				custom_effect_tooltip = mtg_usa_civil_war_warning_tt
			}
			hidden_effect = {
				if = {
					limit = {
						has_country_flag = mtg_usa_civil_war_fascists_2
						has_war = no
						not = { has_country_flag = mucwf4 }
					}
					country_event = mtg_usa_civil_war_fascists.4
				}
			}
		}
		search_filters = { FOCUS_FILTER_STABILITY }
	}
	focus = {
		id = USA_old_age_pension_act
		icon = GFX_goal_generic_consumer_goods
		x = 0
		y = 1
		prerequisite = { focus = USA_union_representation_act }
		relative_position_id = USA_union_representation_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_medium_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_STABILITY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_stability = 0.1
			USA_congress_small_opposition = yes
		}
	}
	focus = {
		id = USA_accumulated_wealth_tax_act
		icon = GFX_focus_rom_parties_end
		x = 2
		y = 1
		prerequisite = { focus = USA_union_representation_act }
		relative_position_id = USA_union_representation_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_idea_with_trait = communist_revolutionary
				has_government = communism
			}
			congress_high_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_ideas = USA_accumulated_wealth_tax_act
			if = {
				limit = {
					communism > 0.3
					not = { has_government = communism }
				}
				USA_congress_medium_opposition = yes
			}
			else_if = {
				limit = {
					communism < 0.3
					not = { has_government = communism }
				}
				USA_congress_large_opposition = yes
				add_popularity = {
					ideology = communism
					popularity = 0.05
				}
			}
			USA_great_depression_level_down = yes
		}
	}
	focus = {
		id = USA_guarantee_the_american_dream
		icon = GFX_focus_usa_guarantee_the_american_dream
		x = 0
		y = 2
		#prerequisite = { focus = USA_democratic_socialism }
		prerequisite = { focus = USA_old_age_pension_act }
		prerequisite = { focus = USA_accumulated_wealth_tax_act }
		relative_position_id = USA_union_representation_act
		cost = 5

		ai_will_do = {
			factor = 1
		}

		
		
		
		search_filters = {FOCUS_FILTER_WAR_SUPPORT}
		completion_reward = {
			add_war_support = 0.1
		}
	}
	focus = {
		id = USA_worker_management_act
		icon = GFX_goal_FRA_work_with_the_cgt
		x = 0
		y = 1
		prerequisite = { focus = USA_guarantee_the_american_dream }
		relative_position_id = USA_guarantee_the_american_dream
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_high_support_trigger = yes
			OR = {
				has_idea_with_trait = communist_revolutionary
				has_government = communism
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_ideas = USA_worker_management_act
			if = {
				limit = {
					communism > 0.3
					not = { has_government = communism }
				}
				USA_congress_medium_opposition = yes
			}
			else_if = {
				limit = {
					communism < 0.3
					not = { has_government = communism }
				}
				USA_congress_large_opposition = yes
				add_popularity = {
					ideology = communism
					popularity = 0.05
				}
			}
			USA_great_depression_level_down = yes
		}
	}
	focus = {
		id = USA_militia_organization_act
		icon = GFX_focus_secret_rearmament
		x = 2
		y = 1
		prerequisite = { focus = USA_guarantee_the_american_dream }
		relative_position_id = USA_guarantee_the_american_dream
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_high_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_ideas = USA_militia_organization_act
			USA_congress_small_opposition = yes
		}
	}
	focus = {
		id = USA_communal_property_act
		icon = GFX_goal_generic_construct_civ_factory
		x = 0
		y = 2
		prerequisite = { focus = USA_worker_management_act }
		prerequisite = { focus = USA_militia_organization_act }
		relative_position_id = USA_guarantee_the_american_dream
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_high_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			if = {
				limit = {
					communism > 0.3
					not = { has_government = communism }
				}
				USA_congress_medium_opposition = yes
			}
			else_if = {
				limit = {
					communism < 0.3
					not = { has_government = communism }
				}
				USA_congress_large_opposition = yes
			}
			USA_great_depression_level_down = yes
			unlock_decision_tooltip = { decision = USA_communal_domain show_effect_tooltip = yes }

		}
	}
	focus = {
		id = USA_reintegration
		icon = GFX_goal_generic_intelligence_exchange
		x = 0
		y = 3
		prerequisite = { focus = USA_communal_property_act }
		relative_position_id = USA_guarantee_the_american_dream
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_war_with = CSA
				has_global_flag = USA_civil_war_fired
			}
		}

		
		
		
		search_filters = {FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			unlock_decision_tooltip = { decision = USA_readmit_state show_effect_tooltip = yes }
		}
	}
	
#   #  ##  ###  ###      ##  ###   ##  #  # ###  
#   # #  # #  # #       #    #  # #  # #  # #  # 
# # # #### ###  ##      # ## ###  #  # #  # ###  
# # # #  # #  # #       #  # #  # #  # #  # #    
 # #  #  # #  # ###      ##  #  #  ##   ##  #    

	
	focus = {
		id = USA_reach_out_to_the_ware_group
		icon = GFX_goal_generic_propaganda
		x = 0
		y = 3
		prerequisite = { focus = USA_suspend_the_presecution }
		prerequisite = { focus = USA_agricultural_adjustment_act }
		relative_position_id = USA_suspend_the_presecution
		cost = 10

		ai_will_do = {
			factor = 0
			modifier = {
				add = 0.9
				is_historical_focus_on = no
			}
			modifier = { #Always one commie threat there is
				add = 0.1
				date > 1940.1.1
				SOV = {
					NOT = { 
						has_government = communism
					}
				}
			}
		}

		available = {
			OR = {
				has_government = democratic
				has_government = communism
			}
		}


		completion_reward = {
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = harry_white
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = victor_perlo
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = whittaker_chambers
		}
	}
	focus = {
		id = USA_us_ussr_economic_cooperation
		icon = GFX_goal_generic_soviet_construction
		x = 0
		y = 5
		prerequisite = { focus = USA_reach_out_to_the_ware_group }
		relative_position_id = USA_suspend_the_presecution
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			not = {
				has_war_with = SOV
			}
		}
		
		bypass = {
			SOV = {
				OR = {
					exists = no
					has_war_with = USA
					is_subject = yes
				}
			}
		}

		
		
		

		completion_reward = {
			SOV = { add_to_tech_sharing_group = USA_SOV_tech_group }
			add_to_tech_sharing_group = USA_SOV_tech_group
		}	
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = USA_unholy_alliance
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = USA_us_ussr_economic_cooperation }
		mutually_exclusive = { focus = USA_secure_china }
		available = {
			not = {
				has_war_with = SOV
			}
			SOV = {
				is_faction_leader = yes
			}
			is_in_faction = no
			has_government = communism
		}

		x = 0
		y = 3
		relative_position_id = USA_reach_out_to_the_ware_group
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		
		
		

		completion_reward = {
			SOV = {
				country_event = generic.2
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = USA_secure_china
		icon = GFX_focus_chi_cooperation_with_the_communists
		x = 2
		y = 3
		prerequisite = { focus = USA_reach_out_to_the_ware_group }
		mutually_exclusive = { focus = USA_unholy_alliance }
		relative_position_id = USA_reach_out_to_the_ware_group
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_government = communism
			country_exists = PRC
			not = {
				has_war_with = event_target:WTT_communist_china
			}
			OR = {
				is_faction_leader = yes
				event_target:WTT_communist_china = {
					is_faction_leader = yes
				}
			}
		}

		
		
		

		completion_reward = {
			if = {
				limit = {
					event_target:WTT_communist_china = {
						is_faction_leader = yes
					}
				}
				event_target:WTT_communist_china = {
					country_event = generic.2
				}
			}
			else_if = {
				limit = {
					is_faction_leader = yes
				}
				event_target:WTT_communist_china = {
					country_event = generic.5
				}
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}
	focus = {
		id = USA_end_monarchism
		icon = GFX_focus_rom_abdicate
		x = 3
		y = 1
		prerequisite = { focus = USA_reach_out_to_the_ware_group }
		relative_position_id = USA_reach_out_to_the_ware_group
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			communism > 0.3
		}

		
		
		

		complete_tooltip = {

		}

		completion_reward = {
			if = {
				limit = {
					ENG = {
						not = { has_government = communism }
						not = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = ENG
					type = topple_government
					expire = 0
				}
			}
			if = {
				limit = {
					GER = {
						OR = {
							has_completed_focus = GER_a_new_reich
							has_completed_focus = GER_restore_the_empire
						}
						not = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = GER
					type = topple_government
					expire = 0
				}
			}
			if = {
				limit = {
					PRE = {
						exists = yes
						not = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = PRE
					type = topple_government
					expire = 0
				}
			}			
			if = {
				limit = {
					HUN = {
						has_cosmetic_tag = HUN_EMPIRE
						not = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = HUN
					type = topple_government
					expire = 0
				}
			}
			if = {
				limit = {
					JAP = {
						not = { has_government = communism }
						not = { has_government = democratic }
						not = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = JAP
					expire = 0
					type = topple_government
				}
			}
			if = {
				limit = {
					MAN = {
						has_completed_focus = MAN_independence_war
						not = { is_in_faction_with = ROOT }
					}
				}
				create_wargoal = {
					target = MAN
					expire = 0
					type = topple_government
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
	focus = {
		id = USA_shatter_the_empires
		icon = GFX_goal_tfv_saf_anti_colonialist_crusade
		x = 3
		y = 2
		prerequisite = { focus = USA_end_monarchism }
		relative_position_id = USA_reach_out_to_the_ware_group
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				ENG = {
					exists = yes
					not = { has_war_with = ROOT }
					not = { is_in_faction_with = ROOT }
					not = { has_completed_focus = ENG_decolonization }
				}
				ITA = {
					exists = yes
					NOT = { has_war_with = ROOT }
					NOT = { is_in_faction_with = ROOT }
					if = {
						limit = {
							has_dlc = "By Blood Alone"
						}
						NOT = {
							has_completed_focus = ITA_abolish_the_colonies
							has_completed_focus = ITA_new_colonial_policies
						}
					}
					any_state = {
						is_controlled_by = ITA
						NOT = { is_core_of = ITA }
					}
				}
				FRA = {
					exists = yes
					not = { has_war_with = ROOT }
					not = { is_in_faction_with = ROOT }
					not = { has_completed_focus = FRA_vienot_agreement }
					any_state = {
						is_controlled_by = FRA
						not = { is_core_of = FRA }
					}
				}
				GER = {
					exists = yes
					not = { has_war_with = ROOT }
					not = { is_in_faction_with = ROOT }
					any_state = {
						is_controlled_by = GER
						not = { is_core_of = GER }
					}
				}
			}
		}

		
		
		

		completion_reward = {
			if = {
				limit = {
					ENG = {
						exists = yes
						not = { has_war_with = ROOT }
						not = { is_in_faction_with = ROOT }
						not = { has_completed_focus = ENG_decolonization }
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = ENG
							is_subject_of = ENG
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					ITA = {
						exists = yes
						not = { has_war_with = ROOT }
						not = { is_in_faction_with = ROOT }
						any_state = {
							is_controlled_by = ITA
							not = { is_core_of = ITA }
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = ITA
							is_subject_of = ITA
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					FRA = {
						exists = yes
						not = { has_war_with = ROOT }
						not = { is_in_faction_with = ROOT }
						not = { has_completed_focus = FRA_vienot_agreement }
						any_state = {
							is_controlled_by = FRA
							not = { is_core_of = FRA }
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = FRA
							is_subject_of = FRA
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					GER = {
						exists = yes
						not = { has_war_with = ROOT }
						not = { is_in_faction_with = ROOT }
						any_state = {
							is_controlled_by = GER
							not = { is_core_of = GER }
						}
					}
				}
				every_country = {
					limit = {
						OR = {
							original_tag = GER
							is_subject_of = GER
						}
					}
					ROOT = {
						create_wargoal = {
							target = PREV
							type = puppet_wargoal_focus
							expire = 0
						}
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}
#	#   # ## #  
#   # #  # #  # 
# # # ###  #### 
# # # #    #  # 
 # #  #    #  # 

	focus = {
		id = USA_wpa
		icon = GFX_goal_generic_production
		prerequisite = { focus = USA_continue_the_new_deal }
		relative_position_id = USA_continue_the_new_deal
		x = -4
		y = 1
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_political_power = 120
			unlock_decision_tooltip = { decision = USA_WPA_program_decision show_effect_tooltip = no }
			hidden_effect = {
				set_variable = {
					var = USA_WPA_program_cost
					value = 0
				}
				set_variable = {
					var = USA_WPA_program_daily_cost
					value = 0
				}
			}
		}
	}
	focus = {
		id = USA_agricultural_adjustment_act
		icon = GFX_goal_generic_agriculture2
		x = 0
		y = 1
		prerequisite = { focus = USA_wpa }
		relative_position_id = USA_wpa
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_medium_support_trigger = yes
			has_government = democratic
		}
		
		bypass = {
			not = {
				OR = {
					has_idea = great_depression
					has_idea = great_depression_2
					has_idea = great_depression_3
				}
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			USA_great_depression_level_down = yes
			USA_congress_medium_opposition = yes
			unlock_decision_tooltip = { decision = USA_pay_farm_subsidies show_effect_tooltip = yes }
			if = {
				limit = {
					ROOT = {
						has_war = no
					}
				}
				activate_mission = USA_population_migration_mission_0 
			}
			
			set_country_flag = USA_new_legislation_drafed_flag #Used to unlock the next focus
		}
	}
	focus = {
		id = USA_fair_labour_standards_act
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		x = 0
		y = 2
		prerequisite = { focus = USA_agricultural_adjustment_act }
		relative_position_id = USA_wpa
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_medium_support_trigger = yes
			has_government = democratic
			has_country_flag = {
				flag = USA_new_legislation_drafed_flag
				days > 230
			}
			custom_trigger_tooltip = {
				tooltip = r56_USA_legislation_drafted_days_tt
				has_country_flag = {
					flag = USA_new_legislation_drafed_flag
					days > 230
				}
			}
		}
		
		bypass = {
			not = {
				OR = {
					has_idea = great_depression
					has_idea = great_depression_2
					has_idea = great_depression_3
				}
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			clr_country_flag = USA_new_legislation_drafed_flag #cleared for the next counter
			USA_great_depression_level_down = yes
			USA_congress_medium_opposition = yes
			set_country_flag = USA_new_legislation_drafed_flag #Used to unlock the next focus
		}
	}
	focus = {
		id = USA_federal_housing_act
		icon = GFX_goal_generic_construct_civilian
		x = 0
		y = 3
		prerequisite = { focus = USA_fair_labour_standards_act }
		relative_position_id = USA_wpa
		cost = 10

		ai_will_do = {
			factor = 15
		}

		available = {
			congress_medium_support_trigger = yes
			has_government = democratic
			has_country_flag = {
				flag = USA_new_legislation_drafed_flag
				days > 230
			}
			custom_trigger_tooltip = {
				tooltip = r56_USA_legislation_drafted_days_tt
				has_country_flag = {
					flag = USA_new_legislation_drafed_flag
					days > 230
				}
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		complete_tooltip = {
			every_owned_state = {
				limit = {
					has_state_flag = USA_federal_housing_act
				}
				add_extra_state_shared_building_slots = 1
			}
		}
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			clr_country_flag = USA_new_legislation_drafed_flag #cleared for the next counter
			USA_great_depression_level_down = yes
			USA_congress_medium_opposition = yes
			custom_effect_tooltip = federal_housing_tt
			hidden_effect = {
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
						is_core_of = ROOT
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = USA_federal_housing_act
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
						is_core_of = ROOT
						not = { has_state_flag = USA_federal_housing_act }
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = USA_federal_housing_act
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
						is_core_of = ROOT
						not = { has_state_flag = USA_federal_housing_act }
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = USA_federal_housing_act
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
						is_core_of = ROOT
						not = { has_state_flag = USA_federal_housing_act }
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = USA_federal_housing_act
				}
				random_owned_controlled_state = {
					limit = {
						free_building_slots = {
							building = arms_factory
							size > 0
							include_locked = yes
						}
						is_core_of = ROOT
						not = { has_state_flag = USA_federal_housing_act }
					}
					add_extra_state_shared_building_slots = 1
					set_state_flag = USA_federal_housing_act
				}
			}
		}
	}
	focus = {
		id = USA_office_of_scientific_research_and_development
		icon = GFX_focus_research
		x = 2
		y = 1
		prerequisite = { focus = USA_wpa }
		relative_position_id = USA_wpa
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			amount_research_slots < 7
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_research_slot = 1
			if = {
				limit = {
					has_idea = rt56_rushed_r_n_d
				}
				remove_ideas = rt56_rushed_r_n_d
			}
		}
	}

	focus = {
		id = USA_rubber_reserve_company
		icon = GFX_focus_generic_rubber
		prerequisite = { focus = USA_office_of_scientific_research_and_development }
		available = {
			
		}
		x = 2
		y = 2
		relative_position_id = USA_wpa
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_RESOURCES }
		completion_reward = {
			add_tech_bonus = {
				name = USA_rubber_reserve_company
				bonus = 1.0
				uses = 2
				technology = rubber_plant_a
				technology = rubber_plant_b
				technology = rubber_plant_c
				technology = rubber_plant_d
			}
		}
	}
#   ### #   # ### ### ### ###      ### #  # ### ### ###  #   # ### #  # ### ###  ##  #  # 
#    #  ## ##  #   #  #   #  #      #  ## #  #  #   #  # #   # #   ## #  #   #  #  # ## # 
#    #  # # #  #   #  ##  #  #      #  # ##  #  ##  ###   # #  ##  # ##  #   #  #  # # ## 
#    #  #   #  #   #  #   #  #      #  #  #  #  #   #  #  # #  #   #  #  #   #  #  # #  # 
### ### #   # ###  #  ### ###      ### #  #  #  ### #  #   #   ### #  #  #  ###  ##  #  # 

	focus = {
		id = USA_limited_intervention
		icon = GFX_goal_generic_territory_or_war
		prerequisite = { focus = USA_continue_the_new_deal focus = USA_reestablish_the_gold_standard }
		mutually_exclusive = { focus = USA_neutrality_act }
		x = 0
		y = 1
		relative_position_id = USA_continue_the_new_deal
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		
		cancel_if_invalid = no
		continue_if_invalid = yes
		available = {
			has_war_support > 0.05
			congress_high_support_trigger = yes 
			has_government = democratic
			NOT = { has_idea_with_trait = fascist_demagogue }
			NOT = { has_idea_with_trait = communist_revolutionary }
		}
		bypass = {
			
		}
		search_filters = { FOCUS_FILTER_USA_CONGRESS FOCUS_FILTER_STABILITY }
		completion_reward = {
			if = {
				limit = {
					ROOT = {
						is_major = yes
						has_government = democratic
					}
				}
				add_threat = -5 #Congrats. You played yourself
			}
			else = {
				add_threat = 5
			}
			hidden_effect = {
				every_other_country = {
					limit = {
						is_major = yes
						has_government = ROOT
					}
					ROOT = {
						add_ai_strategy = {
							type = support
							id = PREV
							value = 200
						}
						add_ai_strategy = {
							type = alliance
							id = PREV
							value = 200
						}
					}
				}
			}
			set_rule = { can_send_volunteers = yes }
			add_ideas = USA_limited_intervention
			USA_congress_medium_opposition = yes
			if = {
				limit = {
					has_war_support < 0.4
					has_war_support > 0.2
				}
				add_stability = -0.1
			}
			else_if = {
				limit = {
					has_war_support < 0.2
				}
				add_stability = -0.25
			}
			custom_effect_tooltip = USA_limited_intervention_tt
			hidden_effect = {
				news_event = { id = mtg_news.4 days = 3 }
			}
		}
	}

	focus = {
		id = USA_war_propaganda
		icon = GFX_goal_generic_democratic_army
		prerequisite = { focus = USA_limited_intervention }
		available = {
			has_government = democratic
			if = {
				limit = {
					has_war = no
				}
				congress_high_support_trigger = yes 
			}
		}

		bypass = {
			
		}

		available_if_capitulated = yes
		relative_position_id = USA_limited_intervention
		continue_if_invalid = yes
		x = 0
		y = 2
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		search_filters = {FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_war_support = 0.10
			if = {
				limit = {
					NOT = { has_government = communism }
				}
				custom_effect_tooltip = available_political_advisor
				show_ideas_tooltip = rt56_john_j_pershing
			}
			if = {
				limit = {
					has_war_support < 0.4
				}
				USA_congress_small_opposition = yes
			}
		}
	}
	focus = {
		id = USA_focus_on_europe
		icon = GFX_focus_usa_focus_on_europe
		x = -2
		y = 1
		prerequisite = { focus = USA_war_propaganda }
		mutually_exclusive = { focus = USA_focus_on_asia }
		relative_position_id = USA_war_propaganda
		cost = 10

		ai_will_do = {
			factor = 2
		}

		available = {
			has_war_support > 0.10
			has_government = democratic
		}
		
		bypass = {
			OR = {
				has_war_with = GER
				has_war_with = ENG
				has_war_with = FRA
			}
		}
		
		completion_reward = {
			unlock_decision_category_tooltip = USA_intervention_mandate
			custom_effect_tooltip = USA_intervention_mandate_tt
			hidden_effect = {
				every_other_country = {
					limit = {
						is_major = yes
						capital_scope = {
							is_on_continent = europe
						}
						not = { has_government = ROOT }
					}
					ROOT = {
						add_ai_strategy = {
							type = contain
							id = PREV
							value = 200
						}
					}
				}
			}
		}
	}
	focus = {
		id = USA_focus_on_asia
		icon = GFX_focus_usa_focus_on_asia
		x = 0
		y = 1
		prerequisite = { focus = USA_war_propaganda }
		mutually_exclusive = { focus = USA_focus_on_europe }
		relative_position_id = USA_war_propaganda
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_support > 0.10
			NOT = {
				OR = {
					has_war_with = JAP
					has_war_with = CHI
				}
			}
		}

		completion_reward = {
			unlock_decision_category_tooltip = USA_intervention_mandate
			custom_effect_tooltip = USA_intervention_mandate_tt
		}
	}
	focus = {
		id = USA_defense_contractors
		icon = GFX_goal_generic_gun_purchase
		x = 0
		y = 1
		prerequisite = { focus = USA_focus_on_europe focus = USA_focus_on_asia }
		relative_position_id = USA_focus_on_europe
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_war = no
				}
				congress_high_support_trigger = yes 
			}
			else = {
				congress_low_support_trigger = yes
			}
			OR = {
				has_war = yes
				has_war_support > 0.3
			}
		}

		completion_reward = {
			add_ideas = r56_USA_defense_contractors
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
			USA_congress_small_opposition = yes
		}
	}
	focus = {
		id = USA_us_war_economy
		icon = GFX_goal_generic_construct_mil_factory
		x = 0
		y = 2
		prerequisite = { focus = USA_defense_contractors }
		relative_position_id = USA_defense_contractors
		cost = 15

		ai_will_do = {
			factor = 50
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		available = {
			if = {
				limit = {
					has_war = no
				}
				congress_high_support_trigger = yes 
			}
			else = {
				congress_low_support_trigger = yes
			}
			OR = {
				has_war = yes
				has_war_support > 0.5
			}
		}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_idea = war_economy }
					NOT = { has_idea = tot_economic_mobilisation }
				}
				add_ideas = war_economy
			}
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = USA_general_motors
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					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
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_in_home_area = yes
					is_coastal = yes
					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
				}
			}
		}
	}
	focus = {
		id = USA_aquire_war_materiel
		icon = GFX_goal_generic_all_resource
		x = 0
		y = 1
		prerequisite = { focus = USA_us_war_economy }
		relative_position_id = USA_us_war_economy
		cost = 10

		ai_will_do = {
			factor = 40
		}

		available = {
			
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_RESOURCES }
		completion_reward = {
			#add_ideas = r56_USA_aquire_war_materiel
			add_tech_bonus = {
				name = USA_aquire_war_materiel
				bonus = 1
				uses = 2
				category = synth_resources
			}
			add_tech_bonus = {
				name = USA_aquire_war_materiel
				bonus = 1
				uses = 2
				category = excavation_tech
			}
		}
	}
	focus = {
		id = USA_military_rnd
		icon = GFX_goal_generic_warfighting_technology
		x = 2
		y = 1
		prerequisite = { focus = USA_us_war_economy }
		relative_position_id = USA_us_war_economy
		cost = 10
		ai_will_do = {
			factor = 50
		}

		available_if_capitulated = yes
		available = {
			NOT = { has_idea = rt56_rushed_r_n_d }
		}
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_ideas = r56_USA_military_rnd
			custom_effect_tooltip = generic_skip_one_line_tt
			if = {
				limit = { 
					ROOT = {
						has_character = USA_vannevar_bush
					}
				}
				ROOT = { #He is the GUY
					USA_vannevar_bush = {
						add_scientist_xp = {
							experience = 250
							specialization = specialization_air 
						}
					}
				}
			}
		}
	}
	focus = {
		id = USA_over_there
		icon = GFX_goal_USA_over_there
		x = 1
		y = 2
		prerequisite = { focus = USA_focus_on_europe focus = USA_focus_on_asia }
		relative_position_id = USA_focus_on_europe
		cost = 10

		ai_will_do = {
			factor = 2
		}
		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT }
		available = {
			has_war_support > 0.5
			if = {
				limit = {
					has_war = no
				}
				congress_high_support_trigger = yes 
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		completion_reward = {
			add_war_support = 0.05
			add_timed_idea = {
				idea = r56_USA_over_there
				days = 490
			}
			if = {
				limit = {
					NOT = { has_idea = BEL_volunteer_corps }
				}
				add_ideas = BEL_volunteer_corps
			}
			if = {
				limit = {
					has_war_support < 0.4
					has_war_support > 0.2
				}
				add_stability = -0.1
			}
			else_if = {
				limit = {
					has_war_support < 0.2
				}
				add_stability = -0.25
			}
			USA_congress_small_opposition = yes
		}
	}
	focus = {
		id = USA_office_of_strategic_services
		icon = GFX_goal_USA_oss
		prerequisite = { focus = USA_war_propaganda focus = USA_arsenal_of_democracy }
		available = {
			
		}
		x = 2
		y = 1
		relative_position_id = USA_war_propaganda
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_ESPIONAGE }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_dlc = "La Resistance"
					}
				}
				add_ideas = office_of_strategic_services
			}
			else = {
				if = {
					limit = {
						NOT = {
							has_intelligence_agency = yes
						}
					}
					create_intelligence_agency = yes				
				}				
				add_ideas = office_of_strategic_services_lar
				create_operative_leader = {
					name = "Virginia Hall"
					GFX = GFX_portrait_virginia_hall
					traits = { operative_demolition_expert }
					bypass_recruitment = no
					available_to_spy_master = yes
					female = yes
					nationalities = { USA }
				}				
			}
		}
	}
	focus = {
		id = USA_black_chamber
		icon = GFX_goal_generic_spy_connection
		prerequisite = { focus = USA_focus_on_europe focus = USA_focus_on_asia }
		prerequisite = { focus = USA_office_of_strategic_services }
		available = { }
		x = -2
		y = 1
		relative_position_id = USA_office_of_strategic_services
		cost = 10
		ai_will_do = {
			factor = 1
		}
		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_ESPIONAGE }
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_dlc = "La Resistance"
					}
				}
				add_tech_bonus = {
					name = USA_black_chamber
					bonus = 1.0
					uses = 2
					category = encryption_tech
					category = decryption_tech
				}
			}
			else = {
				add_ideas = USA_black_chamber
			}
		}
		
	}
	focus = {
		id = USA_magic
		icon = GFX_goal_generic_radar
		x = 0
		y = 1
		prerequisite = { focus = USA_office_of_strategic_services }
		relative_position_id = USA_office_of_strategic_services
		cost = 5

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_ideas = USA_magic
		}
	}
	focus = {
		id = USA_expand_unoffical_operations
		icon = GFX_goal_generic_intelligence_exchange
		cost = 5
		prerequisite = {
			focus = USA_office_of_strategic_services
		}		
		allow_branch = {
			has_dlc = "La Resistance"
		}		
		relative_position_id = USA_office_of_strategic_services
		x = -1
		y = 2
		ai_will_do = {
			factor = 10
			modifier = {
				is_historical_focus_on = yes
				factor = 0.5
			}
		}
		available = {
			has_intelligence_agency = yes
		}
		completion_reward = {
			add_ideas = GER_abwehr_contacts
			create_operative_leader = {
				name = "Stephanie Rader"
				portrait_path = gfx/leaders/Europe/portrait_europe_generic_operative_female_12.dds 
				traits = { operative_demolition_expert }
				bypass_recruitment = no
				available_to_spy_master = yes
				female = yes
				nationalities = { USA POL }
			}
			create_operative_leader = {
				name = "Helias Doundoulakis"
				portrait_path = gfx/leaders/Europe/portrait_europe_generic_operative_male_5.dds 
				traits = { operative_demolition_expert }
				bypass_recruitment = no
				available_to_spy_master = yes
				nationalities = { USA GRE }
			}						

		}
		search_filters = { FOCUS_FILTER_ESPIONAGE }
	}
	focus = {
		id = USA_neutrality_act
		icon = GFX_goal_generic_peaceful_diplomacy
		x = 6
		y = 1
		prerequisite = { focus = USA_continue_the_new_deal focus = USA_reestablish_the_gold_standard }
		mutually_exclusive = { focus = USA_limited_intervention }
		relative_position_id = USA_continue_the_new_deal
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_low_support_trigger = yes
			democratic > 0.95
			NOT = { has_idea_with_trait = fascist_demagogue }
			NOT = { has_idea_with_trait = communist_revolutionary }
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_political_power = 200
			add_ideas = USA_neutrality_act 
			add_war_support = -0.05
			if = {
				limit = {
					has_war_support < 0.4
				}
				USA_congress_small_support = yes
			}
			custom_effect_tooltip = USA_lend_lease_act_neutrality_tt
			hidden_effect = {
				news_event = { id = mtg_news.3 days = 3 random_days = 5 }
				every_other_country = { #Prevents America from lend leasing weird minors countries 
					limit = {
						is_major = no
						is_ai = yes
						has_government = ROOT
						NOT = {
							original_tag = FRA
							original_tag = CHI
							original_tag = CAN
							original_tag = AST
							original_tag = ENG
							original_tag = NZL
						}
					}
					ROOT = {
						add_ai_strategy = {
							type = send_lend_lease_desire
							id = PREV
							value = -50
						}
					}
				}
			}
		}
	}
	focus = {
		id = USA_office_of_economic_warfare
		icon = GFX_focus_GRE_Combat_depression
		x = 2
		y = 1
		prerequisite = { focus = USA_neutrality_act focus = USA_limited_intervention }
		relative_position_id = USA_limited_intervention
		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 3
				num_of_military_factories > 185
			}
			modifier = {
				factor = 5
				num_of_military_factories > 200
			}
			modifier = {
				factor = 10
				num_of_military_factories > 250
			}						
		}

		available = {
			if = {
				limit = {
					has_war_support > 0.4
				}
				congress_low_support_trigger = yes
			}
			else = {
				congress_medium_support_trigger = yes
			}
			any_other_country = {
				is_major = yes
				NOT = {
					has_government = ROOT
				}
				has_war = yes
			}
			OR = {
				threat > 0.20
				has_war_support > 0.15
			}
			OR = {
				#has_idea = free_trade
				any_other_country = {
					NOT = {
						has_government = ROOT
					}
					is_major = yes
					has_war = yes
				}
			}
			OR = {
				AND = {
					has_war = yes
					num_of_factories > 185
				}
				AND = {
					has_war = no
					num_of_factories > 200
				}
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			#cut because of protectionist tarrifs
			#if = {
			#	limit = {
			#		has_idea = free_trade
			#	}
			#	add_ideas = export_focus
			#}
			#else = {
				add_political_power = 50
			#}
			add_ideas = rt56_office_of_econimic_warfare_idea
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					ROOT = {
						has_government = democratic
						is_major = yes
						#diplomatic_relation = { 
						#	country = JAP
						#	relation = embargo
						#	active = no
						#}
					}
					JAP = {
						OR = {
							has_war_with = CHI
							has_war_with = PRC
							has_war_with = AST
							has_war_with = NZL
						}
						has_government = fascism
						is_major = yes
						NOT = {
							is_in_faction_with = ROOT
						}
					}
				}
				send_embargo = JAP
			}
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					ROOT = {
						has_government = democratic
						is_major = yes
						#diplomatic_relation = { 
						#	country = GER
						#	relation = embargo
						#	active = no
						#}
					}
					GER = {
						OR = {
							has_war_with = FRA
							has_war_with = ENG
						}
						has_government = fascism
						is_major = yes
						NOT = {
							is_in_faction_with = ROOT
						}
					}
				}
				send_embargo = GER
			}
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					ROOT = {
						has_government = democratic
						is_major = yes
						#diplomatic_relation = { 
						#	country = GER
						#	relation = embargo
						#	active = no
						#}
					}
					ENG = {
						OR = {
							has_war_with = FRA
							has_war_with = GER
						}
						has_government = fascism
						is_major = yes
						NOT = {
							is_in_faction_with = ROOT
						}
					}
				}
				send_embargo = ENG
			}
			if = {
				limit = {
					has_dlc = "By Blood Alone"
					ROOT = {
						has_government = democratic
						is_major = yes
						#diplomatic_relation = { 
						#	country = GER
						#	relation = embargo
						#	active = no
						#}
					}
					FRA = {
						OR = {
							has_war_with = ENG
							has_war_with = GER
						}
						has_government = fascism
						is_major = yes
						NOT = {
							is_in_faction_with = ROOT
						}
					}
				}
				send_embargo = FRA
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:USA_ford_motor_company_organization = {
					add_mio_funds = 250
				}
			}
			if = {
				limit = {
					has_war_support > 0.4
					has_war = no
				}
				USA_congress_small_opposition = yes
			}
			else_if = {
				limit = {
					has_war_support < 0.4
					has_war = no
				}
				USA_congress_medium_opposition = yes
			}
			else = {
				USA_congress_medium_opposition = yes
			}
		}
	}	
	focus = {
		id = USA_cash_and_carry  
		icon = GFX_focus_mex_privatisation
		x = -2
		y = 1
		prerequisite = { focus = USA_neutrality_act focus = USA_limited_intervention }
		relative_position_id = USA_neutrality_act 
		cost = 5

		ai_will_do = {
			factor = 0.9
		}

		available = {
			democratic > 0.95
			#has_idea = undisturbed_isolation
			has_war = no
			any_other_country = {
				is_major = yes
				has_government = ROOT
				has_war = yes
			}
			OR = {
				threat > 0.20
				has_war_support > 0.10
			}
			if = {
				limit = {
					has_war_support < 0.10
				}
				congress_medium_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_political_power = 50
			add_timed_idea = {
				idea = rt56_USA_cash_and_carry_home 
				days = 180
			}
			every_other_country = {
				limit = {
					OR = {
						AND = {
							is_major = yes
							has_government = ROOT
							NOT = {
								has_war_with = USA
							}							
						}
						AND = { #You get it too buddy
							is_neighbor_of = USA
							has_government = ROOT
							original_tag = CAN
							has_war = yes
							NOT = {
								has_war_with = USA
							}							
						}
						AND = { #You get it too buddy
							is_neighbor_of = USA
							has_government = ROOT
							original_tag = AST
							has_war = yes
							NOT = {
								has_war_with = USA
							}							
						}
						AND = { #You get it too buddy
							is_neighbor_of = USA
							has_government = ROOT
							original_tag = NZL
							has_war = yes
							NOT = {
								has_war_with = USA
							}							
						}
						AND = {
							tag = CHI
							CHI = {
								has_war_with = JAP
								NOT = {
									has_war_with = USA
								}
								OR = {
									has_government = ROOT
									has_government = neutrality
								}
							}
							JAP = {
								NOT = {
									has_government = ROOT
								}
							}
							USA = {
								has_completed_focus = USA_intervention_in_asia
							}
						}
						AND = { #if soviets are in early war help them out
							tag = SOV
							SOV = {
								OR = {
									has_government = ROOT
									has_government = communism
								}
								OR = {
									has_war_with = JAP
									has_war_with = GER
									NOT = {
										has_war_with = USA
									}
								}
							}
							GER = { #lazy but just check for both 
								NOT = {
									has_government = ROOT
								}
							}
							JAP = {
								NOT = {
									has_government = ROOT
								}
							}
							USA = {
								has_completed_focus = USA_intervention_in_europe
								NOT = {
									has_completed_focus = USA_war_plan_white
								}
							}
						}
					}
				}
				add_timed_idea = {
					idea = rt56_USA_cash_and_carry_away
					days = 180
				}
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:USA_brooklyn_naval_yard_organization = {
					add_mio_funds = 250
				}
			}
			if = {
				limit = {
					has_war_support < 0.20
				}
				USA_congress_medium_opposition = yes
			}
			else = {
				USA_congress_small_opposition = yes
			}
		}
	}
	focus = {
		id = USA_lend_lease_act
		icon = GFX_focus_generic_treaty
		x = 1
		y = 1
		prerequisite = { focus = USA_office_of_economic_warfare focus = USA_cash_and_carry }
		relative_position_id = USA_office_of_economic_warfare
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_war_support > 0.4
				}
				congress_medium_support_trigger = yes
			}
			else = {
				congress_high_support_trigger = yes
			}
			democratic > 0.95
			custom_trigger_tooltip = {
				tooltip = USA_lend_lease_act_neutrality_tt
			}
			if = {
				limit = {
					has_completed_focus = USA_neutrality_act
				}
				any_other_country = {
					is_major = yes
					has_government = ROOT
					has_war = yes
					surrender_progress > 0
				}
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			if = {
				limit = {
					has_completed_focus = USA_limited_intervention
				}
				swap_ideas = {
					remove_idea = USA_limited_intervention
					add_idea = USA_lend_lease_act_li
				}
			}
			else_if = {
				limit = { has_completed_focus = USA_neutrality_act }
				swap_ideas = {
					remove_idea = USA_neutrality_act
					add_idea = USA_lend_lease_act_na
				}
			}
			else = {
				ROOT = {
					add_ideas = USA_lend_lease_act_dummy #should never get here, just for tooltip purposes
				}
			}
			every_other_country = {
				limit = {
					OR = {
						AND = {
							is_major = yes
							has_government = ROOT
							has_war = yes
							NOT = {
								has_war_with = USA
							}							
						}
						AND = { #You get it too buddy
							is_neighbor_of = USA
							has_government = ROOT
							original_tag = CAN
							has_war = yes
							NOT = {
								has_war_with = USA
							}							
						}
						AND = {
							tag = CHI
							CHI = {
								has_war_with = JAP
								NOT = {
									has_war_with = USA
								}
								OR = {
									has_government = ROOT
									has_government = neutrality
								}
							}
							JAP = {
								NOT = {
									has_government = ROOT
								}
							}
							USA = {
								has_completed_focus = USA_intervention_in_asia
							}
						}
						AND = {
							original_tag = SOV
							SOV = {
								OR = {
									has_war_with = JAP
									has_war_with = GER
									NOT = {
										has_war_with = USA
									}
								}
								OR = {
									has_government = ROOT
									has_government = communism
								}
							}
							GER = { #lazy but just check for both 
								NOT = {
									has_government = ROOT
								}
							}
							JAP = {
								NOT = {
									has_government = ROOT
								}
							}
							USA = {
								has_completed_focus = USA_intervention_in_europe
								NOT = {
									has_completed_focus = USA_war_plan_white
								}
							}
						}
					}
				}
				add_offsite_building = { type = arms_factory level = 1 } #Makes this focus good for once
			}
			if = {
				limit = {
					has_war_support > 0.6
					has_war = no
				}
				USA_congress_small_support = yes
			}
			else_if = {
				limit = {
					has_war_support > 0.4
					has_war = no
				}
				USA_congress_small_opposition = yes
			}
			else_if = {
				limit = {
					has_war_support < 0.4
					has_war = no
				}
				USA_congress_large_opposition = yes
			}
			else = {
				USA_congress_medium_opposition = yes
			}
			hidden_effect = {
				if = {
					limit = {
						has_completed_focus = USA_limited_intervention
					}
					every_other_country = {
						limit = {
							is_major = yes
							has_government = ROOT
							has_war = yes #Needed since I'll send crap to random tags sometimes and plp need to be at war
							NOT = {
								original_tag = FIN #Sorry even if it's alt history :(
							}
						}
						ROOT = {
							add_ai_strategy = {
								type = support
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = send_lend_lease_desire
								id = PREV
								value = 500
							}
							add_ai_strategy = {
								type = send_volunteers_desire
								id = PREV
								value = 200
							}
						}
					}
				}
				else = {
					every_other_country = {
						limit = {
							OR = {
								is_major = yes
								original_tag = CHI
							}
							has_government = ROOT
						}
						ROOT = {
							add_ai_strategy = {
								type = support
								id = PREV
								value = 200
							}
							add_ai_strategy = {
								type = send_lend_lease_desire
								id = PREV
								value = 500
							}
						}
					}
				}
			}
		}
	}
	focus = {
		id = USA_arsenal_of_democracy
		icon = GFX_Goal_USA_arsenal_of_democracy
		prerequisite = { focus = USA_neutrality_act }
		x = 0
		y = 2
		relative_position_id = USA_neutrality_act
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available = {
			democratic > 0.95
		}
		bypass = {
			AND = {
				custom_trigger_tooltip =  {
					tooltip = production_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = industrial_complex
							size < 3
							include_locked = yes
						}
					}
				}
				custom_trigger_tooltip =  {
					tooltip = naval_effort_tt
					all_owned_state = {
						free_building_slots = {
							building = dockyard
							size < 3
							include_locked = yes
						}
					}
				}			
			}
		}
		complete_tooltip = {
			navy_experience = 50
			army_experience = 50
			air_experience = 10
			every_state = {
				limit = { has_state_flag = USA_arsenal_of_democracy_3AF }
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			navy_experience = 50
			army_experience = 50
			air_experience = 10
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
				set_state_flag = USA_arsenal_of_democracy_3AF
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 2
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
				set_state_flag = USA_arsenal_of_democracy_3AF
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					dockyard > 0
					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 = USA_arsenal_of_democracy_3AF
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					dockyard > 0
					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 = USA_arsenal_of_democracy_3AF
			}
			play_arsenal_of_democracy_effect = yes
		}
	}
	focus = {
		id = USA_the_giant_wakes
		icon = GFX_focus_generic_the_giant_wakes
		prerequisite = { focus = USA_arsenal_of_democracy }
		available = {
			OR = {
				has_war = yes
				has_war_support > 0.5
			}
			democratic > 0.95
			date > 1939.01.01
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		continue_if_invalid = yes
		x = 0
		y = 2
		relative_position_id = USA_arsenal_of_democracy
		cost = 10
		ai_will_do = {
			factor = 20
		}

		available_if_capitulated = yes

		bypass = {
			has_idea = USA_homeland_defense
		}

		completion_reward = {
			if = {
				limit = {
					NOT = { has_idea = undisturbed_isolation }
					NOT = { has_idea = isolation }
					NOT = { has_country_flag = USA_the_giant_wakes_added_civ_eco }
				}
				add_political_power = 75
			}
			if = {
				limit = {
					OR = {
						has_idea = isolation 
						has_idea = undisturbed_isolation 
						has_country_flag = USA_the_giant_wakes_added_civ_eco
					}
				}
				add_ideas = civilian_economy
				set_country_flag = USA_the_giant_wakes_added_civ_eco
			}
			#Only Democratic USA should have the op timed idea
			custom_effect_tooltip = generic_skip_one_line_tt
			if = { 
				limit = {
					ROOT = {
						has_government = democratic
					}
				}
				add_timed_idea = {
					idea = rt56_the_gaint_wakes_idea
					days = 30
				}
				custom_effect_tooltip = generic_skip_one_line_tt
			}
			random_owned_controlled_state = {
				prioritize = { 360 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_gaint_wakes_state_flag
			}
			random_owned_controlled_state = {
				prioritize = { 398 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_gaint_wakes_state_flag
			}
			random_owned_controlled_state = {
				prioritize = { 395 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_gaint_wakes_state_flag
			}
			random_owned_controlled_state = {
				prioritize = { 943 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_gaint_wakes_state_flag
			}
			random_owned_controlled_state = {
				prioritize = { 261 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_gaint_wakes_state_flag
			}
			if = {
				limit = {
					has_idea = rt56_naval_funding_favoritism
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				remove_ideas = rt56_naval_funding_favoritism
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}
	focus = {
		id = USA_wartime_industry
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = USA_the_giant_wakes }
		x = 0
		y = 2
		relative_position_id = USA_the_giant_wakes
		cost = 10
		ai_will_do = {
			factor = 1
		}
		available_if_capitulated = yes
		available = {
			democratic > 0.95
		}
		completion_reward = {
			add_ideas = wartime_industry_focus
			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = USA_general_motors
			random_owned_controlled_state = {
				prioritize = { 357 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_wartime_industry_state_flag
			}
			random_owned_controlled_state = {
				prioritize = { 358 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_wartime_industry_state_flag
			}
			random_owned_controlled_state = {
				prioritize = { 359 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_wartime_industry_state_flag
			}
			if = {
				limit = {
					has_idea = rt56_naval_funding_favoritism
				}
				remove_ideas = rt56_naval_funding_favoritism
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	

	focus = {
		id = USA_military_construction
		icon = GFX_goal_generic_build_tank
		prerequisite = { focus = USA_arsenal_of_democracy }
		
		available = {
			OR = {
				has_war = yes
				has_war_support > 0.3
			}
		}

		continue_if_invalid = yes
		available_if_capitulated = yes

		x = 1
		y = 1
		relative_position_id = USA_arsenal_of_democracy
		cost = 10
		ai_will_do = {
			factor = 4
		}
		completion_reward = {
			army_experience = 10
			random_owned_controlled_state = {
				limit = {
					arms_factory > 0
					free_building_slots = {
						building = arms_factory
						size > 4
						include_locked = yes
					}
					OR = {
						region = 117
						region = 118
						region = 119
						region = 120
					}
				}
				add_extra_state_shared_building_slots = 5
				add_building_construction = {
					type = arms_factory
					level = 5
					instant_build = yes
				}
			}
			every_controlled_state = {
				limit = {
					OR = {
						state = 371
						state = 375
						state = 376
						state = 378
						state = 382
					}
					is_owned_and_controlled_by = ROOT
					free_building_slots = {
						building = infrastructure
						size > 2
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP }
	}

	focus = {
		id = USA_USACE_projects
		icon = GFX_goal_generic_production
		prerequisite = { focus = USA_military_construction }
		available = {
			OR = {
				has_war_support > 0.3
				has_war = yes
			}
		}

		continue_if_invalid = yes
		
		x = 0
		y = 2
		relative_position_id = USA_military_construction
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		complete_tooltip = {
			every_state = {
				limit = { has_state_flag = USA_USACE_projects_3AF }
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
			}
			every_state = {
				limit = { has_state_flag = USA_USACE_projects_3Inf }
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
			}
			add_ideas = extensive_conscription
		}
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					arms_factory > 0
					free_building_slots = {
						building = arms_factory
						size > 2
						include_locked = yes
					}
					OR = {
						region = 117
						region = 118
						region = 119
						region = 120
					}
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = arms_factory
					level = 3
					instant_build = yes
				}
				set_state_flag = USA_USACE_projects_3AF
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 2
					}
					OR = {
						region = 117
						region = 118
						region = 119
						region = 120
					}
					state_population > 3000000
				}
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
				set_state_flag = USA_USACE_projects_3Inf
			}
			random_owned_controlled_state = {
				limit = {
					free_building_slots = {
						building = infrastructure
						size > 2
					}
					OR = {
						region = 117
						region = 118
						region = 119
						region = 120
					}
					state_population > 3000000
				}
				add_building_construction = {
					type = infrastructure
					level = 3
					instant_build = yes
				}
				set_state_flag = USA_USACE_projects_3Inf
			}
			air_experience = 50
			navy_experience = 50
			army_experience = 10	
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}		
		}
	}
	focus = {
		id = r56_USA_the_alaskan_trap
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = USA_USACE_projects }
		available = {
			ROOT = {
				has_full_control_of_state = 463
			}
			OR = {
				has_war_support > 0.5
				has_war_with = SOV
				has_war_with = JAP
				has_war_with = CHI
			}
		}

		continue_if_invalid = yes
		
		x = 0
		y = 4
		relative_position_id = USA_military_construction
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			#navy_experience = 10
			463 = {
				add_extra_state_shared_building_slots = 1
				if = {
					limit = {
						free_building_slots = {
							building = infrastructure
							size > 1
						}
					}
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
				add_building_construction = { #the bait
					type = supply_node
					level = 1
					province = 13090
					instant_build = yes
				}
				add_building_construction = { #the bait
					type = naval_base
					level = 1
					province = 13090
					instant_build = yes
				}
				add_building_construction = { #the bait
					type = naval_base
					level = 1
					province = 1135
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					province = 13091
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					province = 13090
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 1
					province = 10694
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 13090
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 1135
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 10694
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 12661
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 1830
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 7855
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 1
					province = 13091
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = USA_tuskegee_airmen
		icon = GFX_goal_USA_tuskegee_airmen
		prerequisite = { focus = USA_war_propaganda focus = USA_arsenal_of_democracy }
		x = -1
		y = 1
		relative_position_id = USA_arsenal_of_democracy
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		available = {
			OR = {
				has_war = yes
				has_war_support > 0.3
			}
			367 = {
				air_base > 0
			}
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				has_tech = improved_small_airframe
				has_tech = improved_medium_airframe
			}
			else = {
				has_tech = fighter2
				has_tech = tactical_bomber2
			}

		}
		completion_reward = {
			add_war_support = 0.05
			custom_effect_tooltip = USA_tuskegee_airmen_tt
			
			hidden_effect = {
				if = {
					limit = {
						has_dlc = "By Blood Alone"
					}
					load_oob = "USA_tuskegee_airmen_bba"
				}
				else = {
					load_oob = "USA_tuskegee_airmen"
				}

			}
		}
	}
	focus = {
		id = USA_gi_bill
		icon = GFX_goal_generic_martial_law
		prerequisite = { focus = USA_us_war_economy focus = USA_wartime_industry }
		x = -1
		y = 1
		relative_position_id = USA_wartime_industry
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		available = {
			has_government = democratic
			congress_medium_support_trigger = yes
			has_war = no
		}
		search_filters = {FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_stability = 0.1
			add_ideas = r56_USA_gi_bill
			USA_congress_medium_opposition = yes
		}
	}
	focus = {
		id = USA_scientist_haven
		icon = GFX_goal_research_silver
		prerequisite = { focus = USA_war_propaganda focus = USA_arsenal_of_democracy }
		x = -2
		y = 2
		relative_position_id = USA_arsenal_of_democracy
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		available = {
			has_government = democratic
		}
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_research_slot = 1
			if = {
				limit = {
					has_idea = rt56_rushed_r_n_d
				}
				remove_ideas = rt56_rushed_r_n_d
			}
		}
	}
	focus = {
		id = USA_manhattan_project
		icon = GFX_goal_generic_nuclear_energy
		prerequisite = { focus = USA_scientist_haven }
		
		x = 0
		y = 1
		relative_position_id = USA_scientist_haven
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_ideas = USA_manhattan_project_ns 

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				prioritize = { 368 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_manhattan_project
				add_dynamic_modifier = { modifier = r56_the_project }
			}
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_manhattan_project
				add_dynamic_modifier = { modifier = r56_the_project }
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			random_owned_controlled_state = {
				prioritize = { 376 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 0
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				set_state_flag = USA_manhattan_project
				add_dynamic_modifier = { modifier = r56_the_project } 
			}

			custom_effect_tooltip = generic_skip_one_line_tt

			IF = {
				limit = {
					NOT = {
						has_tech = atomic_research
					}
				}
				add_tech_bonus = {
					name = USA_manhattan_project
					bonus = 1.0
					uses = 1
					category = nuclear
				}
				custom_effect_tooltip = generic_skip_one_line_tt
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.5
				}
			}
			ELSE = {
				add_breakthrough_progress = {
					specialization = specialization_nuclear
					value = 0.8
				}
			}
			hidden_effect = {
				if = {
					limit = {
						has_dlc = "Gotterdammerung" 
						has_government = democratic
					}
					ROOT = {
						scoped_play_song = "apocalyptic_weapons"
					}
				}
			}
		}
	}

	focus = {
		id = USA_rally_the_martians
		icon = GFX_focus_generic_university_3
		prerequisite = { focus =  USA_manhattan_project }
		x = 0
		y = 1

		relative_position_id =  USA_manhattan_project

		allow_branch = {
			has_dlc = "Gotterdammerung"
		}
		cost = 5

		#ai_will_do = {
		#	factor = 1
		#}

		available = {
			has_government = democratic
			has_tech = atomic_research
			custom_trigger_tooltip = {
				tooltip = USA_rally_the_martians_trigger_tt	
				all_country_with_original_tag = {
					original_tag_to_check = HUN
					OR = {
						has_completed_focus = wuw_HUN_join_the_comintern
						has_completed_focus = wuw_HUN_restore_the_socialist_federative_republic
						has_completed_focus = wuw_HUN_continue_the_regency
						has_completed_focus = wuw_HUN_reinstate_the_pragmatic_sanction
					}
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = HUN
						has_character = HUN_edward_teller
					}
				}
				custom_effect_tooltip = {
					localization_key = available_scientist_one_line_tt
					CHARACTER = HUN_edward_teller
				}	
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = HUN
						has_character = HUN_john_von_neumann
					}
				}
				custom_effect_tooltip = {
					localization_key = available_scientist_one_line_tt
					CHARACTER = HUN_john_von_neumann
				}
			}
			if = {
				limit = {
					any_country_with_original_tag = {
						original_tag_to_check = HUN
						has_character = HUN_leo_szilard
					}
				}
				custom_effect_tooltip = {
					localization_key = available_scientist_one_line_tt
					CHARACTER = HUN_leo_szilard
				}
			}
			hidden_effect = { #There has to be a better way to do this but I'm to lazy to find it - SpicyAlfredo
				if = {
					limit = {
						any_country_with_original_tag = {
							original_tag_to_check = HUN
							has_character = HUN_edward_teller
						}
					}
					random_other_country = {
						limit = {
							has_character = HUN_edward_teller
							original_tag = HUN
						}
						set_nationality = {
							target_country = USA
							character = HUN_edward_teller
						}
					}
				}
				if = {
					limit = {
						any_country_with_original_tag = {
							original_tag_to_check = HUN
							has_character = HUN_john_von_neumann
						}
					}
					random_other_country = {
						limit = {
							has_character = HUN_john_von_neumann
							original_tag = HUN
						}
						set_nationality = {
							target_country = USA
							character = HUN_john_von_neumann
						}
					}
				}
				if = {
					limit = {
						any_country_with_original_tag = {
							original_tag_to_check = HUN
							has_character = HUN_john_von_neumann
						}
					}
					random_other_country = {
						limit = {
							has_character = HUN_leo_szilard
							original_tag = HUN
						}
						set_nationality = {
							target_country = USA
							character = HUN_leo_szilard
						}
					}
				}
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_tech_bonus = {
				name = USA_rally_the_martians
				bonus = 0.25
				uses = 1
				category = electronics
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_breakthrough_progress = {
				specialization = specialization_nuclear
				value = 0.25
			}
		}
	}

################## NATO FOCUSES ###########################

	focus = {
		id = r56_USA_form_united_nations
		icon = GFX_goal_USA_united_nations
		prerequisite = { focus = USA_wartime_industry focus = USA_us_war_economy }
		x = -3
		y = 5
		relative_position_id = USA_arsenal_of_democracy
		cost = 5
		available = {
			has_government = democratic
			has_war_with_major = yes
			custom_trigger_tooltip = {
				tooltip = r56_un_trigger_tooltip
				all_enemy_country = {
					OR = {
						is_major = no
						any_other_country = {
							is_major = yes
							has_war_with = PREV
							NOT = {
								is_in_faction_with = ROOT
								has_war_with = ROOT
							}
						}
					}
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = r56_un_tooltip
			unlock_decision_category_tooltip = CW_united_nations_security_council
			set_country_flag = r56_invited_to_un_security_council
			add_to_array = {
				global.members_of_un = THIS.id
			}
			every_other_country = {
				limit = {
					is_major = yes
					has_war_together_with = PREV
					NOT = {
						has_war_with = ROOT
					}
					meta_trigger = {
						text = {
							NOT = {
								has_global_flag = r56_[THIS_COUNTRY]_in_yalta
							}
						}
						THIS_COUNTRY = "[THIS.GetTag]"
					}
				}
				set_country_flag = r56_invited_to_un_security_council
				add_to_array = {
					global.members_of_un = THIS.id
				}
				unlock_decision_category_tooltip = CW_united_nations_security_council
			}
			r56_calculate_un_members = yes
		}
	}

	focus = {
		id = r56_USA_overwatch_the_pacific
		icon = GFX_goal_generic_position_armies
		prerequisite = { focus = r56_USA_form_united_nations }
		available = {
			has_government = democratic
		}

		
		
		x = -4
		y = 1
		relative_position_id = r56_USA_form_united_nations
		cost = 8
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = rt56_USA_watching_over_europe_idea
				}
				swap_ideas = {
					remove_idea = rt56_USA_watching_over_europe_idea
					add_idea = rt56_USA_watching_over_pacific_idea
				}
			}
			else = {
				add_ideas = rt56_USA_watching_over_pacific_idea
				custom_effect_tooltip = USA_NATO_overwatch_tt
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }	
	}

	focus = {
		id = r56_USA_liberty_for_the_pacific
		icon = GFX_focus_generic_self_management
		prerequisite = { focus = r56_USA_overwatch_the_pacific }
		available = {
			has_government = democratic
			has_war = no
			is_puppet = no
		}

		bypass = {
			OR ={
				country_exists = FSM
				country_exists = PLU
				country_exists = MRS
				country_exists = RAP
				country_exists = KIR
				country_exists = NRU
				country_exists = TAH
				country_exists = FIJ
				country_exists = GUM
				country_exists = SAM
				country_exists = TON
				country_exists = NIU
				country_exists = TUV
				country_exists = SOL
				country_exists = VAN
			}
		}
		
		
		x = -3
		y = 1
		relative_position_id = r56_USA_overwatch_the_pacific
		cost = 8
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			#release Micronesia as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = FSM
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = FSM
					FSM = {
						custom_effect_tooltip = create_two_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { FSM = { exists = no } }
						release = FSM
						FSM = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = FSM
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = FSM }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Micronesian Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Micronesian Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = FSM
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = FSM }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Palau as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = PLU
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = PLU
					PLU = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { PLU = { exists = no } }
						release = PLU
						PLU = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = PLU
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = PLU }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Palauan Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = PLU
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = PLU }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Marshall Islands as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = MRS
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = MRS
					MRS = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { MRS = { exists = no } }
						release = MRS
						MRS = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = MRS
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = MRS }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Marshallese Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = MRS
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = MRS }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Guam as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = GUM
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = GUM
					GUM = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { GUM = { exists = no } }
						release = GUM
						GUM = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = GUM
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = GUM }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Guam Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = GUM
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = GUM }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Kiribati as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = KIR
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = KIR
					KIR = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { KIR = { exists = no } }
						release = KIR
						KIR = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = KIR
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = KIR }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Abemaman Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = KIR
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = KIR }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Nauru as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = NRU
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = NRU
					NRU = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { NRU = { exists = no } }
						release = NRU
						NRU = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = NRU
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = NRU }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Nauruan Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = NRU
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = NRU }
				}
				add_stability = 0.02
				add_political_power = 20
			}

			#release Fiji as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = FIJ
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = FIJ
					FIJ = {
						custom_effect_tooltip = create_two_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { FIJ = { exists = no } }
						release = FIJ
						FIJ = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = FIJ
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = FIJ }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Fijian Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Fijian Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = FIJ
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = FIJ }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Solomon Islands as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = SOL
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = SOL
					SOL = {
						custom_effect_tooltip = create_two_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { SOL = { exists = no } }
						release = SOL
						SOL = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = SOL
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = SOL }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Solomon Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Solomon Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = SOL
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = SOL }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Vanuatu Islands as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = VAN
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = VAN
					VAN = {
						custom_effect_tooltip = create_two_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { VAN = { exists = no } }
						release = VAN
						VAN = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = VAN
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = VAN }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Vanuatu Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Vanuatu Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = VAN
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = VAN }
				}
				add_stability = 0.02
				add_political_power = 20
			}

			#release Samoa as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = SAM
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = SAM
					SAM = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { SAM = { exists = no } }
						release = SAM
						SAM = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = SAM
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = SAM }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Samoa Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = SAM
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = SAM }
				}
				add_stability = 0.02
				add_political_power = 20
			}

			#release Tonga as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = TON
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = TON
					TON = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { TON = { exists = no } }
						release = TON
						TON = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = TON
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = TON }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Tonga Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = TON
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = TON }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Niue as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = NIU
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = NIU
					NIU = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { NIU = { exists = no } }
						release = NIU
						NIU = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = NIU
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = NIU }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Niuean Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = NIU
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = NIU }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Tuvalu as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = TUV
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = TUV
					TUV = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { TUV = { exists = no } }
						release = TUV
						TUV = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = TUV
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = TUV }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Tuvaluan Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = TUV
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = TUV }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release RAPalu as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = RAP
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = RAP
					RAP = {
						custom_effect_tooltip = create_one_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { RAP = { exists = no } }
						release = RAP
						RAP = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = RAP
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = RAP }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Rapa Nui Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = RAP
						relation = docking_rights
						active = yes
					}
					ROOT = { give_guarantee = RAP }
				}
				add_stability = 0.02
				add_political_power = 20
			}
			
			#release Tahiti as a sovereign nation
			if = {
				limit = {
					any_state = {
						is_core_of = TAH
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = TAH
					TAH = {
						custom_effect_tooltip = create_two_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { TAH = { exists = no } }
						release = TAH
						TAH = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = TAH
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = TAH }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Polynesian Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Polynesian Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = TAH
						relation = docking_rights
						active = yes
					}
					ROOT = {give_guarantee = TAH }
				}
				add_stability = 0.02
				add_political_power = 20
			}
		}
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = r56_USA_withdraw_from_philippines
		icon = GFX_goal_philippines_post_independence_stabilization
		prerequisite = { focus = r56_USA_overwatch_the_pacific }
		available = {
			has_government = democratic
			is_puppet = no
			PHI = {
				OR = {
					exists = no
					is_subject_of = ROOT
				}
			}
		}
		bypass = {
			PHI ={ 
				NOT = {
					is_subject_of = ROOT
				}
			}
		}

		
		
		x = -1
		y = 1
		relative_position_id = r56_USA_overwatch_the_pacific
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			#release Philippines if they are puppet
			if = {
				limit = {
					"PHI" = {
						is_subject_of = ROOT
					}
				}
				set_autonomy = { target = "PHI" autonomy_state = autonomy_free }
				add_stability = 0.1
			}
			#release Philippines if those don't exist as a sovereign nation
			if = {
				limit = {
					PHI = { exists = no	}
					any_state = {
						is_core_of = PHI
						is_owned_by = ROOT
					}
				}
				effect_tooltip ={
					release = PHI
					PHI = {
						custom_effect_tooltip = create_three_units_tt
					}
				}
				hidden_effect = {
					if = {
						limit = { PHI = { exists = no } }
						release = PHI
						PHI = { save_event_target_as = released_nation_target }
					}
					else = {
						create_dynamic_country = {
							original_tag = PHI
							
							save_event_target_as = released_nation_target
							PREV = {
								every_owned_state = {
									limit = { is_core_of = PHI }
									PREV.PREV = { transfer_state = PREV }
								}
							}
						}
					}
					event_target:released_nation_target = {
						division_template = {
							name = "National Guard Division"
							priority = 1
							division_names_group = USA_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 }
								infantry = { x = 3 y = 2 }
							}
							support = {
								engineer = { x = 0 y = 0 }
								artillery = { x = 0 y = 1 }
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Philippine Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Philippine Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
						random_owned_controlled_state = {
							limit = { PREV = { has_full_control_of_state = PREV } }
							create_unit = {
								division = "name = \"Philippine Division\" division_template = \"National Guard Division\" start_experience_factor = 0.2" 
								owner = PREV
							}
						}
					}
					diplomatic_relation = {
						country = PHI
						relation = docking_rights
						active = yes
					}
					ROOT = {give_guarantee = PHI }
				}
				add_stability = 0.15
			}
		}
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_STABILITY }	
	}

	focus = {
		id = r56_USA_fate_of_hawaii
		icon = GFX_goal_generic_democratic_army
		prerequisite = { focus = r56_USA_overwatch_the_pacific }
		available = {
			has_government = democratic
			is_puppet = no
			has_full_control_of_state = 629
			NOT = {
				country_exists = HAW
			}
		}

		bypass = {
			OR = {
				NOT = {
					has_full_control_of_state = 629
				}
				629 = {
					is_core_of = USA
				}
				country_exists = HAW
			}
		}

		
		
		x = 1
		y = 1
		relative_position_id = r56_USA_overwatch_the_pacific
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			country_event = r56_usa.6
		}
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY }
	}

	focus = {
		id = r56_USA_korean_issue
		icon = GFX_goal_KOR_the_korean_question
		prerequisite = { focus = r56_USA_liberty_for_the_pacific focus = r56_USA_withdraw_from_philippines focus = r56_USA_fate_of_hawaii  }
		available = {
			is_puppet = no
			has_rule = can_send_volunteers
			OR = {
				KOR = {
					exists = yes
					has_government = communism
				}
				NKR = {
					exists = yes
					OR = {
						has_government = communism
						has_government = fascism
					}
				}
			}
		}

		bypass = {
			AND = {
				OR = {
					KOR = {
						exists = yes
						has_government = democratic
					}
					KOR = {
						exists = yes
						has_government = fascism
						is_puppet = no
					}
				}
				OR = {
					NKR = {
						exists = yes
						has_government = democratic
					}
					NKR = {
						exists = yes
						has_government = neutrality
					}
				}
			}
		}

		
		
		x = -1
		y = 1
		relative_position_id = r56_USA_withdraw_from_philippines
		cost = 7
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_political_power = -80
			KOR = {
				add_ideas = SOV_civil_war_ignited
			}
			KOR = {
				declare_war_on = {
				target = NKR
				type = annex_everything
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_assistance_in_chinese_struggle
		icon = GFX_focus_chi_one_china_policy
		prerequisite = { focus = r56_USA_liberty_for_the_pacific focus = r56_USA_withdraw_from_philippines focus = r56_USA_fate_of_hawaii  }
		available = {
			has_government = democratic
			CHI = { 
				has_war_with = PRC
			}
			has_equipment = { infantry_equipment > 6999 }
		}
		search_filters = { FOCUS_FILTER_MILITARY_EQUIPMENT FOCUS_FILTER_RESEARCH }
		bypass = {
			OR = {
				CHI = {
					exists = no
				}
				PRC = {
					exists = no
				}
			}
		}

		
		
		x = 1
		y = 1
		relative_position_id = r56_USA_withdraw_from_philippines
		cost = 7
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			send_equipment = {
				target = CHI
				equipment = infantry_equipment
				amount = 7000
				old_prioritised = yes
			}
			if = {
				limit = { has_equipment = { support_equipment > 1000 } }
				send_equipment = {
					target = CHI
					equipment = support_equipment
					amount = 1000
					old_prioritised = yes
				}
			}
			if = {
				limit = { has_equipment = { artillery_equipment > 500 } }
				send_equipment = {
					target = CHI
					equipment = artillery_equipment
					amount = 500
					old_prioritised = yes
				}
			}
			CHI = {
				add_doctrine_cost_reduction = {
					name = JAP_build_up_the_manchurian_army
					cost_reduction = 0.5
					uses = 2
					category = land_doctrine
				}
			}
		}
	}

	focus = {
		id = r56_USA_intervention_in_vietnam
		icon = GFX_goal_indochina_crawkdown_on_vietminh
		prerequisite = { focus = r56_USA_liberty_for_the_pacific focus = r56_USA_withdraw_from_philippines focus = r56_USA_fate_of_hawaii  }
		available = {
			has_government = democratic
			is_puppet = no
			OR = {
				VIN = {
					exists = yes
					is_puppet = no
					NOT = { has_government = democratic }
				}
				FRI = {
					exists = yes
					is_puppet = no
					NOT = { has_government = democratic }
				}
			}
		}

		bypass = {
			OR = {
				has_war_with = VIN
				has_war_with = FRI
				AND = {
					VIN = {
						exists = no
					}
					FRI = {
						exists = no
					}
				}
			}
		}

		
		
		x = 3
		y = 1
		relative_position_id = r56_USA_withdraw_from_philippines
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					VIN = {
						exists = yes
						is_puppet = no
						NOT = { has_government = democratic }
					}
				}
				create_wargoal = {
					type = topple_government
					target = VIN
				}
				USA_congress_medium_support = yes
			}
			if = {
				limit = {
					FRI = {
						exists = yes
						is_puppet = no
						NOT = { has_government = democratic }
					}
				}
				create_wargoal = {
					type = topple_government
					target = FRI
				}
				USA_congress_small_support = yes
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_strike_the_prc
		icon = GFX_goal_PRC_destroy_the_communists
		prerequisite = { focus = r56_USA_assistance_in_chinese_struggle }
		prerequisite = { focus = r56_USA_intervention_in_vietnam focus = r56_USA_korean_issue }
		available = {
			has_government = democratic
			is_puppet = no
			CHI = { 
				OR = {
					has_war_with = PRC
					exists = no
				}
			}
			PRC = {
				exists = yes
				is_puppet = no
				NOT = {
					OR = {
						has_government = democratic
						is_in_faction_with = USA
						has_war_with = ROOT
					}
				}
			}
		}

		# bypass = {
		# 	OR = {
		# 		has_war_with = PRC
		# 		PRC = {
		# 			exists = no
		# 		}
		# 	}
		# }

		
		
		x = 0
		y = 1
		relative_position_id = r56_USA_assistance_in_chinese_struggle
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			create_wargoal = {
				type = topple_government
				target = PRC
			}
			#USA_congress_medium_support = yes	#are congress really such warmongers?
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_return_to_europe
		icon = GFX_Goal_USA_Global_Hegemony
		prerequisite = { focus = r56_USA_form_united_nations }
		available = {
			has_government = democratic
		}
		
		x = 5
		y = 1
		relative_position_id = r56_USA_form_united_nations
		cost = 8
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					has_idea = rt56_USA_watching_over_pacific_idea
				}
				swap_ideas = {
					remove_idea = rt56_USA_watching_over_pacific_idea
					add_idea = rt56_USA_watching_over_europe_idea
				}
			}
			else = {
				add_ideas = rt56_USA_watching_over_europe_idea
				custom_effect_tooltip = USA_NATO_overwatch_tt
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = r56_USA_foundation_of_NATO
		icon = GFX_goal_generic_befriend_united_states
		prerequisite = { focus = r56_USA_return_to_europe }
		x = -5
		y = 1
		relative_position_id = r56_USA_return_to_europe
		cost = 5
		ai_will_do = {
			factor = 1
			modifier = { #Go for the unthinkable asap
				add = 25
				SOV = {
					exists = yes
					is_major = yes
				}
				ROOT = {
					has_war = no
				}
				has_global_flag = r56_ww2_got_done_early_make_ai_move_toward_ww3
			}
		}
		available = {
			has_government = democratic
			is_puppet = no
			OR = {
				AND = {
					ENG = { 
						is_faction_leader = yes
						is_in_faction_with = ROOT
					}
				}
				AND = {
					FRA = { 
						is_faction_leader = yes
						is_in_faction_with = ROOT
					}
				}
				AND = {
					is_in_faction = yes
					is_faction_leader = yes
				}
				is_in_faction = no
			}
			
			OR = {
				threat > 0.5
				has_war_support > 0.8
				has_war_with = SOV
			}
			OR = {
				AND = {
					has_war = yes
					num_of_military_factories > 199
				}
				AND = {
					has_war = no
					num_of_military_factories > 249
				}	
			}
		}
		completion_reward = {
			if = {
				limit = {
					ENG = { 
						is_faction_leader = yes
						is_in_faction_with = ROOT
					}
				}
				create_faction = USA_nato_faction
				custom_effect_tooltip = USA_dissolve_allies_found_nato_tt
				hidden_effect = {
					if = {
						limit = {
							ENG = { 
								is_faction_leader = yes
								is_ai = no
							}
						}
						every_country = {
							limit = {
								OR = {
									tag = ROOT
									is_in_faction_with = ROOT
								}
							}
							ENG = {
								add_to_faction = PREV
							}	
						}
						hidden_effect = {
							save_event_target_as = alliance_applicant
							ENG = { save_event_target_as = alliance_inviter }					
							set_country_flag = alliance_applicant@ROOT
							ENG = { set_country_flag = alliance_inviter@ROOT }
							news_event = { id = r56i.event.16 hours = 12 }
						}				
					}			
					if = {
						limit = {	
							ENG = { 
								is_faction_leader = yes
								is_ai = yes
							}		
						}
						every_country = {
							limit = {
								OR = {
									tag = ENG
									is_in_faction_with = ENG
								}
							}
							ROOT = {
								add_to_faction = PREV
							}	
						}
						hidden_effect = {
							set_country_flag = alliance_inviter@ROOT
							save_event_target_as = alliance_inviter
							ENG = { save_event_target_as =  alliance_applicant }	
							ENG = { set_country_flag = alliance_applicant@ROOT }
							news_event = { id = r56i.event.16 hours = 12 }
						}				
					}
				}
				add_ideas = rt56_USA_founder_of_nato_idea
			}

			if = {
				limit = {
					FRA = { 
						is_faction_leader = yes
						is_in_faction_with = ROOT
					}
				}
				create_faction = USA_nato_faction
				custom_effect_tooltip = USA_dissolve_allies_found_nato_tt
				hidden_effect = {
					if = {
						limit = {
							FRA = { 
								is_faction_leader = yes
								is_ai = no
							}
						}
						every_country = {
							limit = {
								OR = {
									tag = ROOT
									is_in_faction_with = ROOT
								}
							}
							FRA = {
								add_to_faction = PREV
							}	
						}
						hidden_effect = {
							save_event_target_as = alliance_applicant
							FRA = { save_event_target_as = alliance_inviter }					
							set_country_flag = alliance_applicant@ROOT
							FRA = { set_country_flag = alliance_inviter@ROOT }
							news_event = { id = r56i.event.16 hours = 12 }
						}				
					}			
					if = {
						limit = {	
							FRA = { 
								is_faction_leader = yes
								is_ai = yes
							}		
						}
						every_country = {
							limit = {
								OR = {
									tag = FRA
									is_in_faction_with = FRA
								}
							}
							ROOT = {
								add_to_faction = PREV
							}	
						}
						hidden_effect = {
							set_country_flag = alliance_inviter@ROOT
							save_event_target_as = alliance_inviter
							FRA = { save_event_target_as =  alliance_applicant }	
							FRA = { set_country_flag = alliance_applicant@ROOT }
							news_event = { id = r56i.event.16 hours = 12 }
						}				
					}
				}
				add_ideas = rt56_USA_founder_of_nato_idea
			}

			if = {
				limit = {
					is_in_faction = yes
					is_faction_leader = yes
				}
				set_faction_name = USA_nato_faction
				add_ideas = rt56_USA_founder_of_nato_idea
			}
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction = USA_nato_faction
				add_ideas = rt56_USA_founder_of_nato_idea
			}
			if = {
				limit = {
					NOT = { has_idea = BEL_volunteer_corps }
				}
				set_rule = { can_send_volunteers = yes }
				add_ideas = BEL_volunteer_corps
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_guide_true_democracies
		icon = GFX_france_first
		prerequisite = { focus = r56_USA_foundation_of_NATO }
		available = {
			is_faction_leader = yes
			has_government = democratic
		}
		x = 0
		y = 1
		relative_position_id = r56_USA_foundation_of_NATO
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = { #Go for the unthinkable asap
				add = 25
				SOV = {
					exists = yes
					is_major = yes
				}
				ROOT = {
					has_war = no
				}
				has_global_flag = r56_ww2_got_done_early_make_ai_move_toward_ww3
			}
		}
		completion_reward = {
			every_other_country = {
				limit = {
					is_in_faction_with = USA
					is_subject = no
					OR = {
						has_government = communism
						has_government = fascism
					}
				}
				ROOT = { remove_from_faction = PREV }
			}
			every_other_country = {
				limit = {
					is_in_faction_with = USA
				}
				add_ideas = rt56_USA_member_of_nato_idea
			}
		}
		search_filters = { FOCUS_FILTER_TFV_AUTONOMY FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_coordinate_research_effort
		icon = GFX_goal_tfv_generic_tech_sharing
		prerequisite = { focus = r56_USA_foundation_of_NATO }
		available = {
			has_government = democratic
			is_in_faction = yes
		}
		
		x = -1
		y = 2
		relative_position_id = r56_USA_foundation_of_NATO
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			every_other_country = {
				limit = {
					is_in_faction_with = USA
				}
				add_ideas = SWE_technological_exchange2
			}
			add_ideas = SWE_technological_exchange2
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}

	focus = {
		id = r56_USA_enact_marshall_plan
		icon = GFX_goal_generic_bills
		prerequisite = { focus = r56_USA_return_to_europe }
		available = {
			has_government = democratic
			has_war = no
			# OR = {	#predates Germany by a year
			# 	GER = {
			# 		exists = yes
			# 		has_government = democratic
			# 	}
			# 	WGR = {
			# 		exists = yes
			# 		has_government = democratic
			# 	}
			# }
		}

		
		
		x = -3
		y = 1
		relative_position_id = r56_USA_return_to_europe
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
            every_other_country = {
                limit = {
                    NOT = {
                        has_war_with =  ROOT
                    }
                    OR = {
                        any_subject_country = {
                            capital_scope = {
                                is_on_continent = europe
                            }
                        }
                        AND = {
                            capital_scope = {
                                is_on_continent = europe
                            }
                            NOT = {
                                original_tag = FIN
                                has_government = fascism #Bad Franco!
								AND = {
									is_subject = yes
									NOT = {
										is_subject_of = ROOT
									}
								}
                            }
                        }
                    }
                }
                country_event = cold_war.4
            }
			add_timed_idea = { idea = r56_financing_marshall_plan days = 360 }
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }	
	}

	focus = {
		id = r56_USA_support_eastern_democrats
		icon = GFX_goal_support_democracy
		prerequisite = { focus = r56_USA_enact_marshall_plan }
		available = {
			has_government = democratic
		}

		bypass = {
			NOT = {
				OR = {
					country_exists = CZE
					country_exists = SLO
					country_exists = RUT
					country_exists = HUN
					country_exists = POL
					country_exists = ROM
					country_exists = BUL
				}
			}
		}

		
		
		x = 0
		y = 1
		relative_position_id = r56_USA_enact_marshall_plan
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					CZE = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				CZE ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
			if = {
				limit = {
					SLO = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				SLO ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
			if = {
				limit = {
					RUT = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				RUT ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
			if = {
				limit = {
					HUN = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				HUN ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
			if = {
				limit = {
					POL = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				POL ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
			if = {
				limit = {
					ROM = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				ROM ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
			if = {
				limit = {
					BUL = {
						exists = yes
						NOT = { has_government = democratic }
					}
				}
				BUL ={
					add_timed_idea = { idea = GRE_democratic_support days = 90 }
				}
			}
		}	
	}

	focus = {
		id = r56_USA_secure_iberia
		icon = GFX_goal_spr_democracy_in_our_country
		prerequisite = { focus = r56_USA_return_to_europe }
		available = {
			has_government = democratic
			is_puppet = no
			any_country = {
				original_tag = SPR
				exists = yes
				NOT = {
					has_war_with = ROOT
				}
			}
			OR = {	#can either invite to faction, or has a valid wargoal target
				is_faction_leader = yes
				any_country = {
					original_tag = SPR
					exists = yes
					NOT = {
						has_government = democratic
					}
				}
			}
		}

		bypass = {
			any_country = {
				original_tag = SPR
				is_in_faction_with = USA
			}
		}
		
		
		x = -1
		y = 1
		relative_position_id = r56_USA_return_to_europe
		cost = 10
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					any_country = {
						original_tag = SPR
						OR = {
							has_government = fascism
							has_government = neutrality
							has_government = communism
						}
					}
				}
				random_other_country = {
					limit = {
						original_tag = SPR
						OR = {
							has_government = fascism
							has_government = neutrality
							has_government = communism
						}
					}
					USA = {
						create_wargoal = {
							type = topple_government
							target = PREV
							expire = 0
						}
					}
				}
			}
			if = {
				limit = {
					is_faction_leader = yes
					any_country = {
						original_tag = SPR
						has_civil_war = no
						has_government = democratic
					}
				}
				random_other_country = {
					limit = {
						original_tag = SPR
						has_government = democratic
					}
					country_event = generic.5
				}
			}	
		}
		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_ALLIANCE }
	}

	focus = {
		id = r56_USA_ensure_greek_freedom
		icon = GFX_GRE_focus_laikon_koma
		prerequisite = { focus = r56_USA_return_to_europe }
		mutually_exclusive = { focus = r56_USA_greek_membership }

		will_lead_to_war_with = GRE
		available = {
			is_puppet = no
			GRE = {
				exists = yes
				has_civil_war = no
				is_puppet = no

				NOT = {
					OR = {
						has_government = democratic
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {
			OR = {
				GRE = {
					is_subject_of = USA
				}
				NOT = {
					country_exists = GRE	
				}	
			}
		}
		
		
		x = 1
		y = 1
		relative_position_id = r56_USA_return_to_europe
		cost = 8
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			add_timed_idea = { idea = SOV_support_greece days = 200 }
			create_wargoal = {
				type = topple_government
				target = GRE
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_greek_membership
		icon = GFX_focus_generic_befriend_greece
		prerequisite = { focus = r56_USA_return_to_europe }
		mutually_exclusive = { focus = r56_USA_ensure_greek_freedom }

		available = {
			is_faction_leader = yes
			is_puppet = no
			GRE = {
				NOT = { has_war_with = ROOT }
				exists = yes
				is_puppet = no
				is_in_faction = no
				has_government = democratic
			}	
		}

		bypass = {
			GRE = {
				OR = {
					exists = no
					is_puppet = yes
					is_in_faction = yes
				}
			}
		}
		
		
		x = 3
		y = 1
		relative_position_id = r56_USA_return_to_europe
		cost = 5
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					GRE = { is_in_faction = no }
				}
				ROOT = {
					GRE = { 
						country_event = generic.5 
						add_ai_strategy = {
							type = alliance
							id = "USA"
							value = 200
						}
					}
				}				
			}			
			if = {
				limit = {
					OR = {
						GRE = { 
							is_faction_leader = yes
							is_ai = no
						}					
					}
				}
				every_country = {
					limit = {
						OR = {
							tag = ROOT
							is_in_faction_with = ROOT
						}
					}

					GRE = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					save_event_target_as = alliance_applicant
					GRE = { save_event_target_as = alliance_inviter }					
					set_country_flag = alliance_applicant@ROOT
					GRE = { set_country_flag = alliance_inviter@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}			
			if = {
				limit = {	
					GRE = { 
						is_faction_leader = yes
						is_ai = yes
					}		
				}
				every_country = {
					limit = {
						OR = {
							tag = GRE
							is_in_faction_with = GRE
						}
					}

					ROOT = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					set_country_flag = alliance_inviter@ROOT
					save_event_target_as = alliance_inviter
					GRE = { save_event_target_as =  alliance_applicant }	
					GRE = { set_country_flag = alliance_applicant@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}

	focus = {
		id = r56_USA_turkish_membership
		icon = GFX_goal_generic_befriend_turkey
		prerequisite = { focus = r56_USA_ensure_greek_freedom focus = r56_USA_greek_membership }

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

		bypass = {
			TUR = {
				OR = {
					exists = no
					is_puppet_of = ROOT
					is_in_faction = yes
				}
			}
		}
		
		
		x = -1
		y = 1
		relative_position_id = r56_USA_greek_membership
		cost = 8
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					TUR = { is_in_faction = no }
				}
				ROOT = {
					TUR = { 
						country_event = generic.5 
						add_ai_strategy = {
							type = alliance
							id = "USA"
							value = 200
						}
					}
				}				
			}			
			if = {
				limit = {
					OR = {
						TUR = { 
							is_faction_leader = yes
							is_ai = no
						}					
					}
				}
				every_country = {
					limit = {
						OR = {
							tag = ROOT
							is_in_faction_with = ROOT
						}
					}

					TUR = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					save_event_target_as = alliance_applicant
					TUR = { save_event_target_as = alliance_inviter }					
					set_country_flag = alliance_applicant@ROOT
					TUR = { set_country_flag = alliance_inviter@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}			
			if = {
				limit = {	
					TUR = { 
						is_faction_leader = yes
						is_ai = yes
					}		
				}
				every_country = {
					limit = {
						OR = {
							tag = TUR
							is_in_faction_with = TUR
						}
					}

					ROOT = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					set_country_flag = alliance_inviter@ROOT
					save_event_target_as = alliance_inviter
					TUR = { save_event_target_as =  alliance_applicant }	
					TUR = { set_country_flag = alliance_applicant@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}

	focus = {
		id = r56_USA_ally_yugoslavia
		icon = GFX_goal_generic_befriend_yugoslavia
		prerequisite = { focus = r56_USA_turkish_membership focus = r56_USA_support_eastern_democrats }
		mutually_exclusive = { focus = r56_USA_secure_yugoslavia }
		x = -4
		y = 1
		relative_position_id = r56_USA_turkish_membership

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

		bypass = {
			YUG = {
				OR = {
					exists = no
					is_puppet_of = ROOT
					is_in_faction = yes
				}
			}
		}
		
		cost = 8
		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			if = {
				limit = {
					YUG = { is_in_faction = no }
				}
				ROOT = {
					YUG = { 
						country_event = generic.5 
						add_ai_strategy = {
							type = alliance
							id = "USA"
							value = 200
						}
					}
				}				
			}			
			if = {
				limit = {
					OR = {
						YUG = { 
							is_faction_leader = yes
							is_ai = no
						}					
					}
				}
				every_country = {
					limit = {
						OR = {
							tag = ROOT
							is_in_faction_with = ROOT
						}
					}

					YUG = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					save_event_target_as = alliance_applicant
					YUG = { save_event_target_as = alliance_inviter }					
					set_country_flag = alliance_applicant@ROOT
					YUG = { set_country_flag = alliance_inviter@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}			
			if = {
				limit = {	
					YUG = { 
						is_faction_leader = yes
						is_ai = yes
					}		
				}
				every_country = {
					limit = {
						OR = {
							tag = YUG
							is_in_faction_with = YUG
						}
					}

					ROOT = {
						add_to_faction = PREV
					}
					
				}
				hidden_effect = {
					set_country_flag = alliance_inviter@ROOT
					save_event_target_as = alliance_inviter
					YUG = { save_event_target_as =  alliance_applicant }	
					YUG = { set_country_flag = alliance_applicant@ROOT }
					news_event = { id = r56i.event.16 hours = 12 }
				}				
			}
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
	}

	focus = {
		id = r56_USA_secure_yugoslavia
		icon = GFX_goal_generic_attack_yugoslavia
		prerequisite = { focus = r56_USA_turkish_membership focus = r56_USA_support_eastern_democrats }
		mutually_exclusive = { focus = r56_USA_ally_yugoslavia }
		x = -2
		y = 1
		relative_position_id = r56_USA_turkish_membership

		cost = 8

		ai_will_do = {
			factor = 60
		}

		available = {
			is_puppet = no
			YUG = {
				exists = yes
				NOT = {
					OR = {
						is_in_faction_with = USA
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {
			YUG = {
				OR = {
					exists = no
					is_in_faction_with = USA
				}
			}
		}

		
		
		available_if_capitulated = yes

		complete_tooltip = {

		}

		completion_reward = {
			create_wargoal = {
				type = topple_government
				target = YUG
				expire = 0
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

	focus = {
		id = r56_USA_prepare_allies_for_the_inevitable
		icon = GFX_goal_generic_build_tank
		x = 4
		y = 1
		prerequisite = { focus = r56_USA_secure_yugoslavia focus = r56_USA_ally_yugoslavia }
		#prerequisite = { focus = r56_USA_strike_the_prc }	#going to war with China shouldnt be required for this!
		prerequisite = { focus = r56_USA_guide_true_democracies } #keeps the layout logical with the above requirement disabled
		relative_position_id = r56_USA_strike_the_prc
		cost = 14.3

		ai_will_do = {
			factor = 1
			modifier = { #Go for the unthinkable asap
				add = 25
				SOV = {
					exists = yes
					is_major = yes
				}
				ROOT = {
					has_war = no
				}
				has_global_flag = r56_ww2_got_done_early_make_ai_move_toward_ww3
			}
		}

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

		
		
		

		completion_reward = {
			custom_effect_tooltip = r56_USA_invest_in_our_weaker_allies_tt
			every_other_country = {
				limit = {
					is_in_faction_with = ROOT
					NOT = { is_subject_of = ROOT }
					check_variable = { num_of_military_factories < USA.num_of_military_factories }
				}
				random_owned_state = {
					limit = {
						is_core_of = PREV
						free_building_slots = {
							building = industrial_complex
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = arms_factory
						level = 3
						instant_build = yes
					}
				}
			}
			every_other_country = {
				limit = {
					is_in_faction_with = ROOT
					NOT = { is_subject_of = ROOT }
					check_variable = { num_of_naval_factories < USA.num_of_naval_factories }
				}
				random_owned_state = {
					limit = {
						is_core_of = PREV
						free_building_slots = {
							building = industrial_complex
							size > 2
							include_locked = yes
						}
					}
					add_extra_state_shared_building_slots = 3
					add_building_construction = {
						type = dockyard
						level = 3
						instant_build = yes
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = r56_USA_a_cold_war
		icon = GFX_goal_generic_cold_war
		prerequisite = { focus = r56_USA_prepare_allies_for_the_inevitable }
		mutually_exclusive = { focus = r56_USA_commence_the_unthinkable }
		x = 1
		y = 1
		relative_position_id = r56_USA_prepare_allies_for_the_inevitable

		cost = 6

		ai_will_do = {
			factor = 0.1
		}

		available = {
			has_war = no
			is_puppet = no
			any_other_country = {
				is_faction_leader = yes
				is_major = yes
				has_government = communism
			}
		}

		bypass = {
			any_other_country = {
				is_major = yes
				has_idea = SOV_cold_war_idea
			}
		}
		
		completion_reward = {
			add_threat = -80
			if = {
				limit = {
					NOT = {
						has_idea = SOV_cold_war_idea
					}
				}
				add_ideas = SOV_cold_war_idea
			}
			every_country = {
				limit = {
					has_government = communism
					is_faction_leader = yes
					is_major = yes
					NOT = {
						has_idea = SOV_cold_war_idea
					}
				}
				add_ideas = SOV_cold_war_idea
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY }
	}

	focus = {
		id = r56_USA_commence_the_unthinkable
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = r56_USA_prepare_allies_for_the_inevitable }
		mutually_exclusive = { focus = r56_USA_a_cold_war }
		x = -1
		y = 1
		relative_position_id = r56_USA_prepare_allies_for_the_inevitable

		cost = 10

		available = {
			is_faction_leader = yes
			is_puppet = no
			any_other_country = {
				is_major = yes
				has_government = communism
				NOT = {
					OR = {
						is_in_faction_with = USA
						has_war_with = ROOT
					}
				}
			}
		}

		bypass = {
			any_other_country = {
				is_major = yes
				has_government = communism
				has_war_with = ROOT
			}
		}

		ai_will_do = {
			factor = 0
			modifier = { #Go for the unthinkable asap
				add = 25
				SOV = {
					exists = yes
					is_major = yes
				}
				ROOT = {
					has_war = no
				}
				has_global_flag = r56_ww2_got_done_early_make_ai_move_toward_ww3
			}
		}

		select_effect = {
			every_country = {
				limit = {
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
					OR = {
						is_major = yes
						is_neighbor_of = ROOT
					}
				}
				ROOT = {
					add_ai_strategy = {
						type = prepare_for_war
						id = PREV
						value = 100
					}
				}
			}
		}

		completion_reward = {
			custom_effect_tooltip = sov_hot_war_tt
			#create_wargoal = {
			#	type = topple_government
			#	target = SOV
			#	expire = 0
			#}
			every_country = {
				limit = {
					has_government = communism
					NOT = { is_in_faction_with = ROOT }
					OR = {
						is_major = yes
						is_neighbor_of = ROOT
					}
				}
				ROOT = {
					create_wargoal = {
						target = PREV
						type = topple_government
						expire = 0
					}
				}
			}
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
	}

###  ## ###  ##  ###  #   ###  ## #  #     ### #  # ###      ##   ##  #   ###       ## ###  ##  #  # ###   ##  ###  ###  
#   #    #  #  # #  # #    #  #   #  #      #  #  # #       #    #  # #   #  #     #    #  #  # ## # #  # #  # #  # #  # 
##   #   #  #### ###  #    #   #  ####      #  #### ##      # ## #  # #   #  #      #   #  #### # ## #  # #### ###  #  # 
#     #  #  #  # #  # #    #    # #  #      #  #  # #       #  # #  # #   #  #       #  #  #  # #  # #  # #  # #  # #  # 
### ##   #  #  # ###  ### ### ##  #  #      #  #  # ###      ##   ##  ### ###      ##   #  #  # #  # ###  #  # #  # ###  

	focus = {
		id = USA_reestablish_the_gold_standard
		icon = GFX_focus_usa_reestablish_the_gold_standard
		allow_branch = {
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = USA_continue_the_new_deal
				}
			}
		}
		x = 6
		y = 0
		relative_position_id = USA_continue_the_new_deal
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				has_global_flag = rt56_old_school
				add = 1
			}
		}
		mutually_exclusive = { focus = USA_continue_the_new_deal }
		available = {
			has_government = democratic
			NOT = {
				has_country_leader = { ruling_only = yes character = USA_franklin_delano_roosevelt }
			}
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_ideas = USA_gold_standard
			USA_congress_small_opposition = yes
			mark_focus_tree_layout_dirty = yes
		}
	}
	focus = {
		id = USA_adjusted_compensation_act
		icon = GFX_goal_generic_consumer_goods
		x = 2
		y = 1
		prerequisite = { focus = USA_reestablish_the_gold_standard }
		relative_position_id = USA_reestablish_the_gold_standard
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_medium_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_timed_idea = { idea = USA_adjusted_compensation_payment days = 180 }
			USA_great_depression_level_down = yes
			if = {
				limit = {
					not = { congress_medium_support_trigger = yes }
				}
				USA_congress_small_opposition = yes
			}
		}
	}
	focus = {
		id = USA_labour_management_relations_act
		icon = GFX_goal_FRA_class_collaboration
		x = 0
		y = 1
		prerequisite = { focus = USA_adjusted_compensation_act }
		relative_position_id = USA_adjusted_compensation_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_medium_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			add_ideas = USA_labour_management_relations_act
			if = {
				limit = {
					communism < 0.1 
				}
				USA_congress_small_opposition = yes
			}
			else = {
				USA_congress_medium_opposition = yes
			}
			if = {
				limit = {
					ROOT = {
						has_war = no
					}
				}
				activate_mission = USA_population_migration_mission_0 
			}
		}
	}
	focus = {
		id = USA_protectionist_tariffs
		icon = GFX_goal_generic_defence
		x = 0
		y = 2
		prerequisite = { focus = USA_labour_management_relations_act }
		relative_position_id = USA_adjusted_compensation_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			
		}

		
		
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER}
		completion_reward = {
			USA_great_depression_level_down = yes
			if = {
				limit = {
					has_idea = free_trade
				}
				add_ideas = export_focus
			}
		}
	}
	focus = {
		id = USA_income_tax_reform
		icon = GFX_goal_generic_bills
		x = 0
		y = 4
		prerequisite = { focus = USA_protectionist_tariffs }
		relative_position_id = USA_adjusted_compensation_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_high_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			USA_great_depression_level_down = yes
			USA_congress_medium_opposition = yes
			unlock_decision_tooltip = { decision = USA_give_tax_break show_effect_tooltip = yes }
		}
	}
	focus = {
		id = USA_institute_of_american_sciences
		icon = GFX_focus_research
		x = 0
		y = 6
		prerequisite = { focus = USA_income_tax_reform }
		relative_position_id = USA_adjusted_compensation_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			amount_research_slots < 7
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_research_slot = 1
			if = {
				limit = {
					has_idea = rt56_rushed_r_n_d
				}
				remove_ideas = rt56_rushed_r_n_d
			}
		}
	}
 ## ### ###  ### #  #  ##  ### #  # ### #  #     ### #  # ###      ##  #   # ### ###  ###  ##   ##  #  #     #   ###  ##  ###  ##  #  # 
#    #  #  # #   ## # #     #  #  # #   ## #      #  #  # #       #  # ## ## #   #  #  #  #  # #  # ## #     #   #   #     #  #  # ## # 
 #   #  ###  ##  # ## # ##  #  #### ##  # ##      #  #### ##      #### # # # ##  ###   #  #    #### # ##     #   ##  # ##  #  #  # # ## 
  #  #  #  # #   #  # #  #  #  #  # #   #  #      #  #  # #       #  # #   # #   #  #  #  #  # #  # #  #     #   #   #  #  #  #  # #  # 
##   #  #  # ### #  #  ##   #  #  # ### #  #      #  #  # ###     #  # #   # ### #  # ###  ##  #  # #  #     ### ###  ##  ###  ##  #  # 

	focus = {
		id = USA_america_first
		icon = GFX_Goal_USA_america_first
		x = 5
		y = 1
		prerequisite = { focus = USA_reestablish_the_gold_standard }
		relative_position_id = USA_reestablish_the_gold_standard
		cost = 5

		available = {
			congress_low_support_trigger = yes
		}

		ai_will_do = {
			factor = 1
		}
		allow_branch = {
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = USA_continue_the_new_deal
				}
			}			
		}
		
		search_filters = {FOCUS_FILTER_POLITICAL}
		completion_reward = {
			add_war_support = -0.05
			add_stability = 0.05
			custom_effect_tooltip = available_political_advisor
		    show_ideas_tooltip = charles_coughlin
			add_popularity = { ideology = fascism popularity = 0.05 }
			if = {
		    	limit = {
					has_idea = rt56_j_edgar_hoover
				}
				remove_ideas = rt56_j_edgar_hoover
			}
		     if = {
		    	limit = {
		    		is_ai = yes
		    		OR = {
						has_country_flag = USA_AI_RANDOM_FASCIST
						has_game_rule = {
							rule = USA_ai_behavior
							option = FASCIST
						}
					}
		    	}
		    	add_ideas = charles_coughlin
		    }
			USA_congress_small_opposition = yes #Making rushing alt USA a little harder in Rt56
		}
	}
	focus = {
		id = USA_extend_the_chinese_exclusion_acts
		icon = GFX_goal_generic_forceful_treaty
		x = 0
		y = 1
		prerequisite = { focus = USA_america_first }
		relative_position_id = USA_america_first
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_low_support_trigger = yes
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			USA_congress_large_support = yes
			event_target:WTT_current_china_leader = {
				add_opinion_modifier = { modifier = USA_extend_the_chinese_exclusion_acts target = ROOT }
			}
		}
	}
	focus = {
		id = USA_empower_the_huac
		icon = GFX_Goal_USA_HUAC
		x = -1
		y = 2
		prerequisite = { focus = USA_extend_the_chinese_exclusion_acts }
		prerequisite = { focus = USA_labour_management_relations_act }
		relative_position_id = USA_america_first
		cost = 10

		ai_will_do = {
			factor = 1
		}

		
		
		
		search_filters = { FOCUS_FILTER_USA_CONGRESS FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }
		completion_reward = {
			custom_effect_tooltip = available_political_advisor
		    show_ideas_tooltip = USA_joseph_mccarthy
		    unlock_decision_tooltip = { decision = USA_use_huac show_effect_tooltip = yes }
		}
		
	}
	focus = {
		id = USA_voter_registration_act
		icon = GFX_focus_usa_voter_registration_act
		x = -1
		y = 3
		prerequisite = { focus = USA_empower_the_huac }

		relative_position_id = USA_america_first
		cost = 10
		search_filters = { FOCUS_FILTER_USA_CONGRESS FOCUS_FILTER_STABILITY }
		ai_will_do = {
			factor = 1
		}

		available = {
			fascism > 0.15
			congress_high_support_trigger = yes
		}
		
		#bypass = {
		#
		#}

		cancel_if_invalid = no
		continue_if_invalid = yes
		

		completion_reward = {
			USA_return_majority = yes
			if = {
				limit = {
					democratic > 0.75
				}
				add_stability = -0.1
			}
			if = {
				limit = {
					has_country_flag = mtg_usa_civil_war_democrats_1
					not = { has_country_flag = mtg_usa_civil_war_democrats_2 }
				}
				country_event = mtg_usa_civil_war_democrats.2
				custom_effect_tooltip = mtg_usa_civil_war_warning_tt
			}
			else_if = {
				limit = { not = { has_country_flag = mtg_usa_civil_war_democrats_1 } }
				country_event = mtg_usa_civil_war_democrats.1
				custom_effect_tooltip = mtg_usa_civil_war_warning_tt
			}
		}
	}

 ##  #   #   #   #     #   # ### ### #  #     ### #  # ###      ## ### #   #   # ### ###       ## #  # ### ###  ###  ## 
#  # #   #    # #      #   #  #   #  #  #      #  #  # #       #    #  #   #   # #   #  #     #   #  #  #  #  #  #  #   
#### #   #     #       # # #  #   #  ####      #  #### ##       #   #  #    # #  ##  ###       #  ####  #  ###   #   #  
#  # #   #     #       # # #  #   #  #  #      #  #  # #         #  #  #    # #  #   #  #       # #  #  #  #  #  #    # 
#  # ### ###   #        # #  ###  #  #  #      #  #  # ###     ##  ### ###   #   ### #  #     ##  #  # ### #  #  #  ##  

	focus = {
		id = USA_ally_with_the_silver_shirts
		icon = GFX_Goal_USA_ally_silver_shirts
		x = 4
		y = 1
		prerequisite = { focus = USA_america_first }
		relative_position_id = USA_america_first
		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				has_global_flag = rt56_old_school
				add = 0.1
			}
		}

		available = {
			fascism > 0.1
			has_idea_with_trait = fascist_demagogue
			not = { has_completed_focus = USA_limited_intervention }
			not = { has_completed_focus = USA_neutrality_act }
		}
		
		bypass = {
			has_government = fascism
		}

		
		
		
		search_filters = {FOCUS_FILTER_POLITICAL FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			USA_congress_medium_support = yes
			unlock_decision_tooltip = { decision = USA_beat_up_opposition show_effect_tooltip = yes }
			if = {
				limit = {
					has_country_flag = mtg_usa_civil_war_democrats_1
					not = { has_country_flag = mtg_usa_civil_war_democrats_2 }
				}
				country_event = mtg_usa_civil_war_democrats.2
				custom_effect_tooltip = mtg_usa_civil_war_warning_tt
			}
			else_if = {
				limit = { not = { has_country_flag = mtg_usa_civil_war_democrats_1 } }
				country_event = mtg_usa_civil_war_democrats.1
				custom_effect_tooltip = mtg_usa_civil_war_warning_tt
			}
		}
	}

	focus = {
		id = USA_national_prosperity_program
		icon = GFX_goal_generic_consumer_goods
		x = -2
		y = 1
		prerequisite = { focus = USA_ally_with_the_silver_shirts }
		relative_position_id = USA_ally_with_the_silver_shirts
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			fascism > 0.2
		}
		
		search_filters = {FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_stability = 0.1
		}
	}
	focus = {
		id = USA_privatize_the_TVA
		icon = GFX_focus_generic_industry_1
		x = -3
		y = 2
		prerequisite = { focus = USA_national_prosperity_program }
		relative_position_id = USA_ally_with_the_silver_shirts
		cost = 10

		ai_will_do = {
			factor = 1
		}

		
		
		

		completion_reward = {
			368 = {
				add_extra_state_shared_building_slots = 2
			}
			add_ideas = USA_privatization
		}
		search_filters = {FOCUS_FILTER_INDUSTRY}
	}
	focus = {
		id = USA_de_regulate_the_banking_sector
		icon = GFX_goal_generic_banking
		x = -1
		y = 2
		prerequisite = { focus = USA_national_prosperity_program }
		relative_position_id = USA_ally_with_the_silver_shirts
		cost = 10

		ai_will_do = {
			factor = 1
		}

		
		
		

		completion_reward = {
			add_ideas = USA_banking_sector_deregulation
		}
	}
	focus = {
		id = USA_national_employment_strategy
		icon = GFX_goal_italy_nationalize_the_banks
		x = -2
		y = 3
		prerequisite = { focus = USA_privatize_the_TVA }
		prerequisite = { focus = USA_de_regulate_the_banking_sector }
		relative_position_id = USA_ally_with_the_silver_shirts
		cost = 10

		ai_will_do = {
			factor = 1
		}

		
		
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			swap_ideas = {
				remove_idea = USA_banking_sector_deregulation
				add_idea = USA_national_employment_strategy
			}
			USA_great_depression_level_down = yes
		}
	}
	focus = {
		id = USA_collaboration_with_the_mafia
		icon = GFX_focus_generic_conspiracy
		x = -1
		y = 1
		prerequisite = { focus = USA_national_employment_strategy }
		relative_position_id = USA_national_employment_strategy
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			fascism > 0.2
		}
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_MILITARY_EQUIPMENT FOCUS_FILTER_STABILITY}
		completion_reward = {
			custom_effect_tooltip = USA_collaboration_with_the_mafia_tt
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = USA_frank_nitti
		}
	}
	focus = {
		id = USA_invite_foreign_support
		icon = GFX_goal_generic_military_deal
		x = 3
		y = 1
		prerequisite = { focus = USA_ally_with_the_silver_shirts }
		relative_position_id = USA_ally_with_the_silver_shirts
		cost = 5

		ai_will_do = {
			factor = 1
		}

		
		
		

		completion_reward = {
			unlock_decision_category_tooltip = USA_foreign_support
			custom_effect_tooltip = USA_foreign_support_tt
		}
	}
	focus = {
		id = USA_send_lindbergh_to_germany
		icon = GFX_focus_chi_mission_to_germany
		x = 0
		y = 1
		prerequisite = { focus = USA_invite_foreign_support }
		relative_position_id = USA_invite_foreign_support
		cost = 5

		search_filters = { FOCUS_FILTER_AIR_XP }

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			air_experience = 75
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = USA_charles_lindbergh
		}
	}
	focus = {
		id = USA_work_with_the_bund
		icon = GFX_goal_generic_dangerous_deal
		x = -1
		y = 1
		prerequisite = { focus = USA_send_lindbergh_to_germany }
		relative_position_id = USA_send_lindbergh_to_germany
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			not = {
				has_war_with = GER
			}
		}
		
		bypass = {
			has_civil_war = yes
		}

		
		
		
		search_filters = {FOCUS_FILTER_STABILITY}
		completion_reward = {
			add_stability = 0.05
			GER = { add_opinion_modifier = { target = ROOT modifier = USA_work_with_the_bund } }
			set_country_flag = MTG_work_with_the_bund # to check if the focus was completed regularly or bypassed
			custom_effect_tooltip = USA_work_with_the_bund_tt
		}
	}
	focus = {
		id = USA_recruit_the_free_corps
		icon = GFX_focus_usa_recruit_the_free_corps
		x = 1
		y = 2
		prerequisite = { focus = USA_send_lindbergh_to_germany }
		relative_position_id = USA_invite_foreign_support
		cost = 10

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			unlock_decision_tooltip = USA_raise_the_free_corps 
			custom_effect_tooltip = USA_raise_the_free_corps_tt
		}
	}

	focus = {
		id = USA_enforced_loyalty
		icon = GFX_goal_generic_secret_police_2
		cost = 10
		prerequisite = {
			focus = USA_recruit_the_free_corps
			focus = USA_work_with_the_bund
		}
		available = {
			if = {
				limit = {
					NOT = {
						has_government = fascism
					}
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		relative_position_id = USA_recruit_the_free_corps
		x = -1
		y = 1
		ai_will_do = {
			factor = 10
		}
		completion_reward = {
			if = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = yes
					NOT = {
						has_done_agency_upgrade = upgrade_interrogation_techniques
					}
				}
				upgrade_intelligence_agency = upgrade_interrogation_techniques
			}
			else_if = {
				limit = {
					has_dlc = "La Resistance"
					NOT = {
						has_intelligence_agency = yes
					}
				}
				create_intelligence_agency = yes
			}
			if = {
				limit = {
					NOT = {
						has_idea = r56i_laws_security_balanced
						has_idea = r56i_laws_security_rights
						has_idea = r56i_laws_security_order
					}
				}
				custom_effect_tooltip = EFFECT_CHANGE_LAW_r56i_laws_social
				show_ideas_tooltip = r56i_laws_security_order
				hidden_effect = {
					add_ideas = r56i_laws_security_order
				}
				
			}
			add_tech_bonus = {
				name = mp_tech_bonus_name
				bonus = 3
				uses = 1
				category = military_police_tech
			}
			USA_congress_small_opposition = yes
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ESPIONAGE FOCUS_FILTER_USA_CONGRESS }
	}

	focus = {
		id = USA_honor_the_confederacy
		icon = GFX_focus_usa_honor_the_confederacy
		x = 1
		y = 1
		prerequisite = { focus = USA_work_with_the_bund }
		prerequisite = { focus = USA_national_employment_strategy }
		mutually_exclusive = { focus = USA_cult_of_washington }
		relative_position_id = USA_national_employment_strategy
		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 2
				has_government = neutrality
				fascism > 0.5
			}			
		}

		allow_branch = {
			NOT = {
				country_exists = CSA
			}
			has_dlc = "Man the Guns"
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = {
					has_completed_focus = USA_continue_the_new_deal
				}
			}
		}

		available = {
			OR = {
				has_civil_war = yes
				has_government = fascism
				has_government = neutrality
			}
			NOT = {
				has_country_leader = { ruling_only = yes character = USA_douglas_macarthur }
			}
			NOT = {
				country_exists = CSA
			}
		}

		completion_reward = {
			unlock_decision_category_tooltip = USA_honor_the_confederacy
			custom_effect_tooltip = USA_honor_the_confederacy_tt
			every_state = {
				limit = {
					is_core_of = CSA
				}
				remove_core_of = CSA
			}
		}
	}
	focus = {
		id = USA_cult_of_washington
		icon = GFX_Goal_USA_washington
		x = 3
		y = 1
		offset = {
			x = -1
			y = 0
			trigger = {
				CSA = {
					exists = yes
				}
			}
		}
		prerequisite = { focus = USA_work_with_the_bund }
		prerequisite = { focus = USA_national_employment_strategy }
		mutually_exclusive = { focus = USA_honor_the_confederacy }
		relative_position_id = USA_national_employment_strategy
		cost = 5

		ai_will_do = {
			factor = 7
			modifier = {
				factor = 50
				has_government = neutrality
				fascism > 0.5
			}
		}


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

		completion_reward = {
			unlock_decision_category_tooltip = USA_cult_of_washington
			custom_effect_tooltip = USA_honor_the_confederacy_tt
		}
	}
	focus = {
		id = USA_heirs_of_lafayette
		icon = GFX_focus_chi_reach_out_to_france
		x = 5
		y = 1
		prerequisite = { focus = USA_war_powers_act }
		prerequisite = { focus = USA_cult_of_washington }
		relative_position_id = USA_cult_of_washington
		cost = 5
		
		search_filters = { FOCUS_FILTER_ALLIANCE }
		
		ai_will_do = {
			factor = 50
		}

		available = {
			has_government = fascism
			FRA = {
				has_government = fascism
				is_subject = no
				OR = {
					is_faction_leader = yes
					is_in_faction = no
				}
				has_capitulated = no
			}
		}

		completion_reward = {
			if = {
				limit = {
					FRA = {
						is_faction_leader = yes
					}
					is_in_faction = no
				}
				FRA = {
					country_event = generic.2
				}
			}
			if = {
				limit = {
					FRA = {
						is_in_faction = no
					}
					
					is_faction_leader = yes	
				}
				FRA = {
					country_event = generic.5
				}				
			}
			else = {
				FRA = {
					country_event = r56_usa.10
				}
			}					
		}
	}
	focus = {
		id = USA_american_christian_identity
		icon = GFX_goal_generic_friendship_with_church
		x = 1
		y = 1
		prerequisite = { focus = USA_honor_the_confederacy focus = USA_cult_of_washington }
		relative_position_id = USA_honor_the_confederacy
		cost = 10
		search_filters = { FOCUS_FILTER_STABILITY }
		ai_will_do = {
			factor = 7
		}

		available = {
			has_civil_war = no
			has_government = fascism
		}

		completion_reward = {
			add_ideas = r56_USA_american_christian_identity
		}
	}

#   #  ##  ###      ###   ##  #   # ### ###   ##      ##   ##  ### 
#   # #  # #  #     #  # #  # #   # #   #  # #       #  # #  #  #  
# # # #### ###      ###  #  # # # # ##  ###   #      #### #     #  
# # # #  # #  #     #    #  # # # # #   #  #   #     #  # #  #  #  
 # #  #  # #  #     #     ##   # #  ### #  # ##      #  #  ##   #  

	focus = {
		id = USA_war_powers_act
		icon = GFX_goal_generic_forceful_treaty
		x = 14
		y = 1
		prerequisite = { focus = USA_america_first }
		#prerequisite = { focus = USA_war_department }
		relative_position_id = USA_america_first
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_high_support_trigger = yes
			has_completed_focus = USA_war_department
			fascism > 0.3
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		

		completion_reward = {
			add_ideas = USA_war_powers_act
			set_rule = {
				can_create_factions = yes
			}
			hidden_effect = {
				news_event = { id = mtg_news.5 days = 3 random_days = 6 }
			}
		}
	}
	focus = {
		id = USA_seize_cuba
		icon = GFX_goal_attack_cuba
		x = -1
		y = 1
		prerequisite = { focus = USA_war_powers_act }
		relative_position_id = USA_war_powers_act
		mutually_exclusive = { focus = USA_invite_cuba }
		cost = 10
		
		search_filters = { FOCUS_FILTER_ANNEXATION }
		
		ai_will_do = {
			factor = 5
		}

		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
			has_war_support > 0.35
		}
		
		bypass = {
			OR = {
				owns_state = 315
				has_war_with = CUB
				AND = {
					has_volunteers_amount_from = {
    					tag = CUB
    					count > 0
					}
					CUB = {
						NOT = {
							has_government = communism
						}
					}
				}
				CUB = {
					has_government = fascism
					OR = {
						is_in_faction_with = ROOT
						has_completed_focus = CUB_intervene_ACW
					}
					
				}				
			}
		}

		
		
		

		completion_reward = {
			if = {
				limit = {
					CUB = {
						owns_state = 315
					}
				}
				create_wargoal = {
					type = annex_everything
					expire = 0
					target = CUB
				}
			}
			else_if = {
				limit = {
					315 = { CONTROLLER = { not = { is_in_faction_with = ROOT } } }
				}
				315 = { 
					CONTROLLER = {
						ROOT = {
							create_wargoal = {
								type = take_state
								target = PREV
								expire = 0
								generator = { 315 }
							}
						}
					} 
				}
			}
		}
	}
	focus = {
		id = USA_invite_cuba
		icon = GFX_goal_cuba_stimulate_exportations
		cost = 5
		x = -3
		y = 1
		prerequisite = { focus = USA_war_powers_act }
		relative_position_id = USA_war_powers_act
		mutually_exclusive = { focus = USA_seize_cuba }
		search_filters = { FOCUS_FILTER_ALLIANCE }
		ai_will_do = {
			factor = 50
		}
		available = {
			is_faction_leader = yes
			CUB = {
				exists = yes
				is_in_faction = no
				NOT = {
					has_government = democratic
					has_government = communism
					has_war_with = ROOT
				}
				
				has_opinion = {
					target = ROOT
					value > 0
				}
				
			}
		}
		completion_reward = {
			CUB = {
				country_event = {
					id = generic.5
					days = 2
				}
			}
		}
	}	
	focus = {
		id = USA_manifest_destiny
		icon = GFX_goal_generic_political_pressure
		text = USA_manifest_destiny_r56
		prerequisite = { focus = USA_war_powers_act }
		x = 2
		y = 1
		relative_position_id = USA_war_powers_act
		cost = 5
		ai_will_do = {
			factor = 5
		}
		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
		}
		completion_reward = {
			add_ideas = USA_world_police
		}
	}
	focus = {
		id = USA_eliminate_the_southern_threat
		icon = GFX_focus_mex_jefe_maximo
		x = -1
		y = 2
		prerequisite = { focus = USA_seize_cuba focus = USA_invite_cuba }
		mutually_exclusive = { focus = USA_invite_synarchist_mexico }
		relative_position_id = USA_war_powers_act
		cost = 10
		
		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 5
		}

		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
		}
		
		bypass = {
			MEX = {
				OR = {
					is_subject_of = ROOT
					exists = no
					has_War_with = ROOT
				}
			}
		}

		
		
		

		completion_reward = {
			MEX = {
				country_event = mtg_usa_southern_threat.1
			}
		}
	}
	focus = {
		id = USA_invite_synarchist_mexico
		icon = GFX_Goal_CAN_Support_synarchist_Baja
		cost = 5
		x = -2
		y = 1
		prerequisite = { focus = USA_seize_cuba focus = USA_invite_cuba }
		mutually_exclusive = { focus = USA_eliminate_the_southern_threat }
		relative_position_id = USA_seize_cuba
		search_filters = { FOCUS_FILTER_ALLIANCE }
		ai_will_do = {
			factor = 50
		}
		available = {
			is_faction_leader = yes
			MEX = {
				exists = yes
				is_in_faction = no
				has_government = fascism
				NOT = {
					has_war_with = ROOT
				}
				
				has_opinion = {
					target = ROOT
					value > 0
				}
				
			}
		}
		completion_reward = {
			MEX = {
				country_event = {
					id = generic.5
					days = 2
				}
			}
		}
	}	
	focus = {
		id = USA_the_canadian_corridor
		icon = GFX_goal_CAN_newfoundland_labrador
		x = 1
		y = 2
		prerequisite = { focus = USA_manifest_destiny }
		relative_position_id = USA_war_powers_act
		mutually_exclusive = { focus = USA_ally_the_new_canada }
		cost = 10
		
		search_filters = { FOCUS_FILTER_ANNEXATION }
		
		ai_will_do = {
			factor = 4
		}

		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
						
			any_other_country = {
				owns_state = 473
				owns_state = 471
			}
		}
		
		bypass = {
			OR = {
				AND = {
					controls_state = 473
					controls_state = 471
				}
				AND = {
					473 = { OWNER = { has_war_with = ROOT } }
					471 = { OWNER = { has_war_with = ROOT } }
				}
			}
		}

		
		
		

		completion_reward = {
			473 = { CONTROLLER = { country_event = mtg_usa_canadian_corridor.1 } }
		}
	}
	focus = {
		id = USA_ally_the_new_canada
		icon = GFX_goal_CAN_arcand
		cost = 5
		x = 1
		y = 1
		prerequisite = { focus = USA_manifest_destiny }
		relative_position_id = USA_manifest_destiny
		mutually_exclusive = { focus = USA_the_canadian_corridor }

		search_filters = { FOCUS_FILTER_ALLIANCE }

		ai_will_do = {
			factor = 50
		}
		available = {
			is_faction_leader = yes
			CAN = {
				exists = yes
				is_in_faction = no
				has_government = fascism
				NOT = {
					has_war_with = ROOT
				}
				
				has_opinion = {
					target = ROOT
					value > 0
				}
				
			}
		}
		completion_reward = {
			CAN = {
				country_event = {
					id = generic.5
					days = 2
				}
			}
		}
	}		
	focus = {
		id = USA_north_american_dominion
		icon = GFX_goal_generic_usa_assistance
		x = 0
		y = 3
		prerequisite = { focus = USA_the_canadian_corridor focus = USA_ally_the_new_canada }
		prerequisite = { focus = USA_eliminate_the_southern_threat focus = USA_invite_synarchist_mexico }
		relative_position_id = USA_war_powers_act
		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			is_puppet = no
			fascism > 0.4
		}

		
		
		

		completion_reward = {
			every_country = {
				limit = {
					OR = {
						original_tag = CUB
						original_tag = HAI
						original_tag = DOM
						original_tag = GUA
						original_tag = MEX
						original_tag = CAN
						original_tag = HON
						original_tag = NIC
						original_tag = PAN
						original_tag = COS
						original_tag = ELS
					}
					not = { has_war_with = ROOT }
					not = { 
						is_subject_of = ROOT
						is_in_faction_with = USA 
					}
					exists = yes
					NOT = {
						is_puppet = yes
					}
				}
				country_event = mtg_usa_north_american_dominion.1
			}
		}
	}
	focus = {
		id = USA_strategic_interests
		icon = GFX_goal_generic_more_territorial_claims
		x = -1
		y = 4
		prerequisite = { focus = USA_north_american_dominion }
		relative_position_id = USA_war_powers_act
		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 5
		}

		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
		}
		
		bypass = {
			336 = { CONTROLLER = { has_war_with = ROOT } }
			326 = { CONTROLLER = { has_war_with = ROOT } }
			118 = { CONTROLLER = { has_war_with = ROOT } }
		}

		
		
		

		completion_reward = {
			IF = {
				limit = {
					any_other_country = {
						has_full_control_of_state = 118
						has_full_control_of_state = 326
						not = { has_war_with = ROOT }
						336 = { 
							CONTROLLER = { 
								OR = {
									is_subject_of = PREV.PREV 
									tag = PREV.PREV
								}
							} 
						}
					}
				}
				118 = {
					CONTROLLER = {
						country_event = mtg_usa_strategic_interests.1
					}
				}
			}
			else = {
				if = {
					limit = {
						336 = { 
							CONTROLLER = { 
								is_subject = no 
								NOT = { has_full_control_of_state = 118 }
								not = { has_war_with = ROOT }
							} 
						}
					}
					336 = { CONTROLLER = { country_event = mtg_usa_strategic_interests.1 } }
					118 = { CONTROLLER = { country_event = mtg_usa_strategic_interests.1 } }
					if = {
						limit = {
							336 = {
								CONTROLLER = {
									NOT = { has_full_control_of_state = 326 }
									not = { has_war_with = ROOT }		
								}
							}
							326 = { 
								CONTROLLER = {
									NOT = { has_full_control_of_state = 118 }
									not = { has_war_with = ROOT }			
								}
							}
						}
						326 = { CONTROLLER = { country_event = mtg_usa_strategic_interests.1 } }
					}
				}
				else_if = {
					limit = {
						336 = { 
							CONTROLLER = { 
								is_subject = yes 
								not = { has_war_with = ROOT }
							} 
						}
					}
					336 = { CONTROLLER = { OVERLORD = { country_event = mtg_usa_strategic_interests.1 } } }
					if = { 
						limit = {
							336 = { 
								CONTROLLER = { 
									OVERLORD = { 
										not = { controls_state = 326 }
										not = { has_war_with = ROOT }
									} 
								} 
							}
						}
						326 = { CONTROLLER = { country_event = mtg_usa_strategic_interests.1 } }
					}
					if = { 
						limit = {
							336 = { 
								CONTROLLER = { 
									OVERLORD = { 
										not = { controls_state = 118 }
										not = { has_war_with = ROOT }
									} 
								} 
							}
						}
						118 = { CONTROLLER = { country_event = mtg_usa_strategic_interests.1 } }
					}
				}
			}
		}
	}
	focus = {
		id = USA_protect_south_america
		icon = GFX_focus_por_recover_latin_america
		x = -1
		y = 5
		prerequisite = { focus = USA_strategic_interests }
		relative_position_id = USA_war_powers_act
		cost = 10

		ai_will_do = {
			factor = 5
		}

		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
		}

		
		
		

		completion_reward = {
			every_country = {
				limit = {
					OR = {
						original_tag = BRA
						original_tag = VEN
						original_tag = COL
						original_tag = ECU
						original_tag = PRU
						original_tag = BOL
						original_tag = PAR
						original_tag = ARG
						original_tag = CHL
						original_tag = URG
					}
					not = { has_war_with = ROOT }
					not = { is_subject_of = ROOT }
					exists = yes
				}
				country_event = mtg_usa_protect_south_america.1
			}
		}
	}
	focus = {
		id = USA_pacific_pacification
		icon = GFX_focus_generic_coastal_fort
		x = 1
		y = 4
		prerequisite = { focus = USA_north_american_dominion }
		relative_position_id = USA_war_powers_act
		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			country_exists = AST
			country_exists = NZL
			is_puppet = no
			fascism > 0.4	
			is_major = yes		
		}
		
		bypass = {
			OR = {
				AND = {
					AST = { is_subject_of = ROOT }
					NZL = { is_subject_of = ROOT }
				}
				AND = {
					AST = { exists = no }
					NZL = { exists = no }	
				}
				AND = {
					AST = { has_war_with = ROOT }
					NZL = { has_war_with = ROOT }
				}
			}
		}

		
		
		

		completion_reward = {
			if = {
				limit = {
					AST = {
						is_subject = yes
						OVERLORD = {
							not = { tag = NZL }
							not = { tag = ROOT }
						}
					}
					NZL = {
						is_subject = no
					}
				}
				AST = { OVERLORD = { country_event = mtg_usa_pacific_pacification.1 } }
				NZL = { country_event = mtg_usa_pacific_pacification.1 }
			}
			else_if = {
				limit = {
					AST = {
						is_subject = no
					}
					NZL = {
						is_subject = yes
						OVERLORD = {
							not = { tag = AST }
							not = { tag = ROOT }
						}
					}
				}
				NZL = { OVERLORD = { country_event = mtg_usa_pacific_pacification.1 } }
				AST = { country_event = mtg_usa_pacific_pacification.1 }
			}
			else_if = {
				limit = {
					AST = {
						is_subject = yes
						OVERLORD = {
							not = { tag = ROOT }
						}
					}
					NZL = {
						is_subject = yes
						OVERLORD = {
							not = { tag = ROOT }
						}
					}
				}
				AST = { OVERLORD = { country_event = mtg_usa_pacific_pacification.1 } }
				if = {
					limit = {
						AST = { OVERLORD = { NZL = { OVERLORD = { not = { tag = PREV.PREV } } } } } #NZL and AST both subjects but of different people
					}
					NZL = { OVERLORD = { country_event = mtg_usa_pacific_pacification.1 } }
				}
			}
			else = {
				AST = { country_event = mtg_usa_pacific_pacification.1 }
				NZL = { country_event = mtg_usa_pacific_pacification.1 }
			}	
		}
	}
	focus = {
		id = USA_secure_asia
		icon = GFX_focus_usa_focus_on_asia
		x = 1
		y = 5
		prerequisite = { focus = USA_pacific_pacification }
		relative_position_id = USA_war_powers_act
		cost = 10

		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			is_puppet = no
			fascism > 0.4
		}
		
		bypass = {
			SIA = {
				OR = {
					has_war_with = ROOT
					is_subject_of = ROOT
					exists = no
				}
			}
			INS = {
				OR = {
					has_war_with = ROOT
					is_subject_of = ROOT
					exists = no
				}
			}
			671 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			670 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			741 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			992 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			993 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			994 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			927 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
			928 = {
				CONTROLLER = {
					OR = {
						has_war_with = ROOT
						is_subject_of = ROOT
					}
				}
			}
		}

		
		
		

		completion_reward = {
			if = {
				limit = { 
					SIA = { 
						is_subject = no 
						not = { has_war_with = ROOT }
					} 
				}
				SIA = {
					country_event = mtg_usa_secure_asia.1
				}
			}
			if = {
				limit = {
					INS = { is_subject = yes }
				}
				INS = { OVERLORD = { country_event = mtg_usa_secure_asia.4 } }
			}
			else = {
				INS = { country_event = mtg_usa_secure_asia.1 }
			}
			if = {
				limit = {
					671 = { 
						CONTROLLER = { 
							is_subject = no 
							controls_state = 670
							controls_state = 286
							controls_state = 741
							not = { has_war_with = ROOT }
						} 
					}
				}
				671 = { CONTROLLER = { country_event = mtg_usa_secure_asia.7 } }
			}
			else = {
				if = {
					limit = {
						country_exists = VIN
						VIN = {
							is_subject = no
							not = { has_war_with = ROOT }
						}
					}
					VIN = {
						country_event = mtg_usa_secure_asia.1
					}
				}
				if = {
					limit = {
						country_exists = LAO
						LAO = {
							is_subject = no
							not = { has_war_with = ROOT }
						}
					}
					LAO = {
						country_event = mtg_usa_secure_asia.1
					}
				}
				if = {
					limit = {
						country_exists = CAM
						CAM = {
							is_subject = no
							not = { has_war_with = ROOT }
						}
					}
					CAM = {
						country_event = mtg_usa_secure_asia.1
					}
				}
			}
		}
	}
	focus = {
		id = USA_global_hegemony
		icon = GFX_Goal_USA_Global_Hegemony
		x = 0
		y = 6
		prerequisite = { focus = USA_secure_asia }
		prerequisite = { focus = USA_protect_south_america }
		relative_position_id = USA_war_powers_act
		cost = 10
		
		search_filters = { FOCUS_FILTER_ANNEXATION }

		ai_will_do = {
			factor = 1
		}

		available = {
			is_puppet = no
			fascism > 0.4
			is_major = yes
		}

		
		
		

		completion_reward = {
			every_country = {
				limit = {
					is_major = yes
					is_subject = no
					not = { original_tag = USA }
					not = { has_war_with = ROOT }
				}
				ROOT = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
						expire = 0
					}
				}
			}
		}
	}




#   #  ##  ###      ###  #    ##  #  #  ## 
#   # #  # #  #     #  # #   #  # ## # #   
# # # #### ###      ###  #   #### # ##  #  
# # # #  # #  #     #    #   #  # #  #   # 
 # #  #  # #  #     #    ### #  # #  # ##  

 	focus = {
		id = USA_war_plans_division
		icon = GFX_goal_CAN_scheme_no1
		x = 51
		y = 0
		offset = {
			x = -40
			y = 0
			trigger = {
				not = { has_dlc = "Man the Guns" }
			}
		}
		offset = {
			x = -18
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = USA_continue_the_new_deal
				has_dlc = "Man the Guns"
			}
		}
		offset = {
			x = -10
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = USA_reestablish_the_gold_standard
				has_dlc = "Man the Guns"
			}
		}
		available = {
			has_completed_focus = USA_war_department
		}
		
		cost = 10

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }

		ai_will_do = {
			factor = 1
			modifier = {
				surrender_progress > 0.01
				factor = 250 #oh shit, oh shit, oh shit.
			}
		}

		completion_reward = {
			add_command_power = 25
			army_experience = 5
			navy_experience = 5
			air_experience = 5
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = walter_krueger
			unlock_decision_category_tooltip = USA_war_plans
		}
	}
	focus = {
		id = USA_homeland_security
		icon = GFX_goal_generic_defence
		x = -7
		y = 1
		prerequisite = { focus = USA_war_plans_division }
		relative_position_id = USA_war_plans_division
		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				surrender_progress > 0.01
				factor = 250 #oh shit, oh shit, oh shit.
			}
		}

		available = {
			if = { #Makes it so it can be put at the top of the focus list without the AI taking it when it's not needed
				limit = {
					is_ai = yes
				}
				ROOT = {
					surrender_progress > 0.01
				}
			}
			if = {
				limit = {
					ROOT = {
						surrender_progress < 0.01
					}
				}
				congress_low_support_trigger = yes
			}
			ROOT = {
				has_defensive_war = yes
				has_war_support > 0.20
			}
		}
		

		completion_reward = {
			if = {
				limit = {
					has_intelligence_agency = no
					has_dlc = "La Resistance"
				}
				add_command_power = 5
				create_intelligence_agency = {
					name = "Federal Bureau of Investigation"
					icon = GFX_intelligence_agency_logo_usa_fbi
				}
			}
			else = {
				add_command_power = 25
			}
			add_ideas = rt56_USA_homeland_secuirty
			custom_effect_tooltip = available_political_advisor
		    show_ideas_tooltip = rt56_j_edgar_hoover
			if = {
				limit = {
					ROOT = {
						surrender_progress < 0.01
					}
				}
				USA_congress_small_opposition = yes
			}
		}
	}

	focus = {
		id = USA_war_plan_blue
		icon = GFX_goal_USA_over_there
		x = -7
		y = 2
		prerequisite = { focus = USA_homeland_security }
		relative_position_id = USA_war_plans_division
		cost = 10

		allow_branch = {
			CSA = {
				exists = no
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes	

		available = {
			ROOT = {
				surrender_progress > 0.02
				has_defensive_war = yes
				has_war_support > 0.25
				NOT = {
					has_government = fascism
				}
			}
		}

		ai_will_do = {
			factor = 1
			modifier = {
				surrender_progress > 0.01
				factor = 250 #oh shit, oh shit, oh shit.
			}
		}

		completion_reward = {
			add_command_power = 25
			unlock_decision_category_tooltip = USA_war_plan_blue_cat
		}
	}
	focus = {
		id = USA_intervention_in_the_americas
		icon = GFX_goal_generic_occupy_states_ongoing_war
		x = -4
		y = 1
		prerequisite = { focus = USA_war_plans_division }
		relative_position_id = USA_war_plans_division
		cost = 5

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 60
				original_tag = USA
				has_government = democratic
				NOT = {
					has_idea_with_trait = fascist_demagogue
				}
				NOT = {
					has_idea_with_trait = communist_revolutionary
				}		
				NOT = {
					any_other_country = {
						has_government = democratic
						is_faction_leader = yes 
					} 
				}
				NOT = {
					is_in_faction = yes
				}
			}
		}

		
		
		

		completion_reward = {
			add_ideas = USA_intervention_in_the_americas
		}
	}
	focus = {
		id = USA_war_plan_green
		icon = GFX_focus_attack_mexico
		x = -1
		y = 1
		prerequisite = { focus = USA_intervention_in_the_americas }
		relative_position_id = USA_intervention_in_the_americas
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = MEX
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}			
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_green show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_war_plan_crimson
		icon = GFX_focus_attack_canada
		x = 1
		y = 1
		prerequisite = { focus = USA_intervention_in_the_americas }
		relative_position_id = USA_intervention_in_the_americas
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = CAN
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}			
		}

		available = {
			any_other_country = {
				original_tag = CAN
				exists = yes
			}
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_crimson show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_reinforce_monroe_doctrine
		icon = GFX_goal_generic_positive_trade_relations
		x = 0
		y = 2
		prerequisite = { focus = USA_intervention_in_the_americas }
		relative_position_id = USA_intervention_in_the_americas
		cost = 10
		ai_will_do = {
			factor = 2
			modifier = {
				factor = 80
				original_tag = USA
				has_government = democratic
				NOT = {
					has_idea_with_trait = fascist_demagogue
				}
				NOT = {
					has_idea_with_trait = communist_revolutionary
				}		
				NOT = {
					any_other_country = {
						has_government = democratic
						is_faction_leader = yes 
					} 
				}
				NOT = {
					is_in_faction = yes
				}
			}
		}
		completion_reward = {
			custom_effect_tooltip = USA_reinforce_monroe_doctrine_tt
			unlock_decision_category_tooltip = USA_intervention_mandate
			hidden_effect = {
				CUB = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				HAI = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				DOM = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				GUA = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				ELS = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				HON = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				NIC = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				COS = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				CAN = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				MEX = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				COL = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				VEN = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				ECU = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				PRU = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				BRA = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				BOL = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				PAR = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				URG = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				ARG = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				CHL = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
				PAN = { add_opinion_modifier =  { target = USA modifier = monroe_doctrine_trade } }
			}
		}
	}

	focus = {
		id = USA_war_plan_gray
		icon = GFX_goal_generic_amphibious_assault
		x = 0
		y = 3
		prerequisite = { focus = USA_reinforce_monroe_doctrine }
		relative_position_id = USA_intervention_in_the_americas
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				any_other_country = {
					has_government = democratic
					is_faction_leader = yes
				}
				
				factor = 0

			}
			modifier = {
				factor = 100
				original_tag = USA
				has_government = democratic
				NOT = {
					has_idea_with_trait = fascist_demagogue
				}
				NOT = {
					has_idea_with_trait = communist_revolutionary
				}		
				NOT = {
					any_other_country = {
						has_government = democratic
						is_faction_leader = yes 
					} 
				}
				NOT = {
					is_in_faction = yes
				}
			}			
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_gray show_effect_tooltip = yes show_modifiers = yes } 
		}
	}
	focus = {
		id = USA_guantanamo_bay_forward_base
		icon = GFX_goal_VEN_focus_on_caribbean
		x = -1
		y = 4
		prerequisite = { focus = USA_war_plan_gray }
		relative_position_id = USA_intervention_in_the_americas
		cost = 10

		available = {
			controls_state = 1050
		}

		ai_will_do = {
			factor = 1			
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			1050 = {
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = coastal_bunker
					level = 2
					province = 13334
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					level = 2
					province = 13334
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					level = 3
					province = 13334
					instant_build = yes
				}
			}
		}
	}
	focus = {
		id = USA_hemisphere_defense
		icon = GFX_Goal_USA_befriend_america
		x = 1
		y = 4
		prerequisite = { focus = USA_war_plan_gray }
		relative_position_id = USA_intervention_in_the_americas
		cost = 10
		available = {
			is_puppet = no
			OR = {
				NOT = {
					is_in_faction = yes
				}
				is_faction_leader = yes
			}
		}
		ai_will_do = {
			factor = 1
			modifier = {
				is_historical_focus_on = yes
				any_other_country = {
					has_government = democratic
					is_faction_leader = yes
				}
				
				factor = 0

			}
			modifier = {
				factor = 100
				original_tag = USA
				has_government = democratic
				NOT = {
					has_idea_with_trait = fascist_demagogue
				}
				NOT = {
					has_idea_with_trait = communist_revolutionary
				}		
				NOT = {
					any_other_country = {
						has_government = democratic
						is_faction_leader = yes 
					} 
				}
				NOT = {
					is_in_faction = yes
				}
			}			
		}
		search_filters = { FOCUS_FILTER_ALLIANCE }
		
		
		

		completion_reward = {
			if = {
				limit = {
					is_in_faction = no
				}
				create_faction = USA_hemisphere_defense_faction
			}
			every_country = {
				limit = {
					is_in_faction = no
					#has_government = ROOT
					not = { has_war_with = ROOT }
					OR = {
						original_tag = CUB
						original_tag = CAN
						original_tag = MEX
						original_tag = BRA
						original_tag = ARG
						original_tag = URG
						original_tag = CHL
						original_tag = PAN
						original_tag = PAR
						original_tag = VEN
						original_tag = PRU
						original_tag = BOL
						original_tag = COL
						original_tag = ECU
						original_tag = HON
						original_tag = DOM
						original_tag = HAI
						original_tag = GUA
						original_tag = COS
						original_tag = ELS
						original_tag = NIC
						original_tag = JAM
						original_tag = BAH
						original_tag = BLZ
						original_tag = BAS
						original_tag = GDL
						original_tag = PUE
						original_tag = TRI
						original_tag = CRC
					}
				}
				country_event = generic.5
			}
		}
	}
	focus = {
		id = USA_intervention_in_europe
		icon = GFX_goal_generic_territory_or_war
		x = 0
		y = 1
		prerequisite = { focus = USA_war_plans_division }
		relative_position_id = USA_war_plans_division
		cost = 5

		ai_will_do = {
			factor = 1
		}

		
		
		

		completion_reward = {
			add_ideas = USA_intervention_in_europe
		}
	}
	focus = {
		id = USA_war_plan_gold
		icon = GFX_focus_attack_france
		x = -2
		y = 2
		prerequisite = { focus = USA_intervention_in_europe }
		relative_position_id = USA_intervention_in_europe
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = FRA
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					
					has_civil_war = no
				}				
			}			
		}

		available = {
			any_other_country = {
				original_tag = FRA
				exists = yes
			}
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_gold show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_war_plan_silver
		icon = GFX_focus_attack_italy
		x = -1
		y = 1
		prerequisite = { focus = USA_intervention_in_europe }
		mutually_exclusive = { }
		relative_position_id = USA_intervention_in_europe
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = ITA
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}
	
		available = {
			any_other_country = {
				original_tag = ITA
				exists = yes
			}
		}
			
		bypass = {
	
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_silver show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_war_plan_black
		icon = GFX_focus_attack_germany
		prerequisite = { focus = USA_intervention_in_europe }
		available = {
			any_other_country = {
				OR = {
					original_tag = GER
					original_tag = DDR
					original_tag = WGR
					original_tag = PRE
				}
				
				exists = yes
			}
		}

		continue_if_invalid = yes
		available_if_capitulated = yes

		x = 0
		y = 2
		relative_position_id = USA_intervention_in_europe
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					OR = {
						original_tag = GER
						original_tag = WGR
						original_tag = PRE
					}
					
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}
		completion_reward = {
			if = {
				limit = {
					GER = {
						exists = yes
					}
				}
				GER = {
					add_opinion_modifier = { target = USA modifier = war_plan_black }
				}
			}			
			if = {
				limit = {
					PRE = {
						exists = yes
					}
				}
				PRE = {
					add_opinion_modifier = { target = USA modifier = war_plan_black }
				}
			}
			if = {
				limit = {
					WGR = {
						exists = yes
					}
				}
				WGR = {
					add_opinion_modifier = { target = USA modifier = war_plan_black }
				}
			}			
			unlock_decision_tooltip = { decision = USA_execute_war_plan_black show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_destroyers_for_bases
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = USA_war_plan_black }
		available = {
			country_exists = GER
			is_subject = no
			ENG = {
				NOT = { is_in_faction_with = GER }
			}
			ENG = {
				has_government = ROOT
				has_war = yes
				not = { has_war_with = ROOT }
				any_enemy_country = {
					is_major = yes
				}
			}
		}
		bypass = {
			NOT = { 696 = { is_controlled_by = ENG } }
			NOT = { 331 = { is_controlled_by = ENG } }
			NOT = { 308 = { is_controlled_by = ENG } } 
			NOT = { 693 = { is_controlled_by = ENG } } 
			NOT = { 689 = { is_controlled_by = ENG } } 
			NOT = { 691 = { is_controlled_by = ENG } } 
			ENG = { exists = no }
		}

		x = 0
		y = 1
		relative_position_id = USA_war_plan_black
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		search_filters = {FOCUS_FILTER_ANNEXATION}
		completion_reward = {
			ENG = {
				custom_effect_tooltip = needs_approval
				country_event = { id = usa.4 days = 1 }
			}
			
			effect_tooltip = {
				custom_effect_tooltip = USA_destroyers_for_bases_tt
				transfer_state = 696
				transfer_state = 331
				transfer_state = 308
				transfer_state = 693
				transfer_state = 689
				transfer_state = 691
				
			}
		}
	}
	focus = {
		id = USA_war_plan_white
		icon = GFX_focus_attack_soviet
		prerequisite = { focus = USA_intervention_in_europe }
		available = {
			any_other_country = {
				original_tag = SOV
				exists = yes
			}
		}
		x = 2
		y = 2
		relative_position_id = USA_intervention_in_europe
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = SOV
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			SOV = {
				add_opinion_modifier = { target = USA modifier = war_plan_white }
			}
			unlock_decision_tooltip = { decision = USA_execute_war_plan_white show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_anti_bolshevist_aid
		icon = GFX_goal_attack_communists
		x = 2
		y = 3
		prerequisite = { focus = USA_war_plan_white }
		relative_position_id = USA_intervention_in_europe
		cost = 10

		ai_will_do = {
			factor = 1
		}

		
		
		

		completion_reward = {
			custom_effect_tooltip = mtg_usa_anti_bolshevist_aid_tt 
		}
	}
	focus = {
		id = USA_war_plan_red
		icon = GFX_focus_attack_britain
		prerequisite = { focus = USA_intervention_in_europe }
		available = {
			any_other_country = {
				original_tag = ENG
				exists = yes
			}
		}
		x = 4
		y = 2
		relative_position_id = USA_intervention_in_europe
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = ENG
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			ENG = {
				add_opinion_modifier = { target = USA modifier = war_plan_red }
			}
			unlock_decision_tooltip = { decision = USA_execute_war_plan_red show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_war_plan_ruby
		icon = GFX_focus_attack_india
		x = 4
		y = 3
		prerequisite = { focus = USA_war_plan_red }
		relative_position_id = USA_intervention_in_europe
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = RAJ
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}

		available = {
			any_other_country = {
				original_tag = RAJ
				exists = yes
			}
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_ruby show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_war_plan_scarlet_garnet
		icon = GFX_focus_attack_australia
		x = 6
		y = 3
		prerequisite = { focus = USA_war_plan_red }
		relative_position_id = USA_intervention_in_europe
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = AST
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}

		available = {
			any_other_country = {
				original_tag = AST
				exists = yes
			}
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_scarlet_garnet show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_intervention_in_asia
		icon = GFX_goal_generic_major_war
		x = 6
		y = 1
		prerequisite = { focus = USA_war_plans_division }
		relative_position_id = USA_war_plans_division
		cost = 5

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			show_unit_leaders_tooltip = USA_alexander_vandegrift
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = USA_holland_smith_idea_token
			#show_unit_leaders_tooltip = USA_holland_smith
			#create_corps_commander = {
			#	name = "Alexander Vandegrift"
			#	gfx = GFX_portrait_usa_alexander_vandegrift
			#	skill = 3
			#	attack_skill = 3
			#	defense_skill = 1
			#	planning_skill = 3
			#	logistics_skill = 3
			#	traits = { career_officer naval_invader commando } #Banana Wars Veteran. Commando added because of his service in those conflicts 
			#}
		}
	}
	focus = {
		id = USA_war_plan_orange
		icon = GFX_focus_attack_japan
		prerequisite = { focus = USA_intervention_in_asia }
		available = {
			
		}
		continue_if_invalid = yes
		available_if_capitulated = yes

		x = -1
		y = 1
		relative_position_id = USA_intervention_in_asia
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}


		completion_reward = {
			JAP = {
				add_opinion_modifier = { target = USA modifier = war_plan_orange }
			}
			unlock_decision_tooltip = { decision = USA_execute_war_plan_orange show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_war_plan_yellow
		icon = GFX_focus_attack_china
		x = 1
		y = 1
		prerequisite = { focus = USA_intervention_in_asia }
		relative_position_id = USA_intervention_in_asia
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 0
				any_other_country = {
					original_tag = CHI
					OR = {
						is_in_faction_with = ROOT
						has_war_together_with = ROOT
					}
					has_civil_war = no
				}				
			}
		}
		
		bypass = {
			any_other_country = {
				original_tag = CHI
				exists = no
			}			
		}

		
		
		

		completion_reward = {
			unlock_decision_tooltip = { decision = USA_execute_war_plan_yellow show_effect_tooltip = yes show_modifiers = yes }
		}
	}
	focus = {
		id = USA_defense_of_the_pacific
		icon = GFX_focus_GER_sentinels_of_the_pacific
		prerequisite = { focus = USA_war_plan_yellow focus = USA_war_plan_orange }
		available = {
			JAP = {
				exists = yes
				NOT = { has_government = ROOT }
			}
		}
		will_lead_to_war_with = JAP
		x = 0
		y = 2
		relative_position_id = USA_intervention_in_asia
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}
		completion_reward = {
			650 = {
				#Fortify naval bases
				add_building_construction = {
					type = coastal_bunker
					province = 13067
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					province = 13067
					level = 2
					instant_build = yes
				}
			}
			631 = {
				#Fortify naval bases
				add_building_construction = {
					type = coastal_bunker
					province = 13052
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					province = 13052
					level = 2
					instant_build = yes
				}
			}
			632 = {
				#Fortify naval bases
				add_building_construction = {
					type = coastal_bunker
					province = 13047
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					province = 13047
					level = 2
					instant_build = yes
				}
			}
			638 = {
				#Fortify naval bases
				add_building_construction = {
					type = coastal_bunker
					province = 12140
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					province = 12140
					level = 2
					instant_build = yes
				}
			}
			642 = {
				#Fortify naval bases
				add_building_construction = {
					type = coastal_bunker
					province = 13050
					level = 2
					instant_build = yes
				}
				add_building_construction = {
					type = naval_base
					province = 13050
					level = 2
					instant_build = yes
				}
			}
		}
	}

#   #  ##  ###      ###  ### ###   ##  ###  ### #   # ### #  # ### 
#   # #  # #  #     #  # #   #  # #  # #  #  #  ## ## #   ## #  #  
# # # #### ###      #  # ##  ###  #### ###   #  # # # ##  # ##  #  
# # # #  # #  #     #  # #   #    #  # #  #  #  #   # #   #  #  #  
 # #  #  # #  #     ###  ### #    #  # #  #  #  #   # ### #  #  #  


	focus = {
		id = USA_war_department
		icon = GFX_Goal_USA_War_dep
		x = 75
		y = 0
		offset = {
			x = -40
			y = 0
			trigger = {
				not = { has_dlc = "Man the Guns" }
			}
		}
		offset = {
			x = -18
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = USA_continue_the_new_deal
				has_dlc = "Man the Guns"
			}
		}
		offset = {
			x = -10
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = USA_reestablish_the_gold_standard
				has_dlc = "Man the Guns"
			}
		}
		cost = 5 # really doesn't give that much

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }

		ai_will_do = {
			factor = 1
		}

		available = {
			congress_low_support_trigger = yes
		}

		completion_reward = {
			army_experience = 5
			navy_experience = 5
			air_experience = 5
			add_ideas = USA_war_department
		}
	}

	focus = {
		id = USA_mobilize_the_national_guard
		icon = GFX_goal_manpower
		x = -6
		y = 1
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_war_department
		cost = 5

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_MANPOWER FOCUS_FILTER_USA_CONGRESS }

		ai_will_do = {
			factor = 1.1
			modifier = {
				factor = 10
				surrender_progress > 0.02
			}
		}

		available = {
			OR = {
				has_war = yes
				threat > 0.20
				has_war_support > 0.25
			}
			if = {
				limit = {
					threat < 0.50
					has_war = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		completion_reward = {
			army_experience = 5
			show_unit_leaders_tooltip = USA_john_lee
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = r56_hartle_token
			add_timed_idea = {
				idea = rt56_USA_mobilize_the_national_guard
				days = 365
			}
			if = {
				limit = {
					has_country_flag = r56_usa_desperate_measures_flag
				}
				unlock_decision_tooltip = { decision = USA_raise_new_national_guard_units show_effect_tooltip = yes } 
			}
			if = {
				limit = {
					OR = {
						AND = {
							has_war_support < 0.25
							threat > 0.50
						}
						AND = {
							has_war_support < 0.25
							has_war = yes
						}
						AND = {
							has_war_support < 0.55
							has_war = no
						}
					}
				}
				USA_congress_small_opposition = yes
			}
		}
	}

	focus = {
		id = USA_mobilize_the_railways
		icon = GFX_goal_generic_construct_infrastructure
		x = -14
		y = 1
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_war_department
		cost = 5

		ai_will_do = {
			factor = 0.9
		}

		available = {
			OR = {
				has_war = yes
				threat > 0.20
				has_war_support > 0.20
			}
			if = {
				limit = {
					threat < 0.25
					has_war = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 50
			}
			if = {
				limit = {
					NOT = {
						has_dlc = "Arms Against Tyranny"
					}
				}
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = USA_lima_locomotive_works
			}
			else = {
				unlock_military_industrial_organization_tooltip = mio:USA_lima_locomotive_works_organization 

				mio:USA_lima_locomotive_works_organization = {
					add_mio_funds = 500
				}				
			}
			add_timed_idea = {
				idea = r56_USA_mobilize_the_railways_idea
				days = 365
			}
			#Smaller Lines that existed irl are added here. As to not make the USA railnetwork OP as it was irl in 1936 lol - SpicyAlfredo
			if = {
				limit = {
					360 = {
						is_fully_controlled_by = ROOT
					}
				} #Small connect Erie Pitt->Erie
				build_railway = { 
					path = { 11800 6705 3687 }
				}
			}
			if = {
				limit = {
					360 = {
						is_fully_controlled_by = ROOT
					}
					359 = {
						is_fully_controlled_by = ROOT
					}
				} #NJ Coast->Philly
				build_railway = { 
					path = { 9801 9864 11740 11900 6845 }
				}
			}
			if = {
				limit = {
					367 = {
						is_fully_controlled_by = ROOT
					}
					366 = {
						is_fully_controlled_by = ROOT
					}
				} #Bama to Nofla connection
				build_railway = { 
					path = { 10520 10352 10380 10407 12353 }
				}
			}
			if = {
				limit = {
					OR = {
						AND = {
							has_war_support < 0.25
							threat < 0.45
						}
						AND = {
							has_war_support < 0.20
							has_war = yes
						}
						AND = {
							has_war_support < 0.50
							has_war = no
						}
					}
				}
				USA_congress_small_opposition = yes
			}
		}
	}

	focus = {
		id = USA_the_worlds_loco_works
		icon = GFX_goal_generic_train
		x = -1
		y = 1
		prerequisite = { focus = USA_mobilize_the_railways }
		relative_position_id = USA_mobilize_the_railways
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				has_war = yes
				democratic > 0.95
			}
			if = {
				limit = {
					is_in_faction = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			custom_effect_tooltip = USA_the_worlds_loco_works_effect_tt
			hidden_effect = { set_technology = { r56_USA_train_side_tanks = 1 } }
			add_ideas = r56_USA_world_loco_motive_works
			random_owned_controlled_state = {
				prioritize = { 360 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = USA_the_worlds_loco_works_state_flag
			}
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:USA_lima_locomotive_works_organization  = {
					add_mio_funds = 1000 
				}
			}
		}
	}

	focus = {
		id = USA_continue_dieselisation
		icon = GFX_goal_generic_light_industry
		x = 1
		y = 1
		prerequisite = { focus = USA_mobilize_the_railways }
		relative_position_id = USA_mobilize_the_railways
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_war = yes
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_RESEARCH FOCUS_FILTER_INDUSTRY}
		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_dlc = "Arms Against Tyranny"
					}
				}
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = general_motor_electrco_motive_loco_works
			}
			else = {
				unlock_military_industrial_organization_tooltip = mio:USA_general_motor_electrco_motive_loco_works_organization

				mio:USA_general_motor_electrco_motive_loco_works_organization = {
					add_mio_funds = 500
				}				
			}
			if = {
				limit = {
					NOT = {
						has_tech = r56_postwar_train
					}
				}
				add_tech_bonus = {
					name = USA_continue_dieselisation
					ahead_reduction = 3.0
					bonus = 1.0
					uses = 1
					technology = r56_postwar_train
				}
			}
			random_owned_controlled_state = {
				prioritize = { 393 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = USA_support_rock_island_state_flag
			}
			
		}
	}

	focus = {
		id = USA_selective_training_act
		icon = GFX_focus_generic_military_mission
		x = -9
		y = 1
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_war_department
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					threat < 0.5
					has_war = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		search_filters = {FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_USA_CONGRESS}
		completion_reward = {
			show_unit_leaders_tooltip = USA_edwin_harding
			show_unit_leaders_tooltip = USA_jacob_devers
			if = {
				limit = {
					OR = {
						has_idea = disarmed_nation
						has_idea = volunteer_only
					}
				}
				add_ideas = limited_conscription
			}
			else = {
				add_political_power = 150
			}
			if = {
				limit = {
					has_war_support < 0.1
				}
				set_war_support = 0.1
			}
			if = {
				limit = {
					has_war_support < 0.4 
				}
				USA_congress_medium_opposition = yes
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { #punishment for doing this focus early 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}
	focus = {
		id = USA_first_special_service_force
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = USA_selective_training_act }
		x = -2
		y = 1
		relative_position_id = USA_selective_training_act
		cost = 5
		
		search_filters = { FOCUS_FILTER_ARMY_XP }
		
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			army_experience = 5
			add_tech_bonus = {
				name = special_bonus
				bonus = 1.0
				uses = 1
				category = engineers_tech
				category = recon_tech
			}
			add_tech_bonus = {
				name = special_bonus
				bonus = 1.0
				uses = 1
				category = r56_desert_infantry_tech
				category = r56_jaeger_infantry_tech
				category = r56_jungle_infantry_tech
				category = r56_marines_infantry_tech
				category = r56_mountain_infantry_tech
				category = r56_paratroops_infantry_tech	
				category = r56_shock_infantry_tech
			}
		}
	}
	focus = {
		id = USA_louisiana_maneuvers
		icon = GFX_goal_generic_cavalry
		x = 0
		y = 1
		prerequisite = { focus = USA_selective_training_act }
		relative_position_id = USA_selective_training_act
		cost = 10

		search_filters = { FOCUS_FILTER_ARMY_XP }

		ai_will_do = {
			factor = 1
		}

		available = {
			has_tech = interwar_antitank
			if = {
				limit = {
					ROOT = {
						has_full_control_of_state = 371
					}
				}
				divisions_in_state = {
					size > 1
					state = 371
				}

			}
		}
		
		bypass = {
			
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		
		completion_reward = {
			army_experience = 25
			custom_effect_tooltip = r56_USA_louisiana_maneuvers_oob_tt
			hidden_effect = {
				load_oob = "USA_louisiana_reward_oob"
			}
			if = { #Not the best fit but best one given I'd have to check for other techs and I'm lazy
				limit = {
					has_dlc = "No Step Back"
				}
				create_equipment_variant = {
					name = "M6 Fargo"
					type = light_tank_destroyer_chassis_1
					parent_version = 0
					modules = {
						main_armament_slot = tank_high_velocity_cannon
						turret_type_slot = r56_tank_platform_mount_turret
						suspension_type_slot = tank_wheeled_suspension
						armor_type_slot = tank_riveted_armor
						engine_type_slot = tank_gasoline_engine
					}
					upgrades = {
						tank_nsb_engine_upgrade = 3
						tank_nsb_armor_upgrade = 2
					}
					#icon = "gfx/interface/technologies/USA_basic_light_tank_destroyer.dds" #DLC icon, as allied tank pack is unrecognised by the game in dlc conditions, reactivate later with both dlcs as conditions
				}
			}
			add_doctrine_cost_reduction = {
				name = USA_louisiana_maneuvers
				cost_reduction = 0.75
				uses = 1
				category = land_doctrine
			}
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
	}
	focus = {
		id = USA_airborne_divisions
		icon = GFX_Goal_USA_airborne_divisions
		x = -2
		y = 2
		prerequisite = { focus = USA_louisiana_maneuvers }
		relative_position_id = USA_selective_training_act
		cost = 10

		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_tech_bonus = {
				name = USA_airborne_divisions
				bonus = 1
				uses = 1
				category = para_tech
				category = transport_plane_tech
			}
			add_tech_bonus = {
				name = USA_airborne_divisions
				bonus = 1.0
				uses = 1
				category = r56_special_forces_training_tech 
			}
			add_ideas = USA_airborne_divisions
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = USA_james_gavin_token		
			unlock_decision_tooltip = { decision = cite_an_airborne_unit show_effect_tooltip = yes } 		
		}
	}
	focus = {
		id = USA_army_of_the_united_states
		icon = GFX_goal_USA_coa_army
		x = 0
		y = 1
		prerequisite = { focus = USA_louisiana_maneuvers }
		relative_position_id = USA_louisiana_maneuvers
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 100
				manpower_per_military_factory <  1000
			}			
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = USA_army_of_the_united_states
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			add_ideas = USA_army_of_the_united_states
			if = {
				limit = {
					has_idea = rt56_naval_funding_favoritism
				}
				remove_ideas = rt56_naval_funding_favoritism
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}
	focus = {
		id = USA_womens_armed_service_integration_act
		icon = GFX_goal_womens_rights
		x = 0
		y = 1
		prerequisite = { focus = USA_army_of_the_united_states }
		relative_position_id = USA_army_of_the_united_states
		cost = 10

		ai_will_do = {
			factor = 1
			modifier = {
				factor = 100
				manpower_per_military_factory <  1000
			}
		}

		available = {
			congress_medium_support_trigger = yes
		}
		
		search_filters = {FOCUS_FILTER_MANPOWER}
		completion_reward = {
			add_ideas = USA_womens_armed_service_integration_act
		}
	}
	focus = {
		id = USA_army_rangers
		icon = GFX_goal_infantry_offensive
		x = -2
		y = 1
		prerequisite = { focus = USA_army_of_the_united_states }
		relative_position_id = USA_army_of_the_united_states
		cost = 5

		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_RESEARCH }

		ai_will_do = {
			factor = 1
		}
		completion_reward = {
			show_unit_leaders_tooltip = USA_lucian_truscott
			army_experience = 15
			#hidden_effect = {
				set_technology = { USA_army_rangers = 1 }
			#}
			custom_effect_tooltip = USA_army_rangers_tt
			if = {
				limit = {
					has_idea = rt56_naval_funding_favoritism
				}
				remove_ideas = rt56_naval_funding_favoritism
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}
	
	focus = {
		id = USA_build_the_pentagon
		icon = GFX_focus_usa_build_the_pentagon
		x = -3
		y = 1
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_war_department
		cost = 5

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			add_ideas = USA_the_pentagon
			if = {
				limit = {
					has_full_control_of_state = 361
				}
				361 = {
					add_extra_state_shared_building_slots = 1
				}
			}
		}
	}
	focus = {
		id = USA_support_rock_island
		icon = GFX_goal_generic_army_artillery
		x = -3
		y = 1
		relative_position_id = USA_build_the_pentagon
		cost = 10
		prerequisite = { focus = USA_selective_training_act focus = USA_build_the_pentagon }
		ai_will_do = {
			factor = 5
		}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_support_rock_island
				uses = 2
				bonus = 1.0
				category = artillery
				category = support_tech
			}
			add_tech_bonus = {
				name = USA_support_rock_island
				uses = 1
				bonus = 1
				category = armor
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_tech_bonus = {
					name = USA_support_rock_island
					bonus = 1
					uses = 1
					category = armored_cars_tech
				}
			}
			random_owned_controlled_state = {
				prioritize = { 395 }
				limit = {
					is_core_of = ROOT
					free_building_slots = {
						building = arms_factory
						size > 1
						include_locked = yes
					}
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				set_state_flag = USA_support_rock_island_state_flag
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { #punishment for doing this focus early 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}
	
	focus = {
		id = USA_walkie_talkies
		icon = GFX_goal_generic_radio_development
		x = -1
		y = 1
		prerequisite = { focus = USA_support_rock_island }
		relative_position_id = USA_support_rock_island
		cost = 5
		
		available = {
			has_tech = radio
		}

		ai_will_do = {
			factor = 5
		}
		
		bypass = {
			
		}

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {set_technology = { USA_walkie_talkies = 1 }
			custom_effect_tooltip = USA_walkie_talkies_tt
			add_tech_bonus = {
				name = USA_walkie_talkies
				bonus = 1
				uses = 1
				category = electronics
			}
		}
	}
	
	focus = {
		id = USA_bangalore_torpedo
		icon = GFX_goal_poland_goal
		x = 0
		y = 1
		prerequisite = { focus = USA_walkie_talkies }
		relative_position_id = USA_walkie_talkies
		cost = 5

		ai_will_do = {
			factor = 1
		}
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			add_tech_bonus = {
				name = special_bonus
				bonus = 1.0
				uses = 1
				category = engineers_tech
			}
			army_experience = 15
			set_technology = { USA_bangalore_torpedo = 1 }
			custom_effect_tooltip = USA_bangalore_torpedo_tt
		}
	}
	focus = {
		id = USA_tank_experiments
		icon = GFX_goal_generic_army_tanks
		x = 1
		y = 1
		prerequisite = { focus = USA_support_rock_island }
		relative_position_id = USA_support_rock_island
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = basic_medium_tank_chassis
				has_tech = improved_medium_tank_chassis
				has_tech = basic_heavy_tank_chassis
				has_tech = armor_tech_1
				has_tech = engine_tech_1
				OR = {
					has_tech = artillery1
					has_tech = antitank1
				}
			}
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_tank_experiments
				uses = 2
				bonus = 1.0
				category = armor
			}
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				if = {
					limit = {
						has_tech = centimetric_radar
					}
					create_equipment_variant = {
						name = "M3 Lee"
						type = medium_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon
							turret_type_slot = tank_medium_fixed_superstructure_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = secondary_turret_small_cannon
							special_type_slot_2 = sloped_armor
							special_type_slot_3 = tank_radio_3
						}
						upgrades = {
							tank_nsb_engine_upgrade = 8
							tank_nsb_armor_upgrade = 4
						}
						icon = "gfx/interface/technologies/USA_basic_main_tank.dds"
					}
				}
				else_if = {
					limit = {
						has_tech = cavity_magnatron
					}
					create_equipment_variant = {
						name = "M3 Lee"
						type = medium_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon
							turret_type_slot = tank_medium_fixed_superstructure_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = secondary_turret_small_cannon
							special_type_slot_2 = sloped_armor
							special_type_slot_3 = tank_radio_2
						}
						upgrades = {
							tank_nsb_engine_upgrade = 8
							tank_nsb_armor_upgrade = 4
						}
						icon = "gfx/interface/technologies/USA_basic_main_tank.dds"
					}
				}
				else_if = {
					limit = {
						has_tech = radio
					}
					create_equipment_variant = {
						name = "M3 Lee"
						type = medium_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon
							turret_type_slot = tank_medium_fixed_superstructure_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = secondary_turret_small_cannon
							special_type_slot_2 = sloped_armor
							special_type_slot_3 = tank_radio_1
						}
						upgrades = {
							tank_nsb_engine_upgrade = 8
							tank_nsb_armor_upgrade = 4
						}
						icon = "gfx/interface/technologies/USA_basic_main_tank.dds"
					}
				}
				else = {
					create_equipment_variant = {
						name = "M3 Lee"
						type = medium_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon
							turret_type_slot = tank_medium_fixed_superstructure_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_riveted_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = secondary_turret_small_cannon
							special_type_slot_2 = sloped_armor
						}
						upgrades = {
							tank_nsb_engine_upgrade = 8
							tank_nsb_armor_upgrade = 4
						}
						icon = "gfx/interface/technologies/USA_basic_main_tank.dds"
					}
				}
				
				if = {
					limit = {
						has_tech = artillery4 #tank will use tank_medium_cannon_2
					}
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
								special_type_slot_3 = tank_radio_3
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
								special_type_slot_3 = tank_radio_2
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
								special_type_slot_3 = tank_radio_1
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
					else = {
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
				}
				else = {
					#tank will use tank_medium_cannon
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
								special_type_slot_3 = tank_radio_3
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
								special_type_slot_3 = tank_radio_2
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
								special_type_slot_3 = tank_radio_1
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
					else = {
						create_equipment_variant = {
							name = "M4 Sherman"
							type = medium_tank_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_medium_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 7
							}
							icon = "gfx/interface/technologies/USA_imp_main_tank.dds"
						}
					}
				}
				
				if = {
					limit = {
						has_tech = centimetric_radar
					}
					create_equipment_variant = {
						name = "M6 Heavy Tank"
						type = heavy_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_heavy_cannon
							turret_type_slot = tank_heavy_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_cast_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_3
						}
						upgrades = {
							tank_nsb_engine_upgrade = 5
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_basic_heavy_tank.dds"
					}
				}
				else_if = {
					limit = {
						has_tech = cavity_magnatron
					}
					create_equipment_variant = {
						name = "M6 Heavy Tank"
						type = heavy_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_heavy_cannon
							turret_type_slot = tank_heavy_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_cast_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_2
						}
						upgrades = {
							tank_nsb_engine_upgrade = 5
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_basic_heavy_tank.dds"
					}
				}
				else_if = {
					limit = {
						has_tech = radio
					}
					create_equipment_variant = {
						name = "M6 Heavy Tank"
						type = heavy_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_heavy_cannon
							turret_type_slot = tank_heavy_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_cast_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = tank_radio_1
						}
						upgrades = {
							tank_nsb_engine_upgrade = 5
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_basic_heavy_tank.dds"
					}
				}
				else = {
					create_equipment_variant = {
						name = "M6 Heavy Tank"
						type = heavy_tank_chassis_1
						parent_version = 0
						modules = {
							main_armament_slot = tank_heavy_cannon
							turret_type_slot = tank_heavy_three_man_tank_turret
							suspension_type_slot = tank_bogie_suspension
							armor_type_slot = tank_cast_armor
							engine_type_slot = tank_gasoline_engine
						}
						upgrades = {
							tank_nsb_engine_upgrade = 5
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_basic_heavy_tank.dds"
					}
				}
				add_breakthrough_progress = {
					specialization = specialization_land
					value = 0.5
				}
			}
		}
	}
	focus = {
		id = USA_tank_destroyer_doctrine
		icon = GFX_focus_usa_tank_destroyer_doctrine
		x = 0
		y = 1
		prerequisite = { focus = USA_tank_experiments }
		mutually_exclusive = { focus = USA_main_battle_tanks }
		relative_position_id = USA_tank_experiments
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = interwar_antitank
			}
		}

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = USA_tank_destroyer_board_organization
				mio:USA_tank_destroyer_board_organization = {
					add_mio_size = 2
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = tank_destroyer_board
			}
			
			if = {
				limit = {
					NOT = { has_dlc = "No Step Back" }
				}
				add_tech_bonus = {
					name = armor_bonus
					bonus = 1
					uses = 1
					technology = improved_light_td
					technology = advanced_light_td
					technology = advanced_light_tank_td_a
					technology = advanced_light_tank_td_b
					technology = basic_medium_td
					technology = improved_medium_td
					technology = advanced_medium_td				
				}
			}
			
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				if = {
					limit = {
						has_tech = antitank4 #tank will use tank_high_velocity_cannon_2
					}
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_3
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							#icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, as allied tank pack is unrecognised by the game in dlc conditions, reactivate later with both dlcs as conditions
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_2
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, as allied tank pack is unrecognised by the game in dlc conditions, reactivate later with both dlcs as conditions
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_1
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else = {
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
				}
				else = {
					#tank will use tank_high_velocity_cannon
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_3
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_2
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_1
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else = {
						create_equipment_variant = {
							name = "M10 Wolverine"
							type = medium_tank_destroyer_chassis_1
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_bogie_suspension
								armor_type_slot = tank_riveted_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_basic_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
				}
				
				
				if = {
					limit = {
						has_tech = antitank4 #tank will use tank_high_velocity_cannon_2
					}
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_3
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_2
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_1
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else = {
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon_2
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
				}
				else = {
					#tank will use tank_high_velocity_cannon
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_3
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_2
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_1
								special_type_slot_3 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
					else = {
						create_equipment_variant = {
							name = "M18 Hellcat"
							type = medium_tank_destroyer_chassis_2
							parent_version = 0
							modules = {
								main_armament_slot = tank_high_velocity_cannon
								turret_type_slot = tank_medium_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_diesel_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = easy_maintenance
							}
							upgrades = {
								tank_nsb_engine_upgrade = 8
								tank_nsb_armor_upgrade = 3
							}
							icon = "gfx/interface/technologies/USA_improved_medium_tank_destroyer.dds" #DLC icon, maybe revisit for non-dlc owners
						}
					}
				}
			}
		}
	}
	focus = {
		id = USA_main_battle_tanks
		icon = GFX_focus_generic_combined_arms
		x = 2
		y = 1
		prerequisite = { focus = USA_tank_experiments }
		mutually_exclusive = { focus = USA_tank_destroyer_doctrine }
		relative_position_id = USA_tank_experiments
		cost = 5

		ai_will_do = {
			factor = 1
		}

		available = {
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				has_tech = advanced_medium_tank_chassis
				has_tech = artillery4
			}
		}

		completion_reward = {
			IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = USA_detroit_arsenal_organization
				mio:USA_detroit_arsenal_organization = {
					add_mio_size = 2
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = detroit_arsenal
			}
			
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				
				if = {
					limit = {
						has_tech = centimetric_radar
					}
					create_equipment_variant = {
						name = "T20 M27"
						type = medium_tank_chassis_3
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon_2
							turret_type_slot = tank_medium_three_man_tank_turret
							suspension_type_slot = tank_torsion_bar_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = sloped_armor
							special_type_slot_2 = easy_maintenance
							special_type_slot_3 = tank_radio_3
						}
						upgrades = {
							tank_nsb_engine_upgrade = 7
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_adv_main_tank.dds"
					}
				}
				else_if = {
					limit = {
						has_tech = cavity_magnatron
					}
					create_equipment_variant = {
						name = "T20 M27"
						type = medium_tank_chassis_3
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon_2
							turret_type_slot = tank_medium_three_man_tank_turret
							suspension_type_slot = tank_torsion_bar_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = sloped_armor
							special_type_slot_2 = easy_maintenance
							special_type_slot_3 = tank_radio_2
						}
						upgrades = {
							tank_nsb_engine_upgrade = 7
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_adv_main_tank.dds"
					}
				}
				else_if = {
					limit = {
						has_tech = radio
					}
					create_equipment_variant = {
						name = "T20 M27"
						type = medium_tank_chassis_3
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon_2
							turret_type_slot = tank_medium_three_man_tank_turret
							suspension_type_slot = tank_torsion_bar_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = sloped_armor
							special_type_slot_2 = easy_maintenance
							special_type_slot_3 = tank_radio_1
						}
						upgrades = {
							tank_nsb_engine_upgrade = 7
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_adv_main_tank.dds"
					}
				}
				else = {
					create_equipment_variant = {
						name = "T20 M27"
						type = medium_tank_chassis_3
						parent_version = 0
						modules = {
							main_armament_slot = tank_medium_cannon_2
							turret_type_slot = tank_medium_three_man_tank_turret
							suspension_type_slot = tank_torsion_bar_suspension
							armor_type_slot = tank_welded_armor
							engine_type_slot = tank_gasoline_engine
							special_type_slot_1 = sloped_armor
							special_type_slot_2 = easy_maintenance
						}
						upgrades = {
							tank_nsb_engine_upgrade = 7
							tank_nsb_armor_upgrade = 8
						}
						icon = "gfx/interface/technologies/USA_adv_main_tank.dds"
					}
				}
			}
		}
	}
	focus = {
		id = USA_armored_infantry
		icon = GFX_goal_mechanized_offensive
		x = 1
		y = 1
		prerequisite = { focus = USA_main_battle_tanks focus = USA_tank_destroyer_doctrine }
		relative_position_id = USA_tank_destroyer_doctrine
		cost = 10

		ai_will_do = {
			factor = 1
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_armored_infantry
				uses = 1
				bonus = 1
				category = motorized_equipment
			}
			add_tech_bonus = {
				name = USA_armored_infantry
				uses = 1
				bonus = 1
				category = cat_mechanized_equipment
			}
			
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				if = {
					limit = {
						NOT = { has_tech = advanced_light_tank_chassis }
					}
					custom_effect_tooltip = USA_armored_infantry_chaffee_tt
				}
				else = {
					if = {
						limit = {
							has_tech = centimetric_radar
						}
						create_equipment_variant = {
							name = "M24 Chaffee"
							type = light_tank_chassis_3
							parent_version = 0
							modules = {
								main_armament_slot = tank_close_support_gun
								turret_type_slot = tank_light_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_3
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_adv_light_tank.dds"
						}
					}
					else_if = {
						limit = {
							has_tech = cavity_magnatron
						}
						create_equipment_variant = {
							name = "M24 Chaffee"
							type = light_tank_chassis_3
							parent_version = 0
							modules = {
								main_armament_slot = tank_close_support_gun
								turret_type_slot = tank_light_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_2
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_adv_light_tank.dds"
						}
					}
					else_if = {
						limit = {
							has_tech = radio
						}
						create_equipment_variant = {
							name = "M24 Chaffee"
							type = light_tank_chassis_3
							parent_version = 0
							modules = {
								main_armament_slot = tank_close_support_gun
								turret_type_slot = tank_light_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
								special_type_slot_2 = tank_radio_1
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_adv_light_tank.dds"
						}
					}
					else = {
						create_equipment_variant = {
							name = "M24 Chaffee"
							type = light_tank_chassis_3
							parent_version = 0
							modules = {
								main_armament_slot = tank_close_support_gun
								turret_type_slot = tank_light_three_man_tank_turret
								suspension_type_slot = tank_torsion_bar_suspension
								armor_type_slot = tank_welded_armor
								engine_type_slot = tank_gasoline_engine
								special_type_slot_1 = sloped_armor
							}
							upgrades = {
								tank_nsb_engine_upgrade = 5
								tank_nsb_armor_upgrade = 4
							}
							icon = "gfx/interface/technologies/USA_adv_light_tank.dds"
						}
					}
				}
			}
			if = {
				limit = {
					has_idea = rt56_naval_funding_favoritism
				}
				remove_ideas = rt56_naval_funding_favoritism
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}
	focus = {
		id = USA_90_division_gamble
		icon = GFX_focus_SOV_mobilization_plan
		x = 0
		y = 1
		prerequisite = { focus = USA_build_the_pentagon }
		mutually_exclusive = { focus = USA_victory_program }
		relative_position_id = USA_build_the_pentagon
		cost = 10

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_USA_CONGRESS }

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_support > 0.10
			if = {
				limit = {
					threat < 0.5
					has_war = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
		}

		completion_reward = {
			add_ideas = r56_USA_90_division_gamble
			if = {
				limit = {
					has_war_support < 0.4
					has_war_support > 0.2
					has_war = no
				}
				add_stability = -0.1
			}
			else_if = {
				limit = {
					has_war_support < 0.2
					has_war = no
				}
				add_stability = -0.25
			}
			else = {

			}
			USA_congress_small_opposition = yes
		}
	}
	focus = {
		id = USA_victory_program
		icon = GFX_goal_polish_wartime_industry
		x = 2
		y = 1
		prerequisite = { focus = USA_build_the_pentagon }
		mutually_exclusive = { focus = USA_90_division_gamble }
		relative_position_id = USA_build_the_pentagon
		cost = 10

		search_filters = { FOCUS_FILTER_USA_CONGRESS FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_support > 0.10
			if = {
				limit = {
					threat < 0.5
					has_war = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_medium_support_trigger = yes
			}
		}

		completion_reward = {
			add_ideas = r56_USA_victory_program
			if = {
				limit = {
					has_war = no
				}
				custom_effect_tooltip = USA_victory_program_focus_tt
				if = {
					limit = {
						has_war_support < 0.4
						has_war_support > 0.2
						has_war = no
					}
					add_stability = -0.1
				}
				else_if = {
					limit = {
						has_war_support < 0.2
						has_war = no
					}
					add_stability = -0.25
				}
				else = {

				}
			}
			USA_congress_small_opposition = yes
		}
	}
	focus = {
		id = USA_department_of_defense
		icon = GFX_Goal_USA_department_of_defense
		x = 1
		y = 1
		prerequisite = { focus = USA_90_division_gamble focus = USA_victory_program }
		relative_position_id = USA_90_division_gamble
		cost = 10
		
		search_filters = { FOCUS_FILTER_ARMY_XP FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP }

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			army_experience = 5
			navy_experience = 5
			air_experience = 5
			custom_effect_tooltip = available_chief_of_army
			show_ideas_tooltip = george_marshall
			swap_ideas = {
				remove_idea = USA_war_department
				add_idea = USA_department_of_defense
			}
			if = {
				limit = {
					has_idea = rt56_naval_funding_favoritism
				}
				remove_ideas = rt56_naval_funding_favoritism
			}
			if = {
				limit = {
					has_idea = rt56_naval_first_funding
				}
				swap_ideas = { 
					remove_idea = rt56_naval_first_funding
					add_idea = rt56_naval_funding_favoritism
				}
			}
		}
	}

 ##  ### ###       ## ###  ##  ### ###  ##  #  # 
#  #  #  #  #     #   #   #  #  #   #  #  # ## # 
####  #  ###       #  ##  #     #   #  #  # # ## 
#  #  #  #  #       # #   #  #  #   #  #  # #  # 
#  # ### #  #     ##  ###  ##   #  ###  ##  #  # 

	focus = {
		id = USA_air_war_plans_division
		icon = GFX_goal_generic_build_airforce
		x = 3
		y = 1
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_war_department
		available_if_capitulated = yes
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }
	
		completion_reward = {
			air_experience = 25
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = USA_air_war_plans_division
					technology = photo_reconnaisance
					bonus = 1.0
					uses = 1
				}	
			}
			else_if = {
				limit = {
					has_dlc = "La Resistance"
					NOT = {
						has_dlc = "By Blood Alone"
					}
				}
				add_tech_bonus = {
					name = scout_plane
					bonus = 1.0
					uses = 1
					category = cat_scout_plane
				}				
			}		
			add_doctrine_cost_reduction = {
				name = USA_air_war_plans_division
				cost_reduction = 0.5
				uses = 2
				category = air_doctrine
			} # REVISIT May use modifier?
			add_ideas = air_war_plans_division_focus
			country_event = r56_usa.2
		}
	}
	focus = {
		id = USA_air_support
		icon = GFX_goal_generic_air_fighter
		prerequisite = { focus = USA_air_war_plans_division }
		mutually_exclusive = { focus = USA_strategic_bombing }
		x = -1
		y = 1
		relative_position_id = USA_air_war_plans_division
		cost = 10
		
		search_filters = { FOCUS_FILTER_AIR_XP }

		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		completion_reward = {
			air_experience = 25
			add_ideas = air_support_focus
		}
	}
	focus = {
		id = USA_CAS
		text = CAS_effort
		icon = GFX_goal_generic_CAS
		prerequisite = { focus = USA_air_support }
		x = -1
		y = 1
		relative_position_id = USA_air_support
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = CAS_effort
					technology = aa_cannon_1
					technology = aa_cannon_2
					uses = 1
					bonus = 1.0
				}
				create_equipment_variant = {
					name = "A-36 'Apache' " #
					type = small_plane_cas_airframe_1
					modules = {
						fixed_main_weapon_slot = heavy_mg_2x
						fixed_auxiliary_weapon_slot_1 = bomb_locks
						engine_type_slot = engine_2_1x
						special_type_slot_1 = dive_brakes_small
					}
					obsolete = yes
					icon = "GFX_USA_CAS1_medium"
				}
			}
			else = {
				add_tech_bonus = {
					name = CAS_effort
					uses = 1
					bonus = 1.0
					category = cas_bomber
				}
			}
			
		}
	}
	focus = {
		id = USA_TAC
		icon = GFX_goal_generic_air_tactical_bomber_new
		prerequisite = { focus = USA_air_support }
		x = 0
		y = 2
		relative_position_id = USA_air_support
		cost = 10

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }

		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = USA_TAC
					uses = 1
					bonus = 1.0
					category = medium_air
				}
			}
			else = {
				add_tech_bonus = {
					name = USA_TAC
					uses = 1
					bonus = 1.0
					category = tactical_bomber
				}
			}
			air_experience = 25
		}
	}
	focus = {
		id = USA_us_army_airforce
		icon = GFX_goal_USA_coa_air_force_army
		x = -1
		y = 3
		prerequisite = { focus = USA_CAS focus = USA_TAC }
		relative_position_id = USA_air_support
		cost = 10

		ai_will_do = {
			factor = 1
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = USA_us_army_airforce
				uses = 1
				cost_reduction = 0.5
				category = air_doctrine
			}
			add_ideas = r56_USA_us_army_airforce
		}
	}
	focus = {
		id = USA_strategic_bombing
		icon = GFX_goal_generic_occupy_start_war
		prerequisite = { focus = USA_air_war_plans_division }
		mutually_exclusive = { focus = USA_air_support }
		x = 1
		y = 1
		relative_position_id = USA_air_war_plans_division
		cost = 10
		
		search_filters = { FOCUS_FILTER_AIR_XP }
		
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		completion_reward = {
			air_experience = 25
			add_ideas = strategic_bombing_focus
		}
	}
	focus = {
		id = USA_combined_bomber_offensive
		icon = GFX_goal_generic_air_strategic_bomber_new
		prerequisite = { focus = USA_strategic_bombing }
		available = {
			has_war = yes
			OR = {
				is_in_faction_with = GER
				is_in_faction_with = JAP
				is_in_faction_with = ITA
				is_in_faction_with = SOV
				is_in_faction_with = FRA
				is_in_faction_with = ENG
			}
		}
		x = 0
		y = 2
		relative_position_id = USA_strategic_bombing
		cost = 10
		
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }
		
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		completion_reward = {
			air_experience = 25
			add_tech_bonus = {
				name = USA_combined_bomber_offensive
				bonus = 1.0
				uses = 1
				category = heavy_air
			}
			add_ideas = combined_bomber_offensive
		}
	}
	focus = {
		id = USA_flying_fortress
		icon = GFX_goal_generic_air_bomber
		prerequisite = { focus = USA_strategic_bombing }
		available = {
			
		}
		x = 1
		y = 1
		relative_position_id = USA_strategic_bombing
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = USA_flying_fortress
					bonus = 1.0
					uses = 1
					category = heavy_air
				}
			}
			else = {
				add_tech_bonus = {
					name = USA_flying_fortress
					bonus = 1.0
					uses = 1
					category = cat_strategic_bomber
				}
			}
			add_ideas = r56_USA_flying_fortress
		}
	}
	focus = {
		id = USA_us_air_force
		icon = GFX_goal_USA_coa_air_force
		x = 1
		y = 3
		prerequisite = { focus = USA_combined_bomber_offensive focus = USA_flying_fortress }
		relative_position_id = USA_strategic_bombing
		cost = 10

		ai_will_do = {
			factor = 1
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_doctrine_cost_reduction = {
				name = USA_us_air_force
				uses = 1
				cost_reduction = 0.5
				category = air_doctrine
			}
			add_ideas = USA_us_air_force
		}
	}
	focus = {
		id = USA_escort_fighters
		icon = GFX_focus_usa_escort_fighters
		x = 0
		y = 2
		prerequisite = { focus = USA_air_support focus = USA_strategic_bombing }
		relative_position_id = USA_air_war_plans_division
		cost = 10

		ai_will_do = {
			factor = 1
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}
				add_tech_bonus = {
					name = USA_escort_fighters
					bonus = 1
					uses = 1
					category = light_air
				}
				add_tech_bonus = {
					name = USA_escort_fighters
					bonus = 1
					uses = 1
					category = medium_air
				}
				create_equipment_variant = {
					name = "P-38 Lightning" 
					type = medium_plane_fighter_airframe_1
					parent_version = 0
					modules = {
						fixed_main_weapon_slot = heavy_mg_4x
						fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x
						engine_type_slot = engine_2_2x
						special_type_slot_1 = empty
					}
					icon = "GFX_USA_heavy_fighter1_medium"
				}
			}
			else = {
				add_tech_bonus = {
					name = USA_escort_fighters
					bonus = 1
					uses = 1
					category = light_fighter
				}
				add_tech_bonus = {
					name = USA_escort_fighters
					bonus = 3.0
					uses = 1
					category = cat_heavy_fighter
				}
			}
		}
	}
	focus = {
		id = USA_enter_the_jet_age
		icon = GFX_goal_generic_air_jet_new
		x = -2
		y = 1
		prerequisite = { focus = USA_department_of_defense }
		prerequisite = { focus = USA_us_army_airforce focus = USA_us_air_force }
		relative_position_id = USA_us_army_airforce
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			NOT = { has_idea = rt56_rushed_r_n_d }
		}
		
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_tech_bonus = {
				name = USA_enter_the_jet_age
				bonus = 1.0
				uses = 3
				category = jet_technology
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.75
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_ideas = r56_generic_jet_idea
		}
	}

#  #  ##  #   # #   #      ## ###  ##  ### ###  ##  #  # 
## # #  # #   #  # #      #   #   #  #  #   #  #  # ## # 
# ## ####  # #    #        #  ##  #     #   #  #  # # ## 
#  # #  #  # #    #         # #   #  #  #   #  #  # #  # 
#  # #  #   #     #       ##  ###  ##   #  ###  ##  #  # 

	focus = {
		id = USA_two_ocean_navy_act
		icon = GFX_focus_generic_navy_battleship2
		x = 17
		y = 1
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_war_department
		cost = 10
		
		search_filters = { FOCUS_FILTER_USA_CONGRESS FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP }
		
		ai_will_do = {
			factor = 1
		}

		available = {
			has_war_support > 0.05
			if = {
				limit = {
					threat < 0.5
					has_war = no
				}
				congress_high_support_trigger = yes
			}
			else = {
				congress_low_support_trigger = yes
			}
			controls_state = 378
			controls_state = 358
		}

		cancel_if_invalid = no
		continue_if_invalid = yes
		

		complete_tooltip = {
			378 = { 
				add_extra_state_shared_building_slots = 5
				add_building_construction = {
					type = dockyard
					level = 5
					instant_build = yes
				}
			}
			358 = { 
				add_extra_state_shared_building_slots = 5
				add_building_construction = {
					type = dockyard
					level = 5
					instant_build = yes
				}
			}
		}
		completion_reward = {
			if = { 
				limit = { 
					378 = {
						free_building_slots = {
							building = dockyard
							size > 4
							include_locked = yes
						}
					}
				}
				378 = { 
					add_extra_state_shared_building_slots = 5
					add_building_construction = {
						type = dockyard
						level = 5
						instant_build = yes
					}
				}
			}
			if = { 
				limit = { 
					358 = {
						free_building_slots = {
							building = dockyard
							size > 4
							include_locked = yes
						}
					}
				}
				358 = { 
					add_extra_state_shared_building_slots = 5
					add_building_construction = {
						type = dockyard
						level = 5
						instant_build = yes
					}
				}
			}
			swap_ideas = { #punishment for doing this focus early 
				remove_idea = rt56_naval_funding_favoritism 
				add_idea = 	rt56_naval_first_funding
			}
			if = {
				limit = {
					 has_war_support < 0.4 
				}
				USA_congress_medium_opposition = yes
			}
		}
	}
	focus = {
		id = USA_maritime_commission
		icon = GFX_goal_generic_production2
		x = -7
		y = 0
		prerequisite = { focus = USA_war_department }
		relative_position_id = USA_two_ocean_navy_act
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				threat > 0.05
				has_war_support > 0.05
				congress_low_support_trigger = yes
			}
		}	

		completion_reward = {
			add_ideas = USA_maritime_commission
			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				mio:USA_brooklyn_naval_yard_organization = {
					add_mio_funds = 250
				}
			}
		}
	}
	
	focus = {
		id = USA_liberty_ships
		icon = GFX_goal_liberty_ships
		prerequisite = { focus = USA_maritime_commission }
		x = 0
		y = 1
		relative_position_id = USA_maritime_commission
		cost = 5

		search_filters = { FOCUS_FILTER_NAVY_XP }

		ai_will_do = {
			factor = 0.1
		}

		available = {
			OR = {
				threat > 0.10
				has_war_support > 0.10
				congress_high_support_trigger = yes
			}
		}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_ideas = liberty_ships_focus
		}
	}

	focus = {
		id = USA_bureau_of_ships
		icon = GFX_goal_naval_treaty
		x = -3
		y = 1
		cost = 5
		
		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_NAVY_XP }
		
		#ai_will_do = {
		#	factor = 1
		#}
		prerequisite = { focus = USA_two_ocean_navy_act }
		relative_position_id = USA_two_ocean_navy_act
		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_ideas = bureau_of_ships_focus
			if = {
				limit = { has_idea = bureau_of_ordnance_spirit }
				remove_ideas = bureau_of_ordnance_spirit
			}
			if = {
				limit = {
					has_idea =  rt56_naval_funding_favoritism
				}
				swap_ideas = { #punishment for doing this focus early 
					remove_idea = rt56_naval_funding_favoritism
					add_idea = rt56_naval_first_funding
				}
			}	
		}
	}
	
	focus = {
		id = USA_battleship_primacy
		icon = GFX_goal_generic_navy_battleship
		prerequisite = { focus = USA_bureau_of_ships }
		mutually_exclusive = { focus = USA_carrier_primacy }
		x = -6
		y = 1
		relative_position_id = USA_bureau_of_ships
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		search_filters = {FOCUS_FILTER_RESEARCH}

		completion_reward = {
			add_tech_bonus = {
				name = USA_battleship_primacy
				bonus = 1.0
				uses = 2
				category = bb_tech
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = industrial_bonus
					bonus = 1
					uses = 1
					category = naval_armor_tech
				}

				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1
					uses = 1
					category = damage_control_tech
				}										
								
				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1
					uses = 1
					technology = fire_control_methods_1
					technology = fire_control_methods_2
					technology = fire_control_methods_3
				}											
			}			
		}
	}
	
	focus = {
		id = USA_expand_shipyard_facilities
		icon = GFX_goal_generic_blue_navy
		prerequisite = { focus = USA_battleship_primacy }
		x = -1
		y = 1
		relative_position_id = USA_battleship_primacy
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				limit = {
					is_coastal = yes
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = USA_advanced_mahanian_doctrine
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = USA_battleship_primacy }
		x = 1
		y = 1
		relative_position_id = USA_battleship_primacy
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = USA_advanced_mahanian_doctrine
				cost_reduction = 0.5
				uses = 2
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = USA_advanced_basing
		icon = GFX_goal_generic_occupy_states_coastal
		x = 0
		y = 2
		prerequisite = { focus = USA_expand_shipyard_facilities focus = USA_advanced_mahanian_doctrine }
		relative_position_id = USA_battleship_primacy
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			OR = {
				638 = {
					OWNER = { is_owned_or_subject_trigger = yes }
				}
				632 = {
					OWNER = { is_owned_or_subject_trigger = yes }
				}
				631 = {
					OWNER = { is_owned_or_subject_trigger = yes }
				}
				327 = {
					OWNER = { is_owned_or_subject_trigger = yes }
				}
			}
		}

		completion_reward = {
			if = {
				limit = {
					638 = {
						OWNER = { is_owned_or_subject_trigger = yes }
					}
				}
				638 = {
					add_building_construction = {
						type = naval_base
						province = 12140
						level = 2
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					632 = {
						OWNER = { is_owned_or_subject_trigger = yes }
					}
				}
				632 = {
					add_building_construction = {
						type = naval_base
						province = 12140
						level = 3
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					631 = {
						OWNER = { is_owned_or_subject_trigger = yes }
					}
				}
				631 = {
					add_building_construction = {
						type = naval_base
						province = 13052
						level = 3
						instant_build = yes
					}
				}
			}
			if = {
				limit = {
					327 = {
						OWNER = { is_owned_or_subject_trigger = yes }
					}
				}
				327 = {
					add_building_construction = {
						type = naval_base
						province = 10265
						level = 2
						instant_build = yes
					}
				}
			}
		}
	}

	focus = {
		id = USA_carrier_primacy
		icon = GFX_goal_generic_navy_carrier
		prerequisite = { focus = USA_bureau_of_ships }
		mutually_exclusive = { focus = USA_battleship_primacy }
		x = -2
		y = 1
		relative_position_id = USA_bureau_of_ships
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_carrier_primacy
				bonus = 1.0
				uses = 2
				category = cv_tech
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}

				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1
					uses = 2
					category = damage_control_tech
				}											
			}			
		}
	}
	focus = {
		id = USA_naval_air_coordination
		icon = GFX_goal_generic_air_fighter2
		prerequisite = { focus = USA_carrier_primacy }
		x = -1
		y = 1
		relative_position_id = USA_carrier_primacy
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_ideas = r56_USA_naval_air_coordination
		}
	}
	focus = {
		id = USA_bureau_of_aeronautics
		icon = GFX_goal_generic_air_naval_bomber
		prerequisite = { focus = USA_carrier_primacy }
		x = 1
		y = 1
		relative_position_id = USA_carrier_primacy
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_bureau_of_aeronautics
				bonus = 1.0
				uses = 1
				category = naval_bomber
				category = naval_air
			}
			add_tech_bonus = {
				name = USA_bureau_of_aeronautics
				bonus = 1
				uses = 1
				category = maritime
			}			
		}
	}
	focus = {
		id = USA_naval_radar
		icon = GFX_goal_generic_radar
		x = 0
		y = 2
		prerequisite = { focus = USA_naval_air_coordination focus = USA_bureau_of_aeronautics }
		relative_position_id = USA_carrier_primacy
		cost = 10

		ai_will_do = {
			factor = 1
		}

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_naval_radar
				uses = 2
				bonus = 1.0
				category = radar_tech
			}
			custom_effect_tooltip = generic_skip_one_line_tt
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.75
			}
		}
	}

	focus = {
		id = USA_escort_effort
		icon = GFX_goal_generic_navy_anti_submarine
		prerequisite = { focus = USA_bureau_of_ships }
		x = 1
		y = 1
		relative_position_id = USA_bureau_of_ships
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		completion_reward = {
			add_ideas = escort_effort_focus
			
		}
	}

	focus = {
		id = USA_convoy_tactics
		icon = GFX_goal_generic_navy_cruiser
		prerequisite = { focus = USA_escort_effort }
		x = 0
		y = 1
		relative_position_id = USA_escort_effort
		cost = 10
		
		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP }
		
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		completion_reward = {
			navy_experience = 25
			add_doctrine_cost_reduction = {
				name = USA_convoy_tactics
				cost_reduction = 0.5
				uses = 2
				category = convoy_defense_tree
			}
			if = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_tech_bonus = {
					name = SPR_navy_modernization
					bonus = 1.0
					uses = 1
					category = asw_tech
				}				
			}
		}
	}
	focus = {
		id = USA_fleet_submarines
		icon = GFX_goal_generic_navy_submarine
		x = 3
		y = 1
		prerequisite = { focus = USA_bureau_of_ships }
		relative_position_id = USA_bureau_of_ships
		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {
			is_special_project_completed = sp:sp_naval_cruiser_submarine
		}

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_fleet_submarines
				bonus = 1.0
				uses = 2
				category = ss_tech
			}

			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}

			IF = {
				limit = {
					has_dlc = "Man the Guns"
				}
				add_ideas = fleet_submarine_specialization_mtg
			}
			ELSE = {
				add_ideas = fleet_submarine_specialization
			}	
		}
	}

	focus = {
		id = USA_unrestricted_submarine_warfare
		icon = GFX_goal_generic_wolf_pack
		x = 3
		y = 2
		prerequisite = { focus = USA_fleet_submarines }
		relative_position_id = USA_bureau_of_ships
		cost = 10

		ai_will_do = {
			factor = 1
		}

		completion_reward = {
			add_ideas = USA_unrestricted_submarine_warfare
		}
	}

	focus = {
		id = USA_fund_the_navy
		icon = GFX_goal_USA_coa_navy
		x = 3
		y = 1
		relative_position_id = USA_two_ocean_navy_act
		cost = 5
		prerequisite = { focus = USA_two_ocean_navy_act }
		ai_will_do = {
			factor = 1
		}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_doctrine_cost_reduction = {
				name = USA_fund_the_navy
				uses = 2
				cost_reduction = 0.5
				category = naval_doctrine
			}
		}
	}

	focus = {
		id = USA_expand_the_USMC
		icon = GFX_goal_USA_marines
		prerequisite = { focus = USA_fund_the_navy }
		x = -1
		y = 1
		relative_position_id = USA_fund_the_navy
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes

		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_expand_the_USMC
				bonus = 1.0
				uses = 2
				category = r56_marines_infantry_tech
			}
			add_tech_bonus = {
				name = USA_expand_the_USMC
				bonus = 1.0
				uses = 1
				category = r56_special_forces_training_tech 
			}
			
			if = {
				limit = {
					has_dlc = "No Step Back"
				}
				custom_effect_tooltip = r56_zippo_satan
				hidden_effect = {
					r56_m3a1_satan_tank_template = yes
					r56_m4_zippo_tank_template = yes
				}
			}
			unlock_decision_tooltip = { decision = cite_a_marine_unit show_effect_tooltip = yes } 		
			
		}
	}

	focus = {
		id = USA_amphibious_operations
		icon = GFX_goal_generic_landing_craft
		prerequisite = { focus = USA_fund_the_navy }
		x = 1
		y = 1
		relative_position_id = USA_fund_the_navy
		cost = 5
		#ai_will_do = {
		#	factor = 1
		#}

		available_if_capitulated = yes
		
		search_filters = {FOCUS_FILTER_RESEARCH}
		completion_reward = {
			add_tech_bonus = {
				name = USA_amphibious_operations
				bonus = 1.0
				uses = 2
				category = tp_tech 
			}
		}
	}

	focus = {
		id = USA_three_dimensional_assault_force
		icon = GFX_goal_generic_navy_doctrines_tactics
		prerequisite = { focus = USA_amphibious_operations }
		prerequisite = { focus = USA_expand_the_USMC }
		x = 1
		y = 1
		relative_position_id = USA_expand_the_USMC
		cost = 10
		#ai_will_do = {
		#	factor = 1
		#}

		available = {
			#has_completed_focus = USA_intervention_in_asia
			#custom_trigger_tooltip = {
			#	tooltip = USA_three_dimensional_assault_force_tt
			#	has_unit_leader = 6299
			#}
		}
		
		completion_reward = {
			add_ideas = r56_usa_three_dimensional_assault_force
		}
	}	
}
