capital = 590
set_research_slots = 3

oob = "W55_OOB"
if = {
	limit = { has_dlc = "Man the Guns" }
		set_naval_oob = "W55_1936_naval_mtg"
	else = { 
		set_naval_oob = "W55_1936_naval_legacy"
	}
}

# Starting tech
set_technology = {
	early_bomber = 1
	early_fighter = 1
	electronic_mechanical_engineering = 1
	fuel_refining = 1
	fuel_silos = 1
	gw_artillery = 1
	infantry_weapons = 1
	tech_support = 1
}

if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_battleship = 1
		early_destroyer = 1
		early_heavy_cruiser = 1
		early_light_cruiser = 1
		early_submarine = 1
		transport = 1
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	set_technology = {
		basic_battery = 1
		basic_naval_mines = 1
		basic_torpedo = 1
		early_ship_hull_cruiser = 1
		early_ship_hull_light = 1
	}
}
# Research Bonuses
set_convoys = 2


set_politics = {
    ruling_party = democratic
    last_election = "1933.7.3"
    election_frequency = 48
    elections_allowed = yes
}

set_popularities = {
	absolutist = 1
	communism = 0
	democratic = 26
	fascism = 69
	neutrality = 4
	radical = 0
}

add_opinion_modifier = { target = ALG modifier = negative_30 }
add_opinion_modifier = { target = ARG modifier = negative_10 }
add_opinion_modifier = { target = BEN modifier = negative_30 }
add_opinion_modifier = { target = BRA modifier = negative_10 }
add_opinion_modifier = { target = CAL modifier = negative_5 }
add_opinion_modifier = { target = CHI modifier = negative_15 }
add_opinion_modifier = { target = COL modifier = negative_10 }
add_opinion_modifier = { target = ENG modifier = positive_5 }
add_opinion_modifier = { target = GER modifier = negative_10 }
add_opinion_modifier = { target = ICE modifier = negative_10 }
add_opinion_modifier = { target = ITA modifier = negative_30 }
add_opinion_modifier = { target = KOR modifier = negative_15 }
add_opinion_modifier = { target = MAN modifier = negative_20 }
add_opinion_modifier = { target = MEX modifier = negative_5 }
add_opinion_modifier = { target = PRU modifier = negative_10 }
add_opinion_modifier = { target = QUE modifier = negative_10 }
add_opinion_modifier = { target = RWA modifier = negative_30 }
add_opinion_modifier = { target = SCO modifier = negative_10 }
add_opinion_modifier = { target = SIA modifier = positive_18 }
add_opinion_modifier = { target = U78 modifier = negative_10 }
add_opinion_modifier = { target = V00 modifier = negative_10 }
add_opinion_modifier = { target = V04 modifier = negative_50 }
add_opinion_modifier = { target = VIN modifier = positive_20 }
add_opinion_modifier = { target = W01 modifier = negative_5 }
add_opinion_modifier = { target = W08 modifier = negative_30 }
add_opinion_modifier = { target = W15 modifier = negative_30 }
add_opinion_modifier = { target = W25 modifier = negative_10 }
add_opinion_modifier = { target = W26 modifier = negative_30 }
add_opinion_modifier = { target = W28 modifier = negative_195 }
add_opinion_modifier = { target = W38 modifier = negative_30 }
add_opinion_modifier = { target = W40 modifier = negative_20 }
add_opinion_modifier = { target = W44 modifier = negative_10 }
add_opinion_modifier = { target = W51 modifier = negative_195 }
add_opinion_modifier = { target = W61 modifier = negative_30 }
add_opinion_modifier = { target = W68 modifier = negative_20 }
add_opinion_modifier = { target = W71 modifier = negative_30 }
add_opinion_modifier = { target = W73 modifier = negative_50 }
add_opinion_modifier = { target = W77 modifier = negative_15 }
add_opinion_modifier = { target = W81 modifier = negative_20 }
add_opinion_modifier = { target = W82 modifier = negative_10 }
add_opinion_modifier = { target = W84 modifier = negative_15 }
add_opinion_modifier = { target = W85 modifier = negative_115 }
add_opinion_modifier = { target = W88 modifier = negative_10 }
add_opinion_modifier = { target = W90 modifier = negative_200 }
add_opinion_modifier = { target = W92 modifier = negative_20 }
add_opinion_modifier = { target = W93 modifier = negative_5 }
add_opinion_modifier = { target = W94 modifier = negative_30 }
add_opinion_modifier = { target = W96 modifier = negative_30 }
add_opinion_modifier = { target = W97 modifier = negative_10 }
add_opinion_modifier = { target = W98 modifier = negative_15 }
add_opinion_modifier = { target = X02 modifier = negative_15 }
add_opinion_modifier = { target = X09 modifier = negative_30 }
add_opinion_modifier = { target = X16 modifier = negative_30 }
add_opinion_modifier = { target = X18 modifier = negative_20 }
add_opinion_modifier = { target = X19 modifier = negative_13 }
add_opinion_modifier = { target = X21 modifier = negative_10 }
add_opinion_modifier = { target = X23 modifier = positive_105 }
add_opinion_modifier = { target = X25 modifier = negative_30 }
add_opinion_modifier = { target = X26 modifier = negative_30 }
add_opinion_modifier = { target = X30 modifier = negative_30 }
add_opinion_modifier = { target = X37 modifier = negative_10 }
add_opinion_modifier = { target = X38 modifier = negative_10 }
add_opinion_modifier = { target = X40 modifier = negative_10 }
add_opinion_modifier = { target = X59 modifier = negative_30 }
add_opinion_modifier = { target = X61 modifier = negative_30 }
add_opinion_modifier = { target = X62 modifier = negative_10 }
add_opinion_modifier = { target = X64 modifier = negative_15 }
add_opinion_modifier = { target = X74 modifier = negative_30 }
add_opinion_modifier = { target = X78 modifier = negative_200 }
add_opinion_modifier = { target = X79 modifier = negative_30 }
add_opinion_modifier = { target = X87 modifier = negative_5 }
add_opinion_modifier = { target = X91 modifier = positive_10 }
add_opinion_modifier = { target = X97 modifier = positive_20 }
add_opinion_modifier = { target = X99 modifier = negative_30 }
add_opinion_modifier = { target = XSM modifier = positive_5 }



