##################################
#   Philippines Focus Tree   # from Kaiserreich
##################################
# By Chiang Kai-Shrek, Suzuha, Verniy, Silentio, and Marc
##################################

focus_tree = {
	id = PHI_focus_tree

	country = {
		factor = 0

		modifier = {
			add = 60
			tag = PHI
		}
	}

	default = no

	continuous_focus_position = { x = 2500 y = 100 }

########################################
###- Section 01: Quezon's 1st Term -####
########################################
	focus = {
		id = PHI_continue_philippinisation
		icon = GFX_enshrinebatakarights
		cost = 5

		x = 5
		y = 2

		ai_will_do = {
			base = 250 #Make sure the ai is either doing this or War plan orange at the start
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_continue_philippinisation"
			add_political_power = 50
			increase_ruling_party_popularity_by_5 = yes
			add_offsite_building = {
				type = industrial_complex
				level = -1
			}
			623 = {
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = industrial_complex
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_optional_religious_instruction
		icon = GFX_goal_BRA_catholic_education
		cost = 5

		x = -2
		y = 1

		relative_position_id = PHI_continue_philippinisation
		prerequisite = { focus = PHI_continue_philippinisation }

		ai_will_do = {
			base = 100
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_optional_religious_instruction"
			add_stability = 0.1
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PHI_government_survey_board
		icon = GFX_goal_generic_government_deals
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_continue_philippinisation
		prerequisite = { focus = PHI_continue_philippinisation }

		ai_will_do = {
			base = 100
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_government_survey_board"
			swap_ideas = {
				remove_idea = PHI_political_spirit_1_idea
				add_idea = PHI_political_spirit_2_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PHI_social_justice_campaign
		icon = GFX_focus_generic_concessions
		cost = 5

		x = 2
		y = 1
		relative_position_id = PHI_continue_philippinisation
		prerequisite = { focus = PHI_continue_philippinisation }

		ai_will_do = {
			base = 100
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_social_justice_campaign"
			add_stability = 0.05
			add_political_power = 50
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_eight_hour_labour_law
		icon = GFX_goal_workers_for_business
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_government_survey_board
		prerequisite = { focus = PHI_government_survey_board }
		prerequisite = { focus = PHI_social_justice_campaign }

		ai_will_do = {
			base = 100
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_eight_hour_labour_law"
			add_war_support = 0.15
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PHI_national_council_for_education
		icon = GFX_focus_NORDIC_dem_capstone_research
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_government_survey_board
		prerequisite = { focus = PHI_government_survey_board }
		prerequisite = { focus = PHI_optional_religious_instruction }

		ai_will_do = {
			base = 200 #Ai should beeline research if possible
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_national_council_for_education"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_more_government_less_politics
		icon = GFX_councilrule
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_national_council_for_education
		prerequisite = { focus = PHI_eight_hour_labour_law }
		prerequisite = { focus = PHI_national_council_for_education }

		ai_will_do = {
			base = 500 #Very Important Focus
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_more_government_less_politics"
			add_command_power = 100 #Helps PHI play the minigame
			add_war_support = 0.10
			swap_ideas = {
				remove_idea = PHI_political_spirit_2_idea
				add_idea = PHI_political_spirit_3_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PHI_nineteenthirtynine_elections
		icon = GFX_goal_generic_elections
		cost = 5

		x = 0
		y = 3
		available = {
			date > 1938.09.16
		}
		bypass = {
			date > 1938.09.16 #Don't have this autocomplete to avoid duplicate the political spirit.
		}
		relative_position_id = PHI_more_government_less_politics
		prerequisite = { focus = PHI_more_government_less_politics }

		ai_will_do = {
			base = 500 #If somehow not complete, should complete ASAP
			modifier = {
			#PHI is trained to mix in politics before 1940.
				factor = 1.5
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_nineteenthirtynine_elections"
			custom_effect_tooltip = unlock_focuses
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_friends_not_forgotten
		icon = GFX_focus_generic_befriend_usa
		cost = 5
		x = 1
		y = 1
		relative_position_id = PHI_more_government_less_politics
		prerequisite = { focus = PHI_more_government_less_politics }

		available = {
			NOT = { has_war_with = var:361.owner } #Owner of Washington DC
			custom_override_tooltip = {
				tooltip = PHI_has_fight_for_philippines_active_tt
				has_country_flag = PHI_fight_for_the_philippines_active_flag
			}
		}

		ai_will_do = {
			base = 100
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_friends_not_forgotten"
			PHI_add_USA_alignment_large_effect = yes
			unlock_decision_tooltip = PHI_negotiate_with_the_americans
			if = {
				limit = { NOT = { has_country_flag = PHI_chose_a_main_benefactor_flag } }
				set_country_flag = PHI_chose_a_main_benefactor_flag
	
				custom_effect_tooltip = PHI_choose_a_main_benefactor_tt
				add_offsite_building = {
					type = industrial_complex
					level = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_patronise_the_deutsche_klub
		icon = GFX_goal_German_Investements
		cost = 5

		x = -2
		y = 1
		relative_position_id = PHI_more_government_less_politics
		prerequisite = { focus = PHI_more_government_less_politics }

		available = {
			NOT = { has_war_with = GER }
			custom_override_tooltip = {
				tooltip = PHI_has_fight_for_philippines_active_tt
				has_country_flag = PHI_fight_for_the_philippines_active_flag
			}
		}

		ai_will_do = {
			base = 100
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_patronise_the_deutsche_klub"
			PHI_add_GEA_alignment_large_effect = yes
			unlock_decision_tooltip = PHI_negotiate_with_the_Germans
			if = {
				limit = { NOT = { has_country_flag = PHI_chose_a_main_benefactor_flag } }
				set_country_flag = PHI_chose_a_main_benefactor_flag
	
				custom_effect_tooltip = PHI_choose_a_main_benefactor_tt
				add_offsite_building = {
					type = arms_factory
					level = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

	focus = {
		id = PHI_visit_from_the_ijn
		icon = GFX_goal_FNG_commission_japanese_ships
		cost = 5

		x = 2
		y = 2
		relative_position_id = PHI_more_government_less_politics
		prerequisite = { focus = PHI_more_government_less_politics }

		available = {
			NOT = { has_war_with = JAP } #Owner of Washington DC
			custom_override_tooltip = {
				tooltip = PHI_has_fight_for_philippines_active_tt
				has_country_flag = PHI_fight_for_the_philippines_active_flag
			}
		}

		ai_will_do = {
			base = 100
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_visit_from_the_ijn"
			PHI_add_CPS_alignment_large_effect = yes
			unlock_decision_tooltip = PHI_negotiate_with_the_Japanese
			if = {
				limit = { NOT = { has_country_flag = PHI_chose_a_main_benefactor_flag } }
				set_country_flag = PHI_chose_a_main_benefactor_flag
	
				custom_effect_tooltip = PHI_choose_a_main_benefactor_tt
				add_offsite_building = {
					type = dockyard
					level = 1
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

########################################
###- Section 02: Quezon's 2nd Term -####
########################################
	focus = {
		id = PHI_to_the_victors_go_the_spoils
		icon = GFX_goal_ideology_market_liberal
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_nineteenthirtynine_elections
		prerequisite = { focus = PHI_nineteenthirtynine_elections }

		ai_will_do = {
			base = 200 #Train Ai to beeline research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		available = {
			has_right_democratic_government = yes
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_to_the_victors_go_the_spoils"
			add_popularity = { ideology = market_liberal popularity = 0.1 }
			add_stability = 0.05
			add_political_power = 50
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_industrial_arbirtration
		icon = GFX_focus_eng_concessions_to_the_trade_unions
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_to_the_victors_go_the_spoils
		prerequisite = { focus = PHI_to_the_victors_go_the_spoils }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_industrial_arbirtration"
			add_war_support = 0.10
			add_timed_idea = {
				idea = PHI_workers_rights_idea
				days = 720
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_open_more_public_schools
		icon = GFX_goal_KTG_Educate_natives
		cost = 5

		x = 2
		y = 1
		relative_position_id = PHI_to_the_victors_go_the_spoils
		prerequisite = { focus = PHI_to_the_victors_go_the_spoils }

		ai_will_do = {
			base = 200 #Beeline research when you can
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_open_more_public_schools"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_plebiscite_on_womens_suffrage
		icon = GFX_focus_generic_female_voting
		cost = 5

		x = -2
		y = 1
		relative_position_id = PHI_to_the_victors_go_the_spoils
		prerequisite = { focus = PHI_to_the_victors_go_the_spoils }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_plebiscite_on_womens_suffrage"
			add_ideas = PHI_women_suffrage_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_reserve_officers_training_corps
		icon = GFX_focus_generic_full_social_mobilization
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_industrial_arbirtration
		prerequisite = { focus = PHI_to_the_victors_go_the_spoils }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_reserve_officers_training_corps"

			increase_conscription = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_expand_the_council_of_state
		icon = GFX_goal_Centralised_Government
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_open_more_public_schools
		prerequisite = { focus = PHI_open_more_public_schools }
		prerequisite = { focus = PHI_industrial_arbirtration }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_the_council_of_state"
			add_stability = 0.1
			add_political_power = 50
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_a_modern_philippines
		icon = GFX_goal_social_reforms
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_reserve_officers_training_corps
		prerequisite = { focus = PHI_reserve_officers_training_corps }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_modern_philippines"
			if = {
				limit = { has_idea = PHI_political_spirit_quezon_1_idea }
				swap_ideas = {
					remove_idea = PHI_political_spirit_quezon_1_idea
					add_idea = PHI_political_spirit_quezon_2_idea
				}
			}
			else = {
				swap_ideas = {
					remove_idea = PHI_political_spirit_3_idea
					add_idea = PHI_political_spirit_quezon_1_idea
				}
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_the_national_dream_fulfilled
		icon = GFX_goal_generic_join_faction
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_reserve_officers_training_corps
		prerequisite = { focus = PHI_reserve_officers_training_corps }


		ai_will_do = {
			base = 200 #Important focus
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_national_dream_fulfilled"
			if = {
				limit = { has_idea = PHI_political_spirit_quezon_1_idea }
				swap_ideas = {
					remove_idea = PHI_political_spirit_quezon_1_idea
					add_idea = PHI_political_spirit_quezon_2_idea
				}
			}
			else = {
				swap_ideas = {
					remove_idea = PHI_political_spirit_3_idea
					add_idea = PHI_political_spirit_quezon_1_idea
				}
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_hub_of_the_pacific
		icon = GFX_focus_GER_south_east_asian_natural_wealth
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_the_national_dream_fulfilled
		prerequisite = { focus = PHI_the_national_dream_fulfilled }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_hub_of_the_pacific"
			custom_effect_tooltip = PHI_hub_of_the_pacific_tt
			PHI_hub_of_pacific_effect = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_a_proper_diplomatic_service
		icon = GFX_goal_champagne_diplomacy
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_the_national_dream_fulfilled
		prerequisite = { focus = PHI_the_national_dream_fulfilled }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_proper_diplomatic_service"
			add_stability = 0.10
			add_war_support = 0.10
			add_ideas = PHI_pacific_vanguard
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

########################################
###- Section 03: Roxas's Presidency -###
########################################

	focus = {
		id = PHI_a_steady_hand
		icon = GFX_focus_generic_authoritarian_government
		cost = 5

		x = 32
		y = 1

		relative_position_id = PHI_nineteenthirtynine_elections
		prerequisite = { focus = PHI_nineteenthirtynine_elections }

		available = {
			OR = {
				AND = {
					has_government = authoritarian_democrat
					has_country_leader = { name = "Manuel Roxas" }
				}
				has_government = paternal_autocrat
			}
		}

		ai_will_do = {
			base = 200 #Beeline research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_steady_hand"
			add_stability = 0.10
			add_popularity = { ideology = authoritarian_democrat popularity = 0.10 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_consolidate_the_university_of_the_philippines
		icon = GFX_goal_KTG_Bookstack
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_a_steady_hand
		prerequisite = { focus = PHI_a_steady_hand }

		ai_will_do = {
			base = 200 #Beeline research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_consolidate_the_university_of_the_philippines"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_security_through_patronage
		icon = GFX_cholmondeley
		cost = 5

		x = 1
		y = 1

		relative_position_id = PHI_a_steady_hand
		prerequisite = { focus = PHI_a_steady_hand }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_security_through_patronage"
			add_ideas = PHI_security_through_patronage_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_model_of_filipino_womanhood
		icon = GFX_focus_AUS_womens_education_initiative
		cost = 5

		x = 0
		y = 2

		relative_position_id = PHI_a_steady_hand
		prerequisite = { focus = PHI_a_steady_hand }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_model_of_filipino_womanhood"
			add_ideas = PHI_model_of_filipino_womanhood_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_expel_subversives
		icon = GFX_goal_generic_expel_people
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_model_of_filipino_womanhood
		prerequisite = { focus = PHI_model_of_filipino_womanhood }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expel_subversives"
			add_popularity = { ideology = syndicalist popularity = -0.05 }
			add_popularity = { ideology = radical_socialist popularity = -0.05 }
			add_popularity = { ideology = totalist popularity = -0.05 }
			add_popularity = { ideology = social_liberal popularity = -0.05 }
			add_ideas = PHI_expel_subversives_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_greasing_the_wheels
		icon = GFX_goal_generic_debt_negotiations
		cost = 5

		x = -2
		y = 1

		relative_position_id = PHI_model_of_filipino_womanhood
		prerequisite = { focus = PHI_model_of_filipino_womanhood }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_greasing_the_wheels"
			swap_ideas = {
				remove_idea = PHI_political_spirit_3_idea
				add_idea = PHI_political_spirit_roxas_1_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_expand_the_constabulary
		icon = GFX_regularisethekathi
		cost = 5

		x = 2
		y = 1

		relative_position_id = PHI_model_of_filipino_womanhood
		prerequisite = { focus = PHI_model_of_filipino_womanhood }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_the_constabulary"
			increase_conscription = yes

		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_unification_of_politics
		icon = GFX_focus_LAT_suspend_constitution_of_latvia
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_expel_subversives
		prerequisite = { focus = PHI_expel_subversives }
		prerequisite = { focus = PHI_expand_the_constabulary }
		prerequisite = { focus = PHI_greasing_the_wheels }


		ai_will_do = {
			base = 200 #Important Focus
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_unification_of_politics"
			swap_ideas = {
				remove_idea = PHI_political_spirit_roxas_1_idea
				add_idea = PHI_political_spirit_roxas_2_idea
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_agreement_of_mutual_benefits
		icon = GFX_focus_generic_monetary_union
		cost = 5

		x = 0
		y = 2

		relative_position_id = PHI_unification_of_politics
		prerequisite = { focus = PHI_unification_of_politics }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_agreement_of_mutual_benefits"
			custom_effect_tooltip = PHI_hub_of_the_pacific_tt
			PHI_hub_of_pacific_effect = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_our_seat_at_the_table
		icon = GFX_goal_generic_globe
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_unification_of_politics
		prerequisite = { focus = PHI_unification_of_politics }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_our_seat_at_the_table"
			add_ideas = PHI_our_seat_at_the_table_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
########################################
#- Section 04: Aguinaldo's Presidency -#
########################################

	focus = {
		id = PHI_the_humble_sons_of_the_people
		icon = GFX_goal_generic_council
		cost = 5

		x = 24
		y = 1

		relative_position_id = PHI_nineteenthirtynine_elections
		prerequisite = { focus = PHI_nineteenthirtynine_elections }

		available = {
			OR = {
				AND = {
					has_government = authoritarian_democrat
					has_country_leader = { name = "Emilio Aguinaldo" }
				}
				has_government = national_populist
			}
		}

		ai_will_do = {
			base = 200 #Beeline Research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_humble_sons_of_the_people"
			add_popularity = { ideology = authoritarian_democrat popularity = 0.07 }
			add_popularity = { ideology = national_populist popularity = 0.03 }
			add_war_support = 0.10
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_vocational_and_nationalist_education
		icon = GFX_focus_ARG_anti_american_propaganda
		cost = 5

		x = -2
		y = 1

		ai_will_do = {
			base = 200 #Beeline Research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		relative_position_id = PHI_the_humble_sons_of_the_people
		prerequisite = { focus = PHI_the_humble_sons_of_the_people }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_vocational_and_nationalist_education"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_improve_working_class_housing
		icon = GFX_goal_generic_build_housing
		cost = 5

		x = 0
		y = 1

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		relative_position_id = PHI_the_humble_sons_of_the_people
		prerequisite = { focus = PHI_the_humble_sons_of_the_people }
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_improve_working_class_housing"
			add_ideas = PHI_improve_working_class_housing_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_mothers_of_the_nation
		icon = GFX_focus_SOV_womens_fascist_movement
		cost = 5

		x = 2
		y = 1

		relative_position_id = PHI_the_humble_sons_of_the_people
		prerequisite = { focus = PHI_the_humble_sons_of_the_people }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_mothers_of_the_nation"
			add_ideas = PHI_mothers_of_the_nation_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_spirit_of_national_defense
		icon = GFX_goal_mass_concentration_of_army
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_mothers_of_the_nation
		prerequisite = { focus = PHI_mothers_of_the_nation }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_spirit_of_national_defense"
			increase_conscription = yes
			add_war_support = 0.05
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_cooperation_of_labour_and_capital
		icon = GFX_goal_generic_corporatism
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_vocational_and_nationalist_education
		prerequisite = { focus = PHI_vocational_and_nationalist_education }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_cooperation_of_labour_and_capital"
			add_ideas = PHI_cooperation_of_labour_and_capital_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_spirit_of_ninety_six
		icon = GFX_goal_generic_army_mass_assault
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_improve_working_class_housing
		prerequisite = { focus = PHI_improve_working_class_housing }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_spirit_of_ninety_six"
			swap_ideas = {
				remove_idea = PHI_political_spirit_3_idea
				add_idea = PHI_political_spirit_aguinaldo_1_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_philippines_unbowed
		icon = GFX_aunitarystate
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_spirit_of_ninety_six
		prerequisite = { focus = PHI_spirit_of_ninety_six }


		ai_will_do = {
			base = 200 #Important Focus
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_philippines_unbowed"
			swap_ideas = {
				remove_idea = PHI_political_spirit_aguinaldo_1_idea
				add_idea = PHI_political_spirit_aguinaldo_2_idea
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_pan_asian_propaganda
		icon = GFX_focus_usa_focus_on_asia
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_philippines_unbowed
		prerequisite = { focus = PHI_philippines_unbowed }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_pan_asian_propaganda"
			custom_effect_tooltip = PHI_hub_of_the_pacific_tt
			PHI_hub_of_pacific_effect = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_the_glorious_republic
		icon = GFX_focus_generic_coastal_fort
		cost = 5

		x = 1
		y = 1

		relative_position_id = PHI_philippines_unbowed
		prerequisite = { focus = PHI_philippines_unbowed }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_glorious_republic"
			add_ideas = PHI_the_glorious_republic_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
########################################
###- Section 05: Recto's Presidency -###
########################################

	focus = {
		id = PHI_evolution_not_revolution
		icon = GFX_goal_generic_enforce_labor_regulation
		cost = 5

		x = 16
		y = 1

		relative_position_id = PHI_nineteenthirtynine_elections
		prerequisite = { focus = PHI_nineteenthirtynine_elections }

		available = {
			has_left_democratic_government = yes
		}

		ai_will_do = {
			base = 200 #Beeline Research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_evolution_not_revolution"
			add_stability = 0.1
			add_popularity = { ideology = social_liberal popularity = 0.1 }
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_new_medium_of_instruction
		icon = GFX_focus_generic_university_1
		cost = 5

		x = -2
		y = 1

		relative_position_id = PHI_evolution_not_revolution
		prerequisite = { focus = PHI_evolution_not_revolution }

		ai_will_do = {
			base = 200 #Beeline Research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_new_medium_of_instruction"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_promote_public_welfare
		icon = GFX_focus_generic_welfare
		cost = 5

		x = 1
		y = 1

		relative_position_id = PHI_evolution_not_revolution
		prerequisite = { focus = PHI_evolution_not_revolution }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_promote_public_welfare"
			add_ideas = PHI_promote_welfare_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_domestic_relations_and_probate_courts
		icon = GFX_focus_generic_population_growth
		cost = 5

		x = 0
		y = 2

		relative_position_id = PHI_evolution_not_revolution
		prerequisite = { focus = PHI_evolution_not_revolution }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_domestic_relations_and_probate_courts"
			add_ideas = PHI_domestic_relations_and_probate_courts_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_provincial_autonomy
		icon = GFX_lessonslearned
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_domestic_relations_and_probate_courts
		prerequisite = { focus = PHI_domestic_relations_and_probate_courts }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_provincial_autonomy"
			swap_ideas = {
				remove_idea = PHI_political_spirit_3_idea
				add_idea = PHI_political_spirit_recto_1_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_protect_press_freedoms
		icon = GFX_goal_big_news
		cost = 5

		x = 1
		y = 1

		relative_position_id = PHI_domestic_relations_and_probate_courts
		prerequisite = { focus = PHI_domestic_relations_and_probate_courts }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_protect_press_freedoms"
			add_stability = 0.05
			add_war_support = 0.15
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_cement_military_political_divide
		icon = GFX_goal_focus_chain_army
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_new_medium_of_instruction
		prerequisite = { focus = PHI_new_medium_of_instruction }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_cement_military_political_divide"
			increase_conscription = yes
			add_war_support = 0.05
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_break_the_colonial_pattern
		icon = GFX_goal_Fight_for_Freedom
		cost = 5

		x = 0
		y = 2

		relative_position_id = PHI_domestic_relations_and_probate_courts
		prerequisite = { focus = PHI_provincial_autonomy }
		prerequisite = { focus = PHI_protect_press_freedoms }

		ai_will_do = {
			base = 200 #Important Focus
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_break_the_colonial_pattern"
			swap_ideas = {
				remove_idea = PHI_political_spirit_recto_1_idea
				add_idea = PHI_political_spirit_recto_2_idea
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_assert_our_independence
		icon = GFX_goal_COS_Ferrer_Coup
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_break_the_colonial_pattern
		prerequisite = { focus = PHI_break_the_colonial_pattern }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_assert_our_independence"
			custom_effect_tooltip = PHI_hub_of_the_pacific_tt
			PHI_hub_of_pacific_effect = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_the_unconquerable_faith
		icon = GFX_focus_spr_torchbearers_of_tomorrow
		cost = 5

		x = 1
		y = 1

		relative_position_id = PHI_break_the_colonial_pattern
		prerequisite = { focus = PHI_break_the_colonial_pattern }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_unconquerable_faith"
			add_ideas = PHI_the_unconquerable_faith_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
##########################################
#- Section 06: Evangelista's Presidency -#
##########################################

	focus = {
		id = PHI_coalition_of_the_oppressed_masses
		icon = GFX_goal_syndicalist_workers
		cost = 5

		x = 8
		y = 1

		relative_position_id = PHI_nineteenthirtynine_elections
		prerequisite = { focus = PHI_nineteenthirtynine_elections }

		available = {
			has_socialist_government = yes
		}

		ai_will_do = {
			base = 200 #Beeline Research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_coalition_of_the_oppressed_masses"
			add_popularity = { ideology = syndicalist popularity = 0.1 }
			if = {
				limit = { NOT = { has_government = syndicalist } }
				set_temp_variable = { coalition_partner_var = token:syndicalist }
				add_to_coalition = yes
			}
			add_stability = -0.2
			add_political_power = 50
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_create_labour_colleges
		icon = GFX_focus_NOR_moscows_education_centers
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_coalition_of_the_oppressed_masses
		prerequisite = { focus = PHI_coalition_of_the_oppressed_masses }

		ai_will_do = {
			base = 200 #Beeline Research
			modifier = {
				factor = 2
				has_war = no
			}
			#modifier = { #Help AI beeline research
			#	factor = 0.5
			#	has_war = yes
			#}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_create_labour_colleges"
			add_research_slot_until_five = yes
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_break_up_the_haciendas
		icon = GFX_focus_GER_proletarian_solidarity
		cost = 5

		x = -2
		y = 1

		relative_position_id = PHI_coalition_of_the_oppressed_masses
		prerequisite = { focus = PHI_coalition_of_the_oppressed_masses }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_break_up_the_haciendas"
			add_ideas = PHI_break_up_the_haciendas_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_moulding_the_revolutionary_woman
		icon = GFX_focus_ARG_women_in_industry
		cost = 5

		x = 2
		y = 1

		relative_position_id = PHI_coalition_of_the_oppressed_masses
		prerequisite = { focus = PHI_coalition_of_the_oppressed_masses }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_moulding_the_revolutionary_woman"
			add_ideas = PHI_womens_revolution_idea
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_dictatorship_of_labour
		icon = GFX_thechilembwistscourge
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_moulding_the_revolutionary_woman
		prerequisite = { focus = PHI_moulding_the_revolutionary_woman }
		prerequisite = { focus = PHI_create_labour_colleges }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_dictatorship_of_labour"
			if = {
				limit = { NOT = { has_government = totalist } }
				set_temp_variable = { coalition_partner_var = token:totalist }
				add_to_coalition = yes
			}
			add_ideas = PHI_workers_revolution_idea
			add_war_support = 0.10
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_cooperation_with_kpmp
		icon = GFX_goal_agrarian_soldiers
		cost = 5

		x = -1
		y = 2

		relative_position_id = PHI_coalition_of_the_oppressed_masses
		prerequisite = { focus = PHI_coalition_of_the_oppressed_masses }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_cooperation_with_kpmp"
			add_popularity = { ideology = radical_socialist popularity = 0.10 }
			if = {
				limit = { NOT = { has_government = radical_socialist } }
				set_temp_variable = { coalition_partner_var = token:radical_socialist }
				add_to_coalition = yes
			}
			swap_ideas = {
				remove_idea = PHI_political_spirit_3_idea
				add_idea = PHI_political_spirit_evangelista_1_idea
			}
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_create_a_peoples_army
		icon = GFX_goal_generic_socialist_army
		cost = 5

		x = 1
		y = 1

		relative_position_id = PHI_cooperation_with_kpmp
		prerequisite = { focus = PHI_cooperation_with_kpmp }
		prerequisite = { focus = PHI_dictatorship_of_labour }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_create_a_peoples_army"
			increase_conscription = yes

		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_true_independence
		icon = GFX_unionofcouncils
		cost = 5

		x = 0
		y = 1

		relative_position_id = PHI_create_a_peoples_army
		prerequisite = { focus = PHI_create_a_peoples_army }

		ai_will_do = {
			base = 200 #Important Focus
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}

		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_true_independence"
			swap_ideas = {
				remove_idea = PHI_political_spirit_evangelista_1_idea
				add_idea = PHI_political_spirit_evangelista_2_idea
			}
			
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_the_internationalist_outlook
		icon = GFX_goal_FRA_phalanstere
		cost = 5

		x = -1
		y = 1

		relative_position_id = PHI_true_independence
		prerequisite = { focus = PHI_true_independence }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_internationalist_outlook"
			if = {
				limit = {
					country_exists = INT
					}
					country_event = sharedafrika.10
				}
			}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}
	focus = {
		id = PHI_the_destruction_of_imperialism
		icon = GFX_focus_GER_wage_war_on_capitalism
		cost = 5

		x = 0
		y = 2

		relative_position_id = PHI_true_independence
		prerequisite = { focus = PHI_true_independence }

		ai_will_do = {
			base = 100
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_destruction_of_imperialism"
			add_ideas = PHI_pacific_socialist_vanguard
		}
		search_filters = { FOCUS_FILTER_POLITICAL }
	}

########################################
###- Section 07: Military Focus Tree -##
########################################

 ### West Point Inspired ###
	focus = {
		id = PHI_west_point_of_the_east
		icon = GFX_localofficertraining
		cost = 5
		available = {
			has_completed_focus = PHI_sandtahang_lakas_ng_pilipinas
		}
		x = 35
		y = 1
		mutually_exclusive = {
			focus = PHI_memories_of_eighteen_ninetynine
		}

		ai_will_do = {
			base = 250 #Need this to open tree
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_west_point_of_the_east"
			swap_ideas = {
				remove_idea = PHI_army_2
				add_idea = PHI_army_3a
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_philippine_american_officers
		icon = GFX_goal_COS_American_Staff
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_west_point_of_the_east
		prerequisite = {
			focus = PHI_west_point_of_the_east
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_philippine_american_officers"
			every_unit_leader = {
				add_attack = 1
				add_planning = 1
			}
			PHI_add_USA_alignment_medium_effect = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_a_new_service_rifle
		icon = GFX_focus_generic_military_equipment
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_west_point_of_the_east
		prerequisite = {
			focus = PHI_west_point_of_the_east
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_new_service_rifle"
			add_tech_bonus = {
				name = PHI_a_new_service_rifle
				bonus = 0.75
				uses = 2
				category = infantry_weapons
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_the_archipelagic_struggle
		icon = GFX_focus_GER_sentinels_of_the_pacific
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_a_new_service_rifle
		prerequisite = {
			focus = PHI_a_new_service_rifle
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_archipelagic_struggle"
			add_equipment_to_stockpile = {
				type = motorized_equipment
				amount = 100
				producer = USA
			}
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 50
				producer = USA
			}
			add_tech_bonus = {
				name = PHI_the_archipelagic_struggle
				bonus = 1
				uses = 1
				category = support_tech
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_from_hooves_to_tires
		icon = GFX_focus_generic_truck
		cost = 5

		x = -2
		y = 1
		relative_position_id = PHI_a_new_service_rifle
		prerequisite = {
			focus = PHI_a_new_service_rifle
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_from_hooves_to_tires"
			add_timed_idea = {
				idea = PHI_from_hooves_to_tires_idea
				days = 300
			}
			swap_ideas = {
				remove_idea = PHI_army_3a
				add_idea = PHI_army_4a
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_tangke_de_guerras
		icon = GFX_goal_light_tanks
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_from_hooves_to_tires
		prerequisite = {
			focus = PHI_from_hooves_to_tires
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_tangke_de_guerras"
			add_tech_bonus = {
				name = PHI_tangke_de_guerras
				bonus = 0.25
				uses = 4
				category = armor
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_king_of_the_battlefield
		icon = GFX_goal_GEO_Artillery_Tactics
		cost = 5
		x = 1
		y = 1
		relative_position_id = PHI_from_hooves_to_tires
		prerequisite = {
			focus = PHI_from_hooves_to_tires
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_king_of_the_battlefield"
			add_tech_bonus = {
				name = PHI_king_of_the_battlefield
				bonus = 1
				uses = 2
				category = artillery
			}
		}
	}
	focus = {
		id = PHI_tiradores_de_la_muerte
		icon = GFX_focus_generic_total_war
		cost = 5
		x = -1
		y = 1
		relative_position_id = PHI_king_of_the_battlefield
		prerequisite = {
			focus = PHI_king_of_the_battlefield
			focus = PHI_tangke_de_guerras
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_tiradores_de_la_muerte"
			add_tech_bonus = {
				name = PHI_tiradores_de_la_muerte
				bonus = 1
				uses = 1
				category = cat_special_forces_generic
			}
		}
	}
	focus = {
		id = PHI_modernise_the_scout-rangers
		icon = GFX_goal_generic_intense_warfare
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_the_archipelagic_struggle
		prerequisite = {
			focus = PHI_the_archipelagic_struggle
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_modernise_the_scout-rangers"
			army_experience = 10
			add_war_support = 0.05
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_modern_vanguard_of_the_pacific
		icon = GFX_goal_generic_army_cooperation
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_modernise_the_scout-rangers
		prerequisite = {
			focus = PHI_modernise_the_scout-rangers
		}
		prerequisite = {
			focus = PHI_tiradores_de_la_muerte
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_modern_vanguard_of_the_pacific"
			add_war_support = 0.15
			swap_ideas = {
				remove_idea = PHI_army_4a
				add_idea = PHI_army_5a
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
### Shared Tree ###
	focus = {
		id = PHI_expand_the_akademiyang_militar_ng_pilipinas
		icon = GFX_goal_officers
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_west_point_of_the_east
		prerequisite = {
			focus = PHI_west_point_of_the_east
			focus = PHI_memories_of_eighteen_ninetynine
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_the_akademiyang_militar_ng_pilipinas"
			army_experience = 40
			add_command_power = 20
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}

	focus = {
		id = PHI_finish_the_nineteen_twenty_defence_act
		icon = GFX_goal_conscription
		cost = 5

		x = 3
		y = 1
		relative_position_id = PHI_west_point_of_the_east
		prerequisite = {
			focus = PHI_west_point_of_the_east
			focus = PHI_memories_of_eighteen_ninetynine
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_finish_the_nineteen_twenty_defence_act"
			add_doctrine_cost_reduction = {
				name = PHI_finish_the_nineteen_twenty_defence_act
				cost_reduction = 0.5
				uses = 2
				category = land_doctrine
			}
			add_war_support = 0.05
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_militarisation_of_the_constabulary
		icon = GFX_goal_generic_police_state
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_finish_the_nineteen_twenty_defence_act
		prerequisite = {
			focus = PHI_finish_the_nineteen_twenty_defence_act
			focus = PHI_expand_the_akademiyang_militar_ng_pilipinas
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_militarisation_of_the_constabulary"
			if = {
				limit = {
					NOT = { has_tech = tech_military_police }
				}
				set_technology = { tech_military_police = 1 }
			}
			else = {
				add_tech_bonus = {
					name = PHI_militarisation_of_the_constabulary
					bonus = 1
					uses = 1
					category = support_tech
				}
			}
			if = {
				limit = { NOT = { has_template = "Philippine Constabulary" } }
				division_template = {
					name = "Philippine Constabulary"
					division_names_group = PHI_CAV_01
					regiments = {
						cavalry = { x = 0 y = 0 }
						cavalry = { x = 0 y = 1 }
						cavalry = { x = 0 y = 2 }
						cavalry = { x = 1 y = 0 }
						cavalry = { x = 1 y = 1 }
						cavalry = { x = 1 y = 2 }
					}
					support = {
						military_police = { x = 0 y = 0 }
					}
				}
			}
			327 = {
				create_unit = {
					division = "division_template = \"Philippine Constabulary\" start_experience_factor = 0.6 start_equipment_factor = 1.0"
					owner = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_national_defense_act
		icon = GFX_focus_hol_the_foundations_of_defense
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_finish_the_nineteen_twenty_defence_act
		prerequisite = {
			focus = PHI_finish_the_nineteen_twenty_defence_act
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_national_defense_act"
			add_one_random_military_factory = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_war_plan_orange
		icon = GFX_goal_nested_fortifications
		cost = 5

		x = 10
		y = 0

		relative_position_id = PHI_west_point_of_the_east

		ai_will_do = {
			base = 250 #Make sure the ai is either doing this or increase Philippinization at gaem start
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			#modifier = {
			#	factor = 0.5
			#	has_war = no
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_war_plan_orange"
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_core_of = PHI
					is_coastal = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
						limit_to_victory_point > 1
					}
					level = 3
					instant_build = yes
				}
				add_building_construction = {
					type = bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
						limit_to_victory_point > 1
					}
					level = 3
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = PHI_war_plan_orange
				bonus = 1
				uses = 1
				category = engineers_tech
			}
			add_command_power = 50
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_the_philippine_department
		icon = GFX_goal_secret_agents
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_war_plan_orange
		prerequisite = {
			focus = PHI_war_plan_orange
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_philippine_department"
			if = {
				limit = { has_dlc_lar = yes }
				create_intelligence_agency = yes
				upgrade_intelligence_agency = upgrade_commando_training
				upgrade_intelligence_agency = upgrade_decryption_boost
				upgrade_intelligence_agency = upgrade_form_department
			}
			else = {
				add_war_support = 0.15
				add_ideas = PHI_the_philippine_department_idea
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_sandtahang_lakas_ng_pilipinas
		icon = GFX_PHI_Philippine_Revolutionary_Army
		cost = 5

		x = 2
		y = 1
		relative_position_id = PHI_war_plan_orange
		prerequisite = {
			focus = PHI_war_plan_orange
		}

		ai_will_do = {
			base = 250 #Need this to open up military tree
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			#modifier = {
			#	factor = 0.5
			#	has_war = no
			#}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_sandtahang_lakas_ng_pilipinas"
			swap_ideas = {
				remove_idea = PHI_army_1
				add_idea = PHI_army_2
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_approach_the_foreign_arms_market
		icon = GFX_goal_Krupp_Artillery
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_the_philippine_department
		prerequisite = {
			focus = PHI_the_philippine_department
		}
		available = {
			OR = {
				AND = {
					country_exists = GER
					NOT = { has_war_with = JAP }
				}
				AND = {
					OR = {
						country_exists = USA
						country_exists = CSA
						country_exists = CAL
						country_exists = NEE
						country_exists = TEX
					}
					NOT = { has_war_with = 361.owner }
				}
				AND = {
					country_exists = GER
					NOT = { has_war_with = GER }
				}
			}
		}
		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_approach_the_foreign_arms_market"
			if = {
				limit = {
					NOT = {
						has_war_with = JAP
						JAP = { exists = no }
					}
				}
				add_equipment_to_stockpile = {
					type = infantry_equipment
					amount = 500
					producer = JAP
				}
	
			}
			if = {
				limit = {
					NOT = {
						AND = {
							has_war_with = 361.owner
							361.owner = { is_american_tag = yes }
						}
						AND = {
							USA = { exists = no }
							TEX = { exists = no }
							CSA = { exists = no }
							NEE = { exists = no }
							CAL = { exists = no }
						}
					}
				}
				add_equipment_to_stockpile = {
					type = motorized_equipment
					amount = 100
					producer = USA
				}
			}
			if = {
				limit = {
					NOT = {
						has_war_with = GER
						GER = { exists = no }
					}
				}
				add_equipment_to_stockpile = {
					type = artillery_equipment
					amount = 75
					producer = GER
				}
			}
			PHI_sub_IND_alignment_large_effect = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_improve_army_logistics
		icon = GFX_focus_generic_reinforcing_the_supply_network
		cost = 5

		x = -2
		y = 1
		relative_position_id = PHI_sandtahang_lakas_ng_pilipinas
		prerequisite = {
			focus = PHI_sandtahang_lakas_ng_pilipinas
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_improve_army_logistics"
			add_tech_bonus = {
				name = PHI_improve_army_logistics
				category = logistics_tech
				bonus = 0.5
				uses = 1
			}
			add_equipment_to_stockpile = {
				type = train_equipment
				amount = 20
				producer = USA
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_the_radio_control_division
		icon = GFX_goal_radio
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_sandtahang_lakas_ng_pilipinas
		prerequisite = {
			focus = PHI_sandtahang_lakas_ng_pilipinas
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_radio_control_division"
			add_command_power = 100
			add_war_support = 0.10
			add_tech_bonus = {
				name = PHI_the_radio_control_division
				bonus = 1
				uses = 1
				category = electronics
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_americas_arsenal
		icon = GFX_armsprogramme
		cost = 5

		x = 2
		y = 1
		relative_position_id = PHI_sandtahang_lakas_ng_pilipinas
		prerequisite = {
			focus = PHI_sandtahang_lakas_ng_pilipinas
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_americas_arsenal"
			PHI_add_USA_alignment_medium_effect = yes
			add_equipment_to_stockpile = {
				type = infantry_equipment
				amount = 2000
				producer = USA
			}
			add_tech_bonus = {
				name = PHI_americas_arsenal
				bonus = 1
				uses = 1
				category = infantry_weapons
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_a_fledging_military_industry
		icon = GFX_goal_national_arsenal
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_the_radio_control_division
		prerequisite = {
			focus = PHI_the_radio_control_division
		}
		prerequisite = {
			focus = PHI_americas_arsenal
		}
		prerequisite = {
			focus = PHI_improve_army_logistics
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_fledging_military_industry"
			add_one_random_military_factory = yes
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_modernise_our_artillery
		icon = GFX_goal_artillery
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_a_fledging_military_industry
		prerequisite = {
			focus = PHI_a_fledging_military_industry
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_modernise_our_artillery"
			add_tech_bonus = {
				name = PHI_modernise_our_artillery
				bonus = 0.5
				uses = 2
				category = artillery
			}
			add_equipment_to_stockpile = {
				type = artillery_equipment
				amount = 100
				producer = USA
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_increase_military_aid_procurement
		icon = GFX_goal_SWI_international_aid
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_a_fledging_military_industry
		prerequisite = {
			focus = PHI_a_fledging_military_industry
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_increase_military_aid_procurement"
			country_event = PHI.military.001
			army_experience = 35
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_prepare_for_the_storm
		icon = GFX_goal_ARM_seize_stockpiles
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_a_fledging_military_industry
		prerequisite = {
			focus = PHI_a_fledging_military_industry
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_prepare_for_the_storm"
			add_war_support = 0.15
			add_timed_idea = {
				days = 720
				idea = PHI_prepare_for_the_storm_idea
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
###Home Defence Tree ###
	focus = {
		id = PHI_memories_of_eighteen_ninetynine
		icon = GFX_goal_army_guy_2
		cost = 5
		available = {
			has_completed_focus = PHI_sandtahang_lakas_ng_pilipinas
		}
		x = 5
		y = 0
		relative_position_id = PHI_west_point_of_the_east
		mutually_exclusive = {
			focus = PHI_west_point_of_the_east
		}

		ai_will_do = {
			base = 250 #need this to open tree
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_memories_of_eighteen_ninetynine"
			swap_ideas = {
				remove_idea = PHI_army_2
				add_idea = PHI_army_3b
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_our_land_our_ways
		icon = GFX_goal_KTG_Jungle_Railroad
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_memories_of_eighteen_ninetynine
		prerequisite = {
			focus = PHI_memories_of_eighteen_ninetynine
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_our_land_our_ways"
			every_unit_leader = {
				add_logistics = 1
				add_defense = 1
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_standardise_our_rifles
		icon = GFX_goal_generic_small_arms
		cost = 5

		x = 2
		y = 1
		relative_position_id = PHI_memories_of_eighteen_ninetynine
		prerequisite = {
			focus = PHI_memories_of_eighteen_ninetynine
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_standardise_our_rifles"
			add_tech_bonus = {
				name = PHI_standardise_our_rifles
				bonus = 1
				uses = 2
				category = infantry_weapons
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_form_the_sandatahanes
		icon = GFX_goal_generic_drafted_army
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_our_land_our_ways
		prerequisite = {
			focus = PHI_our_land_our_ways
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_form_the_sandatahanes"
			swap_ideas = {
				remove_idea = PHI_army_3b
				add_idea = PHI_army_4b
			}
			PHI_add_IND_alignment_medium_effect = yes
			custom_effect_tooltip = PHI_form_the_sandtahanes_tt
			hidden_effect = { PHI_spawn_irregulars_effect = yes }
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_expertise_of_the_scouts
		icon = GFX_goal_generic_recon
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_our_land_our_ways
		prerequisite = {
			focus = PHI_our_land_our_ways
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expertise_of_the_scouts"
			add_tech_bonus = {
				name = PHI_expertise_of_the_scouts
				bonus = 0.5
				uses = 2
				category = mountaineers_tech
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_jungle_fighter
		icon = GFX_SIA_jungletraining
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_expertise_of_the_scouts
		prerequisite = {
			focus = PHI_expertise_of_the_scouts
		}
		prerequisite = {
			focus = PHI_form_the_sandatahanes
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_jungle_fighter"
			custom_effect_tooltip = jungle_warfare_effect
			hidden_effect = {
				set_technology = { jungle_warfare = 1 popup = no }
			}
			add_command_power = 20			
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_lessons_from_the_revolution
		icon = GFX_focus_ETH_freedom_at_gunpoint
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_standardise_our_rifles
		prerequisite = {
			focus = PHI_standardise_our_rifles
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_lessons_from_the_revolution"
			add_timed_idea = {
				days = 720
				idea = PHI_lessons_from_the_revolution_idea
			}
			add_war_support = 0.15
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_facilitate_domestic_arms_production
		icon = GFX_focus_GER_support_the_proletarian_uprising
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_standardise_our_rifles
		prerequisite = {
			focus = PHI_standardise_our_rifles
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_facilitate_domestic_arms_production"
			add_timed_idea = {
				days = 720
				idea = PHI_domestic_rifle_production_idea
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_the_jungle_our_refuge
		icon = GFX_focus_prc_infiltration
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_facilitate_domestic_arms_production
		prerequisite = {
			focus = PHI_facilitate_domestic_arms_production
		}
		prerequisite = {
			focus = PHI_approach_the_foreign_arms_market
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_the_jungle_our_refuge"
			army_experience = 50
			every_army_leader = {
				add_temporary_buff_to_units = {
					combat_offense = 0.1
					org_damage_multiplier = -0.25
					days = 120
				}
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
	focus = {
		id = PHI_paglaban_ng_pilipinas
		icon = GFX_PHI_army
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_jungle_fighter
		prerequisite = {
			focus = PHI_jungle_fighter
		}
		prerequisite = {
			focus = PHI_the_jungle_our_refuge
		}

		ai_will_do = {
			base = 100
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_paglaban_ng_pilipinas"
			add_stability = 0.075
			add_war_support = 0.075
			swap_ideas = {
				remove_idea = PHI_army_4b
				add_idea = PHI_army_5b
			}
		}
		search_filters = { FOCUS_FILTER_ARMY_BONUS }
	}
### Navy Tree ###
	focus = {
		id = PHI_expand_the_philippine_navy
		icon = GFX_goal_bluewater_navy
		cost = 5
		x = 45
		y = 8

		ai_will_do = {
			base = 100 #Top level naval focuses might be worth it for the extra division + forts
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_the_philippine_navy"
			navy_experience = 35
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_import_foreign_navy_designs
		icon = GFX_focus_generic_navy_research_bonus
		cost = 5
		x = 2
		y = 1
		relative_position_id = PHI_expand_the_philippine_navy
		prerequisite = {
			focus = PHI_expand_the_philippine_navy
		}

		ai_will_do = {
			base = 50
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_import_foreign_navy_designs"
			country_event = PHI.military.020
			navy_experience = 35
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_commence_the_coastal_defence_plan
		icon = GFX_focus_generic_coastal_fort
		cost = 5
		x = 0
		y = 1
		relative_position_id = PHI_expand_the_philippine_navy
		prerequisite = {
			focus = PHI_expand_the_philippine_navy
		}

		ai_will_do = {
			base = 100 #Top level naval focuses might be worth it for the extra division + forts
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_commence_the_coastal_defence_plan"
			every_owned_state = {
				limit = {
					is_controlled_by = ROOT
					is_in_home_area = yes
					is_coastal = yes
				}
				add_building_construction = {
					type = coastal_bunker
					province = {
						all_provinces = yes
						limit_to_coastal = yes
					}
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_develop_the_island_naval_bases
		icon = GFX_goal_generic_naval_base
		cost = 5
		x = -2
		y = 1
		relative_position_id = PHI_expand_the_philippine_navy
		prerequisite = {
			focus = PHI_expand_the_philippine_navy
		}

		ai_will_do = {
			base = 100 #Top level naval focuses might be worth it for the extra division + forts
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_develop_the_island_naval_bases"
			random_owned_controlled_state = {
				prioritize = { 327 }
				limit = {
					is_coastal = yes
					is_valid_state_for_development = yes
					free_building_slots = { building = industrial_complex size > 0 include_locked = yes }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			add_equipment_to_stockpile = {
				type = convoy
				amount = 100
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_found_the_marine_corps
		icon = GFX_focus_generic_naval_invasion
		cost = 5
		x = 0
		y = 1
		relative_position_id = PHI_develop_the_island_naval_bases
		prerequisite = {
			focus = PHI_develop_the_island_naval_bases
		}

		ai_will_do = {
			base = 100 #Top level naval focuses might be worth it for the extra division + forts
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_found_the_marine_corps"
			add_tech_bonus = {
				name = PHI_found_the_marine_corps
				bonus = 0.5
				uses = 1
				category = marine_tech
			}
			add_tech_bonus = {
				name = PHI_found_the_marine_corps
				bonus = 0.5
				uses = 1
				category = tp_tech
			}
			division_template = {
				name = "Filipino Marines" #Marine Corps
				division_names_group = PHI_INF_01
				regiments = {
					marine = { x = 0 y = 0 }
					marine = { x = 0 y = 1 }
					marine = { x = 1 y = 0 }
					marine = { x = 1 y = 1 }
				}
				support = {
					engineer = { x = 0 y = 0 }
				}
			}
			random_owned_controlled_state = {
				prioritize = { 327 }
				limit = {
					is_in_home_area = yes
					impassable = no
				}
				create_unit = {
					division = "name = \"Filipino Marines\" division_template = \"Filipino Marines\" start_experience_factor = 1.0"
					prioritize_location = 1046
					owner = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_revitalise_the_cavite_naval_yard
		icon = GFX_goal_generic_naval_industry
		cost = 5
		x = 0
		y = 1
		relative_position_id = PHI_commence_the_coastal_defence_plan
		prerequisite = {
			focus = PHI_commence_the_coastal_defence_plan
		}

		ai_will_do = {
			base = 50 #Lower level naval focuses shoudl be deprioritised in general
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_revitalise_the_cavite_naval_yard"
			random_owned_controlled_state = {
				prioritize = { 327 }
				limit = {
					is_coastal = yes
					is_valid_state_for_development = yes
					free_building_slots = { building = industrial_complex size > 0 include_locked = yes }
				}
				add_extra_state_shared_building_slots = 1
				add_building_construction = {
					type = dockyard
					level = 1
					instant_build = yes
				}
			}
			add_timed_idea = {
				idea = PHI_expand_naval_production_idea
				days = 1080
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}

	focus = {
		id = PHI_a_fleet_of_mosquitos
		icon = GFX_goal_generic_coastal_navy2
		cost = 5
		x = -1
		y = 1
		relative_position_id = PHI_revitalise_the_cavite_naval_yard
		prerequisite = {
			focus = PHI_revitalise_the_cavite_naval_yard
		}

		ai_will_do = {
			base = 50 #Lower level naval focuses shoudl be deprioritised in general
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_fleet_of_mosquitos"
			add_tech_bonus = {
				name = PHI_a_fleet_of_mosquitos
				bonus = 1
				uses = 1
				category = dd_tech
			}
			if = {
				limit = { has_dlc_mtg = yes }
				add_tech_bonus = {
					name = PHI_a_fleet_of_mosquitos
					bonus = 1
					uses = 1
					category = naval_mines
				}
			}
			if = {
				limit = { has_dlc_mtg = yes }
				add_tech_bonus = {
					name = PHI_a_fleet_of_mosquitos
					bonus = 1
					uses = 1
					category = cat_torpedoes
				}
			}
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_a_new_generation_of_naval_officers
		icon = GFX_goal_navy_hat_ships
		cost = 5
		x = 1
		y = 1
		relative_position_id = PHI_revitalise_the_cavite_naval_yard
		prerequisite = {
			focus = PHI_revitalise_the_cavite_naval_yard
		}

		ai_will_do = {
			base = 50 #Lower level naval focuses shoudl be deprioritised in general
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_a_new_generation_of_naval_officers"
			navy_experience = 20
			add_war_support = 0.05
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
	focus = {
		id = PHI_protecting_our_seas_securing_our_future
		icon = GFX_PHI_navy
		cost = 5
		x = 0
		y = 2
		relative_position_id = PHI_revitalise_the_cavite_naval_yard
		prerequisite = {
			focus = PHI_revitalise_the_cavite_naval_yard
		}

		ai_will_do = {
			base = 50 #Lower level naval focuses shoudl be deprioritised in general
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_protecting_our_seas_securing_our_future"
			add_ideas = PHI_navy_spirit_idea
		}
		search_filters = { FOCUS_FILTER_NAVY_BONUS }
	}
### Air Tree ###
	focus = {
		id = PHI_found_a_philippine_airforce
		icon = GFX_goal_new_airforce
		cost = 5
		x = 4
		y = 0

		relative_position_id = PHI_expand_the_philippine_navy

		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_found_a_philippine_airforce"
			air_experience = 50
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_seek_foreign_expertise
		icon = GFX_goal_GER_Pilots
		cost = 5
		x = 0
		y = 1
		relative_position_id = PHI_found_a_philippine_airforce
		prerequisite = {
			focus = PHI_found_a_philippine_airforce
		}

		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_seek_foreign_expertise"
			country_event = PHI.military.040
			air_experience = 35
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_naval_air_integration
		icon = GFX_goal_generic_air_naval_bomber2_new
		cost = 5
		x = -1
		y = 1
		relative_position_id = PHI_seek_foreign_expertise
		prerequisite = {
			focus = PHI_seek_foreign_expertise
		}
		prerequisite = {
			focus = PHI_import_foreign_navy_designs
		}

		ai_will_do = {
			base = 50 #Lower level Air focuses should be deprioritized
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_naval_air_integration"
			add_tech_bonus = {
				name = PHI_naval_air_integration
				bonus = 1
				uses = 1
				category = light_fighter
				category = cat_heavy_fighter
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_expand_air_defence_installations
		icon = GFX_goal_generic_radar_instillation
		cost = 5
		x = 1
		y = 1
		relative_position_id = PHI_seek_foreign_expertise
		prerequisite = {
			focus = PHI_seek_foreign_expertise
		}

		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_air_defence_installations"
			if = {
				limit = { NOT = { is_special_project_completed = sp:sp_air_radar } }
				complete_special_project = sp:sp_air_radar
			}
			else = {
				add_tech_bonus = {
					name = PHI_expand_air_defence_installations
					bonus = 0.5
					uses = 2
					category = radar_tech
				}
			}
			every_owned_state = {
				limit = {
					OR = {
						state = 623 #Northern Luzon
						state = 327 #Central Luzon
						state = 627 #Mindanao
					}
					is_controlled_by = ROOT
				}
				add_building_construction = {
					type = radar_station
					level = 1
					instant_build = yes
				}
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_create_the_special_forces_regiment
		icon = GFX_focus_SMB_special_forces_option_3
		cost = 5
		x = 1
		y = 1
		relative_position_id = PHI_expand_air_defence_installations
		prerequisite = {
			focus = PHI_expand_air_defence_installations
		}

		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_create_the_special_forces_regiment"
			if = {
				limit = {
					NOT = { has_tech = paratroopers }
				}
				set_technology = { paratroopers = 1 }
			}
			division_template = {
				name = "Special Forces Regiment" #Paratroopers
				division_names_group = PHI_INF_01
				regiments = {
					paratrooper = { x = 0 y = 0 }
					paratrooper = { x = 0 y = 1 }
					paratrooper = { x = 1 y = 0 }
					paratrooper = { x = 1 y = 1 }
				}
				support = {
					engineer = { x = 0 y = 0 }
				}
			}
			random_owned_controlled_state = {
				prioritize = { 627 } #Davao
				limit = {
					is_in_home_area = yes
					impassable = no
				}
				create_unit = {
					division = "name = \"Special Forces Regiment\" division_template = \"Special Forces Regiment\" start_experience_factor = 1.0"
					prioritize_location = 627
					owner = ROOT
				}
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_promoting_young_aces
		icon = GFX_focus_SOV_flying_clubs
		cost = 5
		x = 0
		y = 2
		relative_position_id = PHI_seek_foreign_expertise
		prerequisite = {
			focus = PHI_seek_foreign_expertise
		}

		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_promoting_young_aces"
			custom_effect_tooltip = available_chief_of_airforce
			show_ideas_tooltip = PHI_jesus_a_villamor_air_chief
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = PHI_pelagio_cruz_high_command
			custom_effect_tooltip = available_military_high_command
			show_ideas_tooltip = PHI_felix_pestana_high_command
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_invest_in_a_domestic_aviation_industry
		icon = GFX_focus_generic_aircraft_production
		cost = 5
		x = 0
		y = 1
		relative_position_id = PHI_promoting_young_aces
		prerequisite = {
			focus = PHI_promoting_young_aces
		}

		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}

		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_invest_in_a_domestic_aviation_industry"
			add_one_random_military_factory = yes
			add_timed_idea = {
				idea = PHI_air_industry_idea
				days = 720
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_expand_island_airbases
		icon = GFX_focus_generic_air_bases
		cost = 5
		x = -2
		y = 1
		relative_position_id = PHI_promoting_young_aces
		prerequisite = {
			focus = PHI_promoting_young_aces
		}
		ai_will_do = {
			base = 100 #Higher level Air focuses might sometimes be worth it for paratroopers + air defense
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_island_airbases"
			if = {
				limit = { controls_state = 623 } #Northern Luzon
				623 = {
					add_building_construction = { type = air_base level = 3 }
					add_building_construction = { type = anti_air_building level = 2 }
				}
			}
			if = {
				limit = { controls_state = 327 } #Central Luzon
				327 = {
					add_building_construction = { type = air_base level = 3 }
					add_building_construction = { type = anti_air_building level = 2 }
				}
			}
			if = {
				limit = { controls_state = 627 } #Mindanao
				627 = {
					add_building_construction = { type = air_base level = 3 }
					add_building_construction = { type = anti_air_building level = 1 }
				}
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_create_the_bomber_wing
		icon = GFX_focus_generic_multi_role_aircraft
		cost = 5
		x = 2
		y = 1
		relative_position_id = PHI_promoting_young_aces
		prerequisite = {
			focus = PHI_promoting_young_aces
		}
		ai_will_do = {
			base = 50 #Lower level Air focuses should be deprioritized
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_create_the_bomber_wing"
			add_tech_bonus = {
				name = PHI_create_the_bomber_wing
				bonus = 1
				uses = 2
				category = tactical_bomber
				category = cat_strategic_bomber
				category = cas_bomber
			}
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
	focus = {
		id = PHI_guardians_of_our_precious_skies
		icon = GFX_PHI_airforce
		cost = 5
		x = 0
		y = 1
		relative_position_id = PHI_invest_in_a_domestic_aviation_industry
		prerequisite = {
			focus = PHI_invest_in_a_domestic_aviation_industry
		}
		prerequisite = {
			focus = PHI_create_the_bomber_wing
		}
		prerequisite = {
			focus = PHI_expand_island_airbases
		}
		ai_will_do = {
			base = 50 #Lower level Air focuses should be deprioritized
			modifier = {
				factor = 6 #Overcome not at war effect
				#From 1937-1940 should be mixing in some military focuses here and there
				date > 1937.01.01
				date < 1940.01.01
			}
			modifier = {
				factor = 2
				has_war = yes
			}
			modifier = {
				factor = 0.5
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_guardians_of_our_precious_skies"
			add_ideas = PHI_guardians_of_our_precious_skies_idea
		}
		search_filters = { FOCUS_FILTER_AIRFORCE_BONUS }
	}
########################################
###- Section 08: Economic Focus Tree -##
########################################

###- Black Monday Section -###
	focus = {
		id = PHI_convene_the_national_economic_council
		icon = GFX_focus_generic_industrialists
		cost = 5

		x = 20
		y = 1

		available = {
			OR = {
				has_idea = PHI_black_monday_1
				has_idea = PHI_black_monday_2
				has_idea = PHI_black_monday_3
			}
		}
		ai_will_do = {
			base = 500 #Black Monday Should Always take priority
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_convene_the_national_economic_council"
			PHI_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_import_relief_rice
		icon = GFX_goal_DEI_focus_ban_rice_import
		cost = 5

		x = -3
		y = 1
		relative_position_id = PHI_convene_the_national_economic_council
		prerequisite = {
			focus = PHI_convene_the_national_economic_council
		}
		available = {
			OR = {
				has_idea = PHI_black_monday_1
				has_idea = PHI_black_monday_2
				has_idea = PHI_black_monday_3
			}
		}
		ai_will_do = {
			base = 500 #Black Monday Should Always take priority
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_import_relief_rice"
			add_stability = -0.05
			PHI_elitist_medium_effect = yes
			PHI_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_halt_immigration
		icon = GFX_goal_PAL_Closed_Immigration
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_convene_the_national_economic_council
		prerequisite = {
			focus = PHI_convene_the_national_economic_council
		}
		ai_will_do = {
			base = 500 #Black Monday Should Always take priority
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		available = {
			OR = {
				has_idea = PHI_black_monday_1
				has_idea = PHI_black_monday_2
				has_idea = PHI_black_monday_3
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_halt_immigration"
			PHI_elitist_small_effect = yes
			PHI_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_cut_bureaucratic_expenses
		icon = GFX_goal_generic_dissolve_parliament1
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_convene_the_national_economic_council
		prerequisite = {
			focus = PHI_convene_the_national_economic_council
		}
		available = {
			OR = {
				has_idea = PHI_black_monday_1
				has_idea = PHI_black_monday_2
				has_idea = PHI_black_monday_3
			}
		}
		ai_will_do = {
			base = 500 #Black Monday Should Always take priority
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_cut_bureaucratic_expenses"
			PHI_populist_small_effect = yes
			PHI_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_revive_the_cedula
		icon = GFX_goal_generic_seize_money
		cost = 3

		x = 3
		y = 1
		relative_position_id = PHI_convene_the_national_economic_council
		prerequisite = {
			focus = PHI_convene_the_national_economic_council
		}
		available = {
			OR = {
				has_idea = PHI_black_monday_1
				has_idea = PHI_black_monday_2
				has_idea = PHI_black_monday_3
			}
		}
		ai_will_do = {
			base = 500 #Black Monday Should Always take priority
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_revive_the_cedula"
			add_war_support = -0.05
			PHI_populist_medium_effect = yes
			PHI_black_monday_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_form_the_nepa
		icon = GFX_goal_generic_price_controls
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_convene_the_national_economic_council
		prerequisite = {
			focus = PHI_import_relief_rice
			focus = PHI_halt_immigration
			focus = PHI_cut_bureaucratic_expenses
			focus = PHI_revive_the_cedula
		}
		available = {
			NOT = {
				has_idea = PHI_black_monday_1
				has_idea = PHI_black_monday_2
				has_idea = PHI_black_monday_3
			}
		}
		ai_will_do = {
			base = 250
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_form_the_nepa"
			add_timed_idea = {
				idea = PHI_form_the_nepa_idea
				days = 720
			}
			increase_ruling_party_popularity_by_5 = yes
			add_political_power = -50
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}

###- Agricultural/Exports Section -###
	focus = {
		id = PHI_improve_internal_transport
		icon = GFX_goal_generic_road_construction
		cost = 5

		x = -7
		y = 1
		relative_position_id = PHI_form_the_nepa
		prerequisite = {
			focus = PHI_form_the_nepa
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_improve_internal_transport"
			add_one_random_infrastructure = yes
			add_one_random_infrastructure = yes
			increase_ruling_party_popularity_by_5 = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_encourage_crop_diversification
		icon = GFX_expandriceproduction
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_improve_internal_transport
		prerequisite = {
			focus = PHI_improve_internal_transport
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_encourage_crop_diversification"
			add_one_random_civilian_factory = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_redistribute_large_estates
		icon = GFX_goal_generic_land_reform
		cost = 5

		x = -2
		y = 2
		relative_position_id = PHI_improve_internal_transport
		prerequisite = {
			focus = PHI_improve_internal_transport
		}
		mutually_exclusive = {
			focus = PHI_import_farming_machinery
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_redistribute_large_estates"
			PHI_elitist_medium_effect = yes

			swap_ideas = {
				remove_idea = PHI_agriculture_1_idea
				add_idea = PHI_agriculture_populist_2_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_internal_colonisation_of_Mindanao
		icon = GFX_PHI_Internal_Colonisation_Of_Mindanao
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_redistribute_large_estates
		prerequisite = {
			focus = PHI_redistribute_large_estates
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_internal_colonisation_of_Mindanao"
			random_owned_controlled_state = {
				prioritize = { 627 }
				limit = {
					is_core_of = PHI
				}
				add_extra_state_shared_building_slots = 2
			}
			PHI_add_IND_alignment_large_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_cap_rents_for_sharecroppers
		icon = GFX_goal_generic_landowner_tax_cuts
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_redistribute_large_estates
		prerequisite = {
			focus = PHI_redistribute_large_estates
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_cap_rents_for_sharecroppers"
			PHI_elitist_large_effect = yes

			swap_ideas = {
				remove_idea = PHI_agriculture_populist_2_idea
				add_idea = PHI_agriculture_populist_3_idea
			}

			custom_effect_tooltip = PHI_land_reform_tt
			PHI_land_reform_setup = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_import_farming_machinery
		icon = GFX_goal_generic_agriculture2
		cost = 5

		x = 2
		y = 2
		relative_position_id = PHI_improve_internal_transport
		prerequisite = {
			focus = PHI_improve_internal_transport
		}
		mutually_exclusive = {
			focus = PHI_redistribute_large_estates
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_import_farming_machinery"
			PHI_populist_medium_effect = yes

			swap_ideas = {
				remove_idea = PHI_agriculture_1_idea
				add_idea = PHI_agriculture_elite_2_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_expand_the_sugar_centrals
		icon = GFX_HON_sugar_plantations
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_import_farming_machinery
		prerequisite = {
			focus = PHI_import_farming_machinery
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_the_sugar_centrals"
			add_one_random_civilian_factory = yes
			PHI_sub_IND_alignment_large_effect = yes

		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_agricultural_and_industrial_bank
		icon = GFX_goal_PAL_Food_Import
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_import_farming_machinery
		prerequisite = {
			focus = PHI_import_farming_machinery
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_agricultural_and_industrial_bank"
			swap_ideas = {
				remove_idea = PHI_agriculture_elite_2_idea
				add_idea = PHI_agriculture_elite_3_idea
			}

			custom_effect_tooltip = PHI_agricultural_modernisation_tt
			PHI_land_reform_setup = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
###- Industrial/Investments Section -###
	focus = {
		id = PHI_domestic_textile_production
		icon = GFX_focus_CHL_enlarge_the_textile_industries
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_form_the_nepa
		prerequisite = {
			focus = PHI_form_the_nepa
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_domestic_textile_production"
			add_stability = 0.05
			add_one_random_civilian_factory = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_la_union_cement_plant
		icon = GFX_goal_generic_construction
		cost = 5
		x = 1
		y = 1
		relative_position_id = PHI_domestic_textile_production
		prerequisite = {
			focus = PHI_domestic_textile_production
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_la_union_cement_plant"
			PHI_populist_medium_effect = yes
			swap_ideas = {
				remove_idea = PHI_industry_1_idea
				add_idea = PHI_industry_elite_2_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_national_trading_corporation
		icon = GFX_goal_AST_new_markets
		cost = 5

		x = 1
		y = 1
		relative_position_id = PHI_la_union_cement_plant
		prerequisite = {
			focus = PHI_la_union_cement_plant
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_national_trading_corporation"
			add_tech_bonus = {
				name = PHI_national_trading_corporation
				bonus = 0.75
				uses = 2
				category = industry
			}
			PHI_sub_IND_alignment_medium_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_establish_the_bangko_sentral_ng_pilipinas
		icon = GFX_goal_generic_banking_legislation
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_national_trading_corporation
		prerequisite = {
			focus = PHI_national_trading_corporation
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_establish_the_bangko_sentral_ng_pilipinas"
			PHI_populist_large_effect = yes

			swap_ideas = {
				remove_idea = PHI_industry_elite_2_idea
				add_idea = PHI_industry_elite_3_idea
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PHI_philippine_national_bank
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_encourage_native_retailers
		icon = GFX_goal_generic_food_processing
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_domestic_textile_production
		prerequisite = {
			focus = PHI_domestic_textile_production
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_encourage_native_retailers"
			PHI_elitist_medium_effect = yes

			swap_ideas = {
				remove_idea = PHI_industry_1_idea
				add_idea = PHI_industry_populist_2_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_expand_the_electrical_grid
		icon = GFX_focus_generic_electricity
		cost = 5

		x = -1
		y = 1
		relative_position_id = PHI_encourage_native_retailers
		prerequisite = {
			focus = PHI_encourage_native_retailers
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_the_electrical_grid"
			add_tech_bonus = {
				name = PHI_expand_the_electrical_grid
				bonus = 0.25
				uses = 4
				category = industry
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PHI_national_power_corporation
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_protect_small_industries
		icon = GFX_goal_generic_takeover_industries
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_expand_the_electrical_grid
		prerequisite = {
			focus = PHI_expand_the_electrical_grid
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_protect_small_industries"
			PHI_elitist_large_effect = yes

			PHI_add_IND_alignment_medium_effect = yes

			swap_ideas = {
				remove_idea = PHI_industry_populist_2_idea
				add_idea = PHI_industry_populist_3_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_build_fertilizer_plants
		icon = GFX_goal_construction
		cost = 5

		x = 0
		y = 2
		relative_position_id = PHI_domestic_textile_production
		prerequisite = {
			focus = PHI_la_union_cement_plant
			focus = PHI_encourage_native_retailers
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_build_fertilizer_plants"
			add_one_random_civilian_factory = yes
			add_one_random_infrastructure = yes
			add_stability = -0.05
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_key_to_economic_nationalism
		icon = GFX_focus_GER_autarky_achieved
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_build_fertilizer_plants
		prerequisite = {
			focus = PHI_build_fertilizer_plants
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_key_to_economic_nationalism"
			add_stability = 0.10
			add_war_support = 0.10
			add_one_random_civilian_factory = yes
			PHI_add_IND_alignment_large_effect = yes

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PHI_national_development_company
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
###- Logging, Mining, and Infrastructure Section -###
	focus = {
		id = PHI_exploit_zambales_chromium
		icon = GFX_goal_chromium
		cost = 5

		x = 6
		y = 1
		relative_position_id = PHI_form_the_nepa
		prerequisite = {
			focus = PHI_form_the_nepa
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_exploit_zambales_chromium"
			add_resource = {
				type = chromium
				amount = 12
				state = 625
			}
			PHI_add_GEA_alignment_medium_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_expand_zamboanga_plantations
		icon = GFX_focus_generic_rubber
		cost = 5

		x = 2
		y = 0
		relative_position_id = PHI_exploit_zambales_chromium
		prerequisite = {
			focus = PHI_form_the_nepa
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_expand_zamboanga_plantations"
			add_resource = {
				type = rubber
				amount = 8
				state = 627
			}
			PHI_add_CPS_alignment_medium_effect = yes
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_small_scale_gold_mining
		icon = GFX_focus_usa_reestablish_the_gold_standard
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_exploit_zambales_chromium
		prerequisite = {
			focus = PHI_exploit_zambales_chromium
			focus = PHI_expand_zamboanga_plantations
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_small_scale_gold_mining"
			add_offsite_building = {
				type = industrial_complex
				level = 1
			}
			PHI_elitist_medium_effect = yes
			swap_ideas = {
				remove_idea = PHI_mining_1_idea
				add_idea = PHI_mining_populist_2_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_roads_in_the_cordillera
		icon = GFX_goal_KTG_Jungle_Railroad
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_small_scale_gold_mining
		prerequisite = {
			focus = PHI_small_scale_gold_mining
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_roads_in_the_cordillera"
			random_owned_controlled_state = {
				prioritize = { 623 } #Northern Luzon
				limit = {
					is_core_of = PHI
					non_damaged_building_level = {
						building = infrastructure
						level < 5
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			random_owned_controlled_state = {
				prioritize = { 327 } #Central Luzon
				limit = {
					is_core_of = PHI
					non_damaged_building_level = {
						building = infrastructure
						level < 5
					}
				}
				add_building_construction = {
					type = infrastructure
					level = 1
					instant_build = yes
				}
			}
			add_tech_bonus = {
				name = PHI_roads_in_the_cordillera
				category = excavation_tech
				bonus = 1
				uses = 1
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_develop_domestic_coalfields
		icon = GFX_focus_generic_coal_mining
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_roads_in_the_cordillera
		prerequisite = {
			focus = PHI_roads_in_the_cordillera
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_elitists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_develop_domestic_coalfields"
			add_resource = {
				type = steel
				amount = 16
				state = 627
			}
			add_tech_bonus = {
				name = PHI_develop_domestic_coalfields
				bonus = 1
				uses = 1
				category = synth_resources
			}
			627 = { #Mindanao
				add_building_construction = {
					type = synthetic_refinery
					level = 1
					instant_build = yes
				}
			}
			PHI_elitist_large_effect = yes
			swap_ideas = {
				remove_idea = PHI_mining_populist_2_idea
				add_idea = PHI_mining_populist_3_idea
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PHI_benguet_consolidated_mining_company
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_surigao_iron_deposits
		icon = GFX_focus_generic_steel
		cost = 5

		x = 2
		y = 1
		relative_position_id = PHI_exploit_zambales_chromium
		prerequisite = {
			focus = PHI_exploit_zambales_chromium
			focus = PHI_expand_zamboanga_plantations
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_surigao_iron_deposits"
			add_resource = {
				type = steel
				amount = 8
				state = 627
			}
			PHI_populist_medium_effect = yes

			swap_ideas = {
				remove_idea = PHI_mining_1_idea
				add_idea = PHI_mining_elite_2_idea
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PHI_mitsui
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_electrify_the_manila_railroad
		icon = GFX_goal_generic_railroad
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_surigao_iron_deposits
		prerequisite = {
			focus = PHI_surigao_iron_deposits
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_electrify_the_manila_railroad"
			327 = { #Manila
				build_railway = {
					path = { 10265 1221 12236 10306 1372 12279 4228 1311 1340 4373 1224 4269 1293 12188 1379 1407 4241 } #Okay the actual Manila Railroad did not extent this far but for balance we're going to make this go all the way.
					start_state = 327 #Central Luzon
					target_state = 627 #Mindanao
					level = 1
					fallback = yes
				}
			}
			add_tech_bonus = {
				bonus = 1
				uses = 1
				category = train_tech
				name = PHI_electrify_the_manila_railroad
			}
			add_equipment_to_stockpile = {
				type = train_equipment_1
				amount = 20
			}
			if = {
				limit = { NOT = { has_tech = basic_train } }
				set_technology = { basic_train = 1 }
			}

			custom_effect_tooltip = available_industrial_concern
			show_ideas_tooltip = PHI_manila_railroad_company
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
	focus = {
		id = PHI_copper_capital_of_the_east
		icon = GFX_goal_Copper_Mining
		cost = 5

		x = 0
		y = 1
		relative_position_id = PHI_electrify_the_manila_railroad
		prerequisite = {
			focus = PHI_electrify_the_manila_railroad
		}
		ai_will_do = {
			base = 100
			modifier = {
				#PHI is trained to mix in econ before 1939.
				factor = 1.5
				date < 1939.01.01
			}
			modifier = {
				factor = 0.5
				has_war = yes
			}
			modifier = {
				factor = 2
				has_war = no
			}
			modifier = {
				#Ai will be taught to take this focus when available if set on certain Quezon Strategies
				factor = 10
				PHI_ai_should_anger_populists_trigger = yes
			}
		}
		completion_reward = {
			log = "[GetLogRoot]: Focus Completed PHI_copper_capital_of_the_east"
			add_one_random_civilian_factory = yes
			add_one_random_civilian_factory = yes
			PHI_sub_IND_alignment_large_effect = yes

			PHI_populist_large_effect = yes

			swap_ideas = {
				remove_idea = PHI_mining_elite_2_idea
				add_idea = PHI_mining_elite_3_idea
			}
		}
		search_filters = { FOCUS_FILTER_INDUSTRY }
	}
}
