capital = 155

IF = {
	limit = {
		has_dlc = "Gotterdammerung"
	}
	set_oob = "HUN_wuw_1936"
	ELSE_IF = {
		limit = {
			NOT = {
				has_dlc = "Gotterdammerung"
			}
		}
		set_oob = "HUN_1936"
	}
}

IF = {
	limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "HUN_1936_air_bba"
		set_technology = {
			iw_small_airframe = 1
			engines_1 = 1
			early_bombs = 1
			photo_reconnaisance = 1
			aa_lmg = 1
		}
	ELSE = {
		set_air_oob = "HUN_1936_air_legacy"
		set_technology = {
			early_fighter = 1
			CAS1 = 1
		}
	}
}

IF = {
	limit = { has_dlc = "Man the Guns" }
		set_technology = {
			mtg_transport = 1
		}
	ELSE = {
		set_technology = {
			transport = 1
		}
	}
}

### SETUP THE CORRECT POLITICAL PARTIES ###

IF = {
	limit = {
		has_dlc = "Gotterdammerung"
	}
	set_party_name = {
	    ideology = fascism
	    long_name = HUN_national_socialist_party_long
	    name = HUN_national_socialist_party
	}
}

set_research_slots = 3

### SETUP STABILITY AND WAR SUPPORT ###
IF = {
	limit = {
		NOT = {
			has_dlc = "Gotterdammerung"
		}
	}
	set_stability = 0.7
	set_war_support = 0.6
	ELSE = {
		set_stability = 0.3
		set_war_support = 0.4
	}
}


set_technology = {
	infantry_weapons = 1
	infantry_weapons1 = 1
	tech_support = 1		
	tech_recon = 1
	tech_trucks = 1
	gw_artillery = 1

	fuel_silos = 1
	basic_train = 1
}

IF = {
	limit = {
		NOT = {
			has_dlc = "No Step Back"
		}
	}
	set_technology = {
		gwtank = 1
	}
}
IF = {
	limit = {
		has_dlc = "No Step Back"
	}
	set_technology = {
		gwtank_chassis = 1
	}
}

### SETUP NATIONAL SPIRITS NO WW ###
IF = {
	limit = {
		AND = {
			has_dlc = "Death or Dishonor"
			NOT = {
				has_dlc = "Gotterdammerung"
			}
		}
	}
	add_ideas = {
		disarmed_nation
	}
	IF = {
		limit = { has_dlc = "Arms Against Tyranny" }
		add_ideas = { HUN_treaty_of_triannon_aat }
	}
	IF = {
		limit = {
			NOT = { has_dlc = "Arms Against Tyranny" }
		}
		add_ideas = { HUN_treaty_of_triannon }
	}
}

### SETUP HUNGARO-GERMAN RELATIONS AND NATIONAL SPIRITS ###
IF = {
	limit = {
		AND = {
			has_dlc = "Death or Dishonor"
			has_dlc = "Gotterdammerung"
		}
	}

	add_ideas = {
		disarmed_nation
		HUN_gombos_trade_treaty
		HUN_hungarian_national_defense_association
		HUN_levente_associations
	}

	### OPINION MODIFIERS ###

	add_opinion_modifier = {
		target = GER
		modifier = HUN_GER_trade_modifier
	}	
	GER = {
		add_opinion_modifier = {
			target = HUN
			modifier = HUN_GER_trade_modifier
		}	
	}

	add_opinion_modifier = {
		target = POL
		modifier = HUN_POL_friendship_modifier
	}	
	POL = {
		add_opinion_modifier = {
			target = HUN
			modifier = HUN_POL_friendship_modifier
		}	
	}

	IF = {
		limit = { has_dlc = "Arms Against Tyranny" }
		add_ideas = { HUN_treaty_of_triannon_aat_wuw }
		add_relation_rule_override = { 
			target = GER
			usage_desc = HUN_gombos_trade_treaty_tt
			can_access_market = yes
		}
		give_market_access = GER
	}

	IF = {
		limit = {
			NOT = { has_dlc = "Arms Against Tyranny" }
		}
		add_ideas = { HUN_treaty_of_triannon_wuw }
	}

}

# The Academy of Sciences Modifier
set_variable = { HUN_academy_of_sciences_research_speed_factor = 0.03 }

