capital = 745 #107
load_focus_tree = generic_focus
add_ideas = CRI_first_world_country
if = {
	limit = {
		NOT = {
			has_dlc = "No Step Back"
		}
	}
	#set_oob = "YUG_1936"
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	#set_oob = "YUG_1936_nsb"
}
if = {
	limit = { has_dlc = "Man the Guns" }
		#set_naval_oob = "YUG_1936_naval_mtg"
	else = {
		#set_naval_oob = "YUG_1936_naval_legacy"
	}
}
if = {
	limit = { has_dlc = "By Blood Alone" }
		#set_air_oob = "YUG_1936_air_bba"
		set_technology = {
			iw_small_airframe = 1
			basic_small_airframe = 1
			engines_1 = 1
			aa_lmg = 1
			aa_cannon_1 = 1
		}
	else = {
		#set_air_oob = "YUG_1936_air_legacy"
	}
}

set_research_slots = 3

#recruit_character = YUG_prince_paul
#recruit_character = YUG_milan_stojadinovic
#recruit_character = YUG_milan_grol
#recruit_character = YUG_josip_broz_tito
recruit_character = YUG_vladimir_Cukavac
recruit_character = YUG_ivan_gosnjak
recruit_character = YUG_danilo_kalafatovic
recruit_character = YUG_milutin_nedic
recruit_character = YUG_petar_kosic
recruit_character = YUG_josef_depre
recruit_character = YUG_marijan_polic
recruit_character = YUG_borivoje_mirkovic
recruit_character = YUG_dusan_simovic
recruit_character = YUG_draza_mihailovic
recruit_character = YUG_mihajlo_lukic
recruit_character = YUG_bogoljub_ilic
recruit_character = YUG_petar_vukcevic
recruit_character = YUG_ljubomir_maric
recruit_character = YUG_arso_jovanovic
recruit_character = YUG_slobodan_jovanovic
recruit_character = YUG_milovan_djilas
recruit_character = YUG_milan_nedic
recruit_character = YUG_ivan_ribar
recruit_character = YUG_dimitrije_ljotic
recruit_character = YUG_ivo_lola_ribar
#recruit_character = YUG_peter_ii


if = {
	limit = {
		has_dlc = "Death or Dishonor"
	}
	add_ideas = {
		#YUG_idea_croatian_opposition
		#YUG_idea_macedonian_opposition
		#YUG_idea_slovene_nationalism
		#YUG_idea_serbian_general_staff
	}
}
add_ideas = {
	#anti_german_military
}

if = {
	limit = {
		#has_dlc = Battle for the Bosporus
	}
	add_opinion_modifier = { 
		target = GRE
		modifier = BFTB_balkan_pact_ally
	}
	add_opinion_modifier = { 
		target = ROM
		modifier = BFTB_balkan_pact_ally
	}
	add_opinion_modifier = { 
		target = TUR
		modifier = BFTB_balkan_pact_ally
	}
	add_opinion_modifier = { 
		target = BUL
		modifier = BFTB_balkan_pact_enemy
	}
	add_opinion_modifier = { 
		target = HUN
		modifier = BFTB_balkan_pact_enemy
	}
}

set_technology = {
	tech_support = 1		
	tech_engineers = 1
	tech_mountaineers = 1
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_trucks = 1
	interwar_antitank = 1
	gw_artillery = 1
	interwar_antiair = 1
	superior_firepower = 1
	basic_train = 1
}
if = {
	limit = {
		NOT = { has_dlc = "By Blood Alone" }
	}
	set_technology = {
		early_fighter = 1
	}
}
if = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
	}
}

if = {
	limit = {
		NOT = { has_dlc = "No Step Back" }
	}
	set_technology = {
		gwtank = 1
	}
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	set_technology = {
		early_destroyer = 1
		early_light_cruiser = 1
		early_submarine = 1
	}
}
if = {
	limit = { has_dlc = "Man the Guns" }
	set_technology = {
		basic_naval_mines = 1
		submarine_mine_laying = 1
		early_ship_hull_light = 1
		basic_ship_hull_light = 1
		early_ship_hull_submarine = 1
		basic_ship_hull_submarine = 1
		early_ship_hull_cruiser = 1
		basic_battery = 1
		basic_torpedo = 1
		basic_depth_charges = 1
		coastal_defense_ships = 1
	}
}



set_convoys = 10
set_politics = {
	ruling_party = communism
	last_election = "1935.5.3"
	election_frequency = 36
	elections_allowed = yes
}
set_popularities = {
	democratic = 15
	fascism = 10
	communism = 60
	neutrality = 15
}


set_stability = 0.6

### VARIANTS ###
# 1936 Start #
if = {
	limit = {
		has_dlc = "By Blood Alone"
	}
	create_equipment_variant = {
		name = "Ikarus IK-2" #
		type = small_plane_airframe_1
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			fixed_auxiliary_weapon_slot_1 = aircraft_cannon_1_1x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
	}
}
if = {
	limit = { not = { has_dlc = "Man the Guns" } }
	### Ship Variants ###
	create_equipment_variant = {
		name = "Dubrovnik Class"
		type = destroyer_1
		upgrades = {
			ship_torpedo_upgrade = 1
			destroyer_engine_upgrade = 1
			ship_ASW_upgrade = 1
			ship_anti_air_upgrade = 1
		}
	}
	create_equipment_variant = {
		name = "Dalmacija Class"
		type = heavy_cruiser_1
		upgrades = {
			ship_reliability_upgrade = 1
			ship_engine_upgrade = 1
			ship_armor_upgrade = 1
			ship_gun_upgrade = 1
		}
	}

}
if = {
	limit = { has_dlc = "Man the Guns" }
	# Submarines #
	create_equipment_variant = {
		name = "Hrabri Class"				
		type = ship_hull_submarine_2
		name_group = YUG_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
		}
	}
	# Destroyers #
	create_equipment_variant = {
		name = "Dubrovnik Class"				
		type = ship_hull_light_2
		name_group = YUG_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 = ship_mine_layer_1
			rear_1_custom_slot = ship_depth_charge_1
		}
	}
	# Cruisers #
	create_equipment_variant = {
		name = "Dalmacija Class"				
		type = ship_hull_cruiser_coastal_defense_ship
		name_group = YUG_CL_HISTORICAL
		parent_version = 0
		modules = {
			fixed_ship_battery_slot = ship_light_medium_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 = cruiser_ship_engine_1
			fixed_ship_armor_slot = empty
			fixed_ship_secondaries_slot = empty
			mid_1_custom_slot = empty
			mid_2_custom_slot = empty
			rear_1_custom_slot = empty
		}
	}
}

