capital = 300

oob = "URG_1936"
every_core_state = {
	ROOT = {
		add_to_array = { cores_at_game_start = PREV }
	}
}
IF = {
	limit = { has_dlc = "Man the Guns" }
		set_naval_oob = "URG_1936_naval_mtg"
	ELSE = {
		set_naval_oob = "URG_1936_naval_legacy"
	}
}

IF = {
	limit = {
		has_dlc = "Trial of Allegiance"
	}
	JUNO_set_shared_military_branch_defaults = yes
	add_ideas = idea_URG_low_amounts_of_external_debts
	set_war_support = 0.12
	set_stability = 0.39
}
set_cosmetic_tag = URG_is_unaligned_URG_but_has_normal_URG_flag	

# Starting tech
set_technology = {
	infantry_weapons = 1
	gw_artillery = 1
}

IF = {
	limit = { NOT = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_destroyer = 1
		early_light_cruiser = 1
	}
}
IF = {
	limit = { has_dlc = "Man the Guns" }
	set_technology = {
		basic_naval_mines = 1
		early_ship_hull_light = 1
		basic_battery = 1
		basic_torpedo = 1
	}
}

# TODO JA, add correct dlc-requirments for this new version, and make it so that you have to old if you do not have it
IF = {
	limit = {
		NOT = {
			has_dlc = "Trial of Allegiance"
		}
	}
	recruit_character = URG_gabriel_terra
	recruit_character = URG_venancio_flores
	recruit_character = URG_bernardo_gonzalez
	recruit_character = URG_juan_manuel_aguirre
	recruit_character = URG_ernesto_sanchez_elizondo
	recruit_character = URG_rafael_marques_ayala
	recruit_character = URG_a_martin_de_la_flores
	recruit_character = URG_carlos_neves_ochoa
	recruit_character = URG_hector_lopez_camara
	recruit_character = URG_valentin_gomez
	recruit_character = URG_enrico_amancias_rodriguez
	recruit_character = URG_cantido_quintio_reyes
	recruit_character = URG_cosme_alvarez_berisso
	recruit_character = URG_jorge_eloi_mendoza
	recruit_character = URG_vittorio_amato_masso
	recruit_character = URG_carlos_jackson_urribe
	recruit_character = URG_teo_bucardi_ramos
	recruit_character = URG_eleazar_diaz_caminate
	recruit_character = URG_manuel_heinz_azpurua
	recruit_character = URG_alfredo_baldomir
	recruit_character = URG_horacio_arredondo
	recruit_character = URG_paulo_ortega_frusci
	recruit_character = URG_emilio_frugoni
	ELSE_IF = {
		limit = {
			has_dlc = "Trial of Allegiance"
		}
		recruit_character = URG_gabriel_terra
		recruit_character = URG_adolfo_agorio
		recruit_character = URG_teodomiro_varela_de_andrade 
		recruit_character = URG_eugenio_gomez
		recruit_character = URG_arnulf_fuhrmann
		recruit_character = URG_luis_alberto_herrera
		recruit_character = URG_alfredo_baldomir_ferrari
		recruit_character = URG_ernesto_sanchez_elizondo
		recruit_character = URG_rafael_marques_ayala
		recruit_character = URG_a_martin_de_la_flores
		recruit_character = URG_carlos_neves_ochoa
		recruit_character = URG_hector_lopez_camara
		recruit_character = URG_valentin_gomez
		recruit_character = URG_enrico_amancias_rodriguez
		recruit_character = URG_cantido_quintio_reyes
		recruit_character = URG_cosme_alvarez_berisso
		recruit_character = URG_jorge_eloi_mendoza
		recruit_character = URG_vittorio_amato_masso
		recruit_character = URG_carlos_jackson_urribe
		recruit_character = URG_teo_bucardi_ramos
		recruit_character = URG_eleazar_diaz_caminate
		recruit_character = URG_manuel_heinz_azpurua
		recruit_character = URG_alfredo_baldomir
		recruit_character = URG_horacio_arredondo
		recruit_character = URG_paulo_ortega_frusci
		recruit_character = URG_emilio_frugoni
		recruit_character = URG_augustus_caesar_bado
		recruit_character = URG_jose_espalter
		recruit_character = URG_cesar_charlone
		recruit_character = URG_eduardo_victor_haedo
		recruit_character = URG_martin_recaredo_echegoyen
		recruit_character = URG_zoilo_saldias
		recruit_character = URG_juan_cesar_mussio_fournier
		recruit_character = URG_cesar_gutierrez
		recruit_character = URG_domingo_mendivil
		recruit_character = URG_andres_puyol
		recruit_character = URG_alfredo_campos
		recruit_character = URG_julio_roletti
		recruit_character = URG_esteban_elena
		recruit_character = URG_gervasio_de_posadas_belgrano


	}
}

set_country_flag = monroe_doctrine

set_convoys = 15

set_politics = {
	ruling_party = neutrality
	last_election = "1934.4.19"
	election_frequency = 48
	elections_allowed = yes
}
set_popularities = {
	democratic = 44
	neutrality = 53
	communism = 3
	fascism = 0
}

### VARIANTS ###
# 1936 Start #
IF = {
	limit = { NOT = { has_dlc = "Man the Guns" } }
	### Ship Variants ###
}
IF = {
	limit = { has_dlc = "Man the Guns" }
	# Destroyers #
	create_equipment_variant = {
		name = "Uruguay Class"				
		type = ship_hull_light_1
		name_group = URG_DD_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_battery_1
			fixed_ship_anti_air_slot = ship_anti_air_1
			fixed_ship_fire_control_system_slot = ship_fire_control_system_0
			fixed_ship_radar_slot = empty
			fixed_ship_engine_slot = light_ship_engine_1
			fixed_ship_torpedo_slot = ship_torpedo_1
			mid_1_custom_slot = empty
			rear_1_custom_slot = empty
		}
	}
}