### 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
		}
	}
	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
		}
	}
}

### TANK VARIANTS ###
IF = {
	limit = {
		has_dlc = "No Step Back"
	}
	create_equipment_variant = {
		name = "Straussler V-4"
		type = light_tank_chassis_0
		parent_version = 0
		obsolete = no
		modules = {
			main_armament_slot = tank_small_cannon
			turret_type_slot = tank_light_one_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 = secondary_turret_hmg
		}
		upgrades = {
			tank_nsb_engine_upgrade = 0
			tank_nsb_armor_upgrade = 1
		}
		#icon = "GFX_gwtank_medium"
	}

	add_equipment_to_stockpile = {
		type = light_tank_chassis_0
		amount = 4
		variant_name = "Straussler V-4"
	}
}

### AH DYNAMIC MODIFIERS ###

IF = {
	limit = {
		has_dlc = "Gotterdammerung"
	}

	# JOINT ECONOMY SPIRIT
	set_variable = { global.HABSBURG_economy_stability_factor = 0.05 }
	set_variable = { global.HABSBURG_economy_power_factor = 0.1 }	
	set_variable = { global.HABSBURG_economy_consumer_goods_factor = 0.0 }	
	set_variable = { global.HABSBURG_economy_research_sharing_per_country_bonus_factor = 0.0 }	
	set_variable = { global.HABSBURG_economy_production_speed_industrial_complex_factor = 0.0 }	
	set_variable = { global.HABSBURG_economy_trade_laws_cost_factor = 0.0 }	
	set_variable = { global.HABSBURG_economy_economy_cost_factor = 0.0 }	
	set_variable = { global.HABSBURG_economy_license_purchase_cost = 0.0 }	
	set_variable = { global.HABSBURG_economy_license_production_speed = 0.0 }	
	set_variable = { global.HABSBURG_economy_special_project_speed_factor = 0.0 }	

	# JOINT INDUSTRY SPIRIT
	set_variable = { global.HABSBURG_industry_production_speed_industrial_complex_factor = 0.1 }	
	set_variable = { global.HABSBURG_industry_industrial_capacity_factory = 0.05 }	
	set_variable = { global.HABSBURG_industry_local_resources_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_production_speed_rail_way_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_production_speed_supply_node_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_global_building_slots_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_production_speed_arms_factory_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_line_change_production_efficiency_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_industry_free_repair_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_industry_air_damage_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_production_lack_of_resource_penalty_factor = 0.00 }	
	set_variable = { global.HABSBURG_industry_production_factory_max_efficiency_factor = 0.00 }	

	# JOINT ARMY SPIRIT
	set_variable = { global.HABSBURG_army_war_stability_factor = 0.1 }	
	set_variable = { global.HABSBURG_army_land_doctrine_cost_factor = -0.1 }	
	set_variable = { global.HABSBURG_army_conscription_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_experience_gain_army_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_max_command_power = 0.0 }	
	set_variable = { global.HABSBURG_army_planning_speed = 0.0 }	
	set_variable = { global.HABSBURG_army_army_speed_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_org_loss_when_moving = 0.0 }	
	set_variable = { global.HABSBURG_army_supply_consumption_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_supply_node_range = 0.0 }	
	set_variable = { global.HABSBURG_army_army_core_attack_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_army_core_defence_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_motorized_attack_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_army_armor_attack_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_fuel_gain_factor = 0.0 }	
	set_variable = { global.HABSBURG_army_army_attack_factor = 0.0 }	

	# JOINT HUSSAR SPIRIT
	set_variable = { global.HABSBURG_cavalry_cavalry_attack_factor = 0.05 }	
	set_variable = { global.HABSBURG_cavalry_cavalry_defence_factor = 0.1 }	
	set_variable = { global.HABSBURG_army_conscription = 0.01 }	
	set_variable = { global.HABSBURG_cavalry_breakthrough_factor = 0.00 }	

}

add_opinion_modifier = { 
	target = CZE
	modifier = BFTB_incongruous_neighbors
}
add_opinion_modifier = { 
	target = ROM
	modifier = BFTB_incongruous_neighbors
}
add_opinion_modifier = { 
	target = YUG
	modifier = BFTB_incongruous_neighbors
}

