set_country_flag = polit_nato_ally
capital = 808
add_ideas = volunteer_only 
load_focus_tree = generic_focus
oob = "LAT_1936"

if = {
	limit = { has_dlc = "Arms Against Tyranny" }
	store_core_states_on_game_start = yes
}

add_ideas = {
	limited_conscription
}
IF = {
	limit = { has_dlc = "No Step Back" }
	add_ideas = {
		#LAT_perkonkrust_idea
		#democratic_opposition
	}
}

recruit_character = LAT_gustavs_celminsh
recruit_character = LAT_augusts_kirhensteins
recruit_character = LAT_martinsh_penikis
recruit_character = LAT_hermanis_buks
recruit_character = LAT_janis_berzins
recruit_character = LAT_ludvigs_bolsteins
recruit_character = LAT_teodors_zvejnieks
recruit_character = LAT_kornelijs_veidnieks
recruit_character = LAT_rudolfs_kandis
recruit_character = LAT_konstantins_cakste
recruit_character = LAT_arturs_silgailis
recruit_character = LAT_fricis_celmins
recruit_character = LAT_otto_hellmich
recruit_character = LAT_rudolfs_kocins
recruit_character = LAT_arturs_sprogis
recruit_character = LAT_tomas_spade
recruit_character = LAT_vilis_lacis
recruit_character = LAT_vilhelms_munters
recruit_character = LAT_janis_kaminskis
recruit_character = LAT_fricis_menders
recruit_character = LAT_alberts_kvesis
recruit_character = LAT_karlis_ulmanis
IF = { 
	limit = { has_dlc = "No Step Back" }
	recruit_character = LAT_janis_balodis
	recruit_character = LAT_janis_sudrabkalns
	recruit_character = LAT_emilija_veinberga
	recruit_character = LAT_janis_rudzutaks
	recruit_character = LAT_karlis_baumanis
	recruit_character = LAT_fricis_virsaitis
	recruit_character = LAT_andrejs_krustinsh
	recruit_character = LAT_zhanis_bahs
	recruit_character = LAT_krisjanis_berkis
}


set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_trucks = 1
	gw_artillery = 1
	tech_support = 1
	basic_train = 1
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_submarine = 1
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	set_technology = {
		basic_torpedo = 1
		submarine_mine_laying = 1
		early_ship_hull_submarine = 1
	}
}

set_research_slots = 2

set_convoys = 10


set_politics = {
	ruling_party = neutrality
	last_election = "1931.10.3"
	election_frequency = 10
	elections_allowed = no
}
set_popularities = {
	democratic = 15
	fascism = 30
	communism = 15
	neutrality = 40
}

# probably needs some adjustment before nazi occupation in 1940


### VARIANTS ###
# 1936 Start #
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	### Ship Variants ###
}
if = {
	limit = { has_dlc = "Man the Guns" }
	# Submarines #
	create_equipment_variant = {
		name = "Ronis Class"								
		type = ship_hull_submarine_1
		name_group = LAT_SS_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_torpedo_slot = ship_torpedo_sub_1
			fixed_ship_engine_slot = sub_ship_engine_1
			rear_1_custom_slot = empty
		}
	}
}
add_ideas = CRI_first_world_country