### 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 = {}
### search_filters = {FOCUS_FILTER_ANNEXATION}

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

	initial_show_position = {
		x = 10
		y = 0
	}

	shared_focus = SMB_army
	shared_focus = SMB_air_force
	shared_focus = SMB_navy
	#shared_focus = GUAY_disperse_military_power
	#shared_focus = GUAY_form_ties_with_the_military
	shared_focus = GUAY_rekindle_old_gripes
	shared_focus = GUAY_meet_with_the_old_powers
	shared_focus = GUAY_the_tag_economic_miracle
	shared_focus = GUAY_laissez_faire
	shared_focus = GUAY_land_reforms
	
	default = no

	continuous_focus_position = { x = 50 y = 1600 }

	focus = {
		id = PAR_fedrerista_land_reforms
		available = {
			has_country_leader = {
				ruling_only = yes 
				character = PAR_rafael_franco 
			}
		}
		mutually_exclusive = { focus = PAR_reach_out_to_european_contacts	 }
		icon = GFX_focus_generic_farmland
		x = 3
		y = 0
		cost = 5

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_ideas = {
				PAR_febrerista_land_reform
			}
		}
	}


	focus = {
		id = PAR_reach_out_to_european_contacts #CM TODO: Need to try and fix the loc to USA later on since its past loc freeze. 
		available = {
			if = {
				limit = {
					NOT = { has_completed_focus = PAR_fedrerista_land_reforms }
					date > 1937.06.1
					has_civil_war = no
					hidden_trigger = {
						has_country_flag = PAR_is_going_democratic
					}
				}
			}
			else = {
				has_civil_war = yes
				NOT = { has_war_with = USA }
			}
		}

		bypass = {
			NOT = { has_completed_focus = PAR_fedrerista_land_reforms }
			date > 1937.06.1
			has_civil_war = no
			hidden_trigger = {
				has_country_flag = PAR_is_going_democratic
			}
		}
		relative_position_id = PAR_fedrerista_land_reforms 
		icon = GFX_focus_generic_befriend_usa
		x = 15
		y = 0
		mutually_exclusive = { focus = PAR_fedrerista_land_reforms }
		cost = 5
		search_filters = {  }
		completion_reward = {
			add_political_power = 150
			add_country_leader_trait = cornered_fox
			add_popularity = {
				ideology = democratic
				popularity = 0.05
			}
		}
	}

	focus = {
		id = PAR_rebuild_humaita
		available = {
			controls_province = 2173
		}

		bypass = {
		}

		icon = GFX_focus_SWE_hedgehog_defense
		x = 9
		y = 1

		cost = 10
		prerequisite = { focus = PAR_fedrerista_land_reforms focus = PAR_reach_out_to_european_contacts } 
		search_filters = {}
		relative_position_id = PAR_fedrerista_land_reforms
		completion_reward = {
			set_victory_points = {
				province = 2173
				value = 5
			}
			301 = {
				if = {
					limit = {
						NOT = {
							ROOT = { has_country_flag = increased_humaita_spending }
						}
					}
					add_building_construction = {
						type = bunker
						level = 5
						instant_build = yes
						province = 2173
					}
				}
				else = {
					add_building_construction = {
						type = bunker
						level = 7
						instant_build = yes
						province = 2173
					}

					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 2194
					}

					add_building_construction = {
						type = bunker
						level = 2
						instant_build = yes
						province = 2152
					}
				}
				add_extra_state_shared_building_slots = 2
			}
		}
	}

	focus = {
		id = PAR_ban_vouchers
		available = {

		}

		prerequisite = { focus = PAR_fedrerista_land_reforms }
		mutually_exclusive = { }
		icon = GFX_focus_hol_abandon_the_gold_standard
		relative_position_id = PAR_fedrerista_land_reforms
		x = -2
		y = 1
		cost = 5

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			add_ideas = idea_PAR_banned_white_vouchers
		}
	}

	focus = {
		id = PAR_a_great_charter
		available = {

		}

		prerequisite = { focus = PAR_central_bank_of_paraguay focus = PAR_allow_women_workers }
		#mutually_exclusive = { focus = PAR_emergency_powers }
		icon = GFX_focus_renounce_the_treaty_of_trianon
		relative_position_id = PAR_ban_vouchers
		x = -1
		y = 2
		cost = 10

		search_filters = {  FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_political_power = 150
			add_command_power = 60
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
		}
	}

	focus = {
		id = PAR_invite_japanese_settlers
		available = {

		}

		prerequisite = { focus = PAR_a_great_charter  }
		#mutually_exclusive = { focus = PAR_emergency_powers }
		icon = GFX_focus_chi_collaboration_with_the_japanese
		relative_position_id = PAR_a_great_charter
		x = -1
		y = 1
		cost = 5

		search_filters = {  FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}
				prioritize = { 688 } 
				add_extra_state_shared_building_slots = 4

			}
		}
	}


	focus = {
		id = PAR_central_bank_of_paraguay
		available = {

		}

		prerequisite = { focus = PAR_ban_vouchers }
		mutually_exclusive = { }
		icon = GFX_focus_usa_reestablish_the_gold_standard
		relative_position_id = PAR_ban_vouchers
		x = -1
		y = 1
		cost = 10

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			add_political_power = 75
			show_ideas_tooltip = PAR_central_bank_of_paraguay
		}
	}

	focus = {
		id = PAR_allow_unions_to_strike
		available = {
		}

		prerequisite = { focus = PAR_fedrerista_land_reforms }
		mutually_exclusive = { }
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		relative_position_id = PAR_ban_vouchers
		x = 2
		y = 0
		cost = 5

		search_filters = {  FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_stability = 0.1
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}

			#add_ideas = idea_PAR_empowered_unions
		}
	}

	focus = {
		id = PAR_military_pensions
		available = {
		}

		prerequisite = { focus = PAR_fedrerista_land_reforms }
		mutually_exclusive = { }
		icon = GFX_focus_SWE_defense_act
		relative_position_id = PAR_allow_unions_to_strike
		x = 2
		y = 0
		cost = 5

		search_filters = {  FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL FOCUS_FILTER_ARMY_XP }
		completion_reward = {
			add_stability = 0.05
			add_war_support = 0.05
			army_experience = 40
			add_popularity = {
				ideology = communism
				popularity = 0.1
			}
			add_popularity = {
				ideology = neutrality
				popularity = 0.05
			}
		}
	}


	focus = {
		id = PAR_allow_women_workers
		available = {

		}

		prerequisite = { focus = PAR_allow_unions_to_strike  focus = PAR_ban_vouchers }
		mutually_exclusive = { }
		icon = GFX_focus_generic_women_in_military
		relative_position_id = PAR_allow_unions_to_strike
		x = -1
		y = 1
		cost = 10

		search_filters = { FOCUS_FILTER_INDUSTRY FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			add_ideas = idea_PAR_women_in_the_industry
		}
	}	


	focus = {
		id = PAR_request_weapons
		available = {
			NOT = { has_war_with = USA }
		}

		bypass = {
		}

		icon = GFX_goal_generic_amphibious_assault
		x = 0
		y = 1
		relative_position_id = PAR_reach_out_to_european_contacts
		prerequisite = { focus = PAR_reach_out_to_european_contacts }
		cost = 10
		search_filters = {  }
		completion_reward = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment_0
				amount = 2000 
				producer = USA
			}

			add_equipment_to_stockpile = { 
				type = artillery_equipment_1
				amount = 650
				producer = USA
			}

			add_equipment_to_stockpile = { 
				type = support_equipment_1
				amount = 500
				producer = USA
			}
		}
	}

	focus = {
		id = PAR_a_call_out_for_aid
		available = {
			#has_civil_war = yes
			NOT = { has_war_with = FRA }
		}

		bypass = {
		}

		icon = GFX_focus_chi_reach_out_to_france
		x = -2
		y = 1
		relative_position_id = PAR_reach_out_to_european_contacts
		prerequisite = { focus = PAR_reach_out_to_european_contacts }
		cost = 10
		search_filters = {  }
		completion_reward = {
			add_timed_idea = {
				idea = idea_PAR_french_volunteers
				days = 1080
			}
		}
	}

	focus = {
		id = PAR_to_cross_a_river
		available = {
			NOT = { has_war_with = USA }
		}

		bypass = {
		}

		icon = GFX_focus_generic_provoke_border_clashes
		x = 2
		y = 1
		relative_position_id = PAR_reach_out_to_european_contacts
		prerequisite = { focus = PAR_reach_out_to_european_contacts }
		cost = 10
		search_filters = {  }
		completion_reward = {
			set_technology = {
				marines = 1
				popup = yes
			}

			random_unit_leader = {
				if = {
					limit = {
						NOT = { has_trait = trickster }
					}
					add_trait = { trait = trickster }
				}
				if = {
					limit = {
						NOT = { has_trait = expert_improviser }
					}
					add_trait = { trait = expert_improviser }
				}
				
			}
			division_template = {
				name = "Cuerpos de Marina"
				is_locked = no
				division_names_group = SPAN_MAR_01 # optional
				priority = 1# optional 
				support={
					artillery={ x=0 y=0 }
				}
				regiments={
					marine={ x=0 y=0 }
					marine={ x=0 y=1 }
					marine={ x=0 y=2 }
					marine={ x=0 y=3 }
					marine={ x=1 y=0 }
					marine={ x=1 y=1 }
					marine={ x=1 y=2 }
					marine={ x=1 y=3 }
					marine={ x=2 y=0 }
					artillery_brigade={ x=3 y=0 }
				}
			}

			random_owned_controlled_state = {
				create_unit = {
					division = "name = \"Cuerpos de Marina\" division_template = \"Cuerpos de Marina\" start_experience_factor = 0.5 start_equipment_factor = 1 start_manpower_factor = 1"
					owner = PAR
					#prioritize_location = province_id # optional 
					#allow_spawning_on_enemy_provs = no 
					country_score = {} # optional 
					count = 3 
					#id = <INT> # optional 
				}	
			}
		}
	}

	focus =  {
		id = PAR_specialized_terrain_training
		icon = GFX_focus_eng_special_air_service
		prerequisite = { 
			focus =  PAR_to_cross_a_river
		}
		x = 0
		y = 1
		relative_position_id = PAR_to_cross_a_river
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { }

		completion_reward = {
			add_ideas = idea_GUYA_specialized_training

		}
	}


	focus = {
		id = PAR_chaco_war_decoration
		available = {
		}

		prerequisite = { focus = PAR_military_pensions }
		mutually_exclusive = { }
		icon = GFX_focus_generic_strike_at_democracy2
		relative_position_id = PAR_military_pensions
		x = 0
		y = 1
		cost = 5

		search_filters = {  FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			every_unit_leader = {
				add_skill_level = 1
				add_attack = 2
				add_logistics = 1
				add_defense = 1
			}
			army_experience = 20

			every_country_division = {
				add_divisional_commander_xp = 2000
			}
		}
	}

	focus = {
		id = PAR_order_italian_planes
		available = {
			#has_civil_war = yes
			NOT = { has_war_with = ITA }
		}

		bypass = {
			has_war_with = ITA
		}

		icon = GFX_focus_generic_copy_plane_designs
		x = 5
		y = 1
		relative_position_id = PAR_fedrerista_land_reforms
		prerequisite = { focus = PAR_reach_out_to_european_contacts focus = PAR_fedrerista_land_reforms }
		cost = 10
		search_filters = {  }
		completion_reward = {
			if = {
				limit = {
					has_dlc = "By Blood Alone"
				}

				create_equipment_variant = {
					name = "CR.32" #
					type = small_plane_airframe_0
					modules = {
						fixed_main_weapon_slot = light_mg_2x
						engine_type_slot = engine_1_1x
						special_type_slot_1 = empty
					}
				}

				create_equipment_variant = {
					name = "SM.81" #
					type = medium_plane_airframe_1
					modules = {
						fixed_main_weapon_slot = medium_bomb_bay
						fixed_auxiliary_weapon_slot_1 = medium_bomb_bay
						engine_type_slot = engine_1_3x
						special_type_slot_1 = lmg_defense_turret_2x
					}
					icon = "GFX_ITA_early_bomber_medium"
				}

				add_equipment_to_stockpile = { 
					type = small_plane_airframe_0
					amount = 60
					producer = ITA
					variant_name = "CR.32" 
				}

				add_equipment_to_stockpile = { 
					type = medium_plane_airframe_1
					amount = 50
					producer = ITA
					variant_name = "SM.81" 
				}
			}
			else = {
				add_equipment_to_stockpile = { 
					type = fighter_equipment_1
					amount = 100
					producer = ITA
				}
				add_equipment_to_stockpile = { 
					type = tac_bomber_equipment_1
					amount = 80
					producer = ITA
				}
			}

			if = {
				limit = {
					has_dlc = "Arms Against Tyranny"
				}
				add_equipment_subsidy = {
					cic = 1000
					equipment_type = small_plane_airframe
					seller_tags = { ITA} 
				}
				add_equipment_subsidy = {
					cic = 1000
					equipment_type = large_plane_airframe
					seller_tags = { ITA } 
				}
				add_equipment_subsidy = {
					cic = 1000
					equipment_type = medium_plane_airframe
					seller_tags = { ITA } 
				}
			}
		}
	}

	focus =  {
		id = PAR_urbanization
		icon = GFX_focus_SWE_urbanization
		x = 2
		y = 0

		relative_position_id = PAR_order_italian_planes
		prerequisite = { focus = PAR_reach_out_to_european_contacts focus = PAR_fedrerista_land_reforms }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_core_state = {
				add_extra_state_shared_building_slots = 2
				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
					}
					
				}
			}
		}
	}


	focus = {
		id = PAR_ask_for_bankroll
		available = {
			#has_civil_war = yes
		}

		bypass = {
		}

		icon = GFX_focus_mex_privatisation
		x = 0
		y = 1
		relative_position_id = PAR_a_call_out_for_aid
		prerequisite = { focus = PAR_a_call_out_for_aid }
		cost = 10
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 3
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
				add_building_construction = {
					type = arms_factory
					level = 2
					instant_build = yes
				}
			}
		}
	}

	focus = {
		id = PAR_emergency_powers
		available = {

		}

		prerequisite = { focus = PAR_ask_for_bankroll }
		icon = GFX_focus_generic_military_dictatorship
		relative_position_id = PAR_ask_for_bankroll
		x = -1
		y = 4
		cost = 5

		search_filters = {  }

		completion_reward = {

			add_stability = -0.1
			add_war_support = 0.15

			custom_effect_tooltip = generic_skip_one_line_tt

			set_rule = { CAN_DECLARE_WAR_ON_SAME_IDEOLOGY = yes }
			set_rule = { can_only_justify_war_on_threat_country = no }
			set_rule = { can_join_opposite_factions = yes }

			custom_effect_tooltip = generic_skip_one_line_tt

			add_ideas = idea_PAR_emergency_powers

		}

	}

	focus = {
		id = PAR_by_all_means_which_to_win
		available = {
			#has_civil_war = yes
		}

		bypass = {
		}

		icon = GFX_focus_SWE_varnplikt
		x = 4
		y = 1
		relative_position_id = PAR_ask_for_bankroll
		prerequisite = { focus = PAR_ask_for_bankroll }
		cost = 10
		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			add_ideas = tot_economic_mobilisation
			add_war_support = 0.4
			add_stability = -0.25
			activate_decision = women_in_the_workforce
		}
	}

	focus = {
		id = PAR_assasinate_rafael_franco
		available = {
			has_civil_war = yes
			NOT = { has_war_with = ENG }
		}

		bypass = {
		}

		mutually_exclusive = { focus = PAR_goad_bolivia }
		icon = GFX_focus_generic_conspiracy
		x = -1
		y = 1
		relative_position_id = PAR_by_all_means_which_to_win
		prerequisite = { focus = PAR_by_all_means_which_to_win }
		cost = 10
		search_filters = {  }
		completion_reward = {
			random_other_country = {
				limit = {
					original_tag = PAR
					has_government = communism
				}

				kill_country_leader = yes
				add_ideas = idea_PAR_leaderless
			}
			if = {
				limit = {
					has_dlc = "La Resistance"
				}

				if = {
					limit = {
						NOT = { has_intelligence_agency = no }
					}
					create_intelligence_agency = yes
				}
				if = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_army_department
						}
					}
					upgrade_intelligence_agency = upgrade_army_department
				}

				if = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_plastic_explosives
						}
					}
					upgrade_intelligence_agency = upgrade_plastic_explosives
				}

				if = {
					limit = {
						NOT = {
							has_done_agency_upgrade = upgrade_commando_training
						}
					}
					upgrade_intelligence_agency = upgrade_commando_training
				}
			}
			else = {
				add_political_power = 150
			}
		}
	}

	focus = {
		id = PAR_goad_bolivia
		available = {
			has_civil_war = yes
			NOT = { has_war_with = ENG }
		}

		bypass = {
		}
		mutually_exclusive = { focus = PAR_assasinate_rafael_franco }
		icon = GFX_focus_generic_attack_bolivia
		x = 2
		y = 0
		relative_position_id = PAR_assasinate_rafael_franco
		prerequisite = { focus = PAR_by_all_means_which_to_win }
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			BOL = {
				random_other_country = {
					limit = {
						original_tag = PAR
						has_government = communism
					}
					PREV = {
						create_wargoal = {
							type = annex_everything
							target = PREV
							generator = { 688 } # optional 
						}
					}
				}
			}

			create_wargoal = {
				type = annex_everything
				target = BOL
			}
		}
	}

	focus = {
		id = PAR_put_estigarribia_on_a_pedestal
		available = {
			has_civil_war = no
		}

		bypass = {
		}

		icon = GFX_focus_PAR_put_estigarribia_on_a_pedestal
		x = 1
		y = 1
		relative_position_id = PAR_assasinate_rafael_franco
		prerequisite = { focus = PAR_assasinate_rafael_franco focus = PAR_goad_bolivia }
		cost = 10
		search_filters = {  }
		completion_reward = {
			add_ideas = idea_PAR_jose_felix_estigarribia
			remove_country_leader_trait = {
			 trait = JUNO_unpopular 
			}
			PAR_jose_felix_estigarribia = {
				add_skill_level = 1
				add_attack = 1
				add_planning = 1
				add_defense = 1
				add_trait = { trait = media_personality }
			}

			unlock_decision_tooltip = {
				decision = PAR_appoint_estigarribia_as_leader
			}
		}
	}

	focus = {
		id = PAR_purge_the_military_of_dissent
		available = {
			has_civil_war = no
		}

		bypass = {
		}

		icon = GFX_focus_SOV_military_purge
		x = 0
		y = 1
		relative_position_id = PAR_put_estigarribia_on_a_pedestal
		prerequisite = { focus = PAR_put_estigarribia_on_a_pedestal }
		cost = 10
		search_filters = {  }
		completion_reward = {
			add_timed_idea = {
			 	idea = PAR_officers_purged
			 	days = 230
			 }

			 custom_effect_tooltip = will_turn_to
			 effect_tooltip = {
			 	add_manpower = 24000
			 	add_doctrine_cost_reduction = {
			 		cost_reduction = 0.5
			 		uses = 2
			 		category = land_doctrine
			 	}

 				PAR_jose_felix_estigarribia = {
					add_skill_level = 1
					add_planning = 1 
					add_defense = 2
				}
			 }

			 custom_effect_tooltip = upon_timeout
		}
	}

	focus = {
		id = PAR_soliders_for_prisoners
		icon = GFX_focus_SOV_penal_battalions
		x = 1
		y = 1
		relative_position_id = PAR_purge_the_military_of_dissent
		prerequisite = { focus =  PAR_purge_the_military_of_dissent }
		#prerequisite = { focus =  BRA_court_the_military }
		cost = 10
		ai_will_do = {
			factor = 15
		}
		available = {
		}

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

			add_manpower = 16000
		}
	}

	focus =  {
		id = PAR_aftermath_of_the_coup
		icon = GFX_focus_SWE_organize_a_putsch
		x = -1
		y = 1
		relative_position_id = PAR_purge_the_military_of_dissent
		prerequisite = { focus =  PAR_purge_the_military_of_dissent }
		cost = 10
		ai_will_do = {
			factor = 100
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_INDUSTRY }

		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
			}

			add_timed_idea = {
				idea = idea_PAR_devastation
				days = 210
			}

			custom_effect_tooltip = CHL_skip_one_line_tt
			custom_effect_tooltip = will_be_upgraded_to
			show_ideas_tooltip = idea_PAR_recovering_economy
			custom_effect_tooltip = when_expired

			custom_effect_tooltip = CHL_skip_one_line_tt
			custom_effect_tooltip = will_be_upgraded_to
			show_ideas_tooltip = idea_PAR_florishing_economy
			custom_effect_tooltip = when_expired
		}
	}


	focus = {
		id = PAR_revenge_for_the_chaco_war
		available = {
			BOL = {
				exists = yes
				NOT = { has_war_with = ROOT }
			}
			has_civil_war = no
			NOT = {
				has_country_leader = {
			 		ruling_only = yes # default = yes
			 		character = PAR_higinio_morinigo # 
			 	}
			}
		}

		bypass = {
			BOL = {
				exists = no
			}
		}
		icon = GFX_focus_PAR_revenge_for_the_chaco_war
		x = 4	
		y = 2
		relative_position_id = PAR_chaco_war_decoration
		prerequisite = { focus  = PAR_chaco_war_decoration }
		mutually_exclusive = { focus = PAR_pull_back_troops_from_the_chaco }
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			create_wargoal = {
				type = annex_everything
				target = BOL
				generator = { 487 302 } # optional 
			}

			if = {
				limit = {
					has_idea = BOL_toll_of_the_chaco_war
				}
				remove_ideas = BOL_toll_of_the_chaco_war
			}

			if = {
				limit = {
					has_idea = BOL_toll_of_the_chaco_war_2
				}
				remove_ideas = BOL_toll_of_the_chaco_war_2
			}
		}
	}

	focus = {
		id = PAR_get_rid_of_obsolete_guns
		available = {
			has_equipment = {
				infantry_equipment > 3499
			}
		}

		bypass = {

		}
		icon = GFX_focus_ETH_freedom_at_gunpoint
		x = -4
		y = 1
		relative_position_id = PAR_revenge_for_the_chaco_war
		prerequisite = { focus = PAR_revenge_for_the_chaco_war }
		mutually_exclusive = {  }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			add_equipment_to_stockpile = { 
				type = infantry_equipment
				amount = -3500
			}
			add_tech_bonus = {
				name = PAR_get_rid_of_obsolete_guns
				bonus = 1
				uses = 2
				ahead_reduction = 1
				category = infantry_weapons # optional 
				# technology  = technology_id # optional
			}


		}
	}

	focus = {
		id = PAR_pull_back_troops_from_the_chaco
		available = {
			BOL = {
				NOT = { has_war_with = ROOT }
			}
			has_civil_war = no
			controls_state = 688
			NOT = { 
				has_country_leader = {
				 	ruling_only = yes # default = yes
				 	character = PAR_higinio_morinigo # 
				 }
			}

			if = {
				limit = {
					is_ai = no
				}
				divisions_in_state = {
					state = 688
					size < 1 # use < or ><state_id>
				}
			}

		}

		bypass = {
			has_country_leader = {
			 	ruling_only = yes # default = yes
			 	character = PAR_higinio_morinigo # 
			}
		}
		icon = GFX_focus_PAR_pull_back_troops_from_the_chaco
		x = -8	
		y = 0
		relative_position_id = PAR_revenge_for_the_chaco_war
		prerequisite = { focus = PAR_a_great_charter }
		mutually_exclusive = { focus = PAR_revenge_for_the_chaco_war }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
		completion_reward = {
			country_event = {
				id = south_american_events.15
				hours = 1 # optional - can take hours/days/months
				random_hours = 3 # optional - can take hours/days/months
			}
			event_option_tooltip = south_american_events.15.a
		}
	}

	focus =  {
		id = PAR_the_permanent_leader
		icon = GFX_goal_generic_demand_territory
		x = 2
		y = 1
		relative_position_id = PAR_pull_back_troops_from_the_chaco
		prerequisite = { focus =  PAR_pull_back_troops_from_the_chaco focus = PAR_revenge_for_the_chaco_war }
		cost = 10
		ai_will_do = {
			factor = 50
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_country_leader_trait = JUNO_the_permanent_leader
		}
	}


	focus = {
		id = PAR_discipline_hierarchy_and_order
		available = {

		}

		bypass = {

		}
		icon = GFX_focus_generic_support_the_left_right
		x = -4	
		y = 1
		relative_position_id = PAR_pull_back_troops_from_the_chaco
		prerequisite = { focus = PAR_pull_back_troops_from_the_chaco }
		mutually_exclusive = {  }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY }
		completion_reward = {
			add_ideas = idea_PAR_discipline_hierarchy_and_order
		}
	}



	focus = {
		id = PAR_suspend_elections
		available = {
			
		}

		bypass = {

		}
		icon = GFX_goal_support_fascism
		x = -2	
		y = 1
		relative_position_id = PAR_pull_back_troops_from_the_chaco
		prerequisite = { focus = PAR_pull_back_troops_from_the_chaco }
		mutually_exclusive = { }
		cost = 5
		search_filters = { FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			add_timed_idea = { idea = idea_PAR_turmoil days = 270 }
			custom_effect_tooltip = will_turn_to
			effect_tooltip = {
				add_ideas = idea_PAR_cemented_control
			}
			custom_effect_tooltip = upon_timeout
		}
	}

	focus = {
		id = PAR_get_rid_of_colonel_peredes
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_generic_conspiracy
		x = -1
		y = 1
		relative_position_id = PAR_suspend_elections
		prerequisite = { focus = PAR_suspend_elections }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
		completion_reward = {
			retire_character = PAR_ramon_paredes
			add_country_leader_trait = {
				trait = dictator
			}
		}
	}

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

		bypass = {

		}
		icon = GFX_focus_generic_military_mission
		x = 1
		y = 1
		relative_position_id = PAR_get_rid_of_colonel_peredes
		prerequisite = { focus = PAR_get_rid_of_colonel_peredes focus = PAR_ban_the_liberal_party }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL }
		completion_reward = {

			custom_effect_tooltip = GUAY_appease_the_generals_tt
			add_timed_idea = {
				idea = idea_PAR_very_high_military_spending
				days = 1460
			}
			country_event = { id = JUNO_guay_events.1 hours = 2 }
		}
	}


	focus = {
		id = PAR_nazify_the_army
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_ger_reichskommisariats
		x = 0
		y = 1
		relative_position_id = PAR_ensure_army_loyalty
		prerequisite = { focus = PAR_ensure_army_loyalty }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_popularity = {
				ideology = fascism
				popularity = 0.15
			}

			add_doctrine_cost_reduction = {
				name = PAR_nazify_the_army
				cost_reduction = 0.35
				uses = 2
				category = land_doctrine
			}

			unlock_decision_tooltip = {
				decision = PAR_flip_to_fascism
				show_effect_tooltip = yes # default is no
				show_modifiers = yes # default is no
			}
		}
	}

	focus = {
		id = PAR_radicalize_the_police
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_generic_fascist_troops
		x = -2
		y = 0
		relative_position_id = PAR_nazify_the_army
		prerequisite = { focus = PAR_ensure_army_loyalty }
		mutually_exclusive = { }
		cost = 5
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = idea_PAR_radicalized_police_force
			custom_effect_tooltip = available_political_advisor		
			show_ideas_tooltip = PAR_mutshuito_villasboa_barboza
		}
	}

	focus = {
		id = PAR_accept_american_loans
		available = {
			NOT = { has_war_with = USA }
			OR = {
				is_in_faction = no
				is_in_faction_with = USA
				AND = {
					is_in_faction_with = ENG
					ENG = { has_government = democratic }
				}
			}
			NOT = { has_idea = idea_PAR_accepted_american_investment }
		}

		bypass = {

		}
		icon = GFX_focus_generic_american_investments
		x = 7
		y = 1
		relative_position_id = PAR_ensure_army_loyalty
		prerequisite = { focus = PAR_ensure_army_loyalty  focus = PAR_liga_nacional_independiente focus = PAR_emergency_powers }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {

			set_rule = { can_join_factions = no }

			custom_effect_tooltip = par_has_accepted_american_funds_tt
			add_timed_idea = {
				idea = idea_PAR_accepted_american_investment
				days = 210
			}
			if = {
				limit = {
					is_in_faction = yes

					NOT = { is_in_faction_with = USA }
					AND = {
						NOT = { is_in_faction_with = ENG }
						ENG = { has_government = democratic }
					}
					
				}

				leave_faction = yes
			}

		}
	}

	focus = {
		id = PAR_agricultural_technical_assistence
		available = {
			NOT = { has_war_with = USA }
			OR = {
				is_in_faction = no
				is_in_faction_with = USA
				AND = {
					is_in_faction_with = ENG
					ENG = { has_government = democratic }
				}
			}
			NOT = { has_idea = idea_PAR_accepted_american_investment }
		}

		bypass = {

		}
		icon = GFX_goal_tfv_generic_tech_sharing
		x = 0
		y = 1
		relative_position_id = PAR_accept_american_loans
		prerequisite = { focus = PAR_accept_american_loans }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			custom_effect_tooltip = par_has_accepted_american_funds_tt
			add_timed_idea = {
				idea = idea_PAR_accepted_american_investment
				days = 210
			}

			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 2
				
			}

			random_core_state = {
				limit = {
					is_controlled_by = ROOT
				}
				add_extra_state_shared_building_slots = 1
				
			}

			if = {
				limit = {
					NOT = {
						has_tech = tech_support	
					}
				}
				set_technology = {
					tech_support = 1
					popup = no
				}
			}

			if = {
				limit = {
					NOT = {
						has_tech = motorised_infantry	
					}
				}
				set_technology = {
					motorised_infantry = 1
					popup = no
				}
			}

			if = {
				limit = {
					NOT = {
						has_tech = tech_field_hospital	
					}
				}
				set_technology = {
					tech_field_hospital = 1
					popup = no
				}
			}

			if = {
				limit = {
					NOT = {
						has_tech = tech_field_hospital2	
					}
				}
				set_technology = {
					tech_field_hospital2 = 1
					popup = no
				}
			}

			if = {
				limit = {
					NOT = {
						has_tech = tech_field_hospital3	
					}
				}
				set_technology = {
					tech_field_hospital3 = 1
					popup = no
				}
			}

			if = {
				limit = {
					is_in_faction = yes

					NOT = { is_in_faction_with = USA }
					AND = {
						NOT = { is_in_faction_with = ENG }
						ENG = { has_government = democratic }
					}
					
				}

				leave_faction = yes
			}
		}
	}

	focus = {
		id = PAR_brazilian_road_finance
		available = {
			NOT = { has_war_with = USA }
			OR = {
				is_in_faction = no
				is_in_faction_with = USA
				AND = {
					is_in_faction_with = ENG
					ENG = { has_government = democratic }
				}
			}
			NOT = { has_idea = idea_PAR_accepted_american_investment }
		}

		bypass = {

		}
		icon = GFX_focus_SOV_the_road_of_life
		x = 0
		y = 1
		relative_position_id = PAR_agricultural_technical_assistence
		prerequisite = { focus = PAR_agricultural_technical_assistence }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL }
		completion_reward = {
			custom_effect_tooltip = par_has_accepted_american_funds_tt

			add_timed_idea = {
				idea = idea_PAR_accepted_american_investment
				days = 210
			}

			688 = {
				add_extra_state_shared_building_slots = 2
				add_building_construction = {
					type = supply_node
					province =  8203
					level = 1
					instant_build = yes
				}
			}

			build_railway = {
				level = 3
				start_province = 2152
				target_province = 8203
			}

			if = {
				limit = {
					is_in_faction = yes

					NOT = { is_in_faction_with = USA }
					AND = {
						NOT = { is_in_faction_with = ENG }
						ENG = { has_government = democratic }
					}
					
				}

				leave_faction = yes
			}
		}
	}

	focus = {
		id = PAR_join_the_allies

		available = {
			is_subject = no
			OR = {
				AND = {
					USA = { 
						is_faction_leader = yes 
						has_government = democratic
					}
					NOT = { has_war_with = USA }
				}

				AND = {
					ENG = { 
						is_faction_leader = yes 
						has_government = democratic
					}
					NOT = { has_war_with = ENG }
				}
			}
		}

		bypass = {

		}
		icon = GFX_focus_chi_british_cooperation
		x = 0
		y = 1
		relative_position_id = PAR_brazilian_road_finance
		prerequisite = { focus = PAR_brazilian_road_finance }
		mutually_exclusive = { focus = PAR_join_the_axis focus = PAR_join_the_cominterm }
		cost = 5
		search_filters = {  }

		completion_reward = {

			set_rule = { can_join_factions = yes }

			if = {
				limit = {
					ENG = { 
						is_faction_leader = yes 
						has_government = democratic
						NOT = { has_war_with = ROOT }
					}	
				}

				ENG = {
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
			else_if = {
				limit = {
					USA = { 
						is_faction_leader = yes 
						has_government = democratic
						NOT = { has_war_with = ROOT }
					}	
				}

				USA = {
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
			else = {
				every_country = {
					limit = {
						is_major = yes
						is_faction_leader = yes
						has_government = democratic
					}
					random_select_amount = 1
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				OR = {
					has_game_rule = {
						rule = PAR_AI_BEHAVIOR
						option = HISTORICAL
					}
					has_game_rule = {
						rule = PAR_AI_BEHAVIOR
						option = DEFAULT
					}
				}
				
				factor = 0
			}
		}
	}

	focus = {
		id = PAR_join_the_cominterm
		
		available = {
			is_subject = no
			NOT = { has_war_with = SOV }
			NOT = { has_idea = idea_PAR_accepted_american_investment }
		}

		bypass = {

		}
		icon = GFX_focus_chi_mission_to_the_soviet_union
		x = 2
		y = 1
		relative_position_id = PAR_brazilian_road_finance
		prerequisite = { focus = PAR_accept_american_loans }
		mutually_exclusive = { focus = PAR_join_the_axis  focus = PAR_join_the_allies }
		cost = 5
		search_filters = {  }
		completion_reward = {
			if = {
				limit = {
					SOV = { 
						is_faction_leader = yes 
						has_government = communism
						NOT = { has_war_with = ROOT }
					}	
				}

				SOV = {
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
			else_if = {
				limit = {
					PRC = { 
						is_faction_leader = yes 
						has_government = communism
						NOT = { has_war_with = ROOT }
					}	
				}

				PRC = {
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
			else = {
				every_country = {
					limit = {
						is_major = yes
						is_faction_leader = yes
						has_government = communism
					}
					random_select_amount = 1
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}

		}

		ai_will_do = {
			base = 1
			modifier = {
				OR = {
					has_game_rule = {
						rule = PAR_AI_BEHAVIOR
						option = HISTORICAL
					}
					has_game_rule = {
						rule = PAR_AI_BEHAVIOR
						option = DEFAULT
					}
				}
				
				factor = 0
			}
		}
	}

	focus = {
		id = PAR_join_the_axis

		available = {
			is_subject = no
			GER = { has_war = yes }
			NOT = { has_war_with = GER }
			NOT = { has_idea = idea_PAR_accepted_american_investment }
			NOT = { is_in_faction = yes }
		}

		bypass = {

		}
		icon = GFX_focus_chi_mission_to_germany
		x = -2
		y = 0
		relative_position_id = PAR_join_the_allies
		prerequisite = { focus = PAR_ensure_army_loyalty }
		mutually_exclusive = { focus = PAR_join_the_allies focus = PAR_join_the_cominterm }
		cost = 5
		search_filters = {  }
		completion_reward = {

			if = {
				limit = {
					GER = { 
						is_faction_leader = yes 
						has_government = fascism
						NOT = { has_war_with = ROOT }
					}	
				}

				GER = {
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
			else_if = {
				limit = {
					JAP = { 
						is_faction_leader = yes 
						has_government = fascism
						NOT = { has_war_with = ROOT }
					}	
				}

				JAP = {
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
			else = {
				every_country = {
					limit = {
						is_major = yes
						is_faction_leader = yes
						has_government = fascism
					}
					random_select_amount = 1
					country_event = {
						id = generic.2
						hours = 3# optional - can take hours/days/months
						random_hours = 3 # optional - can take hours/days/months
					}
				}
			}
		}

		ai_will_do = {
			base = 1
			modifier = {
				OR = {
					has_game_rule = {
						rule = PAR_AI_BEHAVIOR
						option = HISTORICAL
					}
					has_game_rule = {
						rule = PAR_AI_BEHAVIOR
						option = DEFAULT
					}
				}
				
				factor = 0
			}
		}
	}

	focus = {
		id = PAR_ban_the_liberal_party
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_LAT_suspend_constitution_of_latvia
		x = 2
		y = 0
		relative_position_id = PAR_get_rid_of_colonel_peredes
		prerequisite = { focus = PAR_suspend_elections }
		mutually_exclusive = { }
		cost = 5
		search_filters = { FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_POLITICAL }
		completion_reward = {
			add_war_support = 0.05
			add_popularity = {
				ideology = neutrality
				popularity = 0.25
			}
			add_popularity = {
				ideology = fascism
				popularity = 0.1
			}
			add_popularity = {
				ideology = democratic
				popularity = -0.25
			}
			add_popularity = {
				ideology = communism
				popularity = -0.25
			}

		}
	}

	focus = {
		id = PAR_align_with_the_guion_rojo
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_PAR_align_with_the_guion_rojo
		x = 2
		y = 0
		relative_position_id = PAR_ban_the_liberal_party
		prerequisite = { focus = PAR_suspend_elections }
		mutually_exclusive = { }
		cost = 10
		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_STABILITY FOCUS_FILTER_WAR_SUPPORT FOCUS_FILTER_MANPOWER }
		completion_reward = {
			add_ideas = idea_PAR_guion_rojo
		}
	}

	focus = {
		id = PAR_neuter_the_guion_rojo
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_PAR_neuter_the_guion_rojo
		x = -2
		y = 1
		relative_position_id = PAR_revenge_for_the_chaco_war
		prerequisite = { focus = PAR_revenge_for_the_chaco_war }
		mutually_exclusive = { }
		cost = 5
		search_filters = {  }
		completion_reward = {
			add_stability = 0.1
			add_popularity = {
				ideology = fascism
				popularity = -0.25
			}

			add_popularity = {
				ideology = neutrality
				popularity = -0.25
			}
		}
	}

	focus = {
		id = PAR_liga_nacional_independiente 
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_SWE_refuge_for_revolutionaries
		x = -1
		y = 1
		relative_position_id = PAR_neuter_the_guion_rojo
		prerequisite = { focus = PAR_neuter_the_guion_rojo }
		mutually_exclusive = { }
		cost = 10
		search_filters = {  }
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_stability = 0.05
			add_war_support = 0.05
		}
	}

	focus =  {
		id = PAR_cult_of_personality
		icon = GFX_focus_ICE_embrace_the_workers_revolution
		x = 1
		y = 1
		relative_position_id = PAR_liga_nacional_independiente
		prerequisite = { focus =  PAR_liga_nacional_independiente focus = PAR_union_nacional_revolucionaria focus = PAR_align_with_the_guion_rojo }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {

		}

		search_filters = { FOCUS_FILTER_HISTORICAL }

		completion_reward = {
			add_country_leader_trait = JUNO_cult_of_personality
		}
	}

	focus = {
		id = PAR_union_nacional_revolucionaria 
		available = {
	
		}

		bypass = {

		}
		icon = GFX_focus_URG_turmoil_of_paso_morlan
		x = 1
		y = 1
		relative_position_id = PAR_neuter_the_guion_rojo
		prerequisite = { focus = PAR_neuter_the_guion_rojo }
		mutually_exclusive = { }
		cost = 10
		search_filters = {  }
		completion_reward = {
			add_popularity = {
				ideology = communism
				popularity = 0.05
			}
			add_political_power = 150
		}
	}

	focus =  {
		id = PAR_adopt_minority_languages
		icon = GFX_goal_generic_propaganda
		x = 0
		y = 1
		relative_position_id = PAR_emergency_powers
		prerequisite = { focus =  PAR_liga_nacional_independiente focus =  PAR_emergency_powers }
		cost = 10
		ai_will_do = {
			factor = 30
		}
		available = {

		}

		search_filters = {  }

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

	focus =  {
		id = PAR_free_seconday_schools
		icon = GFX_focus_generic_university_1
		x = -2
		y = 1

		relative_position_id = PAR_adopt_minority_languages
		prerequisite = { focus =  PAR_adopt_minority_languages  }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_RESEARCH }
		completion_reward = {
			add_ideas = idea_GUAY_free_seconday_schools

		}
	}

	focus =  {
		id = PAR_nationalize_foreign_owned_companies
		icon = GFX_focus_generic_annex_country_2
		x = -4
		y = 1

		relative_position_id = PAR_emergency_powers
		prerequisite = { focus =  PAR_emergency_powers focus = PAR_union_nacional_revolucionaria }

		cost = 10


		ai_will_do = {
			factor = 1
		}

		available = {

		}

		bypass = {

		}

		cancel_if_invalid = yes
		continue_if_invalid = no
		available_if_capitulated = no

		search_filters = { FOCUS_FILTER_INDUSTRY }
		completion_reward = {
			random_core_state = {
				limit = {
					is_owned_and_controlled_by = ROOT
				}
				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
				}
			}
		}
	}

	focus =  {
		id = PAR_mass_drafts
		icon = GFX_focus_SOV_mobilization_plan
		prerequisite = { focus = PAR_adopt_minority_languages }
		x = 0
		y = 1
		relative_position_id = PAR_adopt_minority_languages
		cost = 5
		ai_will_do = {
			factor = 30
		}
		available = {
		}

		search_filters = { FOCUS_FILTER_MANPOWER }

		completion_reward = {
			add_ideas = idea_GUAY_mass_drafts

		}
	}


	focus = {
		id = PAR_mythologize_the_father_of_the_nation
		icon = GFX_focus_focus_fra_revolution_utmost
		x = -3
		y = 1
		relative_position_id = PAR_liga_nacional_independiente
		prerequisite = { focus =  PAR_liga_nacional_independiente focus = PAR_align_with_the_guion_rojo }
		ai_will_do = {
			factor = 30
		}
		cost = 10
		available = {

		}

		search_filters = { FOCUS_FILTER_HISTORICAL FOCUS_FILTER_MANPOWER }

		completion_reward = {

			add_ideas = idea_GUAY_father_of_the_nation_par
		}
	}

	
	focus = {
		id = PAR_access_the_sea
		available = {
			OR = {
				PRU = {
					exists = yes
					NOT = { has_war_with = ROOT }
				}

				CHL = {
					exists = yes
					NOT = { has_war_with = ROOT }
				}
			}
			has_civil_war = no
		}

		bypass = {
		}
		icon = GFX_focus_ARG_chilean_ultimatum
		x = 1	
		y = 1
		relative_position_id = PAR_revenge_for_the_chaco_war
		prerequisite = { focus = PAR_revenge_for_the_chaco_war }
		cost = 10
		search_filters = { FOCUS_FILTER_ANNEXATION }
		completion_reward = {
			if = {
				limit = {
					CHL = {
						exists = yes
					}
				}

				create_wargoal = {
					type = annex_everything
					target = CHL
				}
			}

			if = {
				limit = {
					PRU = {
						exists = yes
					}
				}

				create_wargoal = {
					type = annex_everything
					target = PRU
				}
			}
		}
	}
}