# SETUP HUNGARIAN POLITICS
set_politics = {
	ruling_party = neutrality
	last_election = "1935.3.31"
	election_frequency = 48
	elections_allowed = yes
}
set_popularities = {
	democratic = 25
	fascism = 31
	neutrality = 44
}

# RECRUITING HUNGARIAN CHARACTERS
IF = {
	limit = {
		NOT = {
			has_dlc = "Gotterdammerung"
		}
	}
	recruit_character = HUN_miklos_horthy
	recruit_character = HUN_matyas_rakosi
	recruit_character = HUN_arpad_szakasits
	recruit_character = HUN_geza_lakatos
	recruit_character = HUN_ivan_hindy
	recruit_character = HUN_karoly_beregfy
	recruit_character = HUN_lajos_veress
	recruit_character = HUN_ferenc_feketehalmyczeydner
	recruit_character = HUN_istvan_szechenyi
	recruit_character = HUN_francois_deak
	recruit_character = HUN_gyorgy_jendrassik
	recruit_character = HUN_jeno_ratz
	recruit_character = HUN_henrik_werth
	recruit_character = HUN_hugo_sonyi
	recruit_character = HUN_ferenc_szombathelyi
	recruit_character = HUN_gusztav_jany
	recruit_character = HUN_dezso_laszlo
	recruit_character = HUN_reszo_kastner
	recruit_character = HUN_shvoy_kalman
	recruit_character = HUN_sandor_magyarossy
	recruit_character = HUN_bela_rakosi
	recruit_character = HUN_kalman_kanya
	recruit_character = HUN_jozsef_szell
	recruit_character = HUN_vilmos_roder
	recruit_character = HUN_zoltan_tildy
	recruit_character = HUN_laszlo_rajk
	recruit_character = HUN_kalman_daranyi
	recruit_character = HUN_lajos_remenyi_schneller
	recruit_character = HUN_gusztav_gratz
	recruit_character = HUN_gyula_gombos_de_jakfa
	recruit_character = HUN_otto_von_habsburg
	recruit_character = HUN_franz_friedrich
	recruit_character = HUN_franz_anton_bach
}
IF = {
	limit = {
		has_dlc = "Gotterdammerung"
	}
	recruit_character = HUN_miklos_horthy
	recruit_character = HUN_matyas_rakosi
	recruit_character = HUN_arpad_szakasits
	recruit_character = HUN_geza_lakatos
	recruit_character = HUN_ivan_hindy
	recruit_character = HUN_karoly_beregfy
	recruit_character = HUN_lajos_veress
	recruit_character = HUN_ferenc_feketehalmyczeydner
	recruit_character = HUN_gyorgy_jendrassik
	recruit_character = HUN_jeno_ratz
	recruit_character = HUN_henrik_werth
	recruit_character = HUN_hugo_sonyi
	recruit_character = HUN_ferenc_szombathelyi
	recruit_character = HUN_gusztav_jany
	recruit_character = HUN_dezso_laszlo
	recruit_character = HUN_shvoy_kalman
	recruit_character = HUN_sandor_magyarossy
	recruit_character = HUN_kalman_kanya
	recruit_character = HUN_jozsef_szell
	recruit_character = HUN_vilmos_roder
	recruit_character = HUN_zoltan_tildy
	recruit_character = HUN_laszlo_rajk
	recruit_character = HUN_kalman_daranyi
	recruit_character = HUN_lajos_remenyi_schneller
	recruit_character = HUN_gusztav_gratz
	recruit_character = HUN_gyula_gombos_de_jakfa
	recruit_character = HUN_otto_von_habsburg
	recruit_character = HUN_franz_friedrich
	recruit_character = HUN_bela_kun
	recruit_character = HUN_joseph_august_von_habsburg
	recruit_character = HUN_istvan_horthy
	recruit_character = HUN_ferenc_szalasi
	recruit_character = HUN_mihaly_karolyi
	recruit_character = HUN_janos_zichy
	recruit_character = HUN_carl_wilhelm
	recruit_character = HUN_vilmos_nagy
	recruit_character = HUN_jozsef_bajnoczy
	recruit_character = HUN_karoly_bartha
	recruit_character = HUN_dome_sztojay
	recruit_character = HUN_laszlo_hary
	recruit_character = HUN_jeno_oszkar_ruszkay
	recruit_character = HUN_janos_voros
	recruit_character = HUN_lajos_csatay
	recruit_character = HUN_sandor_gyorffy_bengyel
	recruit_character = HUN_zoltan_decleva
	recruit_character = HUN_elemer_gorondy_novak
	recruit_character = HUN_bela_miklos
	recruit_character = HUN_kocsard_janky
	recruit_character = HUN_antal_freiherr
	recruit_character = HUN_bela_imredy
	recruit_character = HUN_pal_teleki
	recruit_character = HUN_ferenc_fischer
	recruit_character = HUN_erno_gero
	recruit_character = HUN_fidel_palffy
	recruit_character = HUN_istvan_friedrich
	recruit_character = HUN_magdolna_purgly
	recruit_character = HUN_sandor_garbai
	recruit_character = HUN_istvan_bethlen
	recruit_character = HUN_gyula_kadar
	recruit_character = HUN_imre_nagy
	recruit_character = HUN_miklos_horthy_jr
	recruit_character = HUN_pal_kiraly
	recruit_character = HUN_janos_kadar
	recruit_character = HUN_lennart_bernadotte
	recruit_character = HUN_pal_pronay
	recruit_character = HUN_imre_kemeri_nagy
	recruit_character = HUN_jusztinian_seredi
	recruit_character = HUN_vasyl_vyshyvanyi
	recruit_character = HUN_jozsef_kelen
	recruit_character = HUN_hermann_pokorny
	recruit_character = HUN_dezso_magos
	recruit_character = HUN_kalman_hardy
	recruit_character = HUN_franz_anton_bach
	recruit_character = HUN_hermann_goring
	recruit_character = HUN_asboth_oszkar # Helis only exist if you have the dlc
}

