### search_filters = {FOCUS_FILTER_POLITICAL}
### search_filters = {FOCUS_FILTER_RESEARCH}
### search_filters = {FOCUS_FILTER_INDUSTRY}
### search_filters = {FOCUS_FILTER_STABILITY}
### search_filters = {FOCUS_FILTER_WAR_SUPPORT}
### search_filters = {FOCUS_FILTER_MANPOWER}
### search_filters = {FOCUS_FILTER_ANNEXATION}
### search_filters = {FOCUS_FILTER_POLITICAL_CHARACTER}
### search_filters = {FOCUS_FILTER_MILITARY_CHARACTER}

focus_tree = {
	id = argentine_focus_tree
	
	country = {
		factor = 0
		modifier = {
			add = 10
			tag = ARG
			has_dlc = "Trial of Allegiance"
		} 
	}

	default = no

	continuous_focus_position = { x = 200 y = 2300 }

	initial_show_position = {
		x = 25
		y = 0
	}

	################################
	#### SHARED MILITARY BRANCH ####
	################################

	shared_focus = SMB_army
	shared_focus = SMB_air_force
	shared_focus = SMB_navy

	####################################
	#### HISTORICAL & FASCIST PATHS ####
	####################################

	focus = { #HISTORICAL
		id = ARG_roberto_maria_ortiz
		icon = GFX_focus_ARG_roberto_maria_ortiz
		#prerequisite = { focus = ARG_preparation_for_the_elections }
		x = 13
		y = 0
		#relative_position_id = ARG_preparation_for_the_elections
		cost = 10
		mutually_exclusive = { focus = ARG_a_call_to_reform focus = ARG_the_clean_election }
		available = {
		}

		allow_branch = {
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = ARG_the_clean_election }
				NOT = { has_completed_focus = ARG_a_call_to_reform }
			}
		}

		ai_will_do = {
			factor = 20 #default to historical
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY }

		completion_reward = { 
			add_political_power = 120
			swap_ideas = {
  				remove_idea = ARG_infamous_decade_idea
  				add_idea = ARG_infamous_decade_2_idea 				
  			}
				custom_effect_tooltip = ARG_roberto_maria_ortiz_tt

				ARG_roberto_maria_ortiz = { 
					promote_leader = yes 
				}
				hidden_effect = {
					retire_country_leader = yes
					IF = {
						limit = {
							has_idea = ARG_roberto_maria_ortiz_idea
						}
						remove_ideas = ARG_roberto_maria_ortiz_idea
					}
				}
					if = {
					limit = {
						has_game_rule = {
							rule = obsolete_focus_branches_visibility
							option = HIDE
						}
					}
					mark_focus_tree_layout_dirty = yes
				}
			}
		}

	focus = { #HISTORICAL
		id = ARG_defense_and_democracy
		icon = GFX_focus_ARG_defense_and_democracy
		prerequisite = { focus = ARG_roberto_maria_ortiz }
		x = -2
		y = 1
		relative_position_id = ARG_roberto_maria_ortiz
		mutually_exclusive = { focus = ARG_work_with_the_nationalists }
		cost = 10
		available = {
			any_state = {
			is_owned_by = ROOT
			is_controlled_by = ROOT
			free_building_slots = {
			    building = arms_factory
			    size > 1
			    include_locked = yes
				}
			}
		} 

		ai_will_do = {
			factor = 20
		}

		bypass = {
		NOT = {
			any_state = {
				is_owned_by = ROOT
				is_controlled_by = ROOT
				free_building_slots = {
				    building = arms_factory
				    size > 1
				    include_locked = yes
				}
			}
		}
	}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_popularity = {
				ideology = neutrality 
				popularity = 0.05
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.02
			}

			random_core_state = {
			limit = {
				free_building_slots = {
					building = arms_factory
					size > 0
					include_locked = yes
				}
				is_owned_and_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = arms_factory
				level = 1
				instant_build = yes
				}
			}
		}
	}

	focus = { #FASCIST
		id = ARG_work_with_the_nationalists
		icon = GFX_goal_support_fascism
		prerequisite = { focus = ARG_roberto_maria_ortiz }
		x = 2
		y = 1
		relative_position_id = ARG_roberto_maria_ortiz
		cost = 10
		mutually_exclusive = { focus = ARG_defense_and_democracy }
		available = {
		}

		ai_will_do = {
			modifier = {
				NOT = {
					has_government = fascism
				}
				factor = 0 
			}
			factor = 15 #don't do unless fascist, also please don't do if historical.
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER }

		completion_reward = { 

			add_dynamic_modifier = { modifier = ARG_growing_nationalism_modifier }
			
			hidden_effect = {
				every_owned_state = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_military_owned_state
						}
					}
					remove_dynamic_modifier = {
							modifier = ARG_military_owned_state
						}
					}
				}
			}
		}

	focus = { #HISTORICAL
		id = ARG_crack_down_on_corruption
		icon = GFX_focus_ARG_crackdown_on_corruption
		prerequisite = { focus = ARG_defense_and_democracy focus = ARG_work_with_the_nationalists }
		x = 2
		y = 1
		relative_position_id = ARG_defense_and_democracy
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_HISTORICAL}

		completion_reward = { 
			remove_dynamic_modifier = {
				modifier = ARG_political_corruption_modifier
			}
			add_dynamic_modifier = { modifier = ARG_corruption_crackdown_modifier }
		}
	}

	focus = { #HISTORICAL
		id = ARG_british_cooperation
		icon = GFX_focus_ARG_british_influences
		prerequisite = { focus = ARG_defense_and_democracy }
		x = 0
		y = 2
		relative_position_id = ARG_defense_and_democracy
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = { 
			add_ideas = ARG_british_cooperation_idea

			ROOT = {
				add_opinion_modifier = {
				target = ENG
				modifier = ARG_improved_cooperation_idea
				}
			}

			ENG = {
				add_opinion_modifier = {
				target = ROOT
				modifier = ARG_improved_cooperation_idea
				}
			}
		}
	}

	focus = { #FASCIST
		id = ARG_cut_ties_with_britain
		icon = GFX_focus_ARG_cut_ties_with_britain
		prerequisite = { focus = ARG_work_with_the_nationalists }
		x = 0
		y = 2
		relative_position_id = ARG_work_with_the_nationalists 
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15 #5 less than the historical. You're not supposed to be here D:
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			ENG = {
				add_opinion_modifier = {
				target = ROOT
				modifier = ARG_cut_ties_with_britain_idea
				}
			}

			swap_ideas = {
  				remove_idea = ARG_roca_runciman_treaty_idea
  				add_idea = ARG_anti_british_sentiment_idea 				
  			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_the_castillo_cabinet
		icon = GFX_focus_ARG_the_castillo_cabinet
		prerequisite = { focus = ARG_british_cooperation }
		x = 0
		y = 1
		relative_position_id = ARG_british_cooperation
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5 #this was late in the strategy plan, so do other stuff first
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL_CHARACTER } 

		completion_reward = { 
			
			custom_effect_tooltip = ARG_the_castillo_cabinet_tt
			ARG_ramon_castillo = { 
					promote_leader = yes 
				}
				hidden_effect = {
					retire_country_leader = yes
					IF = {
						limit = {
							has_idea = ARG_ramon_castillo
						}
						remove_ideas = ARG_ramon_castillo
					}
				}
			custom_effect_tooltip = CHL_skip_one_line_tt 
			custom_effect_tooltip = ARG_coup_imminent_tt
			set_country_flag = military_coup_attempt_started
			}
		}

	focus = { #HISTORICAL
		id = ARG_import_substitution
		icon = GFX_goal_generic_positive_trade_relations
		prerequisite = { focus = ARG_british_cooperation }
		x = -4
		y = 1
		relative_position_id = ARG_british_cooperation
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = { 
			random_core_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
				is_owned_and_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
				}
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_emphasis_on_public_works
		icon = GFX_goal_generic_construction
		prerequisite = { focus = ARG_import_substitution }
		x = 0
		y = 1
		relative_position_id = ARG_import_substitution
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 12
		}

		search_filters = {FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY}

		completion_reward = { 
			add_timed_idea = {
    			idea = ARG_public_works_investment_idea
    			days = 365
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_towards_a_greater_argentina
		icon = GFX_focus_ARG_towards_a_greater_argentina
		prerequisite = { focus = ARG_emphasis_on_public_works }
		x = 0
		y = 1
		relative_position_id = ARG_emphasis_on_public_works
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }

		completion_reward = { 
			add_timed_idea = {
				idea = ARG_towards_a_greater_argentina_idea
				days = 730
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_universidad_de_buenos_aires
		icon = GFX_focus_ARG_universidad_de_buenos_aires
		prerequisite = { focus = ARG_towards_a_greater_argentina }
		x = 0
		y = 1
		relative_position_id = ARG_towards_a_greater_argentina
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20 #as soon as available tack!
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_research_slot = 1
		}
	}

	focus = { #HISTORICAL
		id = ARG_consolidating_power
		icon = GFX_focus_ARG_consolidating_power
		prerequisite = { focus = ARG_the_castillo_cabinet }
		x = 0
		y = 1
		relative_position_id = ARG_the_castillo_cabinet
		mutually_exclusive = { focus = ARG_maintain_the_status_quo }
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		bypass = {
			has_civil_war = yes
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = { 

		custom_effect_tooltip = ARG_consolidating_power_tt
		custom_effect_tooltip = CHL_skip_one_line_tt

			add_days_mission_timeout = {
				mission = ARG_military_coup_attempt
				days = -150
			}

			add_popularity = {
					popularity = 0.15
					ideology = fascism  
				}

			add_popularity = {
					popularity = -0.1
					ideology = democratic  
				}

			add_political_power = 100
			add_stability = -0.2
		}
	}

	focus = { #ALT HISTORICAL
		id = ARG_maintain_the_status_quo
		icon = GFX_focus_ARG_maintain_the_status_quo
		prerequisite = { focus = ARG_the_castillo_cabinet }
		x = -2
		y = 1
		relative_position_id = ARG_the_castillo_cabinet
		mutually_exclusive = { focus = ARG_consolidating_power }
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }

		completion_reward = { 
			add_political_power = 50
			add_stability = 0.1
		}
	}

	focus = { #HISTORICAL
		id = ARG_march_to_la_casa_rosada
		icon = GFX_focus_ARG_march_to_la_casa_rosada
		prerequisite = { focus = ARG_consolidating_power }
		x = 0
		y = 2
		relative_position_id = ARG_consolidating_power
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		bypass = {
			has_civil_war = yes
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = {

			custom_effect_tooltip = ARG_military_coup_happens_tt
			custom_effect_tooltip = CHL_skip_one_line_tt

			country_event = {
				id = ARG_political_events.1  
				hours = 1
		}

			hidden_effect = {
				every_owned_state = {
					limit = {
						has_dynamic_modifier = {
							modifier = ARG_military_owned_state
						}
					}
					remove_dynamic_modifier = {
							modifier = ARG_military_owned_state
						}
					}
				}
			}
		}

	focus = { #ALT HISTORICAL
		id = ARG_intervenciones_federales
		icon = GFX_focus_hol_the_foundations_of_defense
		prerequisite = { focus = ARG_maintain_the_status_quo }
		x = 0
		y = 2
		relative_position_id = ARG_maintain_the_status_quo
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			has_civil_war = yes
		}

		search_filters = { }

		completion_reward = { 

			add_political_power = 50
			add_stability = 0.1
			custom_effect_tooltip = ARG_intervenciones_federales_decisions_tt
			hidden_effect = {
				set_country_flag = ARG_no_fedint_decision_done
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_balancing_act
		icon = GFX_focus_ARG_balancing_act
		prerequisite = { focus = ARG_march_to_la_casa_rosada }
		x = 0
		y = 1
		relative_position_id = ARG_march_to_la_casa_rosada
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = { 
			custom_effect_tooltip = ARG_balancing_act_decisions_tt
		}
	}

	focus = { #ALT HISTORICAL
		id = ARG_subdue_dissension
		icon = GFX_focus_generic_court
		prerequisite = { focus = ARG_intervenciones_federales }
		x = 0
		y = 1
		relative_position_id = ARG_intervenciones_federales
		cost = 5
		available = {
			has_country_flag = ARG_3_fedint_decision_done
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			has_civil_war = yes
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 

		hidden_effect = {
			random_owned_state = {
				limit = {
					has_dynamic_modifier = {
						modifier = ARG_military_owned_state
					}
				}
				remove_dynamic_modifier = {
					modifier = ARG_military_owned_state
				}
			}

			random_owned_state = {
				limit = {
					has_dynamic_modifier = {
						modifier = ARG_federal_intervention_modifier
					}
				}
				remove_dynamic_modifier = {
					modifier = ARG_federal_intervention_modifier
				}
			}
		}

		custom_effect_tooltip = ARG_subdue_dissension_tt
		custom_effect_tooltip = ARG_end_the_coup_tt
		custom_effect_tooltip = CHL_skip_one_line_tt

			add_timed_idea = {
				idea = ARG_subdue_dissension_idea
				days = 365
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_the_american_push
		icon = GFX_focus_ARG_the_american_push
		prerequisite = { focus = ARG_balancing_act focus = ARG_subdue_dissension }
		x = -1
		y = 2
		relative_position_id = ARG_balancing_act
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			country_event = {
				id = ARG_political_events.2  
				hours = 1
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_juan_peron_elected
		icon = GFX_focus_ARG_juan_peron_elected
		prerequisite = { focus = ARG_balancing_act }
		x = 1
		y = 1
		relative_position_id = ARG_balancing_act
		cost = 10
		available = {
			has_character = ARG_juan_peron
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 
		
			ARG_juan_peron = {
				add_country_leader_role = {
					country_leader = {
						ideology = moderatism
						expire = "1965.1.1.1"
						traits = { ARG_peronism_trait }
					}
				} 
				promote_leader = yes
			}
			hidden_effect = {
				retire_country_leader = yes
				set_party_name = {
			    ideology = neutrality 
			    long_name = ARG_peronist_party_long
			    name = ARG_peronist_party
			}
				IF = {
					limit = {
						has_idea = ARG_juan_peron
					}
					remove_ideas = ARG_juan_peron
				}
			}
		}
	}

	focus = { #HISTORICAL
		id = ARG_peronism
		icon = GFX_focus_ARG_peronism
		prerequisite = { focus = ARG_juan_peron_elected }
		x = 0
		y = 1
		relative_position_id = ARG_juan_peron_elected
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ARG_eva_peron

			custom_effect_tooltip = CHL_skip_one_line_tt

			add_political_power = 50

			custom_effect_tooltip = CHL_skip_one_line_tt

			random_core_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
				is_owned_and_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 1
			add_building_construction = {
				type = industrial_complex
				level = 1
				instant_build = yes
				}
			}
		}
	}	

	focus = { #ALT HISTORICAL
		id = ARG_maintain_neutrality
		icon = GFX_goal_generic_forceful_treaty
		prerequisite = { focus = ARG_the_american_push }
		x = 2
		y = 1
		relative_position_id = ARG_the_american_push
		mutually_exclusive = { focus = ARG_join_the_allies }
		cost = 10
		available = {
		
		}

		ai_will_do = {
			factor = 5
		}

		cancel_if_invalid = yes

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			country_event = {
				id = ARG_political_events.4  
				hours = 1
			}

			custom_effect_tooltip = embargo_relation_tt
			USA = {
				send_embargo = ARG
			}

			add_ideas = ARG_maintain_neutrality_idea
		}
	}

	focus = { #FASCIST
		id = ARG_support_radical_nationalism
		icon = GFX_focus_ARG_support_radical_nationalism
		prerequisite = { focus = ARG_cut_ties_with_britain }
		x = 0
		y = 1
		relative_position_id = ARG_cut_ties_with_britain
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = { 
			custom_effect_tooltip = ARG_modify_growing_nationalism_ns_intro
			add_to_variable = { ARG_growing_nationalism_fascism_drift = 0.1 tooltip = fascism_drift_factor_tt }
			add_to_variable = { ARG_growing_nationalism_recruitable_population_factor = 0.1 tooltip = recruitable_population_factor_tt}
			add_to_variable = { ARG_growing_nationalism_war_support_factor = 0.05 tooltip = war_support_factor_tt}
			add_to_variable = { ARG_growing_nationalism_democratic_drift = -0.05 tooltip = democratic_drift_factor_tt }
		}
	}

	focus = { #FASCIST
		id = ARG_corporatism
		icon = GFX_focus_ICE_state_corporatism
		prerequisite = { focus = ARG_cut_ties_with_britain }
		x = 8
		y = 1
		relative_position_id = ARG_cut_ties_with_britain
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_INDUSTRY}

		completion_reward = { 
			add_political_power = 50
			add_popularity = {
				ideology = fascism 
				popularity = 0.1
			}
			278 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = { #FASCIST
		id = ARG_reestablish_ligas_patrioticas
		icon = GFX_focus_ARG_reestablish_ligas_patrioticas
		prerequisite = { focus = ARG_corporatism }
		x = 0
		y = 1
		relative_position_id = ARG_corporatism
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY }

		completion_reward = { 
			add_stability = 0.05

			custom_effect_tooltip = ARG_ligas_patrioticas_tt

			hidden_effect = {

			delete_unit_template_and_units = {
					division_template = "Ligas Patrioticas"
					disband = yes #if yes, will refund equipment/manpower.
				}

			division_template = {
					name = "Ligas Patrióticas"		
					#division_names_group = SWE_BS_01
					is_locked = no
					#force_allow_recruiting = yes
					template_counter = 20
					# Note: Represents brownshirts
					regiments = {
						motorized = { x = 0 y = 0 }
						motorized = { x = 0 y = 1 }
						motorized = { x = 1 y = 0 }
						motorized = { x = 1 y = 1 }
					}
					division_cap = 10
					override_model = ARG_motorized_alt_0_entity
				}

				278 = { 
				create_unit = {
				    division = "name = \"Primera Liga Patriótica\" division_template = \"Ligas Patrióticas\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Segunda Liga Patriótica\" division_template = \"Ligas Patrióticas\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Tercera Liga Patriótica\" division_template = \"Ligas Patrióticas\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Cuarta Liga Patriótica\" division_template = \"Ligas Patrióticas\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Quinta Liga Patriótica\" division_template = \"Ligas Patrióticas\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
			}
		}
	}
}

	focus = { #FASCIST
		id = ARG_fascist_researchers
		icon = GFX_focus_ARG_fascist_researchers
		prerequisite = { focus = ARG_reestablish_ligas_patrioticas }
		x = 0
		y = 1
		relative_position_id = ARG_reestablish_ligas_patrioticas
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_research_slot = 1
		}
	}

	focus = { #WORST TIMELINE
		id = ARG_hitler_1
		icon = GFX_focus_ARG_accept_german_advisors
		#prerequisite = { focus = ARG_reestablish_ligas_patrioticas }
		x = 0
		y = 2
		relative_position_id = ARG_fascist_researchers
		cost = 5
		available = {
			has_country_flag = ARG_worst_timeline_flag
		}
		allow_branch = {
			has_country_flag = ARG_worst_timeline_flag
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = {  }

		completion_reward = { 
			if = {
				limit = {
					has_game_rule = {
						rule = uncensored_nsdap_symbols
						option = ENABLED
					}
				}
				set_cosmetic_tag = ARG_UNCENSORED_fourth_reich_fascism
			}
			else = {
				set_cosmetic_tag = ARG_fourth_reich_fascism
			}
			
			hidden_effect = {
				remove_dynamic_modifier = {
  				modifier = ARG_growing_nationalism_modifier
  				}
			}
		}
	}

	focus = { #WORST TIMELINE
		id = ARG_hitler_2
		icon = GFX_goal_generic_army_tanks
		prerequisite = { focus = ARG_hitler_1 }
		x = -2
		y = 1
		relative_position_id = ARG_hitler_1
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = {  }

		completion_reward = { 

			custom_effect_tooltip = ARG_hitler_2_tt
			custom_effect_tooltip = ARG_hitler_2_core_tt
			
			hidden_effect = {
			every_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
					NOT = {
						has_government = fascism
					}
				}
				ARG = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					} 
				}
			}
			every_state = {
				limit = {
					is_core_of = GER
				}

				add_core_of = ROOT
			}
		}
	}
}

	focus = { #WORST TIMELINE
		id = ARG_hitler_3
		icon = GFX_focus_wonderweapons
		prerequisite = { focus = ARG_hitler_1 }
		x = 0
		y = 1
		relative_position_id = ARG_hitler_1
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = {  }

		completion_reward = { 
			IF = {
				limit = {
					has_tech = atomic_research 
					has_tech = experimental_rockets
				}

				add_breakthrough_points = {
					specialization = specialization_nuclear
			    	value = 1
				}
				add_breakthrough_points = {
					specialization = specialization_air
			    	value = 1
				}
			}
			else_if = {
				if = {
					limit = {
						has_tech = atomic_research 
						NOT = { has_tech = experimental_rockets }
					}
				}
				add_tech_bonus = {
					name = ARG_arma_maravillosa_bonus
					bonus = 0.5
					uses = 1
					category = rocketry
				}
				add_breakthrough_points = {
					specialization = specialization_nuclear
			    	value = 0.5
				}
			}
			else_if = {
				if = {
					limit = {
						NOT = { has_tech = atomic_research }
						has_tech = experimental_rockets
					}
				}
				add_tech_bonus = {
					name = ARG_arma_maravillosa_bonus
					bonus = 0.5
					uses = 1
					category = nuclear
				}
				add_breakthrough_points = {
					specialization = specialization_air
			    	value = 0.5
				}
			}
			ELSE = {
				set_technology = {
					atomic_research = 1
				}

				set_technology = {
					experimental_rockets = 1
				}
			}
		}
	}

	focus = { #WORST TIMELINE
		id = ARG_hitler_4
		icon = GFX_focus_ARG_study_the_battle_of_the_river_plate
		prerequisite = { focus = ARG_hitler_1 }
		x = 2
		y = 1
		relative_position_id = ARG_hitler_1
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = {  }

		completion_reward = { 
			IF = {
				limit = { has_dlc = "Man the Guns" }
				hidden_effect = {
					set_technology = {
					panzerschiffe = 1
					}
				}
				create_equipment_variant = {
					name = "Deutschland Class"
					type = ship_hull_cruiser_panzerschiff
					name_group = GER_CA_HISTORICAL
					parent_version = 0
					modules = {
			        	fixed_ship_anti_air_slot = ship_anti_air_1
						fixed_ship_battery_slot = ship_heavy_battery_2
						fixed_ship_secondaries_slot = ship_secondaries_1
						fixed_ship_armor_slot = ship_armor_cruiser_1
						fixed_ship_fire_control_system_slot = ship_fire_control_system_0
						fixed_ship_engine_slot = cruiser_ship_engine_2
						rear_1_custom_slot = ship_torpedo_1
						mid_1_custom_slot = ship_airplane_launcher_1
			    	}
				}
				add_equipment_production = {
					equipment = {
						type = ship_hull_cruiser_panzerschiff
						creator = "ARG"
						version_name = "Deutschland Class"
					}
					name = "Graf Spee II"
					requested_factories = 2
					progress = 0.5
					amount = 1
				}
			}
			ELSE = {
			      	create_equipment_variant = {
					name = "Deutschland Class"
					type = heavy_cruiser_1
					parent_version = 0
					upgrades = {
						ship_reliability_upgrade = 1
						ship_engine_upgrade = 1
						ship_armor_upgrade = 1
						ship_gun_upgrade = 2
					}
				}
				add_equipment_production = {
					equipment = {
						type = heavy_cruiser_1
						creator = "ARG"
						version_name = "Deutschland Class"
					}
					requested_factories = 2
					progress = 0.5
					amount = 1
				}
			}
		}
	}

	focus = { #FASCIST
		id = ARG_support_the_spanish_coup
		icon = GFX_focus_intervention_spain_nationalists
		prerequisite = { focus = ARG_cut_ties_with_britain }
		x = 10
		y = 1
		relative_position_id = ARG_cut_ties_with_britain
		cost = 5
		available = {
			SPR_scw_in_progress = yes
			SPR = {
				exists = yes
				hidden_trigger = {
					has_country_flag = SPR_nationalist_spain_flag
				}
			}
		}
		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_political_power = 50
			add_stability = -0.05
			add_relation_modifier = {
				target = SPA
				modifier  = ETH_support_spain_static_modifier
			}
			add_relation_rule_override = {
				target = SPA
				can_send_volunteers = yes 
			}
		}
	}

	focus = { #FASCIST
		id = ARG_demand_spanish_compensation
		icon = GFX_focus_ARG_demand_spanish_compensation
		prerequisite = { focus = ARG_support_the_spanish_coup }
		x = 0
		y = 1
		relative_position_id = ARG_support_the_spanish_coup
		cost = 10
		available = {
			has_global_flag = scw_over
			SPA = {
				has_capitulated = no
				owns_state = 297
			}
			
			custom_trigger_tooltip = {
					tooltip = ARG_argentinian_volunteers_in_spain_flag
					has_country_flag = ARG_argentinian_volunteers_in_spain 
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			hidden_effect = {
				SPA = {
					country_event = {
						id = ARG_political_events.38
						days = 1
					}
				}
			}
			custom_effect_tooltip = ARG_demand_spanish_compensation_tt
		}
	}

	focus = { #FASCIST
		id = ARG_invite_spanish_nationalists
		icon = GFX_focus_ARG_invite_spanish_nationalists
		prerequisite = { focus = ARG_support_the_spanish_coup }
		x = 2
		y = 1
		relative_position_id = ARG_support_the_spanish_coup
		cost = 5
		available = {
			has_global_flag = scw_over
			if = {
				limit = {
					has_dlc = "La Resistance"
				}
				any_other_country = {
				NOT = {
					tag = SPA
				}
					has_civil_war = no
					}
				}
			else = {
				any_country = {
					original_tag = SPR
				NOT = {
					OR = {
						has_government = fascism
						has_government = neutrality
					}
				}
					has_civil_war = no
				}
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_ARMY_XP  FOCUS_FILTER_MANPOWER }

		completion_reward = { 
			add_manpower = 25000

			army_experience = 75

			custom_effect_tooltip = CHL_skip_one_line_tt
		}
	}

	focus = { #FASCIST
		id = ARG_encourage_german_investments
		icon = GFX_focus_chi_mission_to_germany
		prerequisite = { focus = ARG_support_radical_nationalism }
		x = 0
		y = 1
		relative_position_id = ARG_support_radical_nationalism
		cost = 10
		available = {
			GER = {
				has_government = fascism
				exists = yes
			}
		}

		bypass = {
			GER = {
				OR = {
					exists = no
					has_government = communism
					has_government = democratic
					has_government = neutrality
				}
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = {  FOCUS_FILTER_INDUSTRY }

		completion_reward = { 

		278 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			add_tech_bonus = {
				name = ARG_german_investments_bonus
				bonus = 0.5
				uses = 2
				category = industry
			}
			add_opinion_modifier = {
				target = GER
				modifier  = huge_increase
			}
		GER = {
			add_opinion_modifier = {
				target = ROOT
				modifier  = huge_increase
			}
		}
	}
}

	focus = { #FASCIST
		id = ARG_encourage_italian_argentine_diplomacy
		icon = GFX_focus_befriend_italy
		prerequisite = { focus = ARG_support_radical_nationalism }
		x = 2
		y = 1
		relative_position_id = ARG_support_radical_nationalism
		cost = 10
		available = {
			ITA = {
				has_government = fascism
				exists = yes
			}
		}

		bypass = {
			ITA = {
				OR = {
					exists = no
					has_government = communism
					has_government = democratic
					has_government = neutrality
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = {  FOCUS_FILTER_RESEARCH }

		completion_reward = {

			add_to_tech_sharing_group = ARG_italian_argentine_tech_sharing_group

			add_opinion_modifier = {
				target = ITA
				modifier  = huge_increase
			}
		ITA = {
			add_to_tech_sharing_group = ARG_italian_argentine_tech_sharing_group

			add_opinion_modifier = {
				target = ROOT
				modifier  = huge_increase
			}
		}
	}
}

	focus = { #FASCIST
		id = ARG_guardia_nacional
		icon = GFX_focus_ARG_guardia_nacional
		prerequisite = { focus = ARG_encourage_german_investments }
		x = 0
		y = 2
		relative_position_id = ARG_encourage_german_investments
		mutually_exclusive = { focus = ARG_union_nacional_fascista }
		cost = 10
		available = {
			fascism > 0.6
		}

		ai_will_do = {
			factor = 20
		}

		bypass = {
			has_country_flag = ARG_worst_timeline_flag
		}

		search_filters = {  FOCUS_FILTER_MANPOWER  FOCUS_FILTER_STABILITY  FOCUS_FILTER_POLITICAL FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = { 

  			add_ideas = ARG_military_government_idea
  			remove_dynamic_modifier = {
  				modifier = ARG_growing_nationalism_modifier
  			}

			set_party_name = {
				ideology = fascism
				long_name = ARG_gen_nazism_party_long
				name = ARG_gen_nazism_party
			}

			custom_effect_tooltip = CHL_skip_one_line_tt

			custom_effect_tooltip = ARG_guardia_nacional_tt

			hidden_effect = {

			set_politics = {
				ruling_party = fascism
				last_election = "1934.3.26" 
				election_frequency = 48
				elections_allowed = no
			}
				
				ARG_pedro_pablo_ramirez = { 
					add_country_leader_role = {
						country_leader = {
							ideology = gen_nazism
							expire = "1965.1.1.1"
							traits = {
								ARG_moderate_dictator
							}
						}
					}
					promote_leader = yes 
						set_portraits = {
						army = { large ="GFX_portrait_ARG_pedro_pablo_ramirez_fascist"}
						civilian = { large ="GFX_portrait_ARG_pedro_pablo_ramirez_fascist" 	}
					}
				}
				retire_country_leader = yes
				set_cosmetic_tag = ARG_military_state_fascism
					IF = {
					limit = {
						has_idea = ARG_pedro_pablo_ramirez
					}
					remove_ideas = ARG_pedro_pablo_ramirez
				}
			}
		}
	}

	focus = { #FASCIST
		id = ARG_union_nacional_fascista
		icon = GFX_focus_ARG_union_nacional_fascista
		prerequisite = { focus = ARG_encourage_italian_argentine_diplomacy }
		x = 0
		y = 2
		relative_position_id = ARG_encourage_italian_argentine_diplomacy
		mutually_exclusive = { focus = ARG_guardia_nacional }
		cost = 10
		available = {
			fascism > 0.6
		}

		ai_will_do = {
			factor = 5
		}

		bypass = {
			has_country_flag = ARG_worst_timeline_flag
		}

		search_filters = { FOCUS_FILTER_STABILITY  FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_ideas = ARG_spirit_of_the_conquistadors_idea
			remove_dynamic_modifier = {
  				modifier = ARG_growing_nationalism_modifier
  			}

			custom_effect_tooltip = CHL_skip_one_line_tt

			custom_effect_tooltip = ARG_union_nacional_fascista_tt

			hidden_effect = {

			set_politics = {
				ruling_party = fascism
				last_election = "1934.3.26"
				election_frequency = 48
				elections_allowed = no
			}

			set_cosmetic_tag = ARG_nationalist_state_fascism

			}
		}
	}

	focus = { #FASCIST
		id = ARG_rapid_militirization
		icon = GFX_focus_SOV_mobilization_plan
		prerequisite = { focus = ARG_guardia_nacional }
		x = 0
		y = 1
		relative_position_id = ARG_guardia_nacional
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}
		

		search_filters = { FOCUS_FILTER_INDUSTRY }

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

			add_timed_idea = {
				idea = ARG_rapid_militarization_idea
				days = 365
			}
		}
	}

	focus = {  #FASCIST
		id = ARG_argentine_nationalism
		icon = GFX_focus_ARG_argentine_nationalism
		prerequisite = { focus = ARG_union_nacional_fascista }
		x = 0
		y = 1
		relative_position_id = ARG_union_nacional_fascista
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_MANPOWER }

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

			add_ideas = ARG_argentine_nationalism_idea
		}
	}

	focus = { #FASCIST
		id = ARG_war_division
		icon = GFX_goal_generic_major_war
		prerequisite = { focus = ARG_rapid_militirization focus = ARG_argentine_nationalism }
		x = 1
		y = 1
		relative_position_id = ARG_rapid_militirization
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_timed_idea = {
				idea = ARG_war_division_idea
				days = 365
			}	 
		}
	}

	focus = { #FASCIST
		id = ARG_argentina_first
		icon = GFX_focus_ARG_argentina_first
		prerequisite = { focus = ARG_war_division }
		x = -2
		y = 2
		relative_position_id = ARG_war_division
		mutually_exclusive = { focus = ARG_join_the_axis }
		cost = 10
		available = {
			is_subject = no
			is_in_faction = no
		}

		bypass = {
			is_in_faction = yes
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT}

		completion_reward = { 

			IF = {
				limit = {
					is_in_faction = yes
				}
				leave_faction = yes 
			}

			add_political_power = 50
			add_war_support = 0.05

			add_ideas = ARG_argentina_first_idea

			create_faction = ARG_nationalist_faction	

			hidden_effect = {
				set_rule = { can_send_volunteers = yes }
				set_rule = { can_create_factions = yes }
				set_rule = { can_join_factions = no }
			}
		}
	}

	focus = { #FASCIST
		id = ARG_join_the_axis
		icon = GFX_focus_ger_reichskommisariats
		prerequisite = { focus = ARG_war_division }
		x = 2
		y = 2
		relative_position_id = ARG_war_division
		mutually_exclusive = { focus = ARG_argentina_first }
		cost = 10
		available = {
			is_subject = no
			GER = {
				exists = yes
				has_government = fascism
			}
		}

		ai_will_do = {
			factor = 20
		}

		bypass = {
			OR = {
				GER = {
				exists = no
				NOT = {
					has_government = fascism
					}
				}
			is_in_faction = yes
		}
	}

		search_filters = { }

		completion_reward = {

			GER = {
				country_event = {
					id = ARG_political_events.12
					hours = 1
				}
			}
		}
	}

	focus = { #ALT HISTORICAL
		id = ARG_our_own_path
		icon = GFX_focus_ARG_our_own_path
		prerequisite = { focus = ARG_maintain_neutrality focus = ARG_argentina_first }
		x = 1
		y = 1
		relative_position_id = ARG_maintain_neutrality
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }

		completion_reward = { 
			add_political_power = 100
			add_ideas = ARG_our_own_path_idea
		}
	}

	######################################
	#### DOMINATION FOREIGN POLICIES #####
	######################################

	focus = { #DOMINATION
		id = ARG_dominate_the_south
		icon = GFX_focus_por_recover_latin_america
		prerequisite = { focus = ARG_argentina_first focus = ARG_join_the_axis focus = ARG_maintain_neutrality }
		x = 2
		y = 2
		relative_position_id = ARG_argentina_first
		#mutually_exclusive = { focus = ARG_align_with_the_monroe_doctrine }
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = { 

		hidden_effect = {
			every_other_country = {
				limit = {
					any_controlled_state = { 
						OR = {
							is_on_continent = north_america
							is_on_continent = south_america
						}
					}
				}
				news_event = {
					id = ARG_news_events.1
					hours = 1
				}
			}
		}
			add_timed_idea = {
				idea = ARG_preparing_for_war_idea
				days = 730
			}
		}
	}

	focus = { #DOMINATION
		id = ARG_preparations_for_war
		icon = GFX_focus_ARG_preparations_for_war
		prerequisite = { focus = ARG_dominate_the_south }
		x = 4
		y = 1
		relative_position_id = ARG_dominate_the_south
		cost = 5
		available = {
			
		}

		bypass = {
			
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {

			build_railway = { #Formosa to Tucumán 
				path = { 12943 10986 10965 8216 }
			}
			build_railway = { # Santa Cruz to Rawson
				path = { 12946 12952 13305 10953 }
			} 

			 954 = {
				add_building_construction = {
					type = supply_node
					level = 1
					province = 12946
					instant_build = yes
				}
			}

			957 = {
				add_building_construction = {
					type = supply_node
					level = 1
					province = 12943
					instant_build = yes
				}
			}
			
		}
	}

	focus = { #DOMINATION
		id = ARG_conquer_paraguay
		icon = GFX_focus_generic_attack_paraguay
		prerequisite = { focus = ARG_dominate_the_south }
		x = -2
		y = 1
		relative_position_id = ARG_dominate_the_south
		mutually_exclusive = { focus = ARG_paraguayan_ultimatum }
		cost = 10
		available = {
			PAR = {
				exists = yes
			}
		}



		bypass = {
			PAR = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = { 
				create_wargoal = {
					type = annex_everything
					target = PAR
				}
			}
		}

	focus = { #DOMINATION
		id = ARG_paraguayan_ultimatum
		icon = GFX_focus_ARG_paraguayan_ultimatum
		prerequisite = { focus = ARG_dominate_the_south }
		x = 2
		y = 1
		relative_position_id = ARG_dominate_the_south
		mutually_exclusive = { focus = ARG_conquer_paraguay }
		cost = 10
		available = {
			PAR = {
				exists = yes
			}
		}

		ai_will_do = {
			factor = 10 #we ask before we take dear ai
		}

		bypass = {
			PAR = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		search_filters = { }

		completion_reward = { 

		hidden_effect = {
			PAR = {
				country_event = {
					id = ARG_political_events.15
					hours = 1
				}
			}
		}
			custom_effect_tooltip = ARG_paraguayan_ultimatum.tt
		}
	}

	focus = { #DOMINATION
		id = ARG_revive_the_colonial_plan
		icon = GFX_focus_ARG_revive_the_colonial_plan
		prerequisite = { focus = ARG_cut_ties_with_britain }
		x = 4
		y = 1
		relative_position_id = ARG_cut_ties_with_britain
		mutually_exclusive = { focus = ARG_conquer_uruguay }
		cost = 10
		available = {
			GER = {
				is_in_faction_with = ROOT
			}

			URG = {
				exists = yes
				NOT = {
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				} 
			}
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			URG = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		search_filters = { }

		completion_reward = { 

		hidden_effect = {
			URG = {
				country_event = {
					id = ARG_political_events.19
					hours = 1
				}
			}
		}
			custom_effect_tooltip = ARG_uraguayan_ultimatum.tt
		}
	}

	focus = { #DOMINATION
		id = ARG_conquer_uruguay
		icon = GFX_focus_generic_attack_uruguay
		prerequisite = { focus = ARG_cut_ties_with_britain }
		x = 6
		y = 1
		relative_position_id = ARG_cut_ties_with_britain
		mutually_exclusive = { focus = ARG_revive_the_colonial_plan }
		cost = 10
		available = {
			URG = {
				exists = yes
			}
		}

		bypass = {
			URG = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = { 
			create_wargoal = {
					type = annex_everything
					target = URG
				}
			}
		}

	focus = { #DOMINATION
		id = ARG_reach_out_to_chile
		icon = GFX_focus_generic_befriend_chile
		prerequisite = { focus = ARG_conquer_paraguay focus = ARG_paraguayan_ultimatum }
		x = -3
		y = 1
		relative_position_id = ARG_paraguayan_ultimatum
		mutually_exclusive = { focus = ARG_chilean_ultimatum }
		cost = 10
		available = {
			ARG = {
				is_faction_leader = yes
			}
			CHL = {
				NOT = {
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				} 
			}
			954 = {
				is_owned_and_controlled_by = ARG
			}
			953 = {
				is_owned_and_controlled_by = ARG
			}
		}

		bypass = {
			CHL = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { }

		completion_reward = { 

			CHL = {
				country_event = {
					id = ARG_political_events.24
					hours = 1
				}
			}
			custom_effect_tooltip = ARG_reach_out_to_chile_tt
			custom_effect_tooltip = CHL_skip_one_line_tt
			custom_effect_tooltip = ARG_reach_out_to_chile_2_tt
		}
	}

	focus = { #DOMINATION
		id = ARG_chilean_ultimatum
		icon = GFX_focus_ARG_chilean_ultimatum
		prerequisite = { focus = ARG_conquer_paraguay focus = ARG_paraguayan_ultimatum }
		x = 1
		y = 2
		relative_position_id = ARG_dominate_the_south
		mutually_exclusive = { focus = ARG_reach_out_to_chile }
		cost = 10
		available = {
			CHL = {
				NOT = {
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				} 
			}
		}

		ai_will_do = {
			factor = 10
		}

		bypass = {
			CHL = {
				OR = {
					exists = no
					has_war_with = ROOT
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		search_filters = { }

		completion_reward = { 

			hidden_effect = {
				CHL = {
					country_event = {
						id = ARG_political_events.27
						hours = 1
					}
				}
			}

			custom_effect_tooltip = ARG_chilean_ultimatum.tt

		}
	}

	focus = { #DOMINATION
		id = ARG_the_old_enemy
		icon = GFX_focus_ARG_the_old_enemy
		prerequisite = { focus = ARG_reach_out_to_chile focus = ARG_chilean_ultimatum }
		x = 1
		y = 1
		relative_position_id = ARG_reach_out_to_chile
		will_lead_to_war_with = BRA
		cost = 10
		available = {
			BRA = {
				exists = yes
				NOT = {
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				} 
			}
		}

		ai_will_do = {
			factor = 20
		}

		bypass = {
			BRA = {
				OR = {
					exists = no
					is_subject_of = ROOT
					is_in_faction_with = ROOT
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = { 
			create_wargoal = {
					type = annex_everything
					target = BRA
				}

			add_timed_idea = {
				idea = ARG_spirit_of_the_cisplatine_war_idea
				days = 730
			}
		}
	}

	focus = { #DOMINATION
		id = ARG_south_american_unity
		icon = GFX_focus_ARG_south_american_unity
		prerequisite = { focus = ARG_the_old_enemy }
		x = 0
		y = 1
		relative_position_id = ARG_the_old_enemy
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { }

		completion_reward = { 

			custom_effect_tooltip = ARG_south_american_unity_decisions_tt
		
			IF = {
				limit = {
					has_completed_focus = ARG_union_nacional_fascista
				}
				set_cosmetic_tag = ARG_nationalist_union_south_america_fascism
			}
			ELSE_IF = {
				limit = {
					OR = {
						has_completed_focus = ARG_guardia_nacional
						has_government = neutrality
					}
				}
				set_cosmetic_tag = ARG_military_union_south_america
			}
		}
	}

	focus = { #DOMINATION
		id = ARG_integrate_operation_bolivar
		icon = GFX_focus_BRA_expand_bolivar
		prerequisite = { focus = ARG_dominate_the_south }
		x = -6
		y = 1
		relative_position_id = ARG_dominate_the_south
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { }

		completion_reward = { 
			IF = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = no
				}
				create_intelligence_agency = { 
					name = "S.I."
					icon = GFX_intelligence_agency_logo_ARG_intelligence
				}
				upgrade_intelligence_agency = upgrade_economy_civilian 
				add_ideas = ARG_integrate_operation_bolivar_idea_lar
			}
			ELSE = {
				add_ideas = ARG_integrate_operation_bolivar_idea_no_lar
			}
		}
	}

	focus = { #DOMINATION
		id = ARG_release_hellmuth
		icon = GFX_focus_ARG_release_hellmuth
		prerequisite = { focus = ARG_integrate_operation_bolivar }
		x = 0
		y = 1
		relative_position_id = ARG_integrate_operation_bolivar
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { }

		completion_reward = {

		hidden_effect = {
			country_event = {
					id = ARG_political_events.31
					hours = 1
				}
			} 
		
			custom_effect_tooltip = ARG_osmar_hellmuth_event_tt

			}
		}

	focus = { #DOMINATION
		id = ARG_anti_american_propaganda
		icon = GFX_focus_ARG_anti_american_propaganda
		prerequisite = { focus = ARG_release_hellmuth }
		x = 0
		y = 1
		relative_position_id = ARG_release_hellmuth
		cost = 10
		available = {
			any_other_country = {
				original_tag = USA
				has_government = democratic
				exists = yes
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = { 
			USA = {
				add_opinion_modifier = {
				target = ROOT
				modifier = ARG_anti_american_idea
				}
			}

			ROOT = {
				add_opinion_modifier = {
				target = USA
				modifier = ARG_anti_american_idea
				}
			}

			add_timed_idea = {
			idea = ARG_anti_american_propaganda_idea
			days = 730
			}
		}
	}

	focus = { #DOMINATION
		id = ARG_the_war_machine
		icon = GFX_focus_ARG_the_war_machine
		prerequisite = { focus = ARG_dominate_the_south }
		x = 6
		y = 1
		relative_position_id = ARG_dominate_the_south
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			512 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}

			956 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}

			958 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
				}
			}
		}

	focus = { #DOMINATION
		id = ARG_secure_the_borders
		icon = GFX_goal_fortify_the_westwall
		prerequisite = { focus = ARG_the_war_machine }
		x = 0
		y = 1
		relative_position_id = ARG_the_war_machine
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 

			random_army_leader = {		
				limit = {
					NOT = {
						has_trait = ranger
					}
				}
				add_trait = {
					trait = ranger
				}
			}
			random_army_leader = {	
				limit = {
					NOT = {
						has_trait = ranger
					}
				}	
				add_trait = {
					trait = ranger
				}
			}
			random_army_leader = {	
				limit = {
					NOT = {
						has_trait = ranger
					}
				}	
				add_trait = {
					trait = ranger
				}
			}

			953 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 11009
						id = 13300
					}
					instant_build = yes
				}
			}

			954 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 5173
						id = 12946
						id = 2169
					}
					instant_build = yes
				}
			}

			955 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 8161
						id = 13306
					}
					instant_build = yes
				}
			}

			512 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 2199
						id = 8192
					}
					instant_build = yes
				}
			}

			511 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 2215
						id = 10992
						id = 2179
					}
					instant_build = yes
				}
			}

			960 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 8253
						id = 12928
					}
					instant_build = yes
				}
			}

			508 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 8195
						id = 13310
					}
					instant_build = yes
				}
			}

			959 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 2224
						id = 11001
					}
					instant_build = yes
				}
			}

			510 = {
				add_building_construction = {
					type = bunker
					level = 1
					province = {
						id = 8238
						id = 11007
					}
					instant_build = yes
				}
			}
		}
	}

	focus = { #DOMINATION
		id = ARG_argentine_island_sovereignty
		icon = GFX_focus_ARG_argentine_island_sovereignty
		prerequisite = { focus = ARG_secure_the_borders }
		x = 0
		y = 1
		relative_position_id = ARG_secure_the_borders
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = { 

		custom_effect_tooltip = ARG_island_negotiations_decisions_tt
		
			299 = {
				add_core_of = ROOT
			}

			720 = {
				add_core_of = ROOT
			}

			custom_effect_tooltip = ARG_argentine_island_sovereignty.tt

			hidden_effect = {
				if = {
					limit = {
						299 = { is_owned_and_controlled_by = ENG }
						720 = { is_owned_and_controlled_by = ENG }
						ENG = {
							NOT = {
								has_war_with = ROOT
								is_subject = yes
							}
						}
					}
	
					ROOT = {
					create_wargoal = {
						type = take_state_focus
						target = ENG
						expire = 0
						generator = { 299 720 }
					}
				}
			}
		}		
	}
}

	#########################
	#### DEMOCRATIC PATH ####
	#########################

	focus = { #DEMOCRATIC
		id = ARG_the_clean_election
		icon = GFX_focus_ARG_the_clean_election
		#prerequisite = { focus = ARG_preparation_for_the_elections }
		x = 0
		y = 0
		#relative_position_id = ARG_preparation_for_the_elections
		cost = 10
		mutually_exclusive = { focus = ARG_a_call_to_reform focus = ARG_roberto_maria_ortiz }
		available = {
		}

		allow_branch = {
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = ARG_roberto_maria_ortiz }
				NOT = { has_completed_focus = ARG_a_call_to_reform }
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			add_political_power = 120
			swap_ideas = {
				remove_idea = ARG_infamous_decade_idea
  				add_idea = ARG_infamous_decade_3_idea 	
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_in_memory_of_yrigoyen
		icon = GFX_focus_ARG_in_memory_of_yrigoyen
		prerequisite = { focus = ARG_the_clean_election }
		x = 0
		y = 1
		relative_position_id = ARG_the_clean_election
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = {

		custom_effect_tooltip = ARG_in_memory_of_yrigoyen_tt 

		hidden_effect = {
			set_politics = {
					ruling_party = democratic
					elections_allowed = yes
				}

				retire_country_leader = yes

				ARG_marcelo_t_de_alvear = {
					promote_character = yes
				}
			}

			add_popularity = {
				ideology = democratic
				popularity = 0.15
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_anti_corruption_policies
		icon = GFX_focus_ARG_anti_corruption_policies
		prerequisite = { focus = ARG_in_memory_of_yrigoyen }
		x = -1
		y = 1
		relative_position_id = ARG_in_memory_of_yrigoyen
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { }

		completion_reward = { 
			remove_dynamic_modifier = {
				modifier = ARG_political_corruption_modifier
			}
			add_dynamic_modifier = { modifier = ARG_anti_corruption_modifier }
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_promote_urbanization
		icon = GFX_focus_generic_industry_2
		prerequisite = { focus = ARG_in_memory_of_yrigoyen }
		x = 1
		y = 1
		relative_position_id = ARG_in_memory_of_yrigoyen
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 

			278 = { #Buenos Aires
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			956 = { #Santa Fe
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_a_true_democracy
		icon = GFX_goal_support_democracy
		prerequisite = { focus = ARG_anti_corruption_policies }
		x = 0
		y = 1
		relative_position_id = ARG_anti_corruption_policies
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_stability = 0.02
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_secure_the_opposition
		icon = GFX_focus_generic_support_the_left_right
		prerequisite = { focus = ARG_promote_urbanization }
		x = 0
		y = 1
		relative_position_id = ARG_promote_urbanization
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_popularity = {
				ideology = communism
				popularity = -0.05
			}

			add_popularity = {
				ideology = fascism
				popularity = -0.05
			}

			add_popularity = {
				ideology = neutrality
				popularity = -0.05
			}

			#possible TODO, add advisors? Unsure which Advisors were to be added here so feel free to make changes here Eilidh!
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_argentina_for_all
		icon = GFX_focus_ARG_argentina_for_all
		prerequisite = { focus = ARG_a_true_democracy focus = ARG_secure_the_opposition }
		x = 1
		y = 2
		relative_position_id = ARG_a_true_democracy
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER }

		completion_reward = { 
			add_ideas = ARG_argentina_for_all_idea
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_reinforce_the_education_system
		icon = GFX_focus_generic_university_1
		prerequisite = { focus = ARG_anti_corruption_policies }
		x = -2
		y = 1
		relative_position_id = ARG_anti_corruption_policies
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			add_tech_bonus = {
				name = ARG_education_electronics_bonus
				bonus = 0.5
				uses = 1
				category = electronics
			}

			add_tech_bonus = {
				name = ARG_education_industrial_bonus
				bonus = 0.5
				uses = 1
				category = industry
			}

			add_tech_bonus = {
				name = ARG_education_synthetics_bonus
				bonus = 1
				uses = 1
				category = cat_synth_rubber
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_university_reforms
		icon = GFX_focus_research
		prerequisite = { focus = ARG_reinforce_the_education_system }
		x = 0
		y = 1
		relative_position_id = ARG_reinforce_the_education_system
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_research_slot = 1
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_regulated_national_salaries
		icon = GFX_focus_hol_the_foundations_of_defense
		prerequisite = { focus = ARG_promote_urbanization }
		x = 2
		y = 1
		relative_position_id = ARG_promote_urbanization
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_ideas = ARG_regulated_salaries
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_social_welfare_fund
		icon = GFX_goal_generic_national_unity
		prerequisite = { focus = ARG_regulated_national_salaries }
		x = 0
		y = 1
		relative_position_id = ARG_regulated_national_salaries
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_ideas = ARG_social_welfare_fund_ns

			278 = {
				add_extra_state_shared_building_slots = 3
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_internal_focus
		icon = GFX_focus_ARG_strengthening_the_concordancia
		prerequisite = { focus = ARG_argentina_for_all }
		x = 0
		y = 1
		relative_position_id = ARG_argentina_for_all
		mutually_exclusive = { focus = ARG_seek_american_support focus = ARG_british_gaurantee }
		cost = 5
		available = {
			
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_political_power = 100
			add_ideas = limited_exports
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_alvears_democracy
		icon = GFX_focus_ARG_alvears_democracy
		prerequisite = { focus = ARG_internal_focus }
		x = 0
		y = 2
		relative_position_id = ARG_internal_focus
		cost = 5
		available = {
			
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = { 
			add_country_leader_trait = { 
				trait = ARG_father_of_argentine_democracy 
			}
			remove_country_leader_trait = {
				trait = ARG_harsh_democrat
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_british_gaurantee
		icon = GFX_focus_chi_british_cooperation
		prerequisite = { focus = ARG_argentina_for_all }
		x = 3
		y = 1
		relative_position_id = ARG_argentina_for_all
		mutually_exclusive = { focus = ARG_seek_american_support focus = ARG_internal_focus }
		cost = 5
		available = {
			ENG = {
				exists = yes
				has_government = democratic
				NOT = {
					has_war_with = ROOT
					is_subject = yes
				}
			}
		}

		ai_will_do = {
			factor = 17
		}

		search_filters = { }

		completion_reward = { 

			add_ideas = ARG_british_argentine_agreement

			add_opinion_modifier = {
				target = ENG
				modifier = ARG_british_argentine_agreement_opinion_modifier
			}

			ENG = {
				add_opinion_modifier = {
					target = ARG
					modifier = ARG_british_argentine_agreement_opinion_modifier
				}
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_seek_american_support
		icon = GFX_focus_generic_befriend_usa
		prerequisite = { focus = ARG_argentina_for_all }
		x = -3
		y = 1
		relative_position_id = ARG_argentina_for_all
		mutually_exclusive = { focus = ARG_british_gaurantee focus = ARG_internal_focus }
		cost = 5
		available = {
			USA = {
				has_government = democratic
				is_subject = no
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 

			add_political_power = 100

			ARG = {
				add_opinion_modifier = {
				target = USA
				modifier = ARG_close_ties_with_america_idea
				}
			}

			USA = {
				add_opinion_modifier = {
				target = ARG
				modifier = ARG_close_ties_with_america_idea
				}
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_royal_airforce_influence
		icon = GFX_focus_generic_multi_role_aircraft
		prerequisite = { focus = ARG_british_gaurantee }
		x = -1
		y = 1
		relative_position_id = ARG_british_gaurantee
		mutually_exclusive = { focus = ARG_royal_navy_influence }
		cost = 5
		available = {
			ENG = {
				exists = yes
				has_government = democratic
				NOT = {
					has_war_with = ROOT
					is_subject = yes
				}
			}
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_AIR_XP }

		completion_reward = { 
			air_experience = 25
			add_breakthrough_progress = {
				specialization = specialization_air
				value = 0.25
			}
			add_tech_bonus = {
			 	name = ARG_royal_airforce_influence_bonus
			 	bonus = 0.4 # was 0.5
			 	uses = 3
			 	category = air_equipment 
			 } 

			 IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
					has_dlc = "By Blood Alone"
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = small_plane_airframe
					seller_tags = { ENG } 
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = small_plane_cas_airframe
					seller_tags = { ENG } 
				}

				add_equipment_subsidy = {
					cic = 200
					equipment_type = medium_plane_airframe
					seller_tags = { ENG } 
				}
			}

			ELSE_IF = {
				limit = {
					has_dlc = "By Blood Alone"
					NOT = {
						has_dlc = "Arms Against Tyranny"
					}
				}
				add_equipment_to_stockpile = { 
					type = small_plane_airframe
					amount = 200
					producer = ENG
				}
				add_equipment_to_stockpile = { 
					type = small_plane_cas_airframe
					amount = 100
					producer = ENG
				}
			}

			ELSE = {
				add_equipment_to_stockpile = { 
					type = fighter_equipment_1
					amount = 200
					producer = ENG
				}
				add_equipment_to_stockpile = { 
					type = CAS_equipment_1
					amount = 100
					producer = ENG
				}
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_royal_navy_influence
		icon = GFX_focus_generic_navy_battleship2
		prerequisite = { focus = ARG_british_gaurantee }
		x = 1
		y = 1
		relative_position_id = ARG_british_gaurantee
		mutually_exclusive = { focus = ARG_royal_airforce_influence }
		cost = 5
		available = {
			ENG = {
				exists = yes
				has_government = democratic
				NOT = {
					has_war_with = ROOT
					is_subject = yes
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH FOCUS_FILTER_NAVY_XP}

		completion_reward = { 
			navy_experience = 25
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}
			add_tech_bonus = {
			 	name = ARG_royal_navy_influence_bonus
			 	bonus = 0.4 # was 0.5
			 	uses = 3
			 	category = naval_equipment 
			 } 

			 IF = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_equipment_subsidy = {
					cic = 500
					equipment_type = convoy #you know why I like ships? no subsidies for ships! No ship, only convoy!
					seller_tags = { ENG } 
				}
			}
			ELSE = {
				add_equipment_to_stockpile = { 
					type = convoy #you know why I like ships? no subsidies for ships! No ship, only convoy!
					amount = 200
					producer = ENG
				}
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_reinforced_alliance
		icon = GFX_focus_generic_diplomatic_treaty
		prerequisite = { focus = ARG_royal_navy_influence focus = ARG_royal_airforce_influence }
		x = 1
		y = 1
		relative_position_id = ARG_royal_airforce_influence
		cost = 10
		available = {

		ENG = {
				exists = yes
				has_government = democratic
				NOT = {
					has_war_with = ROOT
					is_subject = yes
				}
			}
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY}

		completion_reward = { 

			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}

			add_stability = 0.05

			hidden_effect = {
				ENG = {
				country_event = {
					id = ARG_political_events.73
					hours = 3 # optional - can take hours/days/months
				}
			}
		}

		custom_effect_tooltip = ARG_reinforced_alliance.tt
	}
}

	focus = { #DEMOCRATIC
		id = ARG_us_army_training
		icon = GFX_focus_usa_recruit_the_free_corps
		prerequisite = { focus = ARG_seek_american_support }
		x = -1
		y = 1
		relative_position_id = ARG_seek_american_support
		mutually_exclusive = { focus = ARG_american_defense_investments }
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_ideas = ARG_us_army_training_idea
			add_tech_bonus = {
				name = ARG_us_army_training_bonus
				bonus = 0.25
				uses = 2
				category = cat_special_forces_generic
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_american_defense_investments
		icon = GFX_focus_FIN_coastal_defense
		prerequisite = { focus = ARG_seek_american_support }
		x = 1
		y = 1
		relative_position_id = ARG_seek_american_support
		mutually_exclusive = { focus = ARG_us_army_training }
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			278 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			510 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
			957 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = anti_air_building
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_joint_military_exercises
		icon = GFX_focus_generic_military_academy
		prerequisite = { focus = ARG_us_army_training focus = ARG_american_defense_investments }
		x = 1
		y = 1
		relative_position_id = ARG_us_army_training
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_AIR_XP FOCUS_FILTER_NAVY_XP}

		completion_reward = {

			air_experience = 50
			navy_experience = 50

			hidden_effect = {
				USA = {
				country_event = {
				id = ARG_political_events.90
				hours = 1
				} 
			}
		}
	}
}

	focus = { #DEMOCRATIC
		id = ARG_join_the_allies
		icon = GFX_focus_ARG_help_the_allies
		prerequisite = { focus = ARG_joint_military_exercises focus = ARG_reinforced_alliance focus = ARG_alvears_democracy focus = ARG_the_american_push }
		x = -1
		y = 3
		relative_position_id = ARG_reinforced_alliance
		mutually_exclusive = { focus = ARG_bastion_of_democracy focus = ARG_maintain_neutrality }
		cost = 10
		available = {
			any_country = {
				is_major = yes
				has_government = democratic 
				is_faction_leader = yes 
			}
			is_in_faction = no
			is_subject = no
		}

		bypass = {
			is_in_faction_with = ENG
			has_government = democratic
			ENG = { has_government = democratic }
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			
			random_country = {
				LIMIT = {
					is_major = yes
					has_government = democratic 
					is_faction_leader = yes 
					OR ={
						original_tag = ENG
						original_tag = USA
					}
				}
				country_event = generic.2
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_bastion_of_democracy
		icon = GFX_focus_ARG_bastion_of_peace
		prerequisite = { focus = ARG_joint_military_exercises focus = ARG_reinforced_alliance focus = ARG_alvears_democracy }
		x = 1
		y = 3
		relative_position_id = ARG_joint_military_exercises
		mutually_exclusive = { focus = ARG_join_the_allies }
		cost = 10
		available = {
			is_subject = no
			is_in_faction = no
		}

		bypass = {
			is_in_faction = yes
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = { 

			add_political_power = 50
			add_war_support = 0.05

			create_faction = ARG_democratic_faction	

			hidden_effect = {
				set_rule = { can_send_volunteers = yes }
				set_rule = { can_create_factions = yes }
				set_rule = { can_join_factions = no }
			}
		}
	}

	######################################
	#### COOPERATION FOREIGN POLICIES ####
	######################################

	focus = { #COOPERATION
		id = ARG_align_with_the_monroe_doctrine
		icon = GFX_focus_ARG_align_with_the_monroe_doctrine
		prerequisite = { focus = ARG_join_the_allies focus = ARG_bastion_of_democracy }
		x = -2
		y = 1
		relative_position_id = ARG_join_the_allies
		#mutually_exclusive = { focus = ARG_dominate_the_south }
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { }

		completion_reward = { 
			add_timed_idea = {
				idea = ARG_monroe_doctrine_idea
				days = 730
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_south_american_alliance
		icon = GFX_focus_ARG_pan_american_cooperation
		prerequisite = { focus = ARG_align_with_the_monroe_doctrine }
		x = 0
		y = 1
		relative_position_id = ARG_align_with_the_monroe_doctrine
		cost = 10
		available = {
			NOT = {
				OR = {
					has_completed_focus = ARG_joint_military_exercises
					has_completed_focus = ARG_reinforced_alliance
				}
			}
			has_government = democratic

			any_country = {
				NOT = {
					OR = {
						tag = ROOT
						has_war_with = ROOT
					}
				}
				capital_scope = {
					is_on_continent = south_america
				}
				
				has_government = democratic
				is_in_faction = no
			}

			is_subject = no
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			every_country = {
				limit = {
					NOT = {
						OR = {
							tag = ROOT
							has_war_with = ROOT
						}
					}
					capital_scope = {
						is_on_continent = south_america
					}

					has_government = democratic
					is_in_faction = no

					NOT = {
						OR = {
							original_tag = GYA
							original_tag = SUR
							original_tag = CAY
							original_tag = HAI
							original_tag = BAH
							original_tag = JAM
							original_tag = GDL
							original_tag = BAS
							original_tag = TRI
							original_tag = ELS
							original_tag = MEX
							original_tag = DOM
						}
					}
				}
				country_event = { 
					id = ARG_political_events.100
					days = 2
				}	
			}
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_bolstering_the_army
		icon = GFX_focus_ARG_recruitment_drive
		prerequisite = { focus = ARG_south_american_alliance }
		x = 0
		y = 1
		relative_position_id = ARG_south_american_alliance
		cost = 5
		available = {
			
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			army_experience = 50
			add_manpower = 20000
		}
	}

	focus = { #DEMOCRATIC
		id = ARG_the_second_argentine_republic
		icon = GFX_focus_ARG_the_second_argentine_republic
		prerequisite = { focus = ARG_bolstering_the_army }
		x = 0
		y = 1
		relative_position_id = ARG_bolstering_the_army
		cost = 5
		available = {
			
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			set_cosmetic_tag = ARG_independent_democracy_democratic

			custom_effect_tooltip = ARG_the_second_argentine_republic_tt

			hidden_effect = {
				every_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
					has_government = democratic
				}
				ARG = {
					give_guarantee = PREV
				}
			}
		}
	}
}

	focus = { #COOPERATION
		id = ARG_envoy_to_london
		icon = GFX_focus_ARG_envoy_to_london
		prerequisite = { focus = ARG_align_with_the_monroe_doctrine }
		x = 2
		y = 1
		relative_position_id = ARG_align_with_the_monroe_doctrine
		cost = 10
		available = {
			any_other_country = {
				original_tag = ENG
				has_war_with_major = yes
				has_government = democratic
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { }

		completion_reward = { 
			add_timed_idea = {
			idea = ARG_envoy_to_london_idea
			days = 730
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_study_the_battle_of_the_river_plate
		icon = GFX_focus_ARG_study_the_battle_of_the_river_plate
		prerequisite = { focus = ARG_envoy_to_london }
		x = 0
		y = 1
		relative_position_id = ARG_envoy_to_london
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			add_doctrine_cost_reduction = {
				cost_reduction = 0.5
				uses = 1
				category = naval_doctrine
			}
			add_breakthrough_progress = {
				specialization = specialization_naval
				value = 0.25
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_islas_del_atlantico_sur
		icon = GFX_focus_ARG_islas_del_atlantico_sur
		prerequisite = { focus = ARG_envoy_to_london }
		x = 2
		y = 1
		relative_position_id = ARG_envoy_to_london
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { }

		completion_reward = { 
			ENG = {
				country_event = {
				id = ARG_political_events.5
				hours = 1
			}
		}
	}
}

	focus = { #COOPERATION
		id = ARG_improving_the_islands
		icon = GFX_focus_ARG_improving_the_islands
		prerequisite = { focus = ARG_islas_del_atlantico_sur }
		x = 0
		y = 1
		relative_position_id = ARG_islas_del_atlantico_sur
		cost = 10
		available = {

			299 = {
				is_owned_and_controlled_by = ROOT
			}
			720 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { }

		completion_reward = { 
			
			299 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}	
				add_building_construction = {
					type = coastal_bunker
					level = 4
					instant_build = yes
					province = 12960
				}	
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 12960
				}	
			}

			720 = {
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = dockyard
					level = 2
					instant_build = yes
				}	
				add_building_construction = {
					type = coastal_bunker
					level = 4
					instant_build = yes
					province = 10995
				}	
				add_building_construction = {
					type = naval_base
					level = 2
					instant_build = yes
					province = 10995
				}	
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_firmes_volamos
		icon = GFX_focus_ARG_firmes_volamos
		prerequisite = { focus = ARG_study_the_battle_of_the_river_plate }
		x = 0
		y = 1
		relative_position_id = ARG_study_the_battle_of_the_river_plate
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { }

		completion_reward = { 
			add_ideas = ARG_raf_cooperation_idea
		}
	}

	focus = { #COOPERATION
		id = ARG_extinguish_south_american_fascism
		icon = GFX_focus_generic_anti_fascist_diplomacy
		prerequisite = { focus = ARG_firmes_volamos focus = ARG_the_second_argentine_republic }
		x = 0
		y = 1
		relative_position_id = ARG_firmes_volamos
		cost = 10
		available = {
			any_country = {
				capital_scope = {
					is_on_continent = south_america
				}
				has_government = fascism
				NOT = {
					OR = {
						original_tag = ELS
						original_tag = MEX
						original_tag = DOM
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {

		custom_effect_tooltip = ARG_no_fascism_in_south_america_tt

		hidden_effect = {
			every_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
					has_government = fascism
					NOT = {
						OR = {
							original_tag = ELS
							original_tag = MEX
							original_tag = DOM
						}
					}
				}
				ARG = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					}
				}
			}
		}
	}
}

	focus = { #COOPERATION
		id = ARG_american_allyship
		icon = GFX_focus_ARG_american_allyship
		prerequisite = { focus = ARG_align_with_the_monroe_doctrine }
		x = -2
		y = 1
		relative_position_id = ARG_align_with_the_monroe_doctrine
		cost = 10
		available = {
			any_other_country = {
				original_tag = USA
				has_war_with_major = yes
				has_government = democratic
				NOT = {
					has_war_with = ROOT
				}
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			
			add_timed_idea = {
			idea = ARG_american_allyship_idea
			days = 730
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_us_marine_program
		icon = GFX_goal_generic_special_forces
		prerequisite = { focus = ARG_american_allyship }
		x = 0
		y = 1
		relative_position_id = ARG_american_allyship
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			add_doctrine_cost_reduction = {
			name = ARG_us_marine_program_doctrine
			cost_reduction = 0.5
			uses = 1
			category = special_forces_doctrine
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_counter_intelligence_program
		icon = GFX_focus_SWI_embrace_rote_drei
		prerequisite = { focus = ARG_american_allyship }
		x = -2
		y = 1
		relative_position_id = ARG_american_allyship
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 

			IF = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = no
				}
				create_intelligence_agency = { 
					name = "S.I."
					icon = GFX_intelligence_agency_logo_ARG_intelligence
				}
				upgrade_intelligence_agency = upgrade_passive_defense 
			}
			ELSE = {
				add_ideas = ARG_counter_interlligence_program_idea
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_end_operation_bolivar
		icon = GFX_focus_ARG_end_operation_bolivar
		prerequisite = { focus = ARG_counter_intelligence_program }
		x = 0
		y = 1
		relative_position_id = ARG_counter_intelligence_program
		cost = 5
		available = {
			any_country = {
				original_tag = GER
				NOT = {
					has_government = ARG
				}
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			IF = {
				limit = {
					has_dlc = "La Resistance"
				}
				add_ideas = ARG_disrupt_bolivar_lar
			}
			ELSE = {
				add_ideas = ARG_disrupt_bolivar_no_lar
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_encourage_the_red_scare
		icon = GFX_focus_SOV_builder_of_the_red_army
		prerequisite = { focus = ARG_us_marine_program }
		x = 0
		y = 1
		relative_position_id = ARG_us_marine_program
		cost = 10
		available = {
			any_other_country = {
				original_tag = SOV
				has_government = communism
				exists = yes
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			SOV = {
				add_opinion_modifier = {
				target = ROOT
				modifier = ARG_red_scare_idea
				}
			}

			ROOT = {
				add_opinion_modifier = {
				target = SOV
				modifier = ARG_red_scare_idea
				}
			}

			add_timed_idea = {
			idea = ARG_anti_soviet_idea
			days = 730
			}
		}
	}

	focus = { #COOPERATION
		id = ARG_extinguish_south_american_communism
		icon = GFX_goal_anti_comintern_pact
		prerequisite = { focus = ARG_encourage_the_red_scare focus = ARG_the_second_argentine_republic }
		x = 0
		y = 1
		relative_position_id = ARG_encourage_the_red_scare
		cost = 10
		available = {
			any_country = {
				capital_scope = {
					is_on_continent = south_america
				}
				has_government = communism
				NOT = {
					OR = {
						original_tag = ELS
						original_tag = MEX
						original_tag = DOM
					}
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = {

		custom_effect_tooltip = ARG_no_communism_in_south_america_tt

		hidden_effect = {
			every_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
					has_government = communism
				}
				ARG = {
					create_wargoal = {
						type = puppet_wargoal_focus
						target = PREV
					} 
				}
			}
		}
	}
}

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

	focus = { #COMMUNIST
		id = ARG_a_call_to_reform
		icon = GFX_focus_SWE_socialist_reforms
		#prerequisite = { focus = ARG_preparation_for_the_elections }
		x = -12
		y = 0
		#relative_position_id = ARG_preparation_for_the_elections
		cost = 10
		mutually_exclusive = { focus = ARG_roberto_maria_ortiz focus = ARG_the_clean_election }
		available = {
		}

		allow_branch = {
			IF = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				NOT = { has_completed_focus = ARG_roberto_maria_ortiz }
				NOT = { has_completed_focus = ARG_the_clean_election }
			}
		}

		ai_will_do = {
			factor = 15 #what are you doing here ai! 5 less than historical, go on, go take that!
		}

		search_filters = { FOCUS_FILTER_POLITICAL}

		completion_reward = { 
			add_political_power = 120
			add_popularity = {
				ideology = communism 
				popularity = 0.05
			}
			add_stability = -0.05

			remove_dynamic_modifier = {
				modifier = ARG_political_corruption_modifier
			}
			swap_ideas = {
				remove_idea = ARG_infamous_decade_idea
  				add_idea = ARG_infamous_decade_4_idea 	
			}
			if = {
				limit = {
					has_game_rule = {
						rule = obsolete_focus_branches_visibility
						option = HIDE
					}
				}
				mark_focus_tree_layout_dirty = yes
			} 
		}
	}

	focus = { #COMMUNIST
		id = ARG_invite_ghioldi_back_to_argentina
		icon = GFX_focus_ARG_invite_ghioldi_back_to_argentina
		prerequisite = { focus = ARG_a_call_to_reform }
		x = 0
		y = 1
		relative_position_id = ARG_a_call_to_reform
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = { 

		custom_effect_tooltip = ARG_invite_ghioldi_back_tt
			
			add_popularity = {
				ideology = communism 
				popularity = 0.05
			}	

		hidden_effect = {
			set_country_flag = ARG_ghioldi_returns
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_support_the_spanish_republicans
		icon = GFX_focus_generic_befriend_republican_spain_focus
		prerequisite = { focus = ARG_a_call_to_reform }
		x = 2
		y = 1
		relative_position_id = ARG_a_call_to_reform
		cost = 5
		available = {
			NOT = { has_global_flag = scw_over }
			any_other_country = {
				original_tag = SPR
				OR = {
					has_completed_focus = SPR_the_anti_fascist_workers_revolution
					has_completed_focus = SPR_maintain_the_second_republic
				}
			}
		}

		ai_will_do = {
			factor = 20
		}

		cancel_if_invalid = yes
		continue_if_invalid = no

		search_filters = { }

		completion_reward = { 
			add_political_power = 50
			add_stability = -0.05
			add_relation_modifier = {
				target = SPD
				modifier  = ETH_support_spain_static_modifier #this does not show up in the ui, is that intended or should there be an idea instead?
			}
			add_relation_rule_override = {
				target = SPD
				can_send_volunteers = yes 
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_legitimize_the_PCA
		icon = GFX_focus_ARG_legitimize_the_PCA
		prerequisite = { focus = ARG_invite_ghioldi_back_to_argentina }
		x = 0
		y = 1
		relative_position_id = ARG_invite_ghioldi_back_to_argentina
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_popularity = {
				ideology = communism 
				popularity = 0.1
			}

			add_popularity = {
				ideology = fascism
				popularity = -0.05
			}

			add_popularity = {
				ideology = neutrality
				popularity = -0.05
			}
			add_manpower = 5000
		}
	}

	focus = { #COMMUNIST
		id = ARG_reach_out_to_the_soviet_union
		icon = GFX_focus_chi_mission_to_the_soviet_union
		prerequisite = { focus = ARG_legitimize_the_PCA }
		x = -1
		y = 1
		relative_position_id = ARG_legitimize_the_PCA
		cost = 5
		available = {
			SOU = {
				has_government = communism
			}
			has_civil_war = no
			NOT = {
				has_completed_focus = ARG_viva_la_revolucion
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			custom_effect_tooltip = ARG_reach_out_to_the_soviet_union_tt
		}
	}

	focus = { #COMMUNIST
		id = ARG_unite_the_workers_of_argentina
		icon = GFX_focus_generic_workers_and_farmers_rise
		prerequisite = { focus = ARG_legitimize_the_PCA }
		x = 1
		y = 1
		relative_position_id = ARG_legitimize_the_PCA
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			add_timed_idea = {
				idea = ARG_united_workers_idea
				days = 365
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_viva_la_revolucion
		icon = GFX_focus_SWE_refuge_for_revolutionaries
		prerequisite = { focus = ARG_reach_out_to_the_soviet_union focus = ARG_unite_the_workers_of_argentina }
		x = 1
		y = 1
		relative_position_id = ARG_reach_out_to_the_soviet_union
		cost = 10
		available = {
			communism > 0.6
		}

		ai_will_do = {
			factor = 5 #don't start stuff you can't finish ai
		}

		search_filters = { FOCUS_FILTER_POLITICAL }

		completion_reward = { 

			custom_effect_tooltip = ARG_communist_civil_war_tt

				start_civil_war = {
					ruling_party = communism
					ideology = neutrality
					size = 0.1
					army_ratio = 0.4
		    		navy_ratio = 0.4
		    		air_ratio = 0.4
		    		states = all
		    		states_filter = {
		    			is_controlled_by = ARG
		    			NOT = {
		    				state = 960
		    				state = 956
		    				state = 958
		    				state = 511
		    				state = 512
		    				state = 955
		    				state = 954
		    				state = 953
		    			}
		    		}
		
		    		keep_all_characters = yes
		    		PREV = {  # Original country
	            		ARG_agustin_pedro_justo = { # Character
	            		    set_nationality = PREV.PREV
							promote_leader = yes
	            		    # Transfers to breakaway
	            		}
		
	            		PREV = {
	            			retire_country_leader = yes
	            		}
	            	}
		    	}
	
				ARG_rodolfo_ghioldi = { 
					promote_character = yes 
				}

				set_cosmetic_tag = ARG_marxism

				if = {
					limit = {
						has_completed_focus = ARG_reach_out_to_the_soviet_union
					}

					division_template = {
						name = "Vanguardia Socialista"		
						#division_names_group = SWE_BS_01
						is_locked = no
						template_counter = 69
						regiments = {
							militia = { x = 0 y = 0 }
							militia = { x = 0 y = 1 }
							militia = { x = 1 y = 0 }
							militia = { x = 1 y = 1 }
						}
						#division_cap = 0
					}
				hidden_effect = {
					955 = { 
				create_unit = {
				    division = "name = \"Primera Vanguardia Socialista\" division_template = \"Vanguardia Socialista\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Segunda Vanguardia Socialista\" division_template = \"Vanguardia Socialista\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Tercera Vanguardia Socialista\" division_template = \"Vanguardia Socialista\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Cuarta Vanguardia Socialista\" division_template = \"Vanguardia Socialista\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
				create_unit = {
				    division = "name = \"Quinta Vanguardia Socialista\" division_template = \"Vanguardia Socialista\" start_experience_factor = 0.8 start_equipment_factor = 1"
				    owner = ROOT
				}
			}
		}
	}
				
		news_event = { id = ARG_news_events.3 hours = 1 }
	}
}

	focus = { #COMMUNIST
		id = ARG_forge_our_own_future
		icon = GFX_focus_ARG_forge_our_own_future
		prerequisite = { focus = ARG_viva_la_revolucion }
		x = 4
		y = 1
		relative_position_id = ARG_viva_la_revolucion
		mutually_exclusive = { focus = ARG_align_with_the_soviets }
		cost = 10
		available = {
			is_subject = no
			has_civil_war = no
			is_in_faction = no
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER }

		completion_reward = { 

			ARG_fanny_edelman = { 
					promote_character = yes 
				}

				create_faction = ARG_communist_faction

				hidden_effect = {
					IF = {
						limit = {
							has_idea = ARG_fanny_edelman
						}
						remove_ideas = ARG_fanny_edelman
					}
				}
			}
		}

	focus = { #COMMUNIST
		id = ARG_women_in_industry
		icon = GFX_focus_ARG_women_in_industry
		prerequisite = { focus = ARG_forge_our_own_future }
		x = 0
		y = 1
		relative_position_id = ARG_forge_our_own_future
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_ideas = ARG_women_in_industry_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_support_the_farmers
		icon = GFX_focus_prc_agrarian_socialism
		prerequisite = { focus = ARG_women_in_industry }
		x = -1
		y = 1
		relative_position_id = ARG_women_in_industry
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			add_ideas = ARG_agrarian_reforms_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_socialist_volunteers
		icon = GFX_focus_generic_limited_social_mobilization
		prerequisite = { focus = ARG_women_in_industry }
		x = 1
		y = 1
		relative_position_id = ARG_women_in_industry
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			add_ideas = ARG_socialist_volunteers_idea

			set_rule = { can_send_volunteers = yes }
		}
	}

	focus = { #COMMUNIST
		id = ARG_the_buenos_aires_conference
		icon = GFX_focus_ARG_the_buenos_aires_conference
		prerequisite = { focus = ARG_support_the_farmers focus = ARG_socialist_volunteers }
		x = 1
		y = 3
		relative_position_id = ARG_support_the_farmers
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 

		custom_effect_tooltip = ARG_the_buenos_aires_conference_1_tt
		custom_effect_tooltip = CHL_skip_one_line_tt
		custom_effect_tooltip = ARG_the_buenos_aires_conference_2_tt

		hidden_effect = {
			ARG = {
				country_event = {
					id = ARG_political_events.70
					days = 1
					}
				}
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_align_with_the_soviets
		icon = GFX_focus_generic_join_comintern
		prerequisite = { focus = ARG_viva_la_revolucion }
		x = -4
		y = 1
		relative_position_id = ARG_viva_la_revolucion
		mutually_exclusive = { focus = ARG_forge_our_own_future }
		cost = 10
		available = {
			has_civil_war = no
			NOT = { has_war_with = SOU }
			is_subject = no
			is_in_faction = no
			NOT = {
				any_other_country = {
					is_in_faction_with = SOU
					has_war_with = ARG	
				}
			}
			SOU = {
				is_faction_leader = yes
				has_government = communism
				is_subject = no
			}
		}

		ai_will_do = {
			factor = 20
		}

		bypass = {
			AND = { 
				is_in_faction_with = SOU
				SOU = {
					is_faction_leader = yes
					has_government = communism
				}
			} 
		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = yes

		search_filters = { }

		completion_reward = { 
			SOU = {
				add_opinion_modifier = {
				target = ROOT
				modifier = ARG_soviet_argentine_relations_idea
				}
			}

			ROOT = {
				add_opinion_modifier = {
				target = SOU
				modifier = ARG_soviet_argentine_relations_idea
				}
			}

			SOU = {
				country_event = generic.2
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_soviet_industrial_model
		icon = GFX_focus_SOV_organize_wreckers
		prerequisite = { focus = ARG_align_with_the_soviets }
		x = 0
		y = 1
		relative_position_id = ARG_align_with_the_soviets
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			278 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			956 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_committee_of_state_security
		icon = GFX_focus_generic_secret_service_agency
		prerequisite = { focus = ARG_soviet_industrial_model }
		x = -1
		y = 1
		relative_position_id = ARG_soviet_industrial_model
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			IF = {
				limit = {
					has_dlc = "La Resistance"
					has_intelligence_agency = no
				}
				create_intelligence_agency = { 
					name = "S.I."
					icon = GFX_intelligence_agency_logo_ARG_intelligence
				}
				upgrade_intelligence_agency = upgrade_anti_partisan
				add_ideas = ARG_committee_of_state_security_idea_lar
			}
			ELSE = {
				add_ideas = ARG_committee_of_state_security_idea_no_lar
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_russian_manufacturers
		icon = GFX_focus_generic_communist_industry
		prerequisite = { focus = ARG_soviet_industrial_model }
		x = 1
		y = 1
		relative_position_id = ARG_soviet_industrial_model
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { }

		completion_reward = { 
			IF = {
				limit = {
						has_dlc = "Arms Against Tyranny"
				}	
				custom_effect_tooltip = available_mio_tt
				show_mio_tooltip = SOV_rubin_design_bureau_organization
				show_mio_tooltip = SOV_mig_design_bureau_organization
				show_mio_tooltip = SOV_gaz_organization

				mio:SOV_rubin_design_bureau_organization = {
					add_mio_size = 1
				}
				mio:SOV_mig_design_bureau_organization = {
					add_mio_size = 1
				}
				mio:SOV_gaz_organization = {
					add_mio_size = 4
				}
			}
			ELSE = {
				custom_effect_tooltip = available_designer
				show_ideas_tooltip = SOV_rubin_design_bureau
				show_ideas_tooltip = SOV_mig_design_bureau
				show_ideas_tooltip = SOV_gaz
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_centralize_power
		icon = GFX_focus_ARG_centralize_power
		prerequisite = { focus = ARG_russian_manufacturers focus = ARG_committee_of_state_security }
		x = 1
		y = 3
		relative_position_id = ARG_committee_of_state_security
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER}

		completion_reward = { 
			
			add_popularity = {
				popularity = 0.2
				ideology = communism 
			}

			add_manpower = 50000

			add_political_power = 100

			hidden_effect = {
				
				ARG_rodolfo_ghioldi = {  
						set_portraits = {
						army = { large ="GFX_portrait_ARG_rodolfo_ghioldi_soviet"}
						civilian = { large ="GFX_portrait_ARG_rodolfo_ghioldi_soviet" 	}
					}
				}
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_workers_rights
		icon = GFX_focus_generic_full_employment
		prerequisite = { focus = ARG_forge_our_own_future focus = ARG_align_with_the_soviets }
		x = 4
		y = 1
		relative_position_id = ARG_align_with_the_soviets
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = { 
			add_stability = 0.1
			add_ideas = ARG_state_unions_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_reform_our_industry
		icon = GFX_goal_generic_soviet_construction
		prerequisite = { focus = ARG_workers_rights }
		x = 0
		y = 1
		relative_position_id = ARG_workers_rights
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 3
					instant_build = yes
				}	
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_empower_the_fjc
		icon = GFX_focus_ARG_empower_the_fjc
		prerequisite = { focus = ARG_reform_our_industry }
		x = 0
		y = 1
		relative_position_id = ARG_reform_our_industry
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = { 
			add_ideas = ARG_FJC_empowered_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_state_atheism
		icon = GFX_focus_ARG_state_atheism
		prerequisite = { focus = ARG_empower_the_fjc }
		x = -1
		y = 1
		relative_position_id = ARG_empower_the_fjc
		mutually_exclusive = { focus = ARG_liberation_theology }
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_RESEARCH}

		completion_reward = { 
			add_ideas = ARG_state_atheism_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_liberation_theology
		icon = GFX_focus_ARG_liberation_theology
		prerequisite = { focus = ARG_empower_the_fjc }
		x = 1
		y = 1
		relative_position_id = ARG_empower_the_fjc
		mutually_exclusive = { focus = ARG_state_atheism }
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_POLITICAL }

		completion_reward = { 
			add_ideas = ARG_liberation_theology_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_socialist_researchers
		icon = GFX_focus_generic_socialist_science
		prerequisite = { focus = ARG_state_atheism focus = ARG_liberation_theology }
		x = 1
		y = 1
		relative_position_id = ARG_state_atheism
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_RESEARCH}

		completion_reward = { 
			add_research_slot = 1
		}
	}

	focus = { #COMMUNIST
		id = ARG_conquer_south_america
		icon = GFX_focus_ARG_conquer_the_continent
		prerequisite = { focus = ARG_centralize_power focus = ARG_the_buenos_aires_conference }
		x = 2
		y = 1
		relative_position_id = ARG_centralize_power
		mutually_exclusive = { focus = ARG_unify_south_america }
		cost = 10
		available = {

			NOT = {
				has_country_leader = {
					character = ARG_antonio_soto
						}
					}

			any_country = {
				capital_scope = {
					is_on_continent = south_america
				}
				NOT = {
					OR = {
						original_tag = ELS
						original_tag = MEX
						original_tag = DOM
					}
					has_government = communism
				}
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {

		custom_effect_tooltip = ARG_more_communism_in_south_america_tt

		hidden_effect = { 
			every_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
					NOT = {
					OR = {
						original_tag = ELS
						original_tag = MEX
						original_tag = DOM
					}
					has_government = communism
					}
				}
				ARG = {
					create_wargoal = {
						type = annex_everything
						target = PREV
					} 
				}
			}
		}
	}
}

	focus = { #COMMUNIST
		id = ARG_integrate_the_motherland
		icon = GFX_focus_por_latin_american_communism
		prerequisite = { focus = ARG_conquer_south_america }
		x = 0
		y = 1
		relative_position_id = ARG_conquer_south_america
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_POLITICAL FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_STABILITY}

		completion_reward = { 
			custom_effect_tooltip = ARG_south_american_unity_decisions_tt
			add_ideas = ARG_socialist_unification_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_unify_south_america
		icon = GFX_focus_ARG_unify_south_america
		prerequisite = { focus = ARG_the_buenos_aires_conference }
		x = -2
		y = 1
		relative_position_id = ARG_the_buenos_aires_conference
		mutually_exclusive = { focus = ARG_conquer_south_america }
		cost = 10
		available = {

			NOT = {
				has_country_leader = {
					character = ARG_antonio_soto
						}
					}

			has_government = communism

			any_country = {
				NOT = {
					OR = {
						tag = ROOT
						has_war_with = ROOT
					}
				}
				capital_scope = {
					is_on_continent = south_america
				}
				
				has_government = communism
				is_in_faction = no
			}

			is_subject = no

		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { }

		completion_reward = { 

		custom_effect_tooltip = ARG_unify_the_continent_tt

		hidden_effect = {
			every_country = {
				limit = {
					NOT = {
						OR = {
							tag = ROOT
							has_war_with = ROOT
						}
					}
					capital_scope = {
						is_on_continent = south_america
					}

					has_government = communism
					is_in_faction = no

					NOT = {
						OR = {
							original_tag = GYA
							original_tag = SUR
							original_tag = CAY
							original_tag = HAI
							original_tag = BAH
							original_tag = JAM
							original_tag = GDL
							original_tag = BAS
							original_tag = TRI
							original_tag = ELS
							original_tag = MEX
							original_tag = DOM
						}
					}
				}
				country_event = { 
					id = ARG_political_events.60
					days = 2
				}	
			}
		}	
	}
}

	focus = { #COMMUNIST
		id = ARG_a_red_south_america
		icon = GFX_focus_BRA_create_faction
		prerequisite = { focus = ARG_unify_south_america focus = ARG_conquer_south_america }
		x = 2	
		y = 1
		relative_position_id = ARG_conquer_south_america
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }

		completion_reward = { 

			set_cosmetic_tag = ARG_independent_socialist_communism
			add_ideas = ARG_eliminate_american_imperialism_idea
		}
	}

#	focus = { #COMMUNIST
#		id = ARG_eliminate_american_imperialism
#		#icon =
#		prerequisite = { focus = ARG_a_red_south_america }
#		x = 0
#		y = 1
#		relative_position_id = ARG_a_red_south_america
#		cost = 10
#		available = {
#			USA = {
#				OR = {
#					has_government = democratic
#					has_government = fascism
#					has_government = neutrality
#				}
#				is_subject = no
#			}
#		}
#
#		ai_will_do = {
#			factor = 10
#		}
#
#		bypass = {
#			USA = {
#				has_government = communism
#			} 
#		}
#
#		search_filters = { FOCUS_FILTER_ANNEXATION #FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT #FOCUS_FILTER_POLITICAL}
#
#		completion_reward = { 
#			create_wargoal = {
#			type = annex_everything
#			target = USA
#		}
#
#		add_ideas = ARG_eliminate_american_imperialism_idea
#		
#	}
#}

	focus = { #COMMUNIST
		id = ARG_improve_patagonia
		icon = GFX_focus_ARG_improve_patagonia
		prerequisite = { focus = ARG_the_buenos_aires_conference }
		x = 0
		y = 2
		relative_position_id = ARG_the_buenos_aires_conference
		cost = 10
		available = {

			has_country_leader = {
					character = ARG_antonio_soto
						}

			512 = {
				is_owned_and_controlled_by = ROOT
			}
			955 = {
				is_owned_and_controlled_by = ROOT
			}
			954 = {
				is_owned_and_controlled_by = ROOT
			}
			953 = {
				is_owned_and_controlled_by = ROOT
			}
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			512 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			955 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			954 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
			953 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = { #COMMUNIST
		id = ARG_establish_the_free_association
		icon = GFX_focus_ARG_establish_the_free_association
		prerequisite = { focus = ARG_improve_patagonia }
		x = 0
		y = 1
		relative_position_id = ARG_improve_patagonia
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = { 
			add_ideas = ARG_free_association_idea
		}
	}

	focus = { #COMMUNIST
		id = ARG_no_gods_no_masters
		icon = GFX_focus_ARG_no_gods_no_masters
		prerequisite = { focus = ARG_establish_the_free_association }
		x = 0
		y = 1
		relative_position_id = ARG_establish_the_free_association
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 5
		}

		search_filters = { FOCUS_FILTER_ANNEXATION FOCUS_FILTER_MANPOWER FOCUS_FILTER_WAR_SUPPORT }

		completion_reward = { 
			every_state = {
				limit = {
					is_on_continent = south_america
					
					OR = {
						has_resistance = yes
						owner = { is_subject = yes }
					}
					
					controller = { NOT = { original_tag = ROOT } }
				}
				controller = {
					ROOT = {
						create_wargoal = {
							type = liberate_wargoal
							target = PREV
						}
					}
				}
			}
			add_ideas = ARG_no_gods_no_masters_idea
		}
	}

	#########################
	#### INDUSTRIAL PATH ####
	#########################

	focus = { #INDUSTRIAL
		id = ARG_banco_central_de_la_republica_argentina
		icon = GFX_focus_ARG_banco_central_de_la_republica_argentina
		#prerequisite = { focus = }
		x = 34
		y = 0
		#relative_position_id =
		cost = 10
		available = {
		}

		offset = {
			x = -22
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ARG_the_clean_election 
			}
		}

		offset = {
			x = -34
			y = 0
			trigger = {
				has_game_rule = {
					rule = obsolete_focus_branches_visibility
					option = HIDE
				}
				has_completed_focus = ARG_a_call_to_reform 
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			custom_effect_tooltip = available_industrial_concern
				show_ideas_tooltip = ARG_banco_central_de_la_republica_argentina_idea
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_reach_out_to_the_great_powers
		icon = GFX_focus_ARG_reach_out_to_the_great_powers
		prerequisite = { focus = ARG_banco_central_de_la_republica_argentina }
		x = 0
		y = 1
		relative_position_id = ARG_banco_central_de_la_republica_argentina
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			custom_effect_tooltip = ARG_international_loan_decisions_tt
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_industrial_expansion
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = ARG_banco_central_de_la_republica_argentina }
		x = -2
		y = 1
		relative_position_id = ARG_banco_central_de_la_republica_argentina
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 

			random_owned_controlled_state = {
				limit = {
					is_core_of = ROOT
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}	
			}

			add_tech_bonus = {
				name = ARG_industrial_expansion_bonus
				bonus = 0.5
				uses = 2
				category = industry
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_production_initiative
		icon = GFX_goal_generic_production
		prerequisite = { focus = ARG_banco_central_de_la_republica_argentina }
		x = -5
		y = 1
		relative_position_id = ARG_banco_central_de_la_republica_argentina
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_tech_bonus = {
			name = ARG_tech_initiative_bonus
			bonus = 0.5
			uses = 2
			category = cat_production
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_economic_tax_reforms
		icon = GFX_focus_generic_treaty
		prerequisite = { focus = ARG_banco_central_de_la_republica_argentina }
		x = 2
		y = 1
		relative_position_id = ARG_banco_central_de_la_republica_argentina
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 
			random_core_state = {
			limit = {
				free_building_slots = {
					building = infrastructure
					size > 0
				}
				is_owned_and_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = infrastructure
				level = 2
				instant_build = yes
				}
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_economic_reactivation_act
		icon = GFX_focus_ARG_economic_reactivation_act
		prerequisite = { focus = ARG_banco_central_de_la_republica_argentina }
		x = 5
		y = 1
		relative_position_id = ARG_banco_central_de_la_republica_argentina
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_timed_idea = {
    			idea = ARG_economic_reactivation_idea
    			days = 365
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_immigration_wave
		icon = GFX_focus_ARG_immigration_wave
		prerequisite = { focus = ARG_economic_reactivation_act }
		x = 0
		y = 1
		relative_position_id = ARG_economic_reactivation_act
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { } 

		completion_reward = { 
			set_country_flag = JUNO_promote_immigration_flag
			custom_effect_tooltip = BRA_promote_immigration_to_brazil_tt
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_develop_civilian_economy
		icon = GFX_goal_generic_construct_civ_factory
		prerequisite = { focus = ARG_immigration_wave }
		x = 0
		y = 1
		relative_position_id = ARG_immigration_wave
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 20 #oh yes, civs for the ai god
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			random_core_state = {
			limit = {
				free_building_slots = {
					building = industrial_complex
					size > 0
					include_locked = yes
				}
				is_owned_and_controlled_by = ROOT
			}
			add_extra_state_shared_building_slots = 2
			add_building_construction = {
				type = industrial_complex
				level = 2
				instant_build = yes
				}
			}

			add_timed_idea = {
    			idea = ARG_civilian_economy_boost_idea
    			days = 365
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_the_argentinian_metropole
		icon = GFX_focus_generic_industry_3
		prerequisite = { focus = ARG_develop_civilian_economy }
		x = 0
		y = 1
		relative_position_id = ARG_develop_civilian_economy
		cost = 10
		available = {
			278 = {
				is_controlled_by = ROOT
			}
		}

		ai_will_do = {
			factor = 20
		}

		search_filters = { FOCUS_FILTER_STABILITY FOCUS_FILTER_MANPOWER FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_ideas = ARG_argentine_metropole_idea
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_invest_in_the_roads
		icon = GFX_focus_generic_improve_roads
		prerequisite = { focus = ARG_economic_tax_reforms }
		x = -1
		y = 1
		relative_position_id = ARG_economic_tax_reforms
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_timed_idea = {
    			idea = ARG_invest_in_roads_idea
    			days = 365
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_invest_in_the_railways
		icon = GFX_focus_generic_railroad
		prerequisite = { focus = ARG_economic_tax_reforms }
		x = 1
		y = 1
		relative_position_id = ARG_economic_tax_reforms
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_timed_idea = {
    			idea = ARG_invest_in_railways_idea
    			days = 365
			}

			custom_effect_tooltip = CHL_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = ARG_ferrocarriles_argentinos
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_expand_steel_extraction
		icon = GFX_focus_generic_steel
		prerequisite = { focus = ARG_invest_in_the_roads focus = ARG_invest_in_the_railways }
		x = 0
		y = 1
		relative_position_id = ARG_invest_in_the_roads
		cost = 10
		available = {
			958 = {
				is_controlled_by =  ROOT
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 

			958 = {
				add_resource = {
					type = steel
					amount = 8
				}	
			}

			IF = {
				limit = {
					NOT = {
						has_idea = ARG_resource_extration_focus
					}
				}
				add_timed_idea = {
					idea = ARG_resource_extration_focus
					days = 365
				}	
			}
			
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_expand_aluminum_extraction
		icon = GFX_focus_generic_aluminum
		prerequisite = { focus = ARG_invest_in_the_railways focus = ARG_invest_in_the_roads }
		x = 0
		y = 1
		relative_position_id = ARG_invest_in_the_railways
		cost = 10
		available = {
			959 = {
				is_controlled_by =  ROOT
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 

			959 = {
				add_resource = {
					type = aluminium
					amount = 8
				}	
			}

			IF = {
				limit = {
					NOT = {
						has_idea = ARG_resource_extration_focus
					}
				}
				add_timed_idea = {
					idea = ARG_resource_extration_focus
					days = 365
				}	
			}

		}
	}

	focus = { #INDUSTRIAL
		id = ARG_yacimientos_petroliferos_fiscales
		icon = GFX_focus_ARG_yacimientos_petroliferos_fiscales
		prerequisite = { focus = ARG_expand_aluminum_extraction focus = ARG_expand_steel_extraction }
		x = 1
		y = 1
		relative_position_id = ARG_expand_steel_extraction
		cost = 10
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { }

		completion_reward = { 

			custom_effect_tooltip = ARG_yacimientos_petroliferos_fiscales_tt

			custom_effect_tooltip = CHL_skip_one_line_tt

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = ARG_yacimientos_petroliferos_fiscales_idea

		}
	}

	focus = { #INDUSTRIAL
		id = ARG_rapid_urbanization
		icon = GFX_focus_ARG_rapid_urbanization
		prerequisite = { focus = ARG_industrial_expansion }
		x = -1
		y = 1
		relative_position_id = ARG_industrial_expansion
		cost = 10
		available = {
			278 = {
				is_controlled_by = ROOT
			}
			958 = {
				is_controlled_by = ROOT
			}
			956 = {
				is_controlled_by = ROOT
			}
		}

		ai_will_do = {
			factor = 15
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 

			278 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			958 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			956 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

		}
	}

	focus = { #INDUSTRIAL
		id = ARG_agricultural_improvements
		icon = GFX_focus_generic_agricultural_subsidies
		prerequisite = { focus = ARG_industrial_expansion }
		x = 1
		y = 1
		relative_position_id = ARG_industrial_expansion
		cost = 10
		available = {
			OR = {
				512 = { is_owned_and_controlled_by = ROOT }
				954 = { is_owned_and_controlled_by = ROOT }
				955 = { is_owned_and_controlled_by = ROOT }
			}
		}

		ai_will_do = {
			factor = 12 #not all can be done in 5's, I'm sorry
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			IF = {
				limit = {
					512 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				512 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			IF = {
				limit = {
					954 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				954 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
			IF = {
				limit = {
					955 = {
						is_owned_and_controlled_by = ROOT
					}
				}
				955 = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = infrastructure
						level = 1
						instant_build = yes
					}
				}
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_military_production_lines
		icon = GFX_goal_generic_construct_mil_factory
		prerequisite = { focus = ARG_rapid_urbanization focus = ARG_agricultural_improvements }
		x = 0
		y = 1
		relative_position_id = ARG_rapid_urbanization
		cost = 10
		available = {
			278 = {
				is_controlled_by = ROOT
			}
			956 = {
				is_controlled_by = ROOT
			}
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			278 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}

			956 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_capitalize_the_beef_industry
		icon = GFX_focus_ARG_capitalize_the_beef_industry
		prerequisite = { focus = ARG_agricultural_improvements focus = ARG_rapid_urbanization }
		x = 0
		y = 1
		relative_position_id = ARG_agricultural_improvements
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			add_ideas = ARG_argentine_beef_idea
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_revisit_the_roca_runciman_treaty
		icon = GFX_focus_ARG_revisit_the_roca_runciman_treaty
		prerequisite = { focus = ARG_capitalize_the_beef_industry focus = ARG_military_production_lines }
		x = 0
		y = 1
		relative_position_id = ARG_military_production_lines
		cost = 10
		available = {
			NOT = {
				has_completed_focus = ARG_cut_ties_with_britain
			}
		}

		ai_will_do = {
			factor = 15
		}

		mutually_exclusive = {
			focus = ARG_a_new_trading_partner
		} 

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 
			swap_ideas = {
  				remove_idea = ARG_roca_runciman_treaty_idea
  				add_idea = ARG_eden_malbran_treaty_idea 				
  			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_a_new_trading_partner
		icon = GFX_focus_ARG_a_new_trading_partner
		prerequisite = { focus = ARG_capitalize_the_beef_industry focus = ARG_military_production_lines }
		x = 2
		y = 1
		relative_position_id = ARG_military_production_lines
		cost = 10
		available = {
			is_in_faction = yes
			OR = {
				has_completed_focus = ARG_cut_ties_with_britain
				has_completed_focus = ARG_viva_la_revolucion
			}
			has_civil_war = no
		}

		ai_will_do = {
			factor = 15
		}

		mutually_exclusive = {
			focus = ARG_revisit_the_roca_runciman_treaty
		} 

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = { 

			swap_ideas = {
  				remove_idea = ARG_roca_runciman_treaty_idea
  				add_idea = ARG_roca_runciman_new_partner_idea 				
  			}

  			custom_effect_tooltip = CHL_skip_one_line_tt 

			random_country = {
				limit = {
					is_faction_leader = yes
					is_in_faction_with = ROOT
				}
				add_ideas = ARG_argentine_beef_trade_idea
			}				
  			
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_develop_the_electricity_sector
		icon = GFX_focus_ARG_develop_the_electricity_sector
		prerequisite = { focus = ARG_production_initiative }
		x = 0
		y = 1
		relative_position_id = ARG_production_initiative
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_RESEARCH }

		completion_reward = { 
			add_tech_bonus = {
			name = ARG_tech_initiative_bonus
			bonus = 0.5
			uses = 1
			category = electronics
			}
		}
	}

	focus = { #INDUSTRIAL
		id = ARG_invest_in_construction_guilds
		icon = GFX_goal_generic_construction2
		prerequisite = { focus = ARG_develop_the_electricity_sector }
		x = 0
		y = 1
		relative_position_id = ARG_develop_the_electricity_sector
		cost = 5
		available = {
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_RESEARCH }

		completion_reward = { 

			add_ideas = ARG_construction_guilds_idea

			add_tech_bonus = {
				name = ARG_tech_initiative_bonus
				bonus = 0.5
				uses = 1
				category = construction_tech
			}

		}
	}

	focus = { #INDUSTRIAL
		id = ARG_technical_schools
		icon = GFX_focus_generic_university_3
		prerequisite = { focus = ARG_invest_in_construction_guilds }
		x = 0
		y = 1
		relative_position_id = ARG_invest_in_construction_guilds
		cost = 10
		available = {
			num_of_factories > 45
		}

		ai_will_do = {
			factor = 10
		}

		search_filters = { FOCUS_FILTER_POLITICAL_CHARACTER FOCUS_FILTER_RESEARCH}

		completion_reward = { 

			add_research_slot = 1

			custom_effect_tooltip = CHL_skip_one_line_tt

			custom_effect_tooltip = available_political_advisor
			show_ideas_tooltip = ARG_vincente_gallo
			show_ideas_tooltip = ARG_carlos_lamas
		}
	}

}