capital = 327
OOB = "PHI"
set_convoys = 20
set_research_slots = 2

set_stability = 0.43
set_war_support = 0.15

set_cosmetic_tag = PHI_commonwealth_cosmetic

set_technology = {
	### Infantry ###
	infantry_weapons = 1
	basic_train = 1
	tech_support = 1
	tech_mountaineers = 1

	tech_engineers = 1
	gw_artillery = 1
}
if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
	}
}
### Navy - MtG ###
set_technology = {
	early_ship_hull_light = 1
	basic_ship_hull_light = 1
	early_ship_hull_cruiser = 1
	basic_ship_hull_cruiser = 1
	
	basic_naval_mines = 1

	## Modules##
	basic_battery = 1
	basic_light_battery = 1
	smoke_generator = 1
}

set_politics = {
	ruling_party = market_liberal
	last_election = "1935.09.16"
	election_frequency = 72
	elections_allowed = yes
}

set_popularities = {
	totalist = 0
	syndicalist = 6
	radical_socialist = 8
	social_democrat = 0
	social_liberal = 21
	market_liberal = 35
	social_conservative = 0
	authoritarian_democrat = 25
	paternal_autocrat = 0
	national_populist = 5
}

###- Ideas -###
add_ideas = {
	export_focus
	volunteer_only
	civilian_economy
	Generic_Colonial_Nation_lesser
	PHI_army_1
	PHI_agriculture_1_idea
	PHI_industry_1_idea
	PHI_mining_1_idea
	PHI_political_spirit_1_idea
}

###- Events -###
country_event = {
	id = PHI.political.150 #The 1938 Campaign Season Opens
	days = 565  #Will fire 180 days before September 16th, 1938.
}

country_event = { id = phil.0 days = 1 } #Intro

country_event = {
	id = PHI.political.001 # Black Monday
	days = 44
}
USA = {
	country_event = {
		id = PHI.political.001 # Black Monday
		days = 49
	}
}

create_country_leader = {
	name = "Emilio Aguinaldo"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Emilio_Aguinaldo.png"
	expire = "1960.1.1"
	ideology = integralism_subtype
}
create_country_leader = {
	name = "Emilio Aguinaldo"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Emilio_Aguinaldo.png"
	expire = "1960.1.1"
	ideology = caudillo_populism_subtype
}
create_country_leader = {
	name = "Emilio Aguinaldo"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Emilio_Aguinaldo.png"
	expire = "1960.1.1"
	ideology = authdem_caudillo_populism_subtype
}
create_country_leader = {
	name = "Elpidio Quirino"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Elpidio_Quirino.png"
	expire = "1960.1.1"
	ideology = paternal_socialism_subtype
}
create_country_leader = {
	name = "Manuel Luis Quezón"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Manuel_Luis_Quezon_KR.png"
	expire = "1960.1.1"
	ideology = progressive_democracy_subtype
}
create_country_leader = {
	name = "J. Antonio Araneta"
	picture = "gfx/leaders/PHI/Portrait_Philippines_J_Antonio_Araneta.png"
	expire = "1944.1.1"
	ideology = soclib_authoritarian_liberalism_subtype
}
create_country_leader = {
	name = "Lope K. Santos"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Lope_K_Santos.png"
	expire = "1960.1.1"
	ideology = syndie_social_democrat_subtype
}
create_country_leader = {
	name = "Crisanto Evangelista"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Crisanto_Evangelista.png"
	expire = "1960.1.1"
	ideology = agrarian_socialism_subtype
}
create_country_leader = {
	name = "Crisanto Evangelista"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Crisanto_Evangelista.png"
	expire = "1960.1.1"
	ideology = agrarian_syndicalism_subtype
}
create_country_leader = {
	name = "Crisanto Evangelista"
	picture = "gfx/leaders/PHI/Portrait_Philippines_Crisanto_Evangelista.png"
	expire = "1960.1.1"
	ideology = tot_developing_leftism_subtype
}

#Foreign alignment
set_variable = { var = PHI_size_small_var value = 5 }
set_variable = { var = PHI_size_medium_var value = 15 }
set_variable = { var = PHI_size_large_var value = 25 }

set_variable = { var = PHI_IND_alignment_var value = 10 }
set_variable = { var = PHI_GEA_alignment_var value = 0 }
set_variable = { var = PHI_CPS_alignment_var value = 0 }
set_variable = { var = PHI_USA_alignment_var value = 25 }

### Field Marshals ###

create_field_marshal = {
	name = "Basilio J. Valdez"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Basilio_J_Valdez.png"
	traits = { career_officer media_personality organisational_leader }
	skill = 2
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 3
}

### Corps Commanders ###

create_corps_commander = {
	name = "Vicente Lim" # The Absolute Mad Lad, also West Point Graduate
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Vicente_Lim.png"
	traits = { career_officer infantry_officer trickster commando }
	skill = 3
	attack_skill = 3
	defense_skill = 2
	planning_skill = 3
	logistics_skill = 2
}
create_corps_commander = { 
	name = "Paulino Santos"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Paulino_Santos.png"
	traits = { war_hero career_officer }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = { 
	name = "Carlos P. Romulo"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Carlos_P_Romulo.png"
	traits = { media_personality politically_connected skilled_staffer }
	skill = 2
	attack_skill = 1
	defense_skill = 1
	planning_skill = 3
	logistics_skill = 2
}

create_corps_commander = {
	name = "Ruperto Kangleon"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Ruperto_Kangleon.png"
	traits = { career_officer infantry_officer }
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = { 
	name = "Leopoldo Salcedo"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Leopoldo_Salcedo.png"
	traits = { media_personality }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = { 
	name = "Jesus Miranda Vargas"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Jesus_Vargas.png"
	traits = { career_officer artillery_officer artillery_specialist }
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = { 
	name = "Mateo M. Capinpin"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Mateo_Capinpin.png"
	traits = { career_officer old_guard infantry_officer }
	skill = 2
	attack_skill = 1
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 2
}

### Admirals ###

create_navy_leader = {
	name = "Enrique Jurado"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Enrique_Jurado.png"
	traits = { seawolf blockade_runner inshore_fighter }
	skill = 2
	attack_skill = 1
	defense_skill = 1
	maneuvering_skill = 3
	coordination_skill = 2
}

create_navy_leader = {
	name = "Jose Andrada"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Jose_Andrada.png"
	traits = { superior_tactician blockade_runner inshore_fighter }
	skill = 3
	attack_skill = 2
	defense_skill = 2
	maneuvering_skill = 3
	coordination_skill = 3
}

create_navy_leader = {
	name = "Jose Francisco"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Jose_Francisco.png"
	traits = { aviation_enthusiast blockade_runner inshore_fighter }
	skill = 2
	attack_skill = 2
	defense_skill = 1
	maneuvering_skill = 3
	coordination_skill = 1
}

create_navy_leader = {
	name = "Ramon Alcaraz"
	portrait_path = "gfx/leaders/PHI/Portrait_Philippines_Ramon_Alcaraz.png"
	traits = { spotter blockade_runner inshore_fighter }
	skill = 2
	attack_skill = 3
	defense_skill = 1
	maneuvering_skill = 2
	coordination_skill = 1
}

### Operatives ###
if = {
	limit = { has_dlc = "La Resistance" }
	create_operative_leader = {
		name = "Josefina Guerrero"
		GFX = GFX_Portrait_Philippines_Josefina_Guerrero
		traits = { operative_commando operative_master_infiltrator }
		bypass_recruitment = no
		available_to_spy_master = yes
		female = yes
		nationalities = { PHI }
	}
}