#Scientists always recruited
recruit_character = HUN_nicholas_straussler
recruit_character = HUN_leo_szilard
recruit_character = HUN_john_von_neumann
recruit_character = HUN_edward_teller
recruit_character = HUN_laszlo_varga


# HIRES THE STARTING PM
IF = {
	limit = {
		has_dlc = "Gotterdammerung"
	}
	add_ideas = { HUN_gyula_gombos_de_jakfa }
}

add_breakthrough_progress = {
	specialization = specialization_land
	value = 0.2 # Due to Straussler
}

add_breakthrough_progress = {
	specialization = specialization_air
	value = 0.2 # Due to Azboth Oskar
}


# SETUP THE 1939 SCENARIO
1939.1.1 = {

	# WITHOUT THE WW DLC
	IF = {
		limit = {
			NOT = {
				has_dlc = "Gotterdammerung"
			}
		}

		set_politics = {
			ruling_party = fascism
			last_election = "1939.5.29"
			election_frequency = 48
			elections_allowed = yes
		}
		set_popularities = {
			democratic = 27
			fascism = 70
			communism = 3
		}

		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			remove_ideas = HUN_treaty_of_triannon_aat
		}
		IF = {
			limit = {
				NOT = { has_dlc = "Arms Against Tyranny" }
			}
			remove_ideas = HUN_treaty_of_triannon
		}

		add_political_power = 1198
		add_command_power = 100

		IF = {
			limit = {
				has_dlc = "Death or Dishonor"
			}
			complete_national_focus = HUN_economic_intervention
			complete_national_focus = HUN_secret_rearmament
			complete_national_focus = HUN_war_games
			complete_national_focus = HUN_theoretical_air_efforts
			complete_national_focus = HUN_trade_deal_with_germany
			complete_national_focus = HUN_joint_aluminum_mining_company
			complete_national_focus = HUN_reaffirm_territorial_claims
			complete_national_focus = HUN_announce_the_gyor_program
			complete_national_focus = HUN_civilian_industry
			complete_national_focus = HUN_reintegrate_the_railroads
			complete_national_focus = HUN_invite_foreign_investors
			complete_national_focus = HUN_bled_agreement
			complete_national_focus = HUN_army_maneuvers
			complete_national_focus = HUN_establish_the_air_force
			complete_national_focus = HUN_demand_southern_slovakia
			complete_national_focus = HUN_mobile_focus
			complete_national_focus = HUN_license_foreign_designs
			
			#Handle this manually
			unlock_national_focus = HUN_renounce_the_treaty_of_trianon
			add_ideas = {
				limited_conscription
				HUN_treaty_of_triannon_3
			}

			unlock_national_focus = HUN_strengthen_fascists #To avoid leader ID clash
			add_ideas = HUN_strengthen_fascists

		}
		
	}

	# WITH THE WW DLC
	IF = {
		limit = {
			has_dlc = "Gotterdammerung"
		}

		set_politics = {
			ruling_party = neutrality
			last_election = "1935.3.31"
			election_frequency = 48
			elections_allowed = no
		}
		set_popularities = {
			neutrality = 74
			democratic = 2
			fascism = 24
			communism = 0
		}

		IF = {
			limit = {
				has_dlc = "Arms Against Tyranny"
			}
			remove_ideas = HUN_treaty_of_triannon_aat_wuw
		}
		IF = {
			limit = {
				NOT = { has_dlc = "Arms Against Tyranny" }
			}
			remove_ideas = HUN_treaty_of_triannon_wuw
		}

		add_political_power = 1100
		add_command_power = 100

		swap_ideas = {
			remove_idea = HUN_levente_associations
			add_idea = HUN_levente_associations_act_of_defense_and_secret_rearmament
		}	

		swap_ideas = {
			remove_idea = HUN_hungarian_national_defense_association
			add_idea = HUN_hungarian_national_defense_association_horthyist
		}	
		
		remove_ideas = {
			HUN_gyula_gombos_de_jakfa
		}		
		retire_character = HUN_gyula_gombos_de_jakfa

		add_ideas = { HUN_pal_teleki }

		hidden_effect = {
			set_country_flag = HUN_gombos_has_died_flag
			set_country_flag = HUN_horthy_aligned_the_move_flag
		}

		# COMPLETING FOCUSES

		# ONES THAT CAN JUST BE COMPLETED NORMALLY
		complete_national_focus = wuw_HUN_continue_the_regency
		complete_national_focus = wuw_HUN_strengthen_horthys_reign
		complete_national_focus = wuw_HUN_economic_intervention
		complete_national_focus = wuw_HUN_reintigrate_the_imperial_railroads
		complete_national_focus = wuw_HUN_hold_war_games
		complete_national_focus = wuw_HUN_expand_the_ganz_muvek
		complete_national_focus = wuw_HUN_pass_statute_xix
		complete_national_focus = wuw_HUN_undercover_air_maneuvers
		complete_national_focus = wuw_HUN_spur_on_the_trianon_trauma
		complete_national_focus = wuw_HUN_promote_increased_urbanization
		complete_national_focus = wuw_HUN_absolute_rule_of_the_national_unity_party
		unlock_national_focus = wuw_HUN_reestablish_the_rongyos_garda
		complete_national_focus = wuw_HUN_the_hungarian_life_and_renewal_party
		complete_national_focus = wuw_HUN_make_the_magyar_legiero_known
		complete_national_focus = wuw_HUN_act_of_defense
		complete_national_focus = wuw_HUN_initiate_army_maneuvers
		unlock_national_focus = wuw_HUN_form_the_gyorshadtest
		complete_national_focus = wuw_HUN_invest_in_ludovica_academy

		# ONES THAT HAVE TO BE HANDELED MANUALLY
		unlock_national_focus = wuw_HUN_secret_rearmament
		unlock_national_focus = wuw_HUN_outlaw_the_party_of_national_will
		unlock_national_focus = wuw_HUN_restrict_voting_rights
		unlock_national_focus = wuw_HUN_negotiate_the_restrictions
		unlock_national_focus = wuw_HUN_announce_the_gyor_program
		unlock_national_focus = wuw_HUN_renounce_the_treaty_of_trianon

		add_ideas = {
			partial_economic_mobilisation
			volunteer_only
		}

		add_ideas = HUN_secret_rearmament
		
		add_stability = 0.05
		add_war_support = 0.05

	}

	# TECHNOLOGIES
	set_technology = {
		infantry_weapons = 1
		infantry_weapons1 = 1
		tech_support = 1		
		tech_recon = 1
		tech_trucks = 1
		gw_artillery = 1

		fuel_silos = 1
		basic_train = 1
		
		interwar_artillery = 1
		interwar_antitank = 1
		interwar_antiair = 1
		tech_engineers = 1
		tech_mountaineers = 1
		paratroopers = 1
		motorised_infantry = 1
		infantry_weapons2 = 1
		support_weapons = 1
		tech_logistics_company = 1
		tech_signal_company = 1
		tech_maintenance_company = 1
		tech_field_hospital = 1

		#doctrines
		air_superiority = 1
		grand_battle_plan = 1
		trench_warfare = 1
		fleet_in_being = 1
		battlefleet_concentration = 1
		convoy_sailing = 1

		#electronics
		electronic_mechanical_engineering = 1
		radio = 1
		mechanical_computing = 1
		computing_machine = 1

		#industry
		basic_machine_tools = 1
		improved_machine_tools = 1
		advanced_machine_tools = 1
		construction1 = 1
		construction2 = 1
		dispersed_industry = 1
		dispersed_industry2 = 1
		fuel_refining = 1
	}
	complete_special_project = {
		project = sp:sp_air_radar
	}
	IF = {
		limit = {
			has_dlc = "La Resistance"
		}
		set_technology = {
			armored_car1 = 1
		}
		# The Hivatal has already been established at this point 
		create_intelligence_agency = yes
	}

	IF = {
		limit = { has_dlc = "By Blood Alone" }
			set_air_oob = "HUN_1939_air_bba"
			set_technology = {
				iw_small_airframe = 1
				basic_small_airframe = 1
				aircraft_construction = 1
				engines_2 = 1
				engines_1 = 1
				early_bombs = 1
				photo_reconnaisance = 1
				aa_lmg = 1
			}	
		ELSE = {
			set_air_oob = "HUN_1939_air_legacy"
			set_technology = {
				fighter1 = 1
				early_bomber = 1
				tactical_bomber1 = 1
				CAS1 = 1
			}
		}
	}

	IF = {
		limit = {
			NOT = {
				has_dlc = "No Step Back"
			}
		}
		set_technology = {
			basic_light_tank = 1
			gwtank = 1
		}
		set_oob = "HUN_1939"
	}

	IF = {
		limit = {
			has_dlc = "No Step Back"
		}
		set_technology = {
			gwtank_chassis = 1
			basic_light_tank_chassis = 1
		}

		create_equipment_variant = {
			name = "Toldi 38M"
			type = light_tank_chassis_1
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_cannon
				turret_type_slot = tank_light_two_man_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension
				armor_type_slot = tank_riveted_armor
				engine_type_slot = tank_diesel_engine
			}
			upgrades = {
				tank_nsb_engine_upgrade = 3
				tank_nsb_armor_upgrade = 2
			}
			icon = "GFX_generic_light_BAA_camo"
		}
		set_oob = "HUN_1939_nsb"
	}
	
}

