capital = 112
oob = "POR"
set_naval_oob= "POR_naval"
starting_train_buffer = 1.5

set_technology = {
	basic_train = 1
	### General ###
	infantry_weapons = 1
	infantry_weapons1 = 1
	gw_artillery = 1
	tech_support = 1
	tech_engineers = 1
}

if = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "POR_air_bba"

		set_technology = {
			aa_lmg = 1
			early_bombs = 1
			engines_1 = 1
			iw_small_airframe = 1
			iw_medium_airframe = 1
			iw_large_airframe = 1
		}
		POR_BBA_air_variants = yes
	else = {
		set_air_oob = "POR_air_legacy"
		set_technology = {
			early_fighter = 1
			early_bomber = 1
			CAS1 = 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
	early_ship_hull_heavy = 1
	panzerschiffe = 1
	early_ship_hull_submarine = 1
	basic_ship_hull_submarine = 1
	
	basic_naval_mines = 1

	## Modules##
	basic_battery = 1
	basic_light_battery = 1
	
	basic_heavy_battery = 1
	basic_depth_charges = 1
	basic_torpedo = 1
	improved_ship_torpedo_launcher = 1
	basic_cruiser_armor_scheme = 1

	### Transport ###
	mtg_transport = 1
}

set_research_slots = 3
set_convoys = 60
CAR = { embargo_ROOT = yes }
CNT = { embargo_ROOT = yes }
country_event = { id = por.4 days = 1 }
country_event = { id = por.300 days = 425 }

set_stability = 0.28
set_war_support = 0.35
add_political_power = -22

set_politics = {
	ruling_party = national_populist
	last_election = "1888.6.15"
	election_frequency = 48
	elections_allowed = no
}

set_popularities = {
	totalist = 0
	syndicalist = 0
	radical_socialist = 1
	social_democrat = 6
	social_liberal = 4
	market_liberal = 4
	social_conservative = 12
	authoritarian_democrat = 14
	paternal_autocrat = 19
	national_populist = 40
}

add_ideas = {
	POR_Francisco_Rolao_Preto_hog_npo
	POR_Afonso_Lopes_Vieira_for_npo
	POR_Alberto_Monsaraz_eco_pau
	POR_Jose_Hipolito_Vaz_Raposo_sec_pau
	POR_integralist_ethos
}


create_country_leader = {
	name = "José Carlos Rates"
	picture = "gfx/leaders/POR/Portrait_Portugal_Jose_Rates.png"
	expire = "1.1.1"
	ideology = natsynd_subtype
}

create_country_leader = {
	name = "Manuel Joaquim de Sousa"
	picture = "gfx/leaders/Generic/Portrait_Europe_Generic_new_3.png"
	expire = "1.1.1"
	ideology = anarcho_syndicalist_subtype
}

create_country_leader = {
	name = "Amílcar Ramada Curto"
	picture = "gfx/leaders/POR/Portrait_POR_Amilcar_Ramada_Curto.png"
	expire = "1.1.1"
	ideology = anarchism_subtype
}

create_country_leader = {
	name = "José Domingues dos Santos"
	picture = "gfx/leaders/POR/Portrait_POR_José_Domingues_dos_Santos.png"
	expire = "1.1.1"
	ideology = socdem_liberalized_syndicalism_subtype
}

create_country_leader = {
	name = "Liberato Pinto"
	picture = "gfx/leaders/POR/Portrait_POR_Liberato_Pinto.png"
	expire = "1.1.1"
	ideology = centrist_subtype
}

create_country_leader = {
	name = "Antonio Granjo"
	picture = "gfx/leaders/POR/Portrait_Portugal_Antonio_Granjo.png"
	expire = "1.1.1"
	ideology = marlib_classical_liberalism_subtype
}

create_country_leader = {
	name = "Francisco da Cunha Leal"
	picture = "gfx/leaders/POR/Portrait_POR_Francisco_da_Cunha_Leal.png"
	expire = "1.1.1"
	ideology = christian_democracy_subtype
}

create_country_leader = {
	name = "Antonio de Oliveira Salazar"
	picture = "gfx/leaders/POR/Portrait_POR_Antonio_Salazar.png"
	expire = "1.1.1"
	ideology = pataut_christian_democracy_subtype
}

create_country_leader = {
	name = "António Óscar de Fragoso Carmona"
	picture = "gfx/leaders/POR/Portrait_Portugal_Antonio_Carmona.png"
	expire = "1.1.1"
	ideology = junta_subtype
}

create_country_leader = {
	name = "Francisco Rolão Preto"
	picture = "gfx/leaders/POR/Portrait_POR_Francisco_Rolao_Preto.png"
	expire = "1.1.1"
	ideology = integralism_subtype
}

create_country_leader = {
	name = "Duarte II"
	desc = "POLITICS_DUARTE_BRAGANCA_DESC"
	picture = "gfx/leaders/POR/Portrait_Portugal_Duarte_Nuno.png"
	expire = "1.1.1"
	ideology = autdem_christian_democracy_subtype
}

create_country_leader = {
	name = "Duarte II"
	desc = "POLITICS_DUARTE_BRAGANCA_DESC"
	picture = "gfx/leaders/POR/Portrait_Portugal_Duarte_Nuno.png"
	expire = "1.1.1"
	ideology = absolute_monarchy_subtype
}

create_country_leader = {
	name = "Duarte II"
	desc = "POLITICS_DUARTE_BRAGANCA_DESC"
	picture = "gfx/leaders/POR/Portrait_Portugal_Duarte_Nuno.png"
	expire = "1.1.1"
	ideology = integralism_subtype
}

### Field Marshals ###
create_field_marshal = {
	name = "Norton Matos"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Norton_Matos.png"
	traits = {
		old_guard
		career_officer
		defensive_doctrine
	}
	skill = 2
	attack_skill = 2
	defense_skill = 2
	planning_skill = 1
	logistics_skill = 2
}

### Corps Commanders ###
create_corps_commander = {
	name = "José Augusto Alves Roçadas"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Alves_Rocadas.png"
	traits = {
	old_guard
	inflexible_strategist
	fortress_buster
	}
	skill = 3
	attack_skill = 4
	defense_skill = 2
	planning_skill = 2
	logistics_skill = 2
}

create_corps_commander = {
	name = "Antonio Oscar Fragoso Carmona"
	portrait_path = "gfx/leaders/POR/Portrait_Portugal_Antonio_Carmona.png"
	traits = {
		old_guard
		politically_connected
	}
	skill = 2
	attack_skill = 2
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 3
}

create_corps_commander = {
	name = "Eugénio Augusto de Almada e Castro Bilstein Menezes"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Castro_Bilstein_Menezes.png"
	traits = {
	trait_cautious
	old_guard
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Frederico da Costa Lopes da Silva"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Costa_Lopes_sa_Silva.png"
	traits = {
	infantry_officer
	brilliant_strategist
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Garcia Rosado"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Garcia_Rosado.png"
	traits = {
	war_hero
	old_guard
	}
	skill = 3
	attack_skill = 3
	defense_skill = 2
	planning_skill = 3
	logistics_skill = 2
}

create_corps_commander = {
	name = "João Estêvão Águas"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Joao_Aguas.png"
	traits = {
	politically_connected
	infantry_officer
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "João de Almeida"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Joao_Almeida.png"
	traits = {
	war_hero
	politically_connected
	}
	skill = 2
	attack_skill = 3
	defense_skill = 1
	planning_skill = 2
	logistics_skill = 1
}

create_corps_commander = {
	name = "José Vicente de Freitas"
	portrait_path = "gfx/leaders/POR/Portrait_Portugal_de_Freitas.png"
	traits = {
	war_hero
	career_officer
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	planning_skill = 1
	logistics_skill = 1
}

create_corps_commander = {
	name = "Abílio Passos e Sousa"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Abilio_Passos_e_Sousa.png"
	traits = {
				infantry_officer
				inflexible_strategist
				organizer
			}
			skill = 2
			attack_skill = 1
			defense_skill = 2
			planning_skill = 2
			logistics_skill = 2
}

create_corps_commander = {
	name = "Aníbal César Valdez de Passos e Sousa"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Anibal_Passos_e_Sousa.png"
	traits = {
				artillery_officer
				politically_connected
				jungle_rat
			}
			skill = 3
			attack_skill = 3
			defense_skill = 3
			planning_skill = 2
			logistics_skill = 2
}

create_corps_commander = {
	name = "Joaquim Abranches"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Joaquim_Abranches.png"
		traits = {
				engineer_officer
				fortress_buster
				ambusher
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
}

create_corps_commander = {
	name = "Júlio César de Carvalho Teixeira"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Julio_de_Carvalho_Teixeira.png"
		traits = {
				career_officer
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
}

create_corps_commander = {
	name = "Miguel Pereira Coutinho"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Miguel_Pereira_Coutinho.png"
		traits = {
				war_hero
				inflexible_strategist
			}
			skill = 1
			attack_skill = 1
			defense_skill = 1
			planning_skill = 1
			logistics_skill = 1
}

create_corps_commander = {
	name = "Raúl Augusto Esteves"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Raul_Augusto_Esteves.png"
		traits = {
				career_officer
				trait_engineer
				trickster
			}
			skill = 2
			attack_skill = 2
			defense_skill = 1
			planning_skill = 2
			logistics_skill = 2
}


### Admirals ###
create_navy_leader = {
	name = "Manuel Ortins Torres de Bettencourt"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Torres_de_Bettencourt.png"
	traits = {
		blockade_runner
	}
	skill = 2
	attack_skill = 2
	defense_skill = 2
	maneuvering_skill = 1
	coordination_skill = 2
}

create_navy_leader = {
	name = "João do Canto e Castro"
	portrait_path = "gfx/leaders/POR/Portrait_Portugal_Joao_Castro.png"
	traits = {
		old_guard_navy
		superior_tactician
	}
	skill = 1
	attack_skill = 1
	defense_skill = 1
	maneuvering_skill = 1
	coordination_skill = 1
}

create_navy_leader = {
	name = "Américo Thomaz"
	portrait_path = "gfx/leaders/POR/Portrait_POR_Americo_Thomaz.png"
	traits = { }
	skill = 1
	attack_skill = 1
	defense_skill = 1
	maneuvering_skill = 1
	coordination_skill = 1
}

POR_start_naval_variant = yes