add_ideas = {
	volunteer_only
	civilian_economy
	export_focus
	culture_filipino
}
set_stability = 0.60
set_war_support = 0.77
create_country_leader = {
    name = "Simeón Bonifacio"
    desc = "POLITICS_SIMEóN_BONIFACIO_DESC"
    picture = "GFX_SIA_Pridi_Banomyon"
    expire = "1965.1.1"
    ideology = socialism
    traits = {
    }
}
create_corps_commander = {
	name = "José Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Hermano Arellano"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "León Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Apolinario Bonifacio"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "León Arellano"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Mariano Diwa"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Hermano Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "José Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Ladislao Bonifacio"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Artemio Plata"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Andrés Jacinto"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 1
	defense_skill = 3
	planning_skill = 2
	logistics_skill = 3
}

create_corps_commander = {
	name = "Hermano Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Arcadio Plata"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "León Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "José Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Apolinario Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Mariano Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Andrés Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Hermano Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Arcadio Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Antonio Arellano"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Valentíne Jacinto"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Hermano Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Ladislao Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Manuel Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Hermano Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Antonio Bonifacio"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Emilio Mabini"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 3
}

create_corps_commander = {
	name = "Antonio Arellano"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Simeón Bonifacio"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Antonio Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Apolinario Diwa"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Antonio Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Deodato Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Ladislao Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Manuel Jacinto"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Deodato Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Jacinto Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Antonio Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Simeón Díaz"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Hermano Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Antonio Plata"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Deodato Arellano"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "José Jacinto"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Antonio Arellano"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "José Aguainaldo"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Andrés Rizal"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Teodoro Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Deodato Jacinto"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Hermano Diwa"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 2
}

create_corps_commander = {
	name = "Arcadio Diwa"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "Artemio Jacinto"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Valentíne Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Jacinto Diwa"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "León Mabini"
	picture = ""
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Ladislao Aguainaldo"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 1
	defense_skill = 1
	planning_skill = 3
	logistics_skill = 1
}

create_navy_leader = {
	name = "José Mabini"
	picture = ""
	traits = { }
	skill = 2
	attack_skill = 2
	defense_skill = 2
	maneuvering_skill = 2
	coordination_skill = 1
}

### VARIANTS ###
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	create_equipment_variant = {
		name = "Early Battleship"
		type = battleship_1
		upgrades = {
			ship_armor_upgrade = 1
			ship_engine_upgrade = 1
			ship_gun_upgrade = 1
			ship_reliability_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Destroyer"
		type = destroyer_1
		upgrades = {
			destroyer_engine_upgrade = 1
			ship_ASW_upgrade = 1
			ship_anti_air_upgrade = 1
			ship_torpedo_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Heavy Cruiser"
		type = heavy_cruiser_1
		upgrades = {
			ship_armor_upgrade = 1
			ship_engine_upgrade = 1
			ship_gun_upgrade = 1
			ship_reliability_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Light Cruiser"
		type = light_cruiser_1
		upgrades = {
			ship_anti_air_upgrade = 1
			ship_engine_upgrade = 1
			ship_gun_upgrade = 1
			ship_reliability_upgrade = 1
		}
	}

	create_equipment_variant = {
		name = "Early Submarine"
		type = submarine_1
		upgrades = {
			ship_reliability_upgrade = 1
			sub_engine_upgrade = 1
			sub_stealth_upgrade = 1
			sub_torpedo_upgrade = 1
		}
	}

}
if = {
	limit = { has_dlc = "Man the Guns" }
	create_equipment_variant = {
		name = "Early Destroyer"
		type = ship_hull_light_1
		name_group = W55_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_fire_control_system_slot = empty
			fixed_ship_radar_slot = ship_sonar_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = ship_depth_charge_1
			rear_1_custom_slot = empty
		}
	}
	create_equipment_variant = {
		name = "Early Heavy Cruiser"
		type = ship_hull_cruiser_1
		name_group = W55_CA_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_battery_slot = ship_medium_battery_1
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = ship_secondaries_1
			mid_2_custom_slot = ship_medium_battery_1
			rear_1_custom_slot = empty
		}
	}
	create_equipment_variant = {
		name = "Early Light Cruiser"
		type = ship_hull_cruiser_1
		name_group = W55_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_armor_slot = ship_armor_cruiser_1
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_engine_slot = cruiser_ship_engine_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = ship_sonar_1
			fixed_ship_secondaries_slot = ship_secondaries_1
			mid_1_custom_slot = ship_torpedo_1
			mid_2_custom_slot = ship_light_battery_1
			rear_1_custom_slot = empty
		}
	}
}