1945.1.1 = {
	
		set_cosmetic_tag = HUN_PUPPET
		retire_character = HUN_miklos_horthy
		create_country_leader = {
		name = "Ferenc Szalasi"
		desc = "POLITICS_ferenc_szalasi_DESC"
		picture = GFX_Portrait_Hungary_Ferenc_Szalasi
		expire = "1965.1.1"
		ideology = nazism
		traits = {
		}
	}
	add_ideas = surrender_limit
	add_ideas = {
		closed_economy
		scraping_the_barrel
		tot_economic_mobilisation
	}	
	remove_ideas = GER_align_hungary
	remove_ideas = HUN_interventionism_2
	remove_ideas = HUN_invite_foreign_investors
	remove_ideas = HUN_license_foreign
	remove_ideas = HUN_secret_rearmament

IF = {
	limit = {
		AND = {
			has_dlc = "Death or Dishonor"
			has_dlc = "Gotterdammerung"
		}
	}
		remove_ideas = disarmed_nation
		remove_ideas = HUN_gombos_trade_treaty
		remove_ideas = HUN_hungarian_national_defense_association
		remove_ideas = HUN_levente_associations
	}

	set_politics = {
		ruling_party = fascism
		last_election = "1945.1.1"
		election_frequency = 48
		elections_allowed = no
	}
	set_popularities = {
		democratic = 0
		fascism = 100
		neutrality = 0
		communism = 0
	}	

	oob = "HUN_1945_3_6"
}

1945.1.1 = {
	oob = "HUN_1945_1_12"
}

1945.3.1 = {
	oob = ""
}

1945.4.1 = {
	oob = "HUN_1945"
}