set_capital = {state = 43}
set_war_support = 0.30
set_research_slots = 3

starting_train_buffer = 1

oob = "PAM_1936"

# Starting tech
set_technology = {
	### Infantry ###
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_mountaineers = 1
	tech_trucks = 1
	motorised_infantry = 1

	### Support ###
	tech_support = 1
	tech_recon = 1
	tech_engineers = 1

	### Artillery ###
	gw_artillery = 1
	interwar_antiair = 1

	### Industry ###
	fuel_silos = 1
	fuel_refining = 1

	### Trains ###
	basic_train = 1
}

### Planes - BBA ###
if = {
	limit = { has_dlc_bba = yes }
	set_air_oob = "PAM_air_bba"
	set_technology = {
		aa_lmg = 1
		engines_1 = 1
		engines_2 = 1
		iw_small_airframe = 1
		iw_medium_airframe = 1
		early_bombs = 1
		bba_early_transport_plane = 1
	}
}

### Tanks - NSB ###
if = {
	limit = { has_dlc_nsb = yes }
	set_technology = {
		gwtank_chassis = 1
		basic_light_tank_chassis = 1
	}
}

### Tanks - non NSB ###
if = {
	limit = { has_dlc_nsb = no }
	set_technology = {
		gwtank = 1
	}
}

recruit_character = PAM_miklos_horthy

set_popularities = {
        monarchism = 5
        radicalsocialism = 5
        romanitasautocracy = 10
        russiandem = 80
}

set_politics = {
	ruling_party = russiandem
	last_election = "1936.1.1"
	election_frequency = 48
	elections_allowed = no
}

	set_party_name = {
	    ideology = russiandem
	    long_name = "Pannon Szociáldemokrata Párt"
	    name = PSP
	}


if = {
	limit = { has_dlc_nsb = yes }
	create_equipment_variant = {
		name = "Burstyn-ÖL"
		type = light_tank_chassis_0
		show_position = no
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_two_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = additional_machine_guns
		}
		upgrades = {
			tank_nsb_engine_upgrade = 0
			tank_nsb_armor_upgrade = 0
		}
		obsolete = yes
	}
	create_equipment_variant = {
		name = "35M k. hk."
		type = light_tank_chassis_1
		show_position = no
		parent_version = 0
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_two_man_tank_turret
			suspension_type_slot = tank_bogie_suspension
			armor_type_slot = tank_riveted_armor
			engine_type_slot = tank_gasoline_engine
			special_type_slot_1 = tank_radio_1
		}
		upgrades = {
			tank_nsb_engine_upgrade = 2
			tank_nsb_armor_upgrade = 2
		}
	}
	add_equipment_to_stockpile = {
		type = light_tank_chassis_0
		amount = 500
		variant_name = "Burstyn-ÖL"
	}
}

### PLANE VARIANTS ###
IF = {
	limit = {
		has_dlc = "By Blood Alone"
	}
	create_equipment_variant = {
		name = "Weiss WM-16 Budapest"
		type = small_plane_cas_airframe_0
		modules = {
			fixed_main_weapon_slot = bomb_locks
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
		### icon = ""
	}
	create_equipment_variant = {
		name = "Weiss WM-10 Ölyv"
		type = small_plane_airframe_0
		modules = {
			fixed_main_weapon_slot = light_mg_2x
			engine_type_slot = engine_1_1x
			special_type_slot_1 = empty
		}
		### icon = ""
	}
}