
#shared_focus = {
#	id = paraguay_uruguay_shared_focus_tree
#	#icon = GFX_goal_panzerwaffe
#
#	country = {
#		factor = 0
#		
#		#modifier = {
#		#	add = 10
#		#	OR = {
#		#		original_tag = URG
#		#		original_tag = PAR
#		#	}
#		#}
#	}
#
#	x = 0
#	y = 0
#	offset = {
#		x = 26
#		y = 0
#		trigger = {
#			tag = PAR
#		}
#	}
#
#	#shared_shared_focus =  SMB_army
#	#shared_shared_focus =  SMB_air_force
#	#shared_shared_focus =  SMB_navy
#	default = no
#
#	continuous_focus_position = { x = 50 y = 1350 }

	shared_focus =  {
		id = GUAY_rekindle_old_gripes
		icon = GFX_goal_generic_attack_allies
		x = 40
		y = 0
		offset = {
			x = -13
			y = 0
			trigger = {
				tag = URG 
			}
		}

		offset = {
			x = -10
			y = 0
			trigger = {
				tag = PAR 
			}
		}
		#relative_position_id = GUAY_form_ties_with_the_military
		cost = 10
		ai_will_do = {
			factor = 1
			modifier = {
				OR = {
					AND = {
						original_tag = URG
						OR = {
							has_game_rule = {
								rule = URG_AI_BEHAVIOR
								option = DEFAULT
							}
							has_game_rule = {
								rule = URG_AI_BEHAVIOR
								option = HISTORICAL
							}
						}
					}

					AND = {
						original_tag = PAR
						OR = {
							has_game_rule = {
								rule = PAR_AI_BEHAVIOR
								option = DEFAULT
							}
							has_game_rule = {
								rule = PAR_AI_BEHAVIOR
								option = HISTORICAL
							}
						}
					}

					AND = {
						OR = {
							BRA = { has_war_with_major = no }
							ARG = { has_war_with_major = no }
						}
					}
				}

				factor = 0
			}
		}
		prerequisite = {
		}

		available = {
			if = {
				limit = {
					original_tag = URG
				}
				OR = {
					NOT = {
						BRA = {
							is_in_faction_with = URG
						}
					}
					NOT = {
						ARG = {
							is_in_faction_with = URG
						}
					}
				}
			}
		}

		search_filters = { FOCUS_FILTER_ANNEXATION  }
		will_lead_to_war_with = BRA
		will_lead_to_war_with = ARG
		completion_reward = {
			if = {
				limit = {
					original_tag = PAR
				}

				if = {
					limit = { BRA = { has_civil_war = yes } }
					every_country = {
						limit = { original_tag = BRA }

						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								generator = { 504 } # optional 
							}
						}
					}
				}
				else = {
					create_wargoal = {
						type = annex_everything
						target = BRA
						generator = { 504 } # optional 
					}
				}

				if = {
					limit = { ARG = { has_civil_war = yes } }
					every_country = {
						limit = { original_tag = ARG }

						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								generator = { 957 } # optional 
							}
						}
					}
				}
				else = {
					create_wargoal = {
						type = annex_everything
						target = ARG
						generator = { 957 } # optional 
					}
				}
				custom_effect_tooltip = CHL_skip_one_line_tt
				custom_effect_tooltip = GUAY_rekindle_old_gripes_ARG_PAR_tt
				custom_effect_tooltip = CHL_skip_one_line_tt
				custom_effect_tooltip = GUAY_rekindle_old_gripes_BRA_PAR_tt
			}
			else = {

				if = {
					limit = { BRA = { has_civil_war = yes } }
					every_country = {
						limit = { original_tag = BRA }

						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								generator = { 502 } # optional 
							}
						}
					}
				}
				else = {
					create_wargoal = {
						type = annex_everything
						target = BRA
						generator = { 502 } # optional 
					}
				}

				if = {
					limit = { ARG = { has_civil_war = yes } }
					every_country = {
						limit = { original_tag = ARG }

						ROOT = {
							create_wargoal = {
								type = annex_everything
								target = PREV
								generator = { 510 } # optional 
							}
						}
					}
				}
				else = {
					create_wargoal = {
						type = annex_everything
						target = ARG
						generator = { 510 } # optional 
					}
				}
			######
				custom_effect_tooltip = CHL_skip_one_line_tt
				custom_effect_tooltip = GUAY_rekindle_old_gripes_ARG_URG_tt
				custom_effect_tooltip = CHL_skip_one_line_tt
				custom_effect_tooltip = GUAY_rekindle_old_gripes_BRA_URG_tt
			}
		}
	}
	shared_focus =  {
		id = GUAY_laissez_faire
		icon = GFX_focus_generic_industry_3
		x = 5
		y = 0
		relative_position_id = GUAY_rekindle_old_gripes
		#mutually_exclusive = { focus =  GUAY_land_reforms }
		#prerequisite = { focus =  GUAY_coup_detat }
		cost = 10
		ai_will_do = {
			factor = 30
			modifier = {
				original_tag = PAR
				factor = 0 
			}
		}

		offset = {
			x = 1
			y = 0
			trigger = {
				tag = URG 
			}
		}

		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = GUAY_laissez_faire_tt
		}
	}
	shared_focus =  {
		id = GUAY_disperse_military_power
		icon = GFX_focus_NOR_broken_gun_policies
		x = 30
		y = 0
		mutually_exclusive = { focus =  GUAY_form_ties_with_the_military }

		cost = 10

		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 150
		}
	}

	shared_focus =  {
		id = GUAY_nationalize_foreign_owned_companies
		icon = GFX_focus_generic_annex_country_2
		x = 0
		y = 1

		relative_position_id = GUAY_disperse_military_power
		prerequisite = { focus =  GUAY_disperse_military_power }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			random_core_state = {
				limit = {
					is_owned_and_controlled_by = ROOT
					NOT = {
						OR = {
							state = 961
							state = 962
							state = 963
							state = 964
							state = 965
							state = 966
							state = 967
							state = 968
						}
					}
				}
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_urbanization
		icon = GFX_focus_SWE_urbanization
		x = -1
		y = 1

		relative_position_id = GUAY_nationalize_foreign_owned_companies
		prerequisite = { focus =  GUAY_nationalize_foreign_owned_companies }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRIAL }
		completion_reward = {
			random_core_state = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}

			if = {
				limit = {
					any_core_state = {
						is_coastal = yes
					}
				}
				random_core_state = {
					limit = {
						is_coastal = yes
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = dockyard
						level = 1
						instant_build = yes
					}
				}

			}
			else = {
				random_core_state = {
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = arms_factory
						level = 1
						instant_build = yes
					}
					
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_abolish_low_level_income_tax
		icon = GFX_goal_generic_major_alliance
		x = 2
		y = 0

		relative_position_id = GUAY_urbanization
		prerequisite = { focus =  GUAY_nationalize_foreign_owned_companies }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 60
			add_ideas = idea_GUAY_abolished_low_level_income_tax

		}
	}

	shared_focus =  {
		id = GUAY_free_seconday_schools
		icon = GFX_focus_generic_military_academy
		x = 1
		y = 1

		relative_position_id = GUAY_urbanization
		prerequisite = { focus =  GUAY_urbanization focus =  GUAY_abolish_low_level_income_tax }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = idea_GUAY_free_seconday_schools

		}
	}

	shared_focus =  {
		id = GUAY_cooperation_in_the_americas
		icon = GFX_focus_generic_league_of_nations
		prerequisite = { 
			focus =  GUAY_nationalize_foreign_owned_companies
		}
		x = -3
		y = 1
		relative_position_id = GUAY_nationalize_foreign_owned_companies
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_political_power = 100
			every_other_country = {
				limit = {
					capital_scope = {
						is_on_continent = south_america
					}
				}
				country_event = {
					id = JUNO_brazil_events.14
					hours = 1
				}
				event_option_tooltip = JUNO_brazil_events.14.a
			}
		}
	}

	shared_focus =  {
		id = GUAY_defense_force
		icon = GFX_focus_generic_manpower
		prerequisite = { 
			focus =  GUAY_cooperation_in_the_americas
		}
		x = 0
		y = 1
		relative_position_id = GUAY_cooperation_in_the_americas
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			every_unit_leader = {
				add_defense = 1
				add_logistics = 1
			}
			add_ideas = idea_GUAY_defense_force
			add_manpower = 8200

		}
	}

	shared_focus =  {
		id = GUAY_specialized_terrain_training
		icon = GFX_focus_eng_special_air_service
		prerequisite = { 
			focus =  GUAY_defense_force
		}
		x = -1
		y = 1
		relative_position_id = GUAY_defense_force
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_ideas = idea_GUYA_specialized_training

		}
	}

	shared_focus =  {
		id = GUAY_volunteers
		icon = GFX_goal_generic_axis_build_infantry
		prerequisite = { 
			focus =  GUAY_defense_force
		}
		x = 2
		y = 0
		relative_position_id = GUAY_specialized_terrain_training
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			set_rule = { can_send_volunteers = yes }
			add_ideas = idea_GUAY_volunteers

		}
	}

	shared_focus =  {
		id = GUAY_mass_drafts
		icon = GFX_focus_SOV_mobilization_plan
		prerequisite = { focus =  GUAY_specialized_terrain_training }
		prerequisite = { focus =  GUAY_volunteers }
		x = 1
		y = 1
		relative_position_id = GUAY_specialized_terrain_training
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_ideas = idea_GUAY_mass_drafts

		}
	}

	shared_focus =  {
		id = GUAY_form_ties_with_the_military
		icon = GFX_focus_ITA_banda_carita
		mutually_exclusive = { focus =  GUAY_disperse_military_power  }
		x = 7
		y = 0
		relative_position_id = GUAY_disperse_military_power
		cost = 5
		ai_will_do = {
			factor = 1
		}

		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.05
			}

			add_popularity = {
				ideology = communism
				popularity = 0.05
			}

			army_experience = 25
			add_war_support = 0.03
		}
	}

	shared_focus =  {
		id = GUAY_military_licenses
		icon = GFX_focus_ITA_banda_carita
		x = 3
		y = 1
		relative_position_id = GUAY_disperse_military_power
		prerequisite = { focus =  GUAY_form_ties_with_the_military focus =  GUAY_disperse_military_power }
		cost = 5
		ai_will_do = {
			factor = 70
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_idea = idea_GUAY_long_term_contracts
					}
				}
				add_ideas = idea_GUAY_military_contracts
			}
			else = {
				swap_ideas = {
					remove_idea = idea_GUAY_long_term_contracts
					add_idea = idea_GUAY_military_contracts_upgraded
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_place_opposition_leaders_in_house_arrest
		icon = GFX_focus_mex_arrest_general_cedillo
		x = -1
		y = 1
		relative_position_id = GUAY_form_ties_with_the_military
		prerequisite = { focus =  GUAY_form_ties_with_the_military }
		cost = 10
		ai_will_do = {
			factor = 150
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = { #CM: Hack to avoid broken advisor factor code misbehaving for the AI
					original_tag = PAR
					is_historical_focus_on = yes
					is_ai = yes
					has_completed_focus =  GUAY_enact_martial_law
				}
				set_politics = {
					ruling_party = communism
					elections_allowed = no
					last_election = "1936.01.01"
					election_frequency = 36
				}
			}
			else_if = {
				limit = { #CM: Hack to avoid broken advisor factor code misbehaving for the AI
					is_historical_focus_on = no
					is_ai = yes
					has_completed_focus =  GUAY_enact_martial_law
				}
				random_list = {
					seed = random
					# List of weights and effects. Weights can be numbers or variables. Weights can also take modifiers if required.  
					50 = { 
						set_politics = {
							ruling_party = communism
							elections_allowed = no
							last_election = "1936.01.01"
							election_frequency = 36
						}
					} 
					50 = {
						set_politics = {
							ruling_party = fascism
							elections_allowed = no
							last_election = "1936.01.01"
							election_frequency = 36
						}
					} 
					
				}
			}
			add_political_power = 50
			if = {
				limit = {
					has_idea_with_trait = fascist_demagogue
					NOT = {
						has_idea_with_trait = communist_revolutionary
					}
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.12
				}
			}
			else_if = {
				limit = {
					has_idea_with_trait = communist_revolutionary
					NOT = {
						has_idea_with_trait = fascist_demagogue
					}
				}
				add_popularity = {
					ideology = communism
					popularity = 0.12
				}
			}
			else = {
				add_popularity = {
					ideology = fascism
					popularity = 0.06
				}
				add_popularity = {
					ideology = communism
					popularity = 0.06
				}
			}
			add_stability = -0.06
		}
	}

	shared_focus =  {
		id = GUAY_enact_martial_law
		icon = GFX_focus_POL_riot_of_37
		x = 2
		y = 0
		relative_position_id = GUAY_place_opposition_leaders_in_house_arrest
		prerequisite = { focus =  GUAY_form_ties_with_the_military }
		cost = 10
		ai_will_do = {
			factor = 150
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = { #CM: Hack to avoid broken advisor factor code misbehaving for the AI
					original_tag = PAR
					is_historical_focus_on = yes
					is_ai = yes
					has_completed_focus =  GUAY_place_opposition_leaders_in_house_arrest
				}
				set_politics = {
					ruling_party = communism
					elections_allowed = no
					last_election = "1936.01.01"
					election_frequency = 36
				}
			}
			else_if = {
				limit = { #CM: Hack to avoid broken advisor factor code misbehaving for the AI
					is_historical_focus_on = no
					is_ai = yes
					has_completed_focus =  GUAY_place_opposition_leaders_in_house_arrest
				}
				random_list = {
					seed = random
					# List of weights and effects. Weights can be numbers or variables. Weights can also take modifiers if required.  
					50 = { 
						set_politics = {
							ruling_party = communism
							elections_allowed = no
							last_election = "1936.01.01"
							election_frequency = 36
						}
					} 
					50 = {
						set_politics = {
							ruling_party = fascism
							elections_allowed = no
							last_election = "1936.01.01"
							election_frequency = 36
						}
					} 
					
				}
			}
			add_political_power = 50
			if = {
				limit = {
					has_idea_with_trait = fascist_demagogue
					NOT = {
						has_idea_with_trait = communist_revolutionary
					}
				}
				add_popularity = {
					ideology = fascism
					popularity = 0.12
				}
			}
			else_if = {
				limit = {
					has_idea_with_trait = communist_revolutionary
					NOT = {
						has_idea_with_trait = fascist_demagogue
					}
				}
				add_popularity = {
					ideology = communism
					popularity = 0.12
				}
			}
			else = {
				add_popularity = {
					ideology = fascism
					popularity = 0.06
				}
				add_popularity = {
					ideology = communism
					popularity = 0.06
				}
			}
			add_stability = -0.06
		}
	}

	shared_focus =  {
		id = GUAY_coup_detat
		icon = GFX_focus_SWE_organize_a_putsch
		x = 1
		y = 1
		relative_position_id = GUAY_place_opposition_leaders_in_house_arrest
		prerequisite = { focus =  GUAY_form_ties_with_the_military }
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available = {
			OR = {
				has_government = fascism
				has_government = communism
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_war_support = 0.08
			add_popularity = {
				ideology = ROOT
				popularity = 0.2
			}

			add_equipment_to_stockpile = { 
				type = infantry_equipment_0
				amount = 2150
				producer = ROOT
			}
		}
	}

	shared_focus =  {
		id = GUAY_appease_the_generals
		icon = GFX_focus_generic_military_mission
		x = 1
		y = 1
		relative_position_id = GUAY_coup_detat
		prerequisite = { focus =  GUAY_coup_detat }
		cost = 10
		ai_will_do = {
			factor = 500
		}
		available = {
			#check_variable = { army_leaders > 5 }
			#check_variable = { num_armies > 10 }
			if = {
				limit = {
					is_ai = no
				}
				has_army_manpower = { size > 19999 }
				custom_trigger_tooltip = {
				 	tooltip = GER_anschluss_eq_trigger_tt
				 	check_variable = { num_equipment_in_armies_k@infantry_equipment > 2.5 }
				}
			}
			else = {
				has_army_manpower = { size > 9999 }
			}


			OR = {
				has_idea = extensive_conscription
				has_idea = service_by_requirement
				has_idea =  all_adults_serve
				has_idea = scraping_the_barrel
			}
			OR = {
				has_idea = partial_economic_mobilisation
				has_idea = war_economy
				has_idea = tot_economic_mobilisation
			}
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			custom_effect_tooltip = GUAY_appease_the_generals_tt
			country_event = { id = JUNO_guay_events.1 hours = 2 }
		}
	}

	shared_focus =  {
		id = GUAY_cult_of_personality
		icon = GFX_focus_spa_fuse_the_parties
		x = -1
		y = 1
		relative_position_id = GUAY_coup_detat
		prerequisite = { focus =  GUAY_coup_detat }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {

		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_country_leader_trait = JUNO_cult_of_personality
		}
	}

	shared_focus =  {
		id = GUAY_adopt_minority_languages
		icon = GFX_goal_generic_propaganda
		x = -1
		y = 1
		relative_position_id = GUAY_cult_of_personality
		prerequisite = { focus =  GUAY_cult_of_personality focus =  GUAY_free_seconday_schools }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {

		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					original_tag = PAR
				}
				add_ideas = PAR_guarani_in_the_army
			}
			else = {
				add_ideas = idea_URG_rioplatense_spanish_in_the_army
			}
		}
	}

	shared_focus =  {
		id = GUAY_mythologize_the_father_of_the_nation
		icon = GFX_focus_focus_fra_revolution_utmost
		x = -3
		y = 0
		relative_position_id = GUAY_adopt_minority_languages
		prerequisite = { focus =  GUAY_cult_of_personality focus =  GUAY_free_seconday_schools } 
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {

		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			if = {
				limit = {
					original_tag = PAR
				}
				add_ideas = idea_GUAY_father_of_the_nation_par
			}
			else = {
				add_ideas = idea_GUAY_father_of_the_nation_urg
			}
		}
	}

	shared_focus =  {
		id = GUAY_a_domestic_arms_factory
		icon = GFX_goal_generic_construct_mil_factory
		x = 2
		y = 0
		relative_position_id = GUAY_appease_the_generals
		prerequisite = { focus =  GUAY_coup_detat }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					is_fully_controlled_by = ROOT
				}

				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = arms_factory
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = infantry_weapons_bonus
				bonus = 0.25
				uses = 1
				category = infantry_weapons # optional 
				# technology  = technology_id # optional
			}
		}
	}

	shared_focus =  {
		id = GUAY_penal_battalions
		icon = GFX_focus_SOV_penal_battalions
		x = 2
		y = 0
		relative_position_id = GUAY_a_domestic_arms_factory
		prerequisite = { focus =  GUAY_coup_detat }
		#prerequisite = { focus =  BRA_court_the_military }
		cost = 10
		ai_will_do = {
			factor = 15
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_POLITICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			custom_effect_tooltip = GUAY_penal_battalions_tt
			hidden_effect = {
				set_technology = {
				 	penal_infantry = 1
				 	popup = no
				 } 
				division_template = {
					name = "Batallón de Castigo"
					#division_names_group = 
					is_locked = no
					force_allow_recruiting = yes
					#override_model = FIN_infantry_alt_1_entity
	
					regiments = {
						penal_battalion = { x = 0 y = 0 }
						penal_battalion = { x = 0 y = 1 }
						penal_battalion = { x = 0 y = 2 }
						penal_battalion = { x = 1 y = 0 }
						penal_battalion = { x = 1 y = 1 }
						penal_battalion = { x = 1 y = 2 }
					}
					support = {
						artillery = { x = 0 y = 0 }
					}
				}
				capital_scope = {
					create_unit = {
						division = "division_template = \"Batallón de Castigo\" start_experience_factor = 0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
						OWNER = ROOT
					}
					create_unit = {
						division = "division_template = \"Batallón de Castigo\" start_experience_factor = 0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
						OWNER = ROOT
					}
					create_unit = {
						division = "division_template = \"Batallón de Castigo\" start_experience_factor = 0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
						OWNER = ROOT
					}
					create_unit = {
						division = "division_template = \"Batallón de Castigo\" start_experience_factor = 0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
						OWNER = ROOT
					}
					create_unit = {
						division = "division_template = \"Batallón de Castigo\" start_experience_factor = 0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
						OWNER = ROOT
					}
					create_unit = {
						division = "division_template = \"Batallón de Castigo\" start_experience_factor = 0 start_equipment_factor = 1.0 start_manpower_factor = 1.0"
						OWNER = ROOT
					}
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_the_permanent_leader
		icon = GFX_goal_generic_demand_territory
		x = 0
		y = 2
		relative_position_id = GUAY_appease_the_generals
		prerequisite = { focus =  GUAY_appease_the_generals }
		prerequisite = { focus =  GUAY_cult_of_personality }
		cost = 10
		ai_will_do = {
			factor = 50
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_country_leader_trait = JUNO_the_permanent_leader
		}
	}

	shared_focus =  {
		id = GUAY_mobalize_the_economy
		icon = GFX_focus_DEN_heavy_regulations
		x = 0
		y = 1
		relative_position_id = GUAY_a_domestic_arms_factory
		prerequisite = { focus =  GUAY_a_domestic_arms_factory }
		cost = 10
		ai_will_do = {
			factor = 80
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_war_support = 0.05
			if = {
				limit = {
					OR = {
						has_idea = low_economic_mobilisation
						has_idea = civilian_economy
					}
				}
				add_ideas = partial_economic_mobilisation
			}
			else_if = {
				limit = {
					has_idea = partial_economic_mobilisation
				}
				add_ideas = war_economy
			}
			else = {	
				random_core_state = {
					limit = {
						is_fully_controlled_by = ROOT
					}

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

	shared_focus =  {
		id = GUAY_meet_with_the_old_powers
		icon = GFX_goal_generic_dangerous_deal
		x = -11
		y = 0
		relative_position_id = GUAY_laissez_faire
		#prerequisite = { focus =  GUAY_the_permanent_leader focus =  GUAY_mass_drafts }
		cost = 10
		ai_will_do = {
			factor = 60
		}
		available = {
			is_in_faction = yes
		}

		search_filters = {  }

		completion_reward = {
			custom_effect_tooltip = GUAY_meet_with_the_old_powers_tt
		}
	}

	shared_focus =  {
		id = GUAY_long_term_contracts
		icon = GFX_focus_generic_license_production
		x = 0
		y = 1
		relative_position_id = GUAY_meet_with_the_old_powers
		prerequisite = { focus =  GUAY_meet_with_the_old_powers }
		cost = 10
		ai_will_do = {
			factor = 70
		}
		available = {
		}

		search_filters = { }

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_idea = idea_GUAY_military_contracts_upgraded
					}
				}
				add_ideas = idea_GUAY_military_contracts_upgraded
			}
		}
	}

	#shared_focus =  {
	#	id = GUAY_dam_construction
	#	icon = GFX_focus_generic_hydroelectric_energy
	#	x = 2
	#	y = 0
	#	relative_position_id = GUAY_long_term_contracts
	#	prerequisite = { focus =  GUAY_meet_with_the_old_powers }
	#	cost = 10
	#	ai_will_do = {
	#		factor = 50
	#	}
	#	available = {
	#		is_in_faction = yes
	#	
	#	}
#
	#	search_filters = { FOCUS_FILTER_HISTORICAL }
#
	#	completion_reward = {
#
#
	#		faction_leader = {
	#			country_event = {
	#				id = JUNO_guay_events.2
	#				hours = 2 # optional - can take hours/days/months
	#			}
	#		}
	#		
#
	#		custom_effect_tooltip = if_they_accept_tt
	#		effect_tooltip = {
	#			ROOT = {
	#				add_ideas = idea_GUAY_electrification_of_the_country
	#			}
	#			faction_leader = {
	#				add_timed_idea = {
	#				 	idea = idea_GUAY_building_dam
	#				 	days = 180
	#				 }
	#			 }
	#		}
#
	#		custom_effect_tooltip = CHL_skip_one_line_tt
	#		custom_effect_tooltip = GUAY_dam_construction_desc_tt
	#	}
	#}



	shared_focus =  {
		id = GUAY_land_reforms
		icon = GFX_focus_generic_mining_industry
		x = 4
		y = 0
		relative_position_id = GUAY_laissez_faire
		#prerequisite = { focus =  GUAY_coup_detat }
		cost = 10
		ai_will_do = {
			factor = 30
			modifier = {
				original_tag = URG
				factor = 0 
			}
		}
		available = {
		}
		#mutually_exclusive = { focus =  GUAY_laissez_faire }
		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			random_core_state = {
				limit = {
					infrastructure < 5
					is_controlled_by = ROOT
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}

			random_core_state = {
				limit = {
					infrastructure < 5
					is_controlled_by = ROOT
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
			}

		}
	}

	shared_focus =  {
		id = GUAY_workers_rights
		icon = GFX_focus_SWE_state_paid_vacation
		x = 0
		y = 1
		relative_position_id = GUAY_land_reforms
		prerequisite = { focus =  GUAY_land_reforms }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY }

		completion_reward = {
			add_stability = 0.12
		}
	}

	shared_focus =  {
		id = GUAY_agricultural_colonization
		icon = GFX_focus_generic_industry_1
		x = 0
		y = 1
		relative_position_id = GUAY_workers_rights
		prerequisite = { focus =  GUAY_workers_rights focus =  GUAY_empower_the_land_owners }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_tech_bonus = {
				bonus = 0.25
				uses = 1
				category = industry # optional 
				# technology  = technology_id # optional
			}
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}

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

	shared_focus =  {
		id = GUAY_beef_and_hide_industry
		icon = GFX_focus_ARG_capitalize_the_beef_industry
		x = 0
		y = 1
		relative_position_id = GUAY_agricultural_colonization
		prerequisite = { focus =  GUAY_agricultural_colonization }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}

				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = industrial_complex
					level = 2
					instant_build = yes
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_wool_makers
		icon = GFX_goal_generic_construct_infrastructure
		x = 0
		y = 1
		relative_position_id = GUAY_beef_and_hide_industry
		prerequisite = { focus =  GUAY_beef_and_hide_industry }
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			every_core_state = {
				random_select_amount = 2
				limit = {
					is_controlled_by = ROOT
				}

				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_heavy_industry
		icon = GFX_goal_generic_production
		x = 2
		y = 1
		relative_position_id = GUAY_agricultural_colonization
		prerequisite = { focus =  GUAY_agricultural_colonization }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_ideas = idea_GUAY_heavy_industry
		}
	}

	shared_focus =  {
		id = GUAY_empower_the_land_owners
		icon = GFX_focus_generic_industrialists
		x = 0
		y = 1
		relative_position_id = GUAY_laissez_faire
		prerequisite = { focus =  GUAY_laissez_faire }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			custom_effect_tooltip = GUAY_empower_the_land_owners_desc_tt
		}
	}

	shared_focus =  {
		id = GUAY_river_trade
		icon = GFX_goal_generic_positive_trade_relations
		x = 0
		y = 1
		relative_position_id = GUAY_empower_the_land_owners
		prerequisite = { focus =  GUAY_empower_the_land_owners focus =  GUAY_workers_rights }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			add_equipment_to_stockpile = { 
				type = convoy_1
				amount = 75
				producer = THIS
			}

			if = {
				limit = {
					BRA = {
						has_opinion = {
							target = ROOT
							value > 49
						}
					}
				}

				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				effect_tooltip = {
					BRA = {
						custom_effect_tooltip = GUAY_river_trade_tt
					}
				}
			}
			if = {
				limit = {
					ARG = {
						has_opinion = {
							target = ROOT
							value > 49
						}
					}
				}

				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				effect_tooltip = {
					ARG = {
						custom_effect_tooltip = GUAY_river_trade_tt
					}
				}
			}

			if = {
				limit = {
					BOL = {
						has_opinion = {
							target = ROOT
							value > 49
						}
					}
					original_tag = PAR
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else_if = {
				limit = {
					original_tag = PAR
					BOL = {
						has_opinion = {
							target = ROOT
							value < 49 
						}
					}
				}
				effect_tooltip = {
					BOL = {
						custom_effect_tooltip = GUAY_river_trade_tt
					}
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_cash_crop_exports
		icon = GFX_focus_generic_modernize_industry
		x = -1
		y = 1
		relative_position_id = GUAY_river_trade
		prerequisite = { focus =  GUAY_river_trade }
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		completion_reward = {
			if = {
				limit = {
					NOT = {
						has_idea = free_trade
					}
				}
				add_ideas = free_trade
			}
			else = {
				add_offsite_building = {
					type = industrial_complex
					level = 1
				}
			}
			if = {
				limit = {
					NOT = { has_tech = basic_train }
				}
				set_technology = {
					basic_train = 1
					popup = no
				}
			}
			add_equipment_to_stockpile = { 
				type = train_equipment_1
				amount = 8 
				producer = BRA
			}
		}
	}

	shared_focus =  {
		id = GUAY_export_focus
		icon = GFX_goal_generic_trade
		x = 1
		y = 1
		relative_position_id = GUAY_river_trade
		prerequisite = { focus =  GUAY_river_trade }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_STABILITY }

		completion_reward = {
			if = {
				limit = {
					original_tag = URG 
				}
				add_tech_bonus = {
					ahead_reduction = 1
					bonus = 1
					uses = 1
					category = industry # optional 
					# technology  = technology_id # optional
				}
			}
			else = {
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					prioritize = { 301 } 
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
					add_extra_state_shared_building_slots = 2
				}

			}
		}
	}


	shared_focus =  {
		id = GUAY_clamp_down_on_new_territories
		icon = GFX_goal_generic_political_pressure
		x = -2
		y = 1
		relative_position_id = GUAY_rekindle_old_gripes
		prerequisite = { focus =  GUAY_rekindle_old_gripes }
		mutually_exclusive = { focus =  GUAY_develop_new_territories }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
			OR = {
				AND = {
					original_tag = PAR
					controls_state = 504
					controls_state = 957
				}
				AND = {
					original_tag = URG
					controls_state = 502
					controls_state = 510
				}
			}
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = idea_GUAY_clamping_down_on_new_territories
		}
	}

	shared_focus =  {
		id = GUAY_develop_new_territories
		icon = GFX_focus_generic_self_management
		x = 4
		y = 0

		relative_position_id = GUAY_clamp_down_on_new_territories
		prerequisite = { focus =  GUAY_rekindle_old_gripes }
		mutually_exclusive = { focus =  GUAY_clamp_down_on_new_territories }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
			OR = {
				AND = {
					original_tag = PAR
					controls_state = 504
					controls_state = 957
				}
				AND = {
					original_tag = URG
					controls_state = 502
					controls_state = 510
				}
			}
		}

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_ideas = idea_GUAY_developing_new_territories
		}
	}

	shared_focus =  {
		id = GUAY_no_second_american_colonization
		icon = GFX_focus_generic_total_war
		x = 4
		y = 1

		relative_position_id = GUAY_clamp_down_on_new_territories
		prerequisite = { focus =  GUAY_develop_new_territories focus =  GUAY_clamp_down_on_new_territories }
		mutually_exclusive = { focus =  GUAY_a_deal_with_devil }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {

		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			add_ideas = idea_GUAY_crusade_against_imperialism
			set_rule = { can_join_factions = no }
			if = {
				limit = {
					is_in_faction = yes
				}
				leave_faction = yes
			}
		}
	}

	shared_focus =  {
		id = GUAY_the_stuff_of_legends
		icon = GFX_focus_focus_fra_fascist_threat
		x = 0
		y = 1

		relative_position_id = GUAY_no_second_american_colonization
		prerequisite = { focus =  GUAY_no_second_american_colonization }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
			custom_trigger_tooltip = {
				tooltip = GUAY_the_stuff_of_legends_cores_tt_bra
				all_of_scopes = {
					array = BRA.cores_at_game_start
					is_controlled_by = ROOT
				}
			}
			

			custom_trigger_tooltip = {
				tooltip = GUAY_the_stuff_of_legends_cores_tt_arg
				all_of_scopes = {
					array = ARG.cores_at_game_start
					is_controlled_by = ROOT
				}
			}
			
			custom_trigger_tooltip = {
				tooltip = GUAY_the_stuff_of_legends_cores_tt_bol
				all_of_scopes = {
					array = BOL.cores_at_game_start
					is_controlled_by = ROOT
				}
			}



			if = {
				limit = {
					original_tag = PAR
				}
				custom_trigger_tooltip = {
					tooltip = GUAY_the_stuff_of_legends_cores_tt_urg
					all_of_scopes = {
						array = URG.cores_at_game_start
						is_controlled_by = ROOT
					}
				}
			}
			else = {
				custom_trigger_tooltip = {
					tooltip = GUAY_the_stuff_of_legends_cores_tt_par
					all_of_scopes = {
						array = PAR.cores_at_game_start
						is_controlled_by = ROOT
					}
				}
			}
			687 = { is_controlled_by = ROOT }
			309 = { is_controlled_by = ROOT }
			310 = { is_controlled_by = ROOT }
		}

		search_filters = { FOCUS_FILTER_ANNEXATION }

		completion_reward = {
			every_state = {
				limit = {
					is_on_continent = south_america
					NOT = {
						is_core_of = PAN
						is_core_of = MEX
						is_core_of = COS
						is_core_of = NIC
						is_core_of = HON
						is_core_of = ELS
						is_core_of = GUA
						is_core_of = DOM
						is_core_of = HAI
						is_core_of = CUB

					}
				}
				add_core_of = ROOT
			}



			if = {
				limit = {
					original_tag = PAR
				}
				set_cosmetic_tag = PAR_anti_imperialism
			}
			else = {
				set_cosmetic_tag = URG_anti_imperialism_tag
			}
		}
	}

	shared_focus =  {
		id = GUAY_a_deal_with_devil
		icon = GFX_goal_generic_forceful_treaty
		x = 0
		y = 1

		relative_position_id = GUAY_clamp_down_on_new_territories
		prerequisite = { focus =  GUAY_clamp_down_on_new_territories focus =  GUAY_develop_new_territories }
		mutually_exclusive = { focus =  GUAY_no_second_american_colonization }
		available_if_capitulated = no
		available = {
			is_in_faction = yes
		}
		cost = 5
		ai_will_do = {
			factor = 30
		}

		search_filters = { FOCUS_FILTER_ARMY_XP }

		completion_reward = {
			every_country = {
				limit = {
					is_in_faction_with = ROOT
				}
				army_experience = 25
			}

			add_doctrine_cost_reduction = {
				cost_reduction = 0.35
				uses = 2
				category = land_doctrine
			}
			army_experience = 50
		}
	}

	shared_focus =  {
		id = GUAY_demand_a_seat_at_the_high_table
		icon = GFX_focus_SWE_revoke_militia_law
		x = 0
		y = 1

		relative_position_id = GUAY_a_deal_with_devil
		prerequisite = { focus =  GUAY_a_deal_with_devil }
		available_if_capitulated = no
		available = {
			is_in_faction = yes
		}
		search_filters = { FOCUS_FILTER_ANNEXATION }
		cost = 10
		ai_will_do = {
			factor = 30
		}

		completion_reward = {
			if = {
				limit = {
					original_tag = PAR
				}
				504 = { add_core_of = ROOT }
				957 = { add_core_of = ROOT }
				set_cosmetic_tag = PAR_greater_paraguay
			}
			else = {
				502 = { add_core_of = ROOT }
				510 = { add_core_of = ROOT }
				set_cosmetic_tag = URG_greater_uruguay
			}
			add_ideas = idea_GUAY_stewards_of_the_south

		}
	}

	shared_focus =  {
		id = GUAY_the_tag_economic_miracle
		icon = GFX_focus_spa_the_spanish_miracle
		x = 5
		y = 0

		relative_position_id = GUAY_land_reforms
		available_if_capitulated = no
		available = {
			num_of_factories > 13

		}
		cost = 10
		ai_will_do = {
			factor = 80
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_timed_idea = {
				idea = idea_GUAY_the_tag_economic_miracle
				days = 720
			}

		}
	}

	shared_focus =  {
		id = GUAY_protect_domestic_industries
		icon = GFX_goal_generic_construction
		x = -1
		y = 1

		relative_position_id = GUAY_the_tag_economic_miracle
		available_if_capitulated = no
		prerequisite = { focus =  GUAY_the_tag_economic_miracle }
		available = {
		}
		cost = 10
		ai_will_do = {
			factor = 30
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			if = {
				limit = {
					has_completed_focus =  GUAY_agricultural_colonization
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				custom_effect_tooltip = GUAY_protect_domestic_industries_agricultural
			}

			if = {
				limit = {
					has_completed_focus =  GUAY_beef_and_hide_industry
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				custom_effect_tooltip = GUAY_protect_domestic_industries_beef
			}

			if = {
				limit = {
					has_completed_focus =  GUAY_wool_makers
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				custom_effect_tooltip = GUAY_protect_domestic_industries_wool_makers
			}

			if = {
				limit = {
					has_completed_focus =  GUAY_cash_crop_exports
				}
				random_core_state = {
					limit = {
						is_controlled_by = ROOT
					}
					add_extra_state_shared_building_slots = 1
					add_building_construction = {
						type = industrial_complex
						level = 1
						instant_build = yes
					}
				}
			}
			else = {
				custom_effect_tooltip = GUAY_protect_domestic_industries_cash_crop
			}
		}
	}

	shared_focus =  {
		id = GUAY_exploit_mineral_wealth
		icon = GFX_focus_generic_steel
		x = 2
		y = 0

		relative_position_id = GUAY_protect_domestic_industries
		available_if_capitulated = no
		prerequisite = { focus =  GUAY_the_tag_economic_miracle }
		available = {
		}
		cost = 5
		ai_will_do = {
			factor = 30
		}

		completion_reward = {
			add_tech_bonus = {
				name = BRA_resource_extraction_bonus
				bonus = 0.5
				uses = 2
				category = excavation_tech # optional 
				# technology  = technology_id # optional
			}
			if = {
				limit = {
					original_tag = PAR
				}
				add_resource = {
					type = tungsten
					amount = 8
					state = 688
				}

				add_resource = {
					type = steel
					amount = 8
					state = 688
				}
			}
			else = {
				add_resource = {
					type = steel
					amount = 8
					state = 300
				}

				add_resource = {
					type = steel
					amount = 4
					state = 945
				}

				add_resource = {
					type = oil
					amount = 5
					state = 946
				}
			}
		}
	}

	shared_focus =  {
		id = GUAY_national_academy_of_sciences
		icon = GFX_focus_research
		x = 1
		y = 1

		relative_position_id = GUAY_protect_domestic_industries
		available_if_capitulated = no
		prerequisite = { focus =  GUAY_protect_domestic_industries }
		prerequisite = { focus =  GUAY_exploit_mineral_wealth }
		available = {
		}
		cost = 10
		ai_will_do = {
			factor = 150
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	shared_focus =  {
		id = GUAY_national_academy_of_sciences_2
		icon = GFX_focus_research2
		x = 0
		y = 1

		relative_position_id = GUAY_national_academy_of_sciences
		available_if_capitulated = no
		prerequisite = { focus =  GUAY_national_academy_of_sciences }
		available = {
			num_of_factories > 50
		}
		cost = 10
		ai_will_do = {
			factor = 150
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_research_slot = 1
		}
	}

	shared_focus =  {
		id = GUAY_national_academy_of_sciences_3
		icon = GFX_focus_ARG_universidad_de_buenos_aires
		x = 0
		y = 1

		relative_position_id = GUAY_national_academy_of_sciences_2
		available_if_capitulated = no
		prerequisite = { focus =  GUAY_national_academy_of_sciences_2 }
		available = {
			num_of_factories > 100
		}
		search_filters = { FOCUS_FILTER_RESEARCH }
		cost = 10
		ai_will_do = {
			factor = 150
		}

		completion_reward = {
			add_research_slot = 1
		}
	}


#